
.product-detail{
    display:grid;
    grid-template-columns:1.22fr .95fr;
    gap:30px;
    align-items:start;
}
.gallery{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}
.gallery-item{
    aspect-ratio:6/8;
    background:#e5ece6;
}
.product-panel{
    position:sticky;
    top:86px;
    background:#fff;
    border:1px solid var(--line);
    padding:26px;
}
.product-panel h1 {
    font-family: "Playfair Display",serif;
    font-size: 32px;
    line-height: 1.15;
    margin: 8px 0 10px;
}
.review{color:#5f5f5f;font-size:13px;margin:8px 0 16px}
.product-panel p{color:var(--muted);line-height:1.6}
.color-row,.size-row{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 20px}
.color-option{
    width:34px;
    height:34px;
    border:1px solid #bbb;
}
.size-option{
    min-width:48px;
    height:38px;
    border:1px solid var(--line);
    background:#fff;
    font-weight:500;
}
.size-option.active{background:#173629;color:#fff}
.add-cart{
    width:100%;
    height:50px;
    border:0;
    background:#173629;
    color:#fff;
    font-weight:500;
    text-transform:none;
    letter-spacing:.25px;
        cursor: pointer;
        font-size: 16px;
}
.product-note{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-top:14px;
}
.note{
    background:var(--soft);
    padding:13px;
    font-size:12px;
    line-height:1.5;
}
.accordion{margin-top:20px;border-top:1px solid var(--line)}
.acc-item{padding:16px 0;border-bottom:1px solid var(--line)}
.accordion .acc-item:last-child {padding:20px 0px 0px 0px;border-bottom:0px solid var(--line)}
.acc-item b{display:flex;justify-content:space-between}
.acc-item p{margin-bottom:0}
@media(max-width:980px){
    .product-detail{grid-template-columns:1fr;gap: 10px;}
    .product-panel{position:static}
}
@media(max-width:620px){
    .gallery {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 8px;
        padding: 0px 0 0px 0;
        -webkit-overflow-scrolling: touch;
    }
    .product-benefits {
        margin: 12px 0 0;
    }
    .product-benefits .benefit h4 {
        font-size: 12px !important;
    }
    .product-benefits .benefit p {
        font-size: 10px !important;
    }
    .product-benefits .benefit {
        background: #fff;
        padding: 16px !important;
        text-align: center;
        flex: 0 0 45%;
        scroll-snap-align: center;
        display: flex;
        flex-direction: column;
        border: 1px solid var(--line);
    }
    section.product-editorial {
        margin-top: 10px;
        border: 0px;
        background: none;
        padding-bottom: 0px;
        gap: 0px;
    }
    .editorial-content {
        padding: 0px 12px !important;
        margin-top: -63%;
    }.editorial-content .kicker {
        color: #fff;
    }
    .product-benefits {
        margin: 10px 0 0 !important;
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 8px !important;
        border: 0px solid #555 !important;
        background: none !important;
        padding: 0px 0 0px 0;
        -webkit-overflow-scrolling: touch;
    }
    .product-benefits .benefit i {
    font-size: 18px;}
    .gallery-item , .feature{
        flex: 0 0 90%;
        scroll-snap-align: center;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .feature div {
        padding: 12px !important;
    }
    .product-care {
    margin: 12px 0 0 !important;padding: 12px !important;}
    .feature h3 {
        margin: 0 0 5px !important;
        font-size: 15px !important;
        color: #173629;
    }.feature p {
        margin: 0;
        color: #68736c;
        line-height: 1.5 !important;
        font-size: 12px;
    }
    .product-panel{padding:12px}
    .product-panel h1 {
        font-size: 22px;
        line-height: 1.39;
    }
    .product-panel p {
        color: var(--muted);
        line-height: 1.6;
        font-size: 12px;
        text-align: justify;
        margin-top: 5px;
    }
}.product-benefits{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:1px;
    background:var(--line);
    margin:44px 0 0;
    border:1px solid var(--line);
}
.product-benefits .benefit{
    background:#fff;
    padding:26px 18px;
    text-align:center;
}
.product-benefits .benefit i{
    font-size:24px;
    color:#173629;
    margin-bottom:12px;
}
.product-benefits .benefit h4{
    margin:0 0 6px;
    font-size:15px;
    font-weight:600;
    color:#173629;
}
.product-benefits .benefit p{
    margin:0;
    color:#68736c;
    font-size:13px;
}

.product-editorial{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:0;
    margin:39px 0 0;
    border:1px solid var(--line);
    background:#fff;
}
.editorial-image{
    min-height:520px;
    background:#edf3ef;
}
.editorial-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.editorial-content{
    padding:56px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.editorial-content h2{
    font-family:"Playfair Display",serif;
    font-size:42px;
    line-height:1.08;
    margin:12px 0 18px;
    color:#173629;
}
.editorial-content p{
    color:#5f6d65;
    line-height:1.8;
    margin:0;
}

.product-info-block{
    margin:39px 0 0;
}
.product-info-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
}
.product-info-card{
    background:#fff;
    border:1px solid var(--line);
    padding:30px;
}
.product-info-card h2{
    font-family:"Playfair Display",serif;
    font-size:34px;
    margin:0 0 20px;
    color:#173629;
}
.spec-table,
.size-table{
    width:100%;
    border-collapse:collapse;
}
.spec-table td,
.size-table th,
.size-table td{
    border-bottom:1px solid var(--line);
    padding:14px 0;
    text-align:left;
    color:#4f5f56;
    font-size:14px;
}
.spec-table td:first-child{
    width:34%;
    color:#173629;
    font-weight:600;
}
.size-table th{
    color:#173629;
    font-weight:600;
}

.product-features{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin:39px 0 0;
}
.feature{
    background:#fff;
    border:1px solid var(--line);
}
.feature img{
    width:100%;
    height:300px;
    object-fit:cover;
    display:block;
}
.feature div{
    padding:24px;
}
.feature h3{
    margin:0 0 8px;
    font-size:20px;
    color:#173629;
}
.feature p{
    margin:0;
    color:#68736c;
    line-height:1.7;
}

.product-care {
    margin: 39px 0 0;
    background: #173629;
    color: #fff;
    padding: 35px;
    display: grid;
    gap: 36px;
    align-items: center;
}
.product-care h2 {
    font-family: "Playfair Display",serif;
    font-size: 25px;
    line-height: 1.3;
    margin: 0;
    text-align: center;
}
.care-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 18px;
}
.care-item{
    border:1px solid rgba(255,255,255,.18);
    padding:20px;
}
.care-item i{
    margin-bottom:12px;
    font-size:22px;
}
.care-item h3{
    margin:0 0 6px;
    font-size:16px;
}
.care-item p{
    margin:0;
    color:#dce7df;
    line-height:1.6;
    font-size:13px;
}

.reviews-section{
    margin:39px 0 0;
}
.review-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}
.review-card{
    background:#fff;
    border:1px solid var(--line);
    padding:26px;
}
.review-card strong{
    display:block;
    color:#173629;
    margin-bottom:8px;
}
.review-card .stars{
    color:#173629;
    margin-bottom:12px;
    letter-spacing:1px;
}
.review-card p{
    margin:0;
    color:#5f6d65;
    line-height:1.7;
}

.recently-viewed{
    margin-top:39px;
}

@media(max-width:980px){
    .product-benefits{
                margin-top: 20px;
    }
    .grid-5 {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 15px;
    }
    .product-editorial,
    .product-info-grid,
    .product-care{
        grid-template-columns:1fr;
    }
    .product-features,
    .review-grid{
        grid-template-columns:1fr;
        gap: 8px;
    margin: 12px 0 0;
            margin: 10px 0 0 !important;
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 8px !important;
        border: 0px solid #555 !important;
        background: none !important;
        padding: 0px 0 0px 0;
        -webkit-overflow-scrolling: touch;
    }
    .editorial-content,
    .product-care{
        padding:32px;
    }
}
@media(max-width:620px){

    .editorial-image{
        min-height:360px;
    }
    .product-info-grid{
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .editorial-content h2{
       font-size: 20px;
        line-height: 1.29;
        margin-bottom: 5px;
        margin-top: 5px;
                color: #fff;
    }
    .product-care {
        grid-template-columns: 1fr;
        gap: 10px !important;
    }
    .product-care h2{
       font-size: 15px;
        line-height: 1.29;
        margin-bottom: 5px;
        margin-top: 5px;
                color: #fff;
    }
    .product-info-block {
        margin: 12px 0 0;
    }
    .product-info-card {
        padding: 12px;
    }
    .editorial-content p {
        color: #fff;
        line-height: 1.8;
        margin: 0;
        text-align: justify;
        font-size: 12px;
    }
    .product-info-card h2 {
        font-size: 18px;
        margin-bottom: 0px;
    }
    .care-list{
        grid-template-columns:1fr 1fr;
                gap: 10px;
    }.care-item h3 {
        margin: 0 0 6px;
        font-size: 12px;
    }.care-item p {
        margin: 0;
        color: #dce7df;
        line-height: 1.6;
        font-size: 12px;
    }
    .reviews-section {
        margin: 12px 0 0;
    }
    .review-card {
        flex: 0 0 80%;
        scroll-snap-align: center;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 12px !important;
    }
    .review-card .stars {
        color: #173629;
        margin-bottom: 5px;
        letter-spacing: 1px;
    }
    .section-head {
        margin-bottom: 12px;
    }
    .recently-viewed {
        margin-top: 0px;
    }
    .care-item {
        border: 1px solid rgba(255,255,255,.18);
        padding: 12px;
    }
    .grid-5 {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 9px;
    }
    .product-info h3 {
        margin: 0 0 5px;
        font-size: 12px;
        line-height: 1.35;
    }


}

.spec-table tr:last-child td , .size-table tr:last-child td {
    border-bottom: 0px solid var(--line);
    padding: 14px 0 0px 0;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.gallery-item {
    overflow: hidden;
    background: #f5f1ea;
    cursor: zoom-in;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 12, 10, .86);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
}

.image-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.image-lightbox img {
    max-width: min(1100px, 94vw);
    max-height: 88vh;
    object-fit: contain;
    transform: scale(.96);
    transition: .25s ease;
}

.image-lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: fixed;
    top: 22px;
    right: 22px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #111;
    cursor: pointer;
    font-size: 20px;
    z-index: 2;
}

.no-scroll {
    overflow: hidden;
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .image-lightbox {
        padding: 14px;
    }

    .image-lightbox img {
        max-width: 96vw;
        max-height: 82vh;
    }

    .lightbox-close {
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
    }
}
.gallery-item {
    position: relative;
}

.gallery-more {
    position: absolute;
    inset: 0;
    background: rgba(20, 16, 12, .48);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    pointer-events: none;
}

@media (max-width: 768px) {
    .gallery-more {
        display: none;
    }
}
.lightbox-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:58px;
    height:58px;
    border:none;
    border-radius:999px;
    background:rgba(255,255,255,.95);
    cursor:pointer;
    z-index:10;
    font-size:20px;
    transition:.25s;
}

.lightbox-nav:hover{
    transform:translateY(-50%) scale(1.08);
}

.lightbox-prev{
    left:24px;
}

.lightbox-next{
    right:24px;
}

@media(max-width:768px){

    .lightbox-nav {
        width: 46px;
        height: 46px;
        font-size: 16px;
        background: none;
        color: #fff;
    }

    .lightbox-prev{
        left:10px;
    }

    .lightbox-next{
        right:10px;
    }

}
.gallery-wrap{
    position:relative;
}

.product-video-pop{
    position:absolute;
    inset:0;
    z-index:20;
    background:#000;
    border-radius:0px;
    overflow:hidden;
    display:none;
}

.product-video-pop.active{
    display:block;
}

.product-video-pop video{
    width:100%;
    height:100%;
    aspect-ratio:9/16;
    object-fit:cover;
    display:block;
}

.video-close{
    position:absolute;
    top:12px;
    right:12px;
    z-index:30;
    width:36px;
    height:36px;
    border:0;
    border-radius:0px;
    background:rgb(50 108 83);
    color:#fff;
    cursor:pointer;
}

.video-mini-btn{
    position:absolute;
    right:12px;
    bottom:12px;
    z-index:25;
    border:0;
    border-radius:0px;
    padding:9px 14px;
    background:#111;
    color:#fff;
    font-size:13px;
    font-weight:700;
    display:none;
    align-items:center;
    gap:7px;
    cursor:pointer;
    box-shadow:0 8px 24px rgba(0,0,0,.22);
}

.video-mini-btn.show{
    display:flex;
}

@media(max-width:768px){
    .product-video-pop{
        border-radius:0px;
    }

    .video-mini-btn{
        right:10px;
        bottom:10px;
        padding:8px 12px;
    }
}.order-overlay{
    position:fixed;
    inset:0;
    background:rgba(10,20,16,.45);
    opacity:0;
    visibility:hidden;
    z-index:9998;
    transition:.35s ease;
}

.order-overlay.active{
    opacity:1;
    visibility:visible;
}

.order-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 38%;
    max-width: 600px;
    min-width: 360px;
    height: 100vh;
    background: #fbfaf6;
    z-index: 9999;
    transform: translateX(100%);
    transition: .42s cubic-bezier(.22,.8,.25,1);
    padding: 25px;
    box-shadow: -30px 0 70px rgba(0,0,0,.18);
    overflow-y: auto;
}

.order-drawer.active{
    transform:translateX(0);
}

.order-close{
    position:absolute;
    top:18px;
    right:18px;
    width:42px;
    height:42px;
    border:1px solid #d9d6ce;
    background:#fff;
    cursor:pointer;
}

.order-head span{
    text-transform:uppercase;
    letter-spacing:.18em;
    font-size:11px;
    font-weight:800;
    color:#173f30;
}

.order-head h2 {
    margin: 0px 0 0px;
    font-family: "Playfair Display",serif;
    font-size: 29px;
    line-height: 1.1;
    color: #10291f;
}

.order-head p {
    color: #6d746f;
    line-height: 1.7;
    margin-top: 5px;
    margin-bottom: 0px;
}

.order-product {
    display: flex;
    gap: 16px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e4e0d8;
    margin: 10px 0;
}

.order-product img{
    width:92px;
    height:116px;
    object-fit:cover;
}

.order-product h3 {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
}

.order-product p{
    margin:0 0 8px;
    font-weight:600;
}

.order-product small{
    color:#173f30;
    font-weight:300;
}

.order-summary {
    border-bottom: 1px solid #ded9cf;
    padding: 0px 0 18px 0;
    margin-bottom: 24px;
}

.order-summary div{
    display:flex;
    justify-content:space-between;
    margin-bottom:12px;
    color:#5d665f;
}

.order-summary .total{
    margin:18px 0 0;
    padding-top:16px;
    border-top:1px solid #e5e1d8;
    color:#10291f;
    font-size:18px;
}

.order-form label{
    display:block;
    margin:14px 0 8px;
    font-weight:800;
    color:#10291f;
}

.order-form input{
    width:100%;
    height:50px;
    border:1px solid #d8d4cb;
    background:#fff;
    padding:0 14px;
    font-size:15px;
}

.order-form button {
    width: 100%;
    height: 56px;
    margin-top: 22px;
    border: 0;
    background: #173f30;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
}

@media(max-width:768px){
    .order-drawer{
        width:100%;
        max-width:none;
        min-width:0;
        padding:28px 20px;
    }
}
.color-option.active{
    outline:2px solid #173f30;
    outline-offset:3px;
}

.size-option.active{
    background:#173f30;
    color:#fff;
    border-color:#173f30;
}

.order-selected{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:8px;
    font-size:13px;
    color:#5f6861;
}

.order-selected span{
    background:#f1f4ef;
    padding:6px 10px;
}input#customerPhone {
    color: #1b3f30;
    font-size: 20px;
    letter-spacing: 1px;
}
.order-form input::placeholder , .order-form input#customerPhone::placeholder{
    font-size: 15px;
    color:#757575;letter-spacing: 0px;
}
.order-form textarea::placeholder{
    font-size: 13.8px;
    color:#757575;letter-spacing: 0px;
}
.order-form textarea{
    width:100%;
    border:1px solid #d9d9d9;
    padding:12px;font-size: 15px;
    min-height:90px;
        line-height: 1.5;
}
