/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* css for price section  */
.ps__price-wrapper {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    line-height: 1;

    font-size: 14px;
    color: #050505;
    margin-bottom: 1.25rem;
}

.ps__price-wrapper-one {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .25rem;
}

.ps__price-tax {
    font-size: 10px;
}

.ps__price-wrapper #regular-price span {
    text-decoration: line-through;
    color: #505050;
    font-size: 1rem;
}

.ps__price-wrapper #sale-price {
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

.ps__price-discount-wrapper {
    display: flex;
    align-items: center;
    gap: .25rem;

    font-size: 1.5rem;
}

.ps__price-discount {
    border-radius: 10px;
    background: #000;
    color: #fff;

    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;

    display: flex;
    align-items: center;
    gap: 4px;
}

/* css for Feature section in PDP  */
.product__highlights{
    margin-bottom: 1.5rem;
}

.product__highlights-description {
    margin: 0 0 1.25rem;
    font-size: 14px;
}

.woocommerce div.product .product__highlights+form.cart {
    margin-top: 2.5rem;
}

.product__highlights ul {
    list-style: none;
    margin: 0;
    padding-left: 0;

    display: grid;
    gap: 1.25rem;
}

.product__highlights ul li {
    display: flex;
    align-items: center;
    gap: 1rem;

    font-size: 14px;
}

.product__highlights ul li img {
    aspect-ratio: 1;
    max-width: 2.75rem;
    width: 100%;
    border-radius: 50%;
}

@media screen and (min-width: 768px) {
    .product__highlights ul {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* css for offer banner on pdp */
.offer-images-wrapper{

}
.offer-images-row {
    margin-top: 1.5rem;
    display: grid;
    gap: 10px;

    clear: both;

}

.offer-images-row img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 10px;
}

@media screen and (min-width: 400px) {
    .offer-images-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 576px) {
    .offer-images-row {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (min-width: 1024px) {
    .offer-images-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* css for need help */
.need-help__wrapper{
    margin-bottom: 2em;
}
.need-help{
    /* background-color: rgba(255, 250, 230, 1); */
    /* padding: 1rem; */
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: .625rem;
    font-weight: 500;
    /* border-radius: .5rem; */
}
.need-help__title{
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: .75rem;
}
.need-help__title::before{
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    top: 50%;
    left: 0;
    background-color: rgba(181, 183, 186, 1);
}
.need-help__title-text{
    background-color: #fff;
    margin: 0 !important;
    padding: 0 1.25rem !important;
    position: relative;
    z-index: 2;
}
.need-help__cta, a.need-help__cta{
    height: 56px;
    border-radius: 1rem !important;
    border: 1px solid rgba(252,202,14,1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .625rem;
    background-color: transparent !important; 
    cursor: pointer;   
}
.need-help__cta *{
    margin: 0 !important;
}
.need-help__cta img, .need-help__cta svg{
    width: 34px;
    height: 34px;
    object-fit: contain;
}
.need-help__cta:hover, .need-help__cta:focus, .need-help__cta:active{
    border: 1px solid rgba(252,202,14,1);
    background-color: transparent !important; 
}
/* ---------------------------------- */
.money-back{
    text-align: center;
    margin-top: 1rem;
}
.money-back-text{
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-bottom: .5rem;
    line-height: 1;
}
.money-back-text svg, .money-back-text img{
    width: 18px;
    height: 18px;
    object-fit: contain;
}
/* --------------------------------------- */
.free-ship{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    margin-top: 1.25rem;
}
.free-ship-col{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: .5rem;
    font-weight: 500;
}
.free-ship svg, .free-ship img{
    width: 56px;
    height: 56px;
    object-fit: contain;
}
@media (max-width: 767px){
    .money-back{
        font-size: 14px;
    }
    .free-ship{
        gap: 1rem;
        font-size: 14px;
    }
    .free-ship svg, .free-ship img{
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* css for also avaiable products */
.cur-product__var-items.cur-product__var-others__wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: 14px;
    margin-top: 12px;
}

.cur-product__var h5 {
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 0;
    text-align: left;
}

.cur-product__var-items.cur-product__var-others__wrapper a {
    display: inline-block;
    color: #191616;
    text-decoration: none;
    max-width: 75px;
    width: 100%;
}

.cur-product__var-items.cur-product__var-others__wrapper a img {
    width: 100%;
    aspect-ratio: 75 / 100;
}

.cur-product__var-items.cur-product__var-others__wrapper a p {
    text-align: center;
    margin-top: .25rem;
    font-size: 14px;
    margin-bottom: 0;
}


/* css for accordion */
.pd__accordion-item {
    padding: .5rem 0;
    /* 			border-bottom: 1px solid #bbb; */
    overflow: hidden;
}

.pd__accordion-item .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, .05);
}

.pd__accordion-item table {
    width: 100%;
    border-collapse: collapse !important;
}

.pd__accordion-item .table-striped tbody tr:nth-of-type(even) {
    background-color: white;
}

.pd__accordion-item .table-striped td {
    padding: .75rem;
    background-color: transparent !important;
    color: black;
    font-size: 14px;
}

.pd__accordion-item .table-striped td,
.pd__accordion-item .table-striped th {
    border: 1px solid #dee2e6;
}

.pd__accordion-header {
    color: black;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    outline: none !important;
    width: 100%;
    padding: 0;
    background: transparent !important;

    position: relative;
    border: 1px solid #bbb;
    padding: 12px 16px;
    border-radius: .5rem;
}
.pd__accordion-header:hover, .pd__accordion-header:focus, .pd__accordion-header:active {
    color: black;
    border: 1px solid #bbb;
}

.pd__accordion-header span {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    transition: all .3s ease-out;
    line-height: 0;
    display: inline-block;
}

.pd__accordion-header.active span {
    transform: translateY(-50%) rotate(0deg);
}

.pd__accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem 0 0;
    background-color: #fff;

    font-size: 14px;
}

.product__details-col {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 14px;
    color: black;
    margin-bottom: 0.25rem;
}

.product__details-col-wrapper {
    margin-top: 1.5rem;
}

.product__details-col-wrapper .product__details-col:last-child {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #bbb;
}

.product__details-col p {
    font-weight: 700;
    margin: 0;
    min-width: 85px;
}

.categ-link-wrap {
    position: relative;
    text-transform: uppercase;
}

.categ-link-wrap:not(:last-child)::after {
    content: ', ';
}

/* css for products video part */
.woo-pgi__video {
    position: relative;
}

.woo-pgi__video iframe,
.woo-pgi__video video {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.woo-pgi__video video {
    object-fit: cover;
}

.woo-pgi__video a {
    position: relative;
    display: inline-block;
}

.woo-pgi__video a::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background-color: rgba(0, 0, 0, .5);
    user-select: none;
    pointer-events: none;
}

.woo-pgi__video a svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    user-select: none;
    pointer-events: none;
    z-index: 1;
}


.nx-hot-selling{
    display: inline-flex;
    align-items: center;
    color: #2b2b2b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: .25rem .65rem;
    padding-left: .45rem;
    border: 1px solid #BCBCBCFF;
    border-radius: .25rem;    
    outline: none !important;
    margin-bottom: .5rem;
    min-height: 32px;
}

/* Meat Handling Section Styles */
.meat-handling-section {
    margin: 3rem 0 0;
    background: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
}

.meat-handling-container {
    display: flex;
    /* min-height: 400px; */
}

.meat-handling-image-panel {
    flex: 1;
    position: relative;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50%;
}

.meat-handling-content-panel {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* background: #ffffff; */
    
    font-size: 1rem;
    line-height: 1.6;
    color: #555;

    h2{
        margin-bottom: 1.5rem;
    }
}

.meat-handling-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.meat-handling-content li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.meat-handling-content li strong {
    font-weight: 600;
    color: #2c2c2c;
    margin-right: 0.5rem;
}

.meat-handling-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Single Image Styles */
.meat-handling-single-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meat-handling-single-image .meat-handling-image {
    max-width: 100%;
    max-height: 100%;

    min-height: auto;
    height: 100%;
    object-fit: cover;
}

/* Slick Slider Styles */
.meat-handling-slider {
    position: relative;
    width: 100%;
    height: 100%;

    margin-bottom: 0 !important;
}

.meat-handling-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 1rem; */
    height: 100%;
}

.meat-handling-slide .meat-handling-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.meat-handling-slider .slick-dots{
    bottom: 2.5rem;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.meat-handling-slider .slick-dots li button {
    padding: 0;
    border: none;
    margin: 0;
    width: auto;
    height: auto;
}
.meat-handling-slider .slick-dots li {
    width: auto;
    height: auto;
}
.meat-handling-slider .slick-dots li button::before {
    width: 10px;
    height: 10px;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    font-size: 0;
    padding: 0;
    margin: 0;
}

.meat-handling-slider .slick-dots li button:hover {
    background: rgba(0, 0, 0, 1);
}

/* Hide Slick arrows */
.meat-handling-slider .slick-prev,
.meat-handling-slider .slick-next {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .meat-handling-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .meat-handling-image-panel {
        min-height: 250px;
        width: 100%;

    }
    
    .meat-handling-content-panel {
        padding: 1.5rem;
    }
    
    .meat-handling-content-panel h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .meat-handling-content-panel {
        font-size: 0.9rem;
    }
    
    .meat-handling-slider .slick-dots {
        bottom: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .meat-handling-image-panel {
        min-height: auto;
    }

    .meat-handling-slider .slick-dots {
        bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .meat-handling-section {
        margin: 1rem 0;
        border-radius: 8px;
    }
    
    .meat-handling-content-panel {
        padding: 1rem;
    }
    
    .meat-handling-content-panel h2 {
        font-size: 1.25rem;
    }
    
    .meat-handling-content li {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .meat-handling-content li strong {
        margin-bottom: 0.25rem;
    }
    
    .meat-handling-slider .slick-dots li button {
        width: 8px;
        height: 8px;
    }
}

.secure-method{
    margin: 20px 0 0;
    
    .secure-method-title{
        font-size: 16px;
        font-weight: 500;
        margin-bottom: 10px;
    }

    img{
        max-width: 300px !important;
        width: 100%;
        margin: 0 auto;

        @media (max-width: 767px){
            max-width: 200px !important;
        }
    }
}

.product-meta-data{
    background-color: #f9f9f9;
    padding: 8px 16px;
    border-radius: 4px;

    display: inline-flex;
    flex-wrap: wrap;
    gap: 16px;

    .meta-item{
        white-space: nowrap;
        font-size: 16px;
        font-weight: 600;

        &:not(:last-child){
            > span{
                padding-right: 16px;
            }
        }
    }

    & + .fw-medium{
        display: none;
    }
}