
body{
    background:#f8f4ef;
    overflow-x:hidden;
}

/* =========================================
   PAGE
========================================= */

.product-page{
    max-width:1500px;
    margin:28px auto 70px;
    padding:0 24px;
}

/* =========================================
   TOP
========================================= */

.product-top{

    display:grid;

    grid-template-columns: minmax(0, 38%) minmax(0, 45%) minmax(170px, 17%);

    gap:10px;

    align-items:start;
}

/* =========================================
   LEFT
========================================= */

.product-gallery{

    width:auto;

    min-width:0;

    position:sticky;

    top:0px;
}

/* =========================================
   MAIN MEDIA
========================================= */

.main-image-box{
    width:100%;

    background:#fff;

    border-radius:26px;

    overflow:hidden;

    position:relative;

    box-shadow:
    0 10px 28px rgba(0,0,0,.07);

    aspect-ratio:1/1;
}

.main-product-img,
.main-product-video{
    width:100%;

    height:465px;

    object-fit:contain;

    display:block;
}

/* =========================================
   THUMBNAILS
========================================= */

.thumbnail-row{

    display:flex;

    gap:10px;

    margin-top:16px;

    overflow-x:auto;

    overflow-y:hidden;

    padding-bottom:6px;

    scroll-behavior:smooth;

    scrollbar-width:none;

    -ms-overflow-style:none;
}

.thumbnail-row::-webkit-scrollbar{

    display:none;
}


.thumbnail-row::-webkit-scrollbar-thumb{
    background:#d4b99b;
    border-radius:999px;
}

.thumb,
.video-thumb{
    width:72px;
    min-width:72px;
    height:72px;
    flex-shrink:0;

    border-radius:14px;

    overflow:hidden;

    cursor:pointer;

    border:2px solid transparent;

    background:#fff;

    position:relative;

    transition:.22s;

    box-shadow:
    0 4px 10px rgba(0,0,0,.05);
}

.thumb:hover,
.video-thumb:hover{
    transform:translateY(-2px);
}


.thumb{

    object-fit:cover;
}

.video-thumb img,
.video-thumb video{

    width:100%;
    height:100%;
    object-fit:cover;
}


.active-thumb{
    border-color:#8b5a2b;

    box-shadow:
    0 0 0 4px rgba(139,90,43,.12);
}

/* VIDEO */

.video-thumb span{
    position:absolute;
    inset:0;

    display:flex;
    align-items:center;
    justify-content:center;

    background:rgba(0,0,0,.25);

    color:#fff;

    font-size:20px;
}

/* =========================================
   RIGHT
========================================= */

.product-info{
    width:auto;

    flex-shrink:0;

    position:relative;

    top:0;
}

.product-info-inner{

    background:#fff;

    padding:28px;

    border-radius:28px;

    position:relative;

    z-index:2;

    box-shadow:
    0 10px 28px rgba(0,0,0,.05);
}

.product-buy-box{

    position:sticky;

    top:0px;

    background:#fff;

    border-radius:24px;

    padding:18px;

    box-shadow:
    0 10px 28px rgba(0,0,0,.05);
}

/* =========================================
   CATEGORY
========================================= */

.product-category{
    color:#a07a56;

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:11px;

    font-weight:700;

    margin-bottom:10px;
}

/* =========================================
   TITLE
========================================= */

.product-title{

    font-size:20px;

    line-height:1.35;

    color:#5f3a1f;

    font-weight:700;

    margin-bottom:14px;
}

/* =========================================
   RATING
========================================= */

.product-rating{
    color:#d89b1e;

    font-size:14px;

    margin-bottom:18px;
}

.product-rating span{
    color:#777;
}

/* =========================================
   PRICE
========================================= */

.product-price{
    margin-bottom:20px;
}

.price-wrapper{
    display:flex;

    align-items:center;

    gap:10px;

    flex-wrap:wrap;
}

.sale-price,
.normal-price{
    font-size:20px;

    font-weight:700;

    color:#7B4F2C;

    line-height:1;
}

.original-price{
    color:#999;

    font-size:14px;

    text-decoration:line-through;
}

.discount-text{
    background:#e8f7ec;

    color:#198754;

    padding:6px 12px;

    border-radius:999px;

    font-size:12px;

    font-weight:600;
}

/* =========================================
   SHORT INFO
========================================= */

/*.product-short-info{
    font-size:15px;

    line-height:1.85;

    color:#666;

    margin-bottom:20px;
}*/

/* =========================================
   STOCK
========================================= */

.stock-status{
    display:inline-flex;

    align-items:center;

    background:#eef8f2;

    color:#198754;

    padding:8px 14px;

    border-radius:999px;

    font-size:13px;

    font-weight:600;

    margin-bottom:12px;
}

/* DELIVERY */

.delivery-info{
    font-size:14px;

    color:#666;

    margin-bottom:22px;
}

/* =========================================
   QTY
========================================= */

.qty-wrapper{
    margin-bottom:22px;
}

.qty-wrapper label{
    display:block;

    margin-bottom:8px;

    font-size:14px;

    font-weight:600;
}

.qty-wrapper input{
    width:100px;

    height:44px;

    border-radius:12px;

    border:1px solid #ddd;

    padding-left:14px;

    background:#fff;

    outline:none;

    font-size:15px;
}

/* =========================================
   BUTTONS
========================================= */

.product-actions{
    display:flex;

    gap:10px;

    margin-bottom:24px;
}

.btn-cart-main,
.btn-buy-main{
    border:none;

    height:36px;

    border-radius:14px;

    cursor:pointer;

    font-size:13px;

    font-weight:600;

    transition:.22s;

    width: 100%;
}

.btn-cart-main{
    width:50%;

    background:#8b5a2b;

    color:#fff;

    box-shadow:
    0 4px 0 #6b4423;
}

.btn-buy-main{
    flex:1;

    background:#111;

    color:#fff;
}

.btn-cart-main:hover,
.btn-buy-main:hover{
    transform:translateY(-2px);
}

/* =========================================
   HIGHLIGHTS
========================================= */

.highlight-grid{
    display:grid;

    grid-template-columns:
    repeat(2,1fr);

    gap:12px;

    margin-top: 18px;
}

.highlight-item{
    background:#faf7f3;

    border-radius:16px;

    padding:14px;

    font-size:13px;

    color:#555;

    line-height:1.6;
}

/* =========================================
   DIVIDER
========================================= */

.section-divider{
    height:1px;

    background:#eadfd3;

    margin:20px 0;
}

/* =========================================
   TITLES
========================================= */

.product-description-section h2,
.product-details-section h2,
.care-section h2,
.related-products-section h2{
    font-size:23px;

    color:#7B4F2C;

    font-weight:700;

    margin-bottom:24px;
}

/* =========================================
   DESCRIPTION
========================================= */

.product-description-section{
    max-width:100%;
}

.luxury-description{
    font-size:14px;

    line-height:1.85;

    color:#555;
}

.luxury-description ul,
.luxury-description ol{
    padding-left:22px;
}

.luxury-description li{
    margin-bottom:12px;
}

.luxury-description p{
    margin-bottom:18px;
}

.product-story-section{

    margin:50px auto;
}

.product-story-section h2{

    font-size:24px;

    font-weight:700;

    color:#5f3a1f;

    margin-bottom:24px;
}

.product-story-images{

    display:flex;

    flex-direction:column;

    gap:24px;
}

.story-image-card{

    overflow:hidden;

    border-radius:24px;

    background:#fff;

    box-shadow:
    0 8px 30px rgba(0,0,0,.06);
}

.story-image-card img{

    width:100%;

    display:block;
}

/* =========================================
   DETAILS GRID
========================================= */

.details-grid{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:16px;
}

.detail-card{
    background:#fff;

    padding:20px;

    border-radius:18px;

    box-shadow:
    0 6px 20px rgba(0,0,0,.04);
}

.detail-card strong{
    display:block;

    margin-bottom:8px;

    font-size:13px;
}

.detail-card span{
    font-size:14px;

    color:#666;
}

/* =========================================
   CARE
========================================= */

.care-section{
    background:linear-gradient( 135deg, #f5eee7, #efe5da );

    border-radius:26px;

    padding:32px;
}

/* =========================================
   RELATED
========================================= */

.related-products-section{
    margin-bottom:10px;
}

.related-products-grid{
    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:20px;
}

.related-card{
    background:#fff;

    border-radius:22px;

    overflow:hidden;

    cursor:pointer;

    transition:.22s;

    box-shadow:
    0 8px 22px rgba(0,0,0,.05);
}

.related-card:hover{
    transform:translateY(-5px);
}

.related-card img{
    width:100%;

    height:230px;

    object-fit:cover;
}

.related-card-body{
    padding:16px;
}

.related-card-body h5{
    font-size:15px;

    line-height:1.5;

    margin-bottom:8px;

    color:#333;

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

    overflow:hidden;
}

.related-card-body p{
    color:#7B4F2C;

    font-size:17px;

    font-weight:700;
}


.product-description-section{

    background:#fff;

    padding:42px;

    border-radius:28px;

    box-shadow:
    0 8px 24px rgba(0,0,0,.04);
}

.product-details-section{ margin-top:28px; }


.empty-related{

    background:#fff;

    padding:40px;

    border-radius:24px;

    color:#777;

    text-align:center;
}

.out-of-stock-box{

    background:#faf7f3;

    border:1px solid #eee;

    border-radius:24px;

    padding:24px;

    margin-bottom:24px;
}

.out-stock-title{

    font-size:18px;

    font-weight:700;

    color:#5f3a1f;

    margin-bottom:10px;
}

.out-stock-text{

    color:#777;

    font-size:14px;

    line-height:1.7;

    margin-bottom:18px;
}

.notify-btn{

    width:100%;

    height:48px;

    border:none;

    border-radius:14px;

    background:#111;

    color:#fff;

    font-size:14px;

    font-weight:600;

    cursor:pointer;

    transition:.25s;
}

.notify-btn:hover{

    transform:translateY(-2px);
}

.product-short-info{

    margin-top:22px;

    padding-top:20px;

    border-top:1px solid #eee;

    font-size:12px;

    line-height:1.8;

    color:#666;
}

.qty-box{

    display:flex;

    align-items:center;

    gap:0;

    border:1px solid #ddd;

    border-radius:14px;

    overflow:hidden;

    background:#fff;
}

.qty-box button{

    width:52px;

    height:50px;

    border:none;

    background:#f6f4f1;

    font-size:22px;

    font-weight:600;

    color:#7B4F2C;
}

.qty-box input{

    flex:1;

    border:none;

    text-align:center;

    font-size:16px;

    font-weight:600;
}


/* =========================================
   GALLERY PREVIEW
========================================= */

.gallery-preview{

    display:none;

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.95);

    z-index:99999;

    justify-content:center;

    align-items:center;

    padding:20px;
}

.gallery-preview img{

    max-width:100%;

    max-height:90vh;

    object-fit:contain;
}

.gallery-close{

    position:absolute;

    top:20px;

    right:20px;

    color:#fff;

    font-size:34px;

    cursor:pointer;
}

/* =========================================
   TRUST BADGES
========================================= */

.trust-grid{

    display:grid;

    grid-template-columns:1fr;

    gap:8px;

    margin-top:18px;
}



.trust-item{

    display:flex;

    gap:10px;

    align-items:center;

    padding:12px;

    background:#fff;

    border-radius:14px;

    border:1px solid rgba(0,0,0,.06);
}

.trust-item span{

    font-size:22px;
}

.trust-item strong{

    display:block;

    font-size:13px;

    color:#222;
}

.trust-item small{

    display:block;

    color:#777;

    font-size:11px;
}

