/* =========================================
PRODUCT DETAIL PAGE
========================================= */
.product-detail-section{
padding:80px 0;
background:#fff;
}
/* =========================================
PRODUCT DETAIL IMAGE
FIXED SIZE - NEVER MOVES WITH DROPDOWNS
========================================= */
.product-detail-image{
    width:100%;
    height:550px;
    min-height:550px;
    max-height:550px;

    background:#fff;
    border-radius:24px;
    overflow:hidden;

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:0 10px 35px rgba(0,0,0,.07);

    transition:box-shadow .4s ease, transform .4s ease;
}

/* Do not allow dropdown height to affect image */
.product-detail-section .row{
    align-items:flex-start;
}

.product-detail-image:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 45px rgba(0,0,0,.11);
}

.product-detail-image img{
    width:100%;
    height:100%;
    object-fit:contain;

    display:block;

    transition:transform .5s ease;
}

.product-detail-image:hover img{
    transform:scale(1.035);
}
/* =========================================
PRODUCT INFORMATION
========================================= */
.product-detail-info{
    padding:20px 15px;
    width:100%;
    position:relative;
    align-self:flex-start;
}

.product-detail-info>p.text-muted{
display:inline-block;
font-size:13px;
font-weight:600;
text-transform:uppercase;
letter-spacing:1.5px;
color:#888!important;
margin-bottom:12px;
}

.product-detail-section .col-lg-6,
.product-detail-section .col-md-6{
    align-self:flex-start;
}
/* =========================================
PRODUCT TITLE
========================================= */
.product-detail-info h1{
font-family:"Playfair Display",serif;
font-size:48px;
line-height:1.2;
font-weight:600;
color:#292929;
margin-bottom:18px;
}
/* =========================================
PRODUCT PRICE
========================================= */
.product-detail-info .product-price{
font-size:29px;
font-weight:700;
color:var(--primary-color);
margin-bottom:25px;
}
/* =========================================
SIZE SELECTION
========================================= */
.size-selection-wrapper{
background:#f5f5f5;
padding:20px;
border-radius:10px;
}
.size-selection-wrapper>.d-flex{
display:flex;
width:100%;
align-items:center;
justify-content:space-between;
margin-bottom:16px!important;
}
.size-selection-wrapper .form-label{
color:#292929;
font-size:15px;
margin:0;
}
.size-selection-wrapper>a{
color:var(--primary-color)!important;
font-size:14px;
text-decoration:none;
transition:color .3s ease;
}
.size-selection-wrapper>a:hover{
color:var(--primary-hover)!important;
}
.size-selection-wrapper>#selectedSize{
display:none;
}
/* =========================================
SIZE BUTTONS + WHATSAPP SAME ROW
========================================= */
.size-selection-wrapper{
display:grid;
grid-template-columns:minmax(0,1fr) auto;
column-gap:14px;
}
.size-selection-wrapper>.d-flex{
grid-column:1/-1;
grid-row:1;
}
.size-selection-wrapper>.size-buttons{
grid-column:1;
grid-row:2;
display:flex!important;
align-items:center;
flex-wrap:nowrap;
gap:9px;
width:auto!important;
min-width:0;
}
.size-btn-custom{
min-width:56px;
height:48px;
padding:10px 14px;
border:2px solid #ddd;
border-radius:8px;
background:#fff;
color:#333;
font-weight:500;
font-size:14px;
cursor:pointer;
transition:all .3s ease;
flex-shrink:0;
}
.size-btn-custom:hover{
border-color:var(--primary-color);
color:var(--primary-color);
transform:translateY(-2px);
}
.size-btn-custom.active{
background:var(--primary-color);
border-color:var(--primary-color);
color:#fff;
box-shadow:0 2px 8px rgba(212,20,90,.3);
}

.size-btn-custom.out-of-stock {
    position: relative;
    opacity: 0.5;
    cursor: not-allowed;
    color: #777;
    background: #f5f5f5;
}

.size-btn-custom.out-of-stock::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    top: 50%;
    height: 1px;
    background: #d32f2f;
    transform: rotate(-45deg);
    pointer-events: none;
}

.selected-size-stock {
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
}

.selected-size-stock.in-stock {
    color: #2e7d32;
}

.selected-size-stock.out-of-stock {
    color: #d32f2f;
}
/* =========================================
WHATSAPP QUICK BUY
DESKTOP - SAME ROW AS SIZES
========================================= */
.size-selection-wrapper>.product-whatsapp-wrapper{
grid-column:2;
grid-row:2;
display:flex!important;
align-items:center;
justify-content:flex-end;
margin:0!important;
width:auto!important;
}
.size-selection-wrapper>.product-whatsapp-wrapper .btn-success{
display:inline-flex!important;
align-items:center;
justify-content:center;
gap:7px;
width:auto!important;
min-width:0!important;
height:44px;
padding:9px 16px!important;
border-radius:50px!important;
background:#25D366!important;
border:1px solid #25D366!important;
color:#fff!important;
font-size:13px!important;
font-weight:600;
letter-spacing:.15px;
text-decoration:none;
white-space:nowrap;
box-shadow:0 4px 12px rgba(37,211,102,.16);
transition:all .3s ease;
}
.size-selection-wrapper>.product-whatsapp-wrapper .btn-success:hover{
background:#128C7E!important;
border-color:#128C7E!important;
color:#fff!important;
transform:translateY(-2px);
box-shadow:0 7px 18px rgba(18,140,126,.22);
}
.size-selection-wrapper>.product-whatsapp-wrapper .btn-success i{
font-size:15px!important;
margin:0!important;
color:#fff!important;
}
/* =========================================
WISHLIST + CART
========================================= */
.product-detail-info .product-actions{
position:static!important;
inset:auto!important;
display:flex;
flex-direction:row;
flex-wrap:nowrap;
gap:12px;
width:100%;
margin:25px 0 16px!important;
}
.product-detail-info .product-actions .wishlist,
.product-detail-info .product-actions .cart{
position:static!important;
flex:1;
min-height:52px;
padding:12px 20px;
border-radius:10px;
display:inline-flex;
align-items:center;
justify-content:center;
gap:8px;
font-size:15px;
font-weight:600;
text-decoration:none;
transition:all .3s ease;
}

/* =========================================
WISHLIST
========================================= */
.product-detail-info .product-actions .wishlist{
background:#fff;
border:1px solid #d8d8d8;
color:#292929;
box-shadow:0 3px 10px rgba(0,0,0,.04);
}
.product-detail-info .product-actions .wishlist:hover{
background:#292929;
border-color:#292929;
color:#fff;
transform:translateY(-2px);
box-shadow:0 8px 20px rgba(0,0,0,.13);
}
.product-detail-info .product-actions .wishlist i{
transition:transform .3s ease;
}
.product-detail-info .product-actions .wishlist:hover i{
transform:scale(1.15);
}
/* =========================================
CART - PRIMARY PINK
========================================= */
.product-detail-info .product-actions .cart{
background:var(--primary-color);
border:1px solid var(--primary-color);
color:#fff;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}
.product-detail-info .product-actions .cart:hover{
background:var(--primary-hover);
border-color:var(--primary-hover);
color:#fff;
transform:translateY(-2px);
box-shadow:0 9px 22px rgba(0,0,0,.15);
}
.product-detail-info .product-actions .cart i{
transition:transform .3s ease;
}
.product-detail-info .product-actions .cart:hover i{
transform:translateX(2px);
}

/* =========================================
PRODUCT TITLE LINK
========================================= */
.product-title-link{
color:#000;
text-decoration:none;
font-family:"Playfair Display",serif;
transition:color .3s ease;
}
.product-title-link:hover{
color:var(--primary-color);
text-decoration:none;
}
/* =========================================
ACTIVE / CLICK EFFECT
========================================= */
.product-detail-info .product-actions a:active,
.product-detail-info .product-whatsapp-wrapper .btn-success:active{
transform:translateY(0) scale(.98);
}

/* =========================================
   SIZE CHART MODAL
========================================= */

#sizeChartModal .modal-dialog {
    max-width: 600px;
    width: calc(100% - 30px);
    margin: 15px auto;
}

#sizeChartModal .modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

#sizeChartModal .modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

#sizeChartModal .modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #292929;
}

#sizeChartModal .modal-body {
    padding: 15px;
    text-align: center;
}

/* Image container */
#sizeChartContainer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Size chart image */
#sizeChartContainer .size-chart-image {
    display: block;
    width: auto;
    max-width: 520px;
    max-height: 650px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}


/* =========================================
MOBILE
========================================= */
@media(max-width:768px){
.product-detail-section{
padding:45px 0 110px;
}
.product-detail-image{
height:400px;
border-radius:18px;
}
.product-detail-info{
padding:15px 0;
}
.product-detail-info>p.text-muted{
font-size:12px;
letter-spacing:1.2px;
}
.product-detail-info h1{
font-size:36px;
line-height:1.25;
margin-bottom:14px;
}
.product-detail-info .product-price{
font-size:25px;
margin-bottom:20px;
}
.size-selection-wrapper{
padding:16px;
}
.size-buttons{
display:flex;
width:100%;
gap:8px;
}
.size-btn-custom{
flex:1;
min-width:45px;
padding:10px 12px;
font-size:13px;
}
.product-detail-info .product-whatsapp-wrapper{
position:fixed!important;
left:15px;
right:15px;
bottom:45px;
z-index:1050;
display:flex!important;
align-items:center;
justify-content:center;
width:auto!important;
margin:0!important;
vertical-align:initial;
}
.product-detail-info .product-whatsapp-wrapper .btn-success{
display:flex!important;
align-items:center;
justify-content:center;
width:100%!important;
min-width:0!important;
min-height:52px;
padding:12px 18px!important;
border-radius:50px!important;
font-size:14px!important;
box-shadow:0 8px 25px rgba(37,211,102,.3);
}
.product-detail-info .product-whatsapp-wrapper .btn-success i{
font-size:17px!important;
}
.product-detail-info .product-actions{
flex-direction:row;
gap:9px;
margin:20px 0 13px!important;
}
.product-detail-info .product-actions .wishlist,
.product-detail-info .product-actions .cart{
width:50%;
min-height:48px;
padding:10px 8px;
font-size:13px;
border-radius:9px;
}
.product-meta{
margin-top:22px;
padding-top:20px;
}

.product-meta p{
font-size:14px;
}
 #sizeChartModal .modal-dialog {
        width: calc(100% - 20px);
        max-width: 500px;
        margin: 10px auto;
    }

    #sizeChartModal .modal-body {
        padding: 10px;
    }

    #sizeChartContainer .size-chart-image {
        width: 100%;
        max-width: 100%;
        max-height: none;
    }
.product-meta-info{
padding:16px;
}
}
/* =========================================
SMALL MOBILE
========================================= */
@media(max-width:400px){
.product-detail-section{
padding:35px 0 105px;
}
.product-detail-image{
height:350px;
border-radius:16px;
}
.product-detail-info h1{
font-size:31px;
}
.product-detail-info .product-price{
font-size:23px;
}
.product-detail-info .product-actions{
gap:7px;
}
.product-detail-info .product-actions .wishlist,
.product-detail-info .product-actions .cart{
font-size:12px;
padding-left:6px;
padding-right:6px;
}
.size-selection-wrapper{
padding:14px;
}
.size-btn-custom{
min-width:42px;
padding:9px 8px;
font-size:12px;
}
.product-detail-info .product-whatsapp-wrapper{
left:10px;
right:10px;
bottom:20px;
}
.product-detail-info .product-whatsapp-wrapper .btn-success{
min-height:50px;
font-size:13px!important;
padding:11px 15px!important;
}
.product-meta p{
font-size:13px;
}
}


/* =========================================
VERY SMALL MOBILE
========================================= */
@media(max-width:350px){
.product-detail-info h1{
font-size:28px;
}
.product-detail-info .product-actions .wishlist,
.product-detail-info .product-actions .cart{
font-size:11px;
}
.size-btn-custom{
min-width:38px;
padding:8px 6px;
}
.product-detail-info .product-whatsapp-wrapper .btn-success{
font-size:12px!important;
}
}



/* =========================================
PRODUCT DETAILS DROPDOWN
========================================= */
/* =========================================
PRODUCT DETAILS DROPDOWN
GROWS DOWNWARD ONLY
========================================= */
.product-details-dropdown{
    width:100%;
    margin-top:30px;

    border-top:1px solid #e5e5e5;
    border-bottom:1px solid #e5e5e5;

    position:relative;
}

.product-details-toggle{
    width:100%;
    min-height:78px;

    padding:20px 0;

    border:0;
    background:transparent;

    display:flex;
    align-items:center;
    justify-content:space-between;

    text-align:left;
    cursor:pointer;
}

.product-details-heading{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.product-details-title{
    font-size:24px;
    font-weight:600;
    line-height:1.2;
    color:#292929;
}

.product-details-subtitle{
    font-size:16px;
    font-weight:400;
    line-height:1.4;
    color:#777;
}

.product-details-arrow{
    width:40px;
    height:40px;

    border-radius:10px;
    background:#f5f5f5;

    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;

    transition:background .3s ease;
}

.product-details-arrow i{
    font-size:14px;
    color:#292929;

    transition:transform .3s ease;
}

.product-details-toggle:not(.collapsed) .product-details-arrow i{
    transform:rotate(180deg);
}

.product-details-toggle:hover .product-details-arrow{
    background:#eeeeee;
}

.product-details-content{
    width:100%;
    padding:5px 0 25px;
}

.product-details-content h3{
    font-size:18px;
    font-weight:600;
    color:#292929;
    margin:0 0 18px;
}

.product-details-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:40px;
    row-gap:0;
}

.product-detail-item{
    padding:13px 0;

    border-bottom:1px solid #e5e5e5;

    display:flex;
    flex-direction:column;
    gap:3px;

    min-width:0;
}

.detail-label{
    font-size:14px;
    font-weight:400;
    color:#777;
    line-height:1.4;
}

.detail-value{
    font-size:16px;
    font-weight:400;
    color:#333;
    line-height:1.5;

    word-break:break-word;
}

/* =========================================
MOBILE
========================================= */
@media(max-width:768px){

    .product-detail-section{
        padding:45px 0 110px;
    }

    /* Keep image fixed */
    .product-detail-image{
        width:100%;
        height:400px;
        min-height:400px;
        max-height:400px;

        border-radius:18px;
    }

    .product-detail-section .row{
        align-items:flex-start;
    }

    .product-detail-section .col-lg-6,
    .product-detail-section .col-md-6{
        align-self:flex-start;
    }

    .product-detail-info{
        padding:15px 0;
        width:100%;
    }

    .product-detail-info h1{
        font-size:36px;
        line-height:1.25;
        margin-bottom:14px;
    }

    .product-detail-info .product-price{
        font-size:25px;
        margin-bottom:20px;
    }

    .product-details-dropdown{
        margin-top:25px;
    }

    .product-details-toggle{
        min-height:70px;
        padding:18px 0;
    }

    .product-details-title{
        font-size:21px;
    }

    .product-details-subtitle{
        font-size:14px;
    }

    .product-details-grid{
        grid-template-columns:1fr 1fr;
        column-gap:25px;
    }

    .detail-label{
        font-size:13px;
    }

    .detail-value{
        font-size:15px;
    }

    .product-highlights-toggle{
        min-height:70px;
        padding:18px 0;
    }

    .product-highlights-title{
        font-size:21px;
    }

    .product-highlights-grid{
        grid-template-columns:1fr 1fr;
        column-gap:20px;
    }

    .highlight-label{
        font-size:15px;
    }

    .highlight-value{
        font-size:17px;
    }
}
@media(max-width:400px){

    .product-detail-image{
        height:350px;
        min-height:350px;
        max-height:350px;

        border-radius:16px;
    }

    .product-detail-info h1{
        font-size:31px;
    }

    .product-detail-info .product-price{
        font-size:23px;
    }

    .product-details-title{
        font-size:19px;
    }

    .product-details-subtitle{
        font-size:13px;
    }

    .product-details-grid{
        column-gap:18px;
    }

    .detail-label{
        font-size:12px;
    }

    .detail-value{
        font-size:14px;
    }

    .product-highlights-title{
        font-size:20px;
    }

    .product-highlights-grid{
        column-gap:14px;
    }

    .highlight-label{
        font-size:14px;
    }

    .highlight-value{
        font-size:16px;
    }
}

/* =========================================
PRODUCT HIGHLIGHTS
GROWS DOWNWARD ONLY
========================================= */
.product-highlights-dropdown{
    width:100%;

    border-top:0;
    border-bottom:1px solid rgba(0,0,0,.08);

    position:relative;
}

.product-highlights-toggle{
    width:100%;
    min-height:78px;

    padding:22px 0;

    border:0;
    background:transparent;

    display:flex;
    align-items:center;
    justify-content:space-between;

    text-align:left;
    cursor:pointer;
}

.product-highlights-title{
    font-size:24px;
    font-weight:600;
    line-height:1.3;
    color:#292929;
}

.product-highlights-arrow{
    width:40px;
    height:40px;

    border-radius:12px;
    background:#f5f5f5;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#292929;
    flex-shrink:0;

    transition:background .3s ease;
}

.product-highlights-arrow i{
    font-size:13px;

    transition:transform .3s ease;
}

.product-highlights-toggle:not(.collapsed) .product-highlights-arrow i{
    transform:rotate(180deg);
}

.product-highlights-toggle:hover .product-highlights-arrow{
    background:#eee;
}

.product-highlights-content{
    width:100%;
    padding:4px 0 24px;
}

.product-highlights-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));

    column-gap:30px;
    row-gap:0;
}

.product-highlight-item{
    display:flex;
    flex-direction:column;

    padding:14px 0;

    border-bottom:1px solid rgba(0,0,0,.1);

    min-width:0;
}

.highlight-label{
    font-size:17px;
    font-weight:400;
    color:#777;

    line-height:1.4;
    margin-bottom:2px;
}

.highlight-value{
    font-size:19px;
    font-weight:400;
    color:#333;

    line-height:1.35;

    word-break:break-word;
}
@media(max-width:768px){
    .product-original-price{
    font-size:15px;
}

.product-discount{
    font-size:12px;
}





.product-stock{
    font-size:13px;
    margin-bottom:15px;
}






.product-highlights-toggle{
padding:18px 0;
}
.product-highlights-title{
font-size:21px;
}
.product-highlights-arrow{
width:38px;
height:38px;
border-radius:11px;
}
.product-highlights-grid{
grid-template-columns:1fr 1fr;
column-gap:20px;
}
.highlight-label{
font-size:15px;
}
.highlight-value{
font-size:17px;
}
.product-highlights-content{
padding-bottom:18px;
}
}
@media(max-width:400px){
.product-highlights-title{
font-size:20px;
}
.product-highlights-grid{
column-gap:14px;
}
.highlight-label{
font-size:14px;
}
.highlight-value{
font-size:16px;
}
}

.size-chart-container {
    width: 100%;
    text-align: center;
    padding: 10px;
}

.size-chart-image {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

/* =========================================
   PRODUCT RATING + SKU
========================================= */

.product-rating{
    display:flex;
    align-items:center;
    gap:3px;
    margin-top:-4px;
}

.product-rating i{
    font-size:15px;
    color:#d4a017;
}

.product-rating .rating-number{
    margin-left:7px;
    font-size:14px;
    font-weight:600;
    color:#555;
}

.product-sku{
    font-size:13px;
    font-weight:500;
    color:#777;
    letter-spacing:.4px;
}

@media(max-width:768px){

    .product-rating i{
        font-size:14px;
    }

    .product-rating .rating-number{
        font-size:13px;
    }

    .product-sku{
        font-size:12px;
    }

}

/* =========================================
   PRODUCT PRICE + DISCOUNT
========================================= */

.product-price-wrapper{
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    column-gap:12px;
    row-gap:3px;
}

.product-price-wrapper .product-price{
    margin-bottom:0!important;
}

.product-original-price{
    font-size:17px;
    color:#999;
    text-decoration:line-through;
}

.product-discount{
    font-size:13px;
    font-weight:700;
    color:var(--primary-color);
    letter-spacing:.3px;
}


/* =========================================
   PRODUCT STOCK
========================================= */

.product-stock{
    font-size:14px;
    font-weight:600;
    margin-bottom:18px;
}

.product-stock .in-stock{
    color:#2e7d32;
}

.product-stock .out-of-stock{
    color:#d32f2f;

}


/* =========================================
   OUT OF STOCK CART BUTTON
========================================= */

#addToCartBtn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: auto;
}