*{
    box-sizing:border-box;
}

body{
    background:#f7faf7;
}

/* ========================= */
/* BREADCRUMB */
/* ========================= */

.product-breadcrumb-section{
    width:100%;
    background:#f4faf4;
    padding:10px 5%;
    border-bottom:1px solid #e2efe2;
}

.product-breadcrumb-container{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    font-size:14px;
}

.product-breadcrumb-container a{
    color:#056d05;
    text-decoration:none;
    font-weight:600;
}

.product-breadcrumb-container a:hover{
    color:#043d04;
}

.product-breadcrumb-container span{
    color:#666;
}

.product-breadcrumb-container .active{
    color:#111;
    font-weight:700;
}

/* ========================= */
/* MAIN SECTION */
/* ========================= */

.product-main-section{
    display:grid;
    grid-template-columns:1.02fr 0.98fr;
    gap:24px;
    padding:22px 5% 30px;
    align-items:start;
}

.product-gallery{
    background:#fff;
    border-radius:24px;
    padding:16px;
    border:1px solid rgba(5,109,5,0.08);
    box-shadow:0 10px 26px rgba(0,0,0,0.045);
    overflow:hidden;
    min-width:0;
}

.product-main-image-card{
    width:100%;
    background:linear-gradient(135deg, #f6fcf6, #edf7ed);
    border-radius:20px;
    overflow:hidden;
    margin-bottom:14px;
}

.product-main-image-card img{
    width:100%;
    height:460px;
    object-fit:cover;
    display:block;
}

.product-thumbnails-slider{
    display:grid;
    grid-template-columns:44px 1fr 44px;
    gap:12px;
    align-items:center;
}

.thumb-arrow{
    width:44px;
    height:44px;
    border:none;
    border-radius:50%;
    background:#fff;
    color:#056d05;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 8px 18px rgba(0,0,0,0.08);
    cursor:pointer;
    font-size:18px;
    flex-shrink:0;
}

.thumb-arrow:disabled{
    opacity:0.35;
    cursor:not-allowed;
}

.product-thumbnails-viewport{
    overflow:hidden;
    width:100%;
}

.product-thumbnails-track{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:calc((100% - 36px) / 4);
    gap:12px;
    transition:transform 0.35s ease;
    will-change:transform;
}

.thumb-btn{
    width:100%;
    border:none;
    background:#fff;
    padding:5px;
    border-radius:16px;
    overflow:hidden;
    cursor:pointer;
    border:2px solid transparent;
    box-shadow:0 6px 16px rgba(0,0,0,0.05);
}

.thumb-btn.active{
    border-color:#056d05;
}

.thumb-btn img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    border-radius:12px;
    display:block;
}

.product-details-card{
    background:#fff;
    border-radius:24px;
    padding:22px;
    border:1px solid rgba(5,109,5,0.08);
    box-shadow:0 10px 26px rgba(0,0,0,0.045);
    position:sticky;
    top:84px;
    min-width:0;
}

.product-collection-tag{
    display:inline-block;
    padding:7px 14px;
    border-radius:30px;
    background:#e7f8e7;
    color:#056d05;
    font-size:11px;
    font-weight:700;
    margin-bottom:10px;
}

.product-details-card h1{
    font-size:clamp(24px, 3vw, 36px);
    line-height:1.12;
    color:#111;
    margin-bottom:12px;
    font-weight:900;
    word-break:break-word;
}

.product-rating-row{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:14px;
    font-size:13px;
    color:#555;
}

.stars{
    color:#f5a623;
    font-size:15px;
    letter-spacing:1px;
}

.rating-divider{
    color:#aaa;
}

.product-price-box{
    padding:16px;
    border-radius:18px;
    background:linear-gradient(135deg, #f7fcf7, #eef8ee);
    margin-bottom:18px;
}

.price-line{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:6px;
}

.current-price{
    font-size:30px;
    font-weight:900;
    color:#111;
}

.tax-text{
    font-size:12px;
    color:#666;
}

.product-color-section,
.product-offers-box,
.product-quantity-row{
    margin-bottom:18px;
}

.product-color-section h3,
.product-offers-box h3,
.product-quantity-row h3{
    font-size:16px;
    color:#111;
    margin-bottom:10px;
    font-weight:800;
}

.color-options{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
}

.color-option{
    border:none;
    background:#f3f7f3;
    padding:10px 14px;
    border-radius:13px;
    color:#333;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
    border:1px solid transparent;
}

.color-option.active{
    background:#e9f7e9;
    border-color:#056d05;
    color:#056d05;
}

.product-offers-box ul{
    padding-left:18px;
    color:#555;
    line-height:1.8;
    font-size:14px;
    margin:0;
}

.product-quantity-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
}

.quantity-box{
    display:flex;
    align-items:center;
    background:#f5f7f5;
    border-radius:14px;
    overflow:hidden;
    border:1px solid #e2ece2;
}

.quantity-box button{
    width:42px;
    height:42px;
    border:none;
    background:transparent;
    font-size:20px;
    font-weight:700;
    cursor:pointer;
    color:#056d05;
}

.quantity-box input{
    width:52px;
    height:42px;
    border:none;
    background:transparent;
    text-align:center;
    font-size:14px;
    font-weight:700;
    outline:none;
}

.product-action-buttons{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-bottom:18px;
}

.add-cart-btn,
.buy-now-btn{
    text-decoration:none;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:50px;
    border-radius:15px;
    font-size:14px;
    font-weight:800;
    text-align:center;
    padding:0 14px;
}

.add-cart-btn{
    background:#056d05;
    color:#fff;
    box-shadow:0 10px 22px rgba(5,109,5,0.22);
}

.buy-now-btn{
    background:#111;
    color:#fff;
    box-shadow:0 10px 22px rgba(0,0,0,0.16);
}

.product-delivery-points{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.delivery-point{
    padding:13px 14px;
    border-radius:15px;
    background:#fafcfa;
    border:1px solid #edf2ed;
}

.delivery-point strong{
    display:block;
    font-size:13px;
    color:#111;
    margin-bottom:4px;
}

.delivery-point span{
    font-size:12px;
    color:#666;
}

/* ========================= */
/* COMMON SECTION */
/* ========================= */

.product-description-section,
.related-products-section,
.other-models-section,
.reviews-section,
.faq-section{
    padding:0 5% 34px;
}

.section-heading{
    margin-bottom:18px;
}

.section-heading span{
    display:inline-block;
    font-size:11px;
    font-weight:700;
    color:#056d05;
    background:#e7f8e7;
    padding:7px 13px;
    border-radius:30px;
    margin-bottom:10px;
}

.section-heading h2{
    font-size:28px;
    color:#111;
    font-weight:900;
    line-height:1.15;
    margin:0;
}

.description-card{
    background:#fff;
    border:1px solid rgba(5,109,5,0.08);
    box-shadow:0 10px 26px rgba(0,0,0,0.045);
    border-radius:24px;
    padding:22px;
}

.description-content{
    margin-bottom:22px;
    font-size:15px;
    line-height:1.9;
    color:#555;
}

.description-content p{
    font-size:15px;
    line-height:1.9;
    color:#555;
    margin-bottom:16px;
    max-width:none;
}

.description-content p:last-child{
    margin-bottom:0;
}

.description-features{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:16px;
}

.desc-feature-card{
    background:#f8fbf8;
    border-radius:18px;
    padding:16px;
    border:1px solid #edf3ed;
}

.desc-feature-card h3{
    font-size:16px;
    color:#111;
    margin:0 0 8px;
    font-weight:800;
}

.desc-feature-card p{
    font-size:13px;
    line-height:1.7;
    color:#666;
    margin:0;
}

/* ========================= */
/* RELATED PRODUCTS */
/* ========================= */

.related-products-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:20px;
}

.related-product-card{
    background:#fff;
    border-radius:22px;
    padding:14px;
    border:1px solid rgba(5,109,5,0.08);
    box-shadow:0 10px 24px rgba(0,0,0,0.045);
}

.related-image-wrap{
    width:100%;
    border-radius:18px;
    overflow:hidden;
    margin-bottom:14px;
    background:linear-gradient(135deg, #f3fbf3, #edf7ed);
}

.related-image-wrap img{
    width:100%;
    height:230px;
    object-fit:cover;
    display:block;
}

.related-info h3{
    font-size:17px;
    color:#111;
    margin:0 0 8px;
    font-weight:800;
}

.related-info p{
    font-size:13px;
    line-height:1.7;
    color:#666;
    margin:0 0 14px;
}

.related-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.related-bottom span{
    font-size:20px;
    font-weight:900;
    color:#111;
}

.related-bottom a{
    text-decoration:none;
    padding:10px 14px;
    border-radius:12px;
    background:#056d05;
    color:#fff;
    font-size:13px;
    font-weight:700;
    text-align:center;
}

/* ========================= */
/* OTHER MODELS */
/* ========================= */

.other-models-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:16px;
}

.other-model-card{
    text-decoration:none;
    background:#fff;
    border:1px solid rgba(5,109,5,0.08);
    color:#111;
    border-radius:18px;
    padding:18px 16px;
    font-size:15px;
    font-weight:800;
    text-align:center;
    box-shadow:0 10px 24px rgba(0,0,0,0.04);
}

.other-model-card.active{
    background:#056d05;
    color:#fff;
    border-color:#056d05;
}

/* ========================= */
/* REVIEWS */
/* ========================= */

.reviews-layout{
    display:grid;
    grid-template-columns:1.15fr 0.85fr;
    gap:24px;
}

.review-card,
.review-form{
    background:#fff;
    border:1px solid rgba(5,109,5,0.08);
    border-radius:22px;
    padding:20px;
    box-shadow:0 10px 24px rgba(0,0,0,0.045);
}

.review-card{
    margin-bottom:18px;
}

.review-card:last-child{
    margin-bottom:0;
}

.review-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:12px;
}

.review-top h3{
    font-size:17px;
    color:#111;
    font-weight:800;
    margin:0 0 4px;
}

.review-top span{
    font-size:13px;
    color:#777;
}

.review-stars{
    color:#f5a623;
    font-size:15px;
}

.review-card p{
    font-size:14px;
    color:#555;
    line-height:1.8;
    margin:0;
}

.review-form h3{
    font-size:22px;
    color:#111;
    margin:0 0 18px;
    font-weight:900;
}

.form-group{
    margin-bottom:16px;
}

.form-group label{
    display:block;
    font-size:14px;
    font-weight:700;
    color:#111;
    margin-bottom:8px;
}

.form-group input,
.form-group select,
.form-group textarea{
    width:100%;
    border:1px solid #dfeadf;
    border-radius:14px;
    padding:14px 14px;
    font-size:14px;
    background:#fbfdfb;
    outline:none;
}

.form-group textarea{
    resize:vertical;
    min-height:140px;
}

.submit-review-btn{
    width:100%;
    min-height:50px;
    border:none;
    border-radius:15px;
    background:#056d05;
    color:#fff;
    font-size:14px;
    font-weight:800;
    cursor:pointer;
}

/* ========================= */
/* FAQ */
/* ========================= */

.faq-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.faq-item{
    background:#fff;
    border:1px solid rgba(5,109,5,0.08);
    border-radius:20px;
    box-shadow:0 10px 24px rgba(0,0,0,0.04);
    overflow:hidden;
}

.faq-question{
    width:100%;
    border:none;
    background:#fff;
    padding:20px 22px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    font-size:16px;
    font-weight:800;
    color:#111;
    cursor:pointer;
    text-align:left;
}

.faq-question span{
    font-size:24px;
    color:#056d05;
    line-height:1;
}

.faq-answer{
    display:none;
    padding:0 22px 20px;
}

.faq-answer p{
    font-size:14px;
    color:#555;
    line-height:1.9;
    margin:0;
}

.faq-item.active .faq-answer{
    display:block;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 1200px){
    .related-products-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .other-models-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .description-features{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width: 992px){
    .product-main-section{
        grid-template-columns:1fr;
    }

    .product-details-card{
        position:static;
        top:auto;
    }

    .reviews-layout{
        grid-template-columns:1fr;
    }

    .product-main-image-card img{
        height:420px;
    }
}

@media (max-width: 768px){
    .product-main-image-card img{
        height:360px;
    }

    .product-thumbnails-slider{
        grid-template-columns:38px 1fr 38px;
        gap:10px;
    }

    .thumb-arrow{
        width:38px;
        height:38px;
        font-size:16px;
    }

    .product-thumbnails-track{
        gap:10px;
        grid-auto-columns:calc((100% - 30px) / 4);
    }

    .product-action-buttons{
        grid-template-columns:1fr;
    }

    .product-delivery-points{
        grid-template-columns:1fr;
    }

    .section-heading h2{
        font-size:24px;
    }

    .related-products-grid,
    .other-models-grid{
        grid-template-columns:1fr;
    }

    .related-image-wrap img{
        height:260px;
    }

    .product-quantity-row{
        align-items:flex-start;
        flex-direction:column;
    }
}

@media (max-width: 576px){
    .product-breadcrumb-section{
        padding:10px 4%;
    }

    .product-main-section,
    .product-description-section,
    .related-products-section,
    .other-models-section,
    .reviews-section,
    .faq-section{
        padding-left:4%;
        padding-right:4%;
    }

    .product-gallery,
    .product-details-card,
    .description-card,
    .review-card,
    .review-form,
    .faq-item,
    .related-product-card{
        border-radius:18px;
    }

    .product-main-image-card{
        border-radius:16px;
    }

    .product-main-image-card img{
        height:300px;
    }

    .product-thumbnails-slider{
        grid-template-columns:34px 1fr 34px;
        gap:8px;
    }

    .thumb-arrow{
        width:34px;
        height:34px;
        font-size:14px;
    }

    .product-thumbnails-track{
        gap:8px;
        grid-auto-columns:calc((100% - 24px) / 4);
    }

    .thumb-btn{
        padding:4px;
        border-radius:12px;
    }

    .thumb-btn img{
        border-radius:9px;
    }

    .product-details-card{
        padding:18px;
    }

    .current-price{
        font-size:26px;
    }

    .description-features{
        grid-template-columns:1fr;
    }

    .faq-question{
        font-size:15px;
        padding:18px 16px;
    }

    .faq-answer{
        padding:0 16px 18px;
    }

    .review-card,
    .review-form,
    .description-card{
        padding:16px;
    }

    .related-image-wrap img{
        height:220px;
    }

    .related-bottom{
        flex-direction:column;
        align-items:flex-start;
    }

    .related-bottom a{
        width:100%;
    }
}

@media (max-width: 420px){
    .product-main-image-card img{
        height:260px;
    }

    .product-details-card h1{
        font-size:22px;
    }

    .current-price{
        font-size:24px;
    }

    .product-rating-row{
        gap:6px;
        font-size:12px;
    }

    .section-heading h2{
        font-size:21px;
    }

    .add-cart-btn,
    .buy-now-btn{
        min-height:46px;
        font-size:13px;
    }

    .delivery-point{
        padding:12px;
    }
}

.model-select-wrap {
    margin-top: 12px;
    position: relative;
}

.model-select-trigger {
    width: 100%;
    height: 54px;
    border: 1px solid #d8d8d8;
    border-radius: 14px;
    padding: 0 16px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #222;
    cursor: pointer;
}

.model-select-trigger.active {
    border-color: #111;
}

.model-select-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.model-select-arrow {
    font-size: 12px;
    color: #666;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.model-select-trigger.active .model-select-arrow {
    transform: rotate(180deg);
}

.model-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    z-index: 50;
    display: none;
}

.model-dropdown.open {
    display: block;
}

.model-options {
    max-height: 336px; /* approx 7 items */
    overflow-y: auto;
    padding: 6px;
}

.model-option {
    width: 100%;
    border: 0;
    background: #fff;
    text-align: left;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    color: #222;
    cursor: pointer;
}

.model-option:hover,
.model-option.active {
    background: #f5f5f5;
}

.model-hidden-input {
    display: none;
}

@media (max-width: 767px) {
    .model-options {
        max-height: 308px;
    }
}

