.product-modal-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.5);

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:3000;
}

.product-modal-overlay.active{

    opacity:1;
    visibility:visible;
}

.product-modal{

    position:fixed;

    top:50%;
    left:50%;

    transform:
    translate(-50%,-50%)
    scale(.9);

    width:1000px;

    max-width:95%;

    background:white;

    border-radius:20px;

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:3001;
}

.product-modal.active{

    opacity:1;
    visibility:visible;

    transform:
    translate(-50%,-50%)
    scale(1);
}

.modal-close{

    position:absolute;

    top:20px;
    right:20px;

    border:none;

    background:none;

    font-size:24px;

    cursor:pointer;
}

.modal-content{

    display:grid;

    grid-template-columns:
    1fr 1fr;

    gap:40px;

    padding:40px;
}

.modal-image img{

    width:100%;

    border-radius:16px;
}

.modal-price{

    font-size:32px;

    font-weight:700;

    margin:20px 0;
}

.fabric-colors{

    display:flex;

    gap:12px;

    margin:30px 0;
}

.fabric-colors span{

    width:24px;
    height:24px;

    border-radius:50%;

    background:#999;

    cursor:pointer;
}

.buy-btn{

    width:100%;

    max-width:420px;

    height:62px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#d8b6b4;

    color:#fff;

    border:none;

    border-radius:14px;

    font-size:18px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

    margin:8px 0 34px;
}

.buy-btn:hover{

    background:#cfa7a4;

    transform:translateY(-2px);

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}
.buy-btn:active{

    transform:translateY(0);

}

.product-page{

    display:grid;

    grid-template-columns: 58% 42%;

    align-items:start;

    gap:90px;

    max-width:1500px;

    margin:0 auto;

    padding:170px 70px 70px;

}
.product-gallery{

    display:flex;

    flex-direction:column;

    align-items:center;

    position:relative;

}
.main-image{

    width:82%;
    transition:none;
    transform-origin:center center;

    display:block;

    margin:auto;

    object-fit:contain;

    will-change:transform;

    opacity:1;

    transition:
        opacity .25s ease;

}

.main-image.fade{

    opacity:0;

}

.product-image-placeholder{

    width:100%;
    height:100%;
    min-height:360px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:14px;

    border:1px solid rgba(17, 17, 17, .12);
    border-radius:24px;

    background:#f5f1ef;
    color:#6d6662;

    text-align:center;

}

.product-image-placeholder span{

    color:#1b1918;
    font-size:1.1rem;
    font-weight:700;
    letter-spacing:.18em;

}

.gallery-thumbs{

    display:flex;

    justify-content:center;

    gap:16px;

    margin-top:-10px;

}
.gallery-thumbs img{

    width:120px;
    height:120px;

    object-fit:cover;

    border-radius:12px;

    cursor:pointer;
}

.gallery-thumbs .thumb{

    cursor:pointer;

    transition:.2s;

}

.gallery-thumbs .thumb:hover{

    opacity:.7;

}

.gallery-thumbs .thumb.active{

    border:2px solid #111;

}

.gallery-arrow{

    position:absolute;

    top:42%;

    transform:translateY(-50%);

    width:58px;

    height:58px;

    display:flex;

    justify-content:center;

    align-items:center;

    border:none;

    background:transparent;

    cursor:pointer;

    color:#5b5b5b;

    transition:.25s;

    z-index:10;

}
.gallery-arrow svg{

    width:28px;

    height:28px;

    transition:.25s;

}
.gallery-arrow:hover{

    color:#111;

}

.gallery-arrow:hover svg{

    transform:scale(1.12);

}

.gallery-prev{

    left:-55px;

}

.gallery-next{

    right:-55px;

}

.product-info{

    width:100%;

    max-width:520px;

    display:flex;

    flex-direction:column;

    align-items:flex-start;

    gap:18px;

}

.product-price{

    font-size:42px;

    font-weight:700;

    margin:25px 0;
}

.product-description{

    color:#666;

    line-height:1.6;

    margin-bottom:30px;
}

.fabric-picker{

    display:flex;

    gap:10px;

    margin:20px 0;
}

.fabric-picker span{

    width:35px;
    height:35px;

    border-radius:50%;

    background:#999;

    cursor:pointer;
}

.fabric-color{

    border:3px solid transparent;

    transition:.3s;
}

.fabric-color.active{

    border-color:black;

    transform:scale(1.1);
}

.specs{

    width:420px;

    padding:26px 0 0 0;

}

.spec-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:16px 0;

    border-bottom:1px solid #eee;

}

.related-products{

    padding:80px;
}

.related-grid{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:30px;

    margin-top:40px;
}

.related-card{

    cursor:pointer;

    transition:.3s;
}

.related-card:hover{

    transform:translateY(-8px);
}

.related-image{

    height:300px;

    background:#eee;

    border-radius:18px;

    margin-bottom:15px;
}

.spec-group-title{
    margin-top:28px;
    margin-bottom:12px;
    font-size:16px;
    font-weight:600;
}

.spec-group-title:first-of-type{
    margin-top:0;
}

/* =========================================================
   СТАНДАРТНОЕ ИЗДЕЛИЕ И ОБЯЗАТЕЛЬНЫЕ СВЕДЕНИЯ
========================================================= */

.product-page-standard{
    padding-bottom:48px;
}


.product-standard-badge{
    display:inline-flex;

    min-height:31px;
    padding:0 13px;

    align-items:center;

    border-radius:999px;

    color:#875660;
    background:#f5e6e9;

    font-size:9px;
    font-weight:750;
    letter-spacing:.13em;
    text-transform:uppercase;
}


.product-identification{
    display:flex;
    align-items:center;
    gap:9px;

    color:#9a8c8e;
    font-size:11px;
}


.product-identification strong{
    color:#625457;
    font-weight:650;
}


.product-info h1{
    margin:3px 0 0;

    color:#40383a;

    font-size:
        clamp(
            36px,
            4vw,
            57px
        );

    line-height:1.02;
    font-weight:500;
    letter-spacing:-.045em;
}


.product-page-standard
.product-price{
    margin:8px 0 0;

    color:#40383a;

    font-size:
        clamp(
            34px,
            4vw,
            46px
        );

    font-weight:650;
}


.product-price-caption{
    max-width:480px;
    margin:0;

    color:#9b8e90;

    font-size:12px;
    line-height:1.65;
}


.product-page-standard
.product-description{
    margin:3px 0 0;

    color:#6f6466;

    font-size:14px;
    line-height:1.75;
}


.product-order-summary{
    display:grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    width:100%;
    gap:9px;

    margin-top:5px;
}


.product-order-summary > div{
    min-height:105px;
    padding:15px;

    border:1px solid #e9e0e1;
    border-radius:15px;

    background:
        linear-gradient(
            145deg,
            #fff,
            #faf6f7
        );
}


.product-order-summary span{
    display:block;

    margin-bottom:17px;

    color:#a09092;

    font-size:9px;
    font-weight:700;
    letter-spacing:.09em;
    text-transform:uppercase;
}


.product-order-summary strong{
    color:#55494c;

    font-size:12px;
    line-height:1.5;
}


.product-standard-notice{
    width:100%;
    padding:17px;

    border-left:3px solid #b87b85;
    border-radius:0 14px 14px 0;

    background:#faf1f3;
}


.product-standard-notice strong{
    display:block;

    margin-bottom:6px;

    color:#754c54;
    font-size:12px;
}


.product-standard-notice p{
    margin:0;

    color:#876f74;

    font-size:11px;
    line-height:1.65;
}


.product-page-standard
.buy-btn{
    max-width:none;
    margin:3px 0 0;
}


.product-page-standard
.buy-btn:disabled{
    color:#9b9092;
    background:#ebe7e8;

    cursor:not-allowed;
    box-shadow:none;
    transform:none;
}


.product-unavailable-note{
    width:100%;
    padding:13px 15px;

    border:1px solid #edd1d5;
    border-radius:12px;

    color:#9b5963;
    background:#fff5f6;

    font-size:11px;
    line-height:1.6;
}


.product-order-rules-link{
    color:#79575d;

    font-size:11px;
    font-weight:650;
    text-decoration:underline;
    text-underline-offset:4px;
}


.product-application-caption{
    margin:0;

    color:#a09496;

    font-size:10px;
    line-height:1.65;
}


.product-details-section{
    max-width:1500px;

    margin:0 auto;
    padding:
        25px
        70px
        100px;
}


.product-details-grid{
    display:grid;

    grid-template-columns:
        minmax(0,1.15fr)
        minmax(360px,.85fr);

    align-items:start;
    gap:20px;
}


.product-details-card{
    padding:
        clamp(
            24px,
            3vw,
            38px
        );

    border:1px solid #e9e1e1;
    border-radius:25px;

    background:
        linear-gradient(
            145deg,
            #fff,
            #fdfafa
        );

    box-shadow:
        0 18px 50px
        rgba(65,48,53,.055);
}


.product-details-heading{
    margin-bottom:25px;
}


.product-details-heading > span{
    color:#9a6670;

    font-size:9px;
    font-weight:750;
    letter-spacing:.14em;
    text-transform:uppercase;
}


.product-details-heading h2{
    margin:10px 0 8px;

    color:#443a3c;

    font-size:
        clamp(
            25px,
            3vw,
            36px
        );

    line-height:1.15;
    font-weight:500;
    letter-spacing:-.035em;
}


.product-details-heading p{
    max-width:610px;
    margin:0;

    color:#918486;

    font-size:12px;
    line-height:1.7;
}


.product-specification-group{
    margin-top:26px;
}


.product-specification-group:first-child{
    margin-top:0;
}


.product-specification-group h3{
    margin:0 0 9px;

    color:#745159;

    font-size:12px;
    font-weight:700;
    letter-spacing:.05em;
    text-transform:uppercase;
}


.product-specification-group
.spec-row{
    width:100%;
    padding:14px 0;

    gap:25px;

    border-color:#eee7e7;
}


.product-specification-group
.spec-row span{
    color:#8d8082;
    font-size:12px;
}


.product-specification-group
.spec-row strong{
    color:#514648;

    font-size:12px;
    font-weight:650;
    text-align:right;
}


.product-specifications-empty{
    padding:18px;

    border-radius:13px;

    color:#8c7d80;
    background:#f7f3f4;

    font-size:12px;
}


.product-compliance-list{
    margin:0;
}


.product-compliance-list > div{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:25px;

    padding:14px 0;

    border-bottom:1px solid #eee7e7;
}


.product-compliance-list dt{
    color:#948688;
    font-size:11px;
}


.product-compliance-list dd{
    max-width:60%;
    margin:0;

    color:#514648;

    font-size:11px;
    font-weight:600;
    line-height:1.55;
    text-align:right;
    overflow-wrap:anywhere;
}


.product-individual-order-card{
    display:grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(340px,.8fr);

    gap:40px;

    margin-top:20px;
    padding:
        clamp(
            27px,
            4vw,
            48px
        );

    border-radius:25px;

    color:#fff;

    background:
        radial-gradient(
            circle at 100% 0,
            rgba(210,151,163,.23),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #493f42,
            #211d1f
        );
}


.product-individual-order-card span{
    color:#dcb3bb;

    font-size:9px;
    font-weight:750;
    letter-spacing:.15em;
    text-transform:uppercase;
}


.product-individual-order-card h2{
    margin:13px 0 12px;

    color:#fff;

    font-size:
        clamp(
            27px,
            4vw,
            43px
        );

    line-height:1.1;
    font-weight:450;
    letter-spacing:-.04em;
}


.product-individual-order-card p{
    margin:0;

    color:rgba(255,255,255,.68);

    font-size:13px;
    line-height:1.75;
}


.product-individual-order-action{
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
}


.product-individual-order-action a,
.product-individual-order-action button{
    display:flex;
    min-height:46px;

    margin-top:21px;
    padding:0 20px;

    align-items:center;
    justify-content:center;

    border-radius:999px;

    color:#30282a;
    background:#fff;

    font-size:11px;
    font-weight:650;
    font-family:inherit;
    text-decoration:none;

    border:0;
    cursor:pointer;
}


@media(max-width:1050px){

    .product-page-standard{
        grid-template-columns:1fr;
    }

    .product-info{
        max-width:none;
    }

    .product-details-grid,
    .product-individual-order-card{
        grid-template-columns:1fr;
    }

}


@media(max-width:720px){

    .product-order-summary{
        grid-template-columns:1fr;
    }

    .product-details-section{
        padding:
            20px
            16px
            70px;
    }

    .product-compliance-list > div{
        flex-direction:column;
        gap:6px;
    }

    .product-compliance-list dd{
        max-width:none;
        text-align:left;
    }

}
