﻿.product-detail-container {
    background-color: #e6f7f2;
    min-height: 100vh;
    padding: 40px 0;
}

.product-main {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-images {
    flex: 1;
}

.main-image {
    width: 100%;
    /* max-width: 500px; */
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.thumbnail-carousel {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    overflow-x: auto;
    align-items: center;
    justify-content: center;
}

.thumbnail {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

    .thumbnail.active {
        border-color: #00aa79;
    }

.product-info {
    flex: 1;
    padding: 20px 0;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #133932;
    margin-bottom: 10px;
}

.product-tagline {
    color: #133932;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.product-price {
    font-size: 2rem;
    font-weight: bold;
    color: #00aa79;
    margin-bottom: 10px;
    margin-top: 10px;
}

.description-section {
    margin-bottom: 30px;
}

.description-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 6px 0;
    border-bottom: 1px solid #d9d9d9;
    border-top: 1px solid #d9d9d9;
    margin-top: 20px;
}

.description-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

.expand-icon {
    font-size: 1.5rem;
    color: #7f8c8d;
    transition: transform 0.3s;
}

    .expand-icon.expanded {
        transform: rotate(45deg);
    }

.description-content {
    padding: 20px 0;
    color: #34495e;
    line-height: 1.6;
}

.formulated-for {
    /* font-weight: 600; */
    color: #133932;
    margin-bottom: 10px;
}

.flavors {
    color: #133932;
    /* font-style: italic; */
}

.product-options {
    margin-bottom: 30px;
}

.option-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.option-btn {
    padding: 15px 25px;
    border: 2px solid #00aa79;
    background: white;
    color: #133932;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.3s;
}

    .option-btn.selected {
        background: #00aa79;
        color: white;
    }




.quantity-wrapper small {
    font-weight: 600;
    margin-bottom: 3px
}

.quantity {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

    .quantity .btn {
        width: 30px;
        height: 30px;
        border: none;
        background-color: #00aa79;
        color: white;
        font-size: 18px;
        cursor: pointer;
        border-radius: 4px;
        line-height: 1;
        text-align: center;
        padding: 0;
        margin: 0;
    }

        .quantity .btn:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }

    .quantity .value {
        font-size: 18px;
        min-width: 30px;
        text-align: center;
    }







.purchase-options {
    margin-bottom: 30px;
}

.purchase-option {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border: 2px solid #ecf0f1;
    border-radius: 12px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

    .purchase-option.selected {
        border-color: #4CAF50;
        background: #f8fff8;
    }

    .purchase-option input[type="radio"] {
        margin-top: 5px;
    }

.purchase-details {
    flex: 1;
}

.purchase-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.purchase-features {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

    .purchase-features ul {
        margin: 5px 0;
        padding-left: 20px;
    }

    .purchase-features li {
        margin-bottom: 5px;
    }

.guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #27ae60;
    font-size: 0.9rem;
}

.purchase-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.add-to-bag-btn {
    width: 100%;
    padding: 10px 40px;
    background: #00aa79;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

    .add-to-bag-btn:hover {
        /* background: #45a049; */
    }






/* Critical styles for above-the-fold content */
.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.herb-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}


ul.list-s1 {
    margin-top: 10px;
    text-align: left;
    /* max-width: 245px; */
}

    ul.list-s1 li {
        display: flex;
        align-items: flex-start;
        white-space: normal;
        font-size: 18px;
    }

        ul.list-s1 li::before {
            content: "";
            color: #133932;
            display: inline-block;
            /* width: 0.7em; */
            font-size: 1.5em;
            line-height: 0.9;
            width: 10px;
            height: 10px;
            flex: 0 0 10px;
            background-color: #00aa79;
            margin-right: 10px;
            margin-top: 6px;
        }

.rounded-circle {
    border-radius: 50%;
}

.overflow-hidden {
    overflow: hidden;
}


.herbs-section {
    padding: 80px 0;
}

.herbs-title {
    font-weight: 700;
    text-align: center;
    color: #00aa79;
    font-size: 2.8rem;
    margin-bottom: 40px;
}




.swiper-slide {
    display: flex !important;
    flex-direction: row;
    margin-top: 10px;
    align-items: center;
}

    .swiper-slide:last-child {
        margin-right: 0 !important;
    }

    .swiper-slide .content {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 250px;
    }

        .swiper-slide .content h3 {
            font-size: 28px;
        }

        .swiper-slide .content h4 {
            font-size: 19px;
            font-weight: 400;
            /* color: #00aa79; */
            text-transform: none;
            margin-top: 0;
            min-height: 60px;
        }

        .swiper-slide .content a, .swiper-slide .content a:hover {
            /* color: #133932;
            text-decoration: underline;*/
            margin-top: 25px;
            display: block;
            color: #ffffff;
        }

    .swiper-slide .image {
        /* flex: 0 0 250px; */
        background-color: #fff;
        /* border-radius: 50%;*/
        /* height: 250px; */
        width: 250px;
        overflow: hidden;
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-right: 50px;
    padding-left: 50px;
}


@media(max-width:400px) {
    .slider-container {
        padding-right: 0;
        padding-left: 0;
    }

        .slider-container::after {
            right: 0px !important;
        }

        .slider-container::before {
            left: 0px !important;
        }
}

.swiper {
    width: 100%;
}

.swiper-slide {
    text-align: center;
}



/* Blur effect using a gradient mask */
.slider-container::before, .slider-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 12%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.slider-container::before {
    left: 50px;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.slider-container::after {
    right: 50px;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.slider-container.no-left-blur::before {
    opacity: 0;
}

.slider-container.no-right-blur::after {
    opacity: 0;
}

.swiper-button-next:before, .swiper-button-prev:before {
    display: none;
}
/* Navigation buttons */
.swiper-button-prev, .swiper-button-next {
    color: #133932 !important;
    opacity: 0.3;
    transition: opacity 0.3s;
}

    .swiper-button-prev:hover, .swiper-button-next:hover {
        opacity: 1;
    }

    .swiper-button-prev.hidden, .swiper-button-next.hidden {
        opacity: 0 !important;
        pointer-events: none;
    }



@media (max-width:767px) {
    .swiper-slide {
        flex-direction: column;
        align-items: center;
    }

        .swiper-slide:first-child {
            margin-top: 20px;
        }

        .swiper-slide .image {
            flex: 0 0 224px;
            height: 224px;
            width: 224px;
            margin-bottom: 20px;
        }

        .swiper-slide .content {
            padding-left: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

            .swiper-slide .content p, .swiper-slide .content h4 {
                max-width: 254px;
            }

    section h2 {
        padding: 20px 0;
        font-size: 1.7em;
    }

    .default-modal {
        padding: 0 !important;
    }

        .default-modal .modal-dialog {
            margin: 0;
        }

        .default-modal .modal-body {
            padding: 20px 15px 30px;
        }

    .accordion-s1 .card-header button {
        white-space: normal;
    }
}


.slider-container {
    margin-top: 30px;
}











.st-badges {
    margin-bottom: 80px;
}


/* grid */
.st-badges__grid {
    list-style: none;
    margin: 0;
    padding: 0 8px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 3vw, 24px);
    align-items: center;
    text-align: center;
}

.st-badge {
    display: grid;
    justify-items: center;
    gap: 8px;
}

/* icon */
.st-badge__icon {
    width: clamp(52px, 6vw, 90px);
    height: auto;
    color: #00aa79;
}

    .st-badge__icon svg {
        width: 100%;
        height: auto;
        display: block;
    }

/* label */
.st-badge__label {
    color: #2a4e48;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    font-size: clamp(12px, 1.8vw, 18px);
}

/* hover micro-interaction */
.st-badge:hover .st-badge__icon {
    transform: translateY(-2px);
    transition: transform .2s ease;
}


/* responsive */
@media (max-width: 900px) {
    .st-badges__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .st-badges__grid {
        grid-template-columns: 1fr;
    }
}

