/* GLOBAL CSS */


/* PRODUCT PAGE */

.product-page{
padding:82px 0 140px;
padding-bottom:180px;
background:#050505;
color:#d7dde3;
}

/* PRODUCT IMAGE */

.product-gallery{
width:100%;
margin:0;
padding:0;

}

.product-gallery img{
width:100%;
display:block;
object-fit:cover;
border-radius:0;
}

/* PRODUCT CONTENT */

.product-content{
padding:0 24px;
}

.product-title{
font-family:'Cormorant Garamond', serif;
font-size:52px;
line-height:1;
font-style:italic;
font-weight:500;

color:#f5f7fa;

margin-bottom:26px;

text-shadow:
0 0 1px rgba(255,255,255,0.35),
0 0 12px rgba(255,255,255,0.05);
}

.product-price{

font-family:'Bodoni Moda', serif;

font-size:64px;

font-weight:200;

letter-spacing:2px;

line-height:1;

color:#f5f5f5;

margin-bottom:18px;

-webkit-font-smoothing:antialiased;

text-rendering:geometricPrecision;
}

.product-subtext{
font-size:15px;
color:#8e959d;
margin-bottom:42px;
line-height:1.7;
}

.product-slider{
display:flex;

overflow-x:auto;

scroll-snap-type:x mandatory;

scroll-behavior:smooth;

-webkit-overflow-scrolling:touch;

overscroll-behavior-x:contain;

gap:0;

padding:0;
margin:0;
}

.product-slider::-webkit-scrollbar{
display:none;
}

.product-slide{
flex:0 0 100%;

scroll-snap-align:start;

scroll-snap-stop:always;

display:flex;

justify-content:flex-start;
padding-left:48px;
align-items:center;

background:#070707;
}

.product-slider img{
width:100%;
height:60vh;

display:block;

object-fit:cover;
}

.slider-dots{
display:flex;
justify-content:center;

gap:10px;

margin-top:18px;
margin-bottom:28px;
}

.dot{
width:8px;
height:8px;
background:#5f6368;
border-radius:50%;
transition:0.3s;
}

.dot.active{
background:#ffffff;
transform:scale(1.35);
}

/* VARIANT STYLES */

.variant-side{
flex:1;
}

.variant-label{
font-size:13px;
letter-spacing:3px;
margin-bottom:22px;
color:#8e959d;
}

.variant-options{

display:flex;
flex-direction:column;

align-items:flex-start;

gap:18px;

margin-bottom:42px;

}

.variant-btn{

width:auto;
min-width:260px;

height:54px;

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

padding:0 30px;

border-radius:60px;
border:1px solid #32363c;

background:transparent;

color:#dfe4ea;

font-size:17px;
font-family:Arial,sans-serif;

cursor:pointer;
transition:0.35s;
}

.variant-btn.active{

background:linear-gradient(
180deg,
#f4f4f4 0%,
#bdbdbd 55%,
#ededed 100%
);

color:#050505;
border-color:#d8d8d8;
}

/* VARIANTS + QUANTITY LAYOUT */

.quantity-side{
display:flex;
}

.quantity-box{
width:100%;
}

.cart-row{

display:flex;
align-items:center;

gap:18px;

margin-top:24px;
}

.quantity-box{

height:54px;

min-width:50px;

display:flex;
flex-direction:row;

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

padding:0 0 px;

border:1px solid #32363c;
border-radius:999px;

background:#050505;

}

.quantity-btn{

background:none;
border:none;

color:#f5f7fa;

font-size:34px;

font-weight:300;

width:42px;

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

cursor:pointer;

line-height:1;

}

.quantity-value{

font-size:25px;
font-weight:300;

color:#f5f7fa;

min-width:40px;
text-align:center;

}

/* ADD TO CART  & BUY NOW BUTTON */

.cart-btn,
.buy-btn{

height:54px;

border:none;
border-radius:60px;

background:linear-gradient(
180deg,
#f4f4f4 0%,
#bdbdbd 55%,
#ededed 100%
);

color:#050505;

font-size:18px;
font-weight:500;

cursor:pointer;
}

.sticky-buy-btn:active{
transform:scale(0.98);
transition:0.2s;
}

.buy-btn{
margin-top:18px;
}

.cart-btn{

flex:1.2;
}

.buy-btn{

width:100%;
margin-top:18px;
}

/* ACCORDION */

.accordion{
border-top:1px solid #1b1b1b;
}

.accordion-item{
border-bottom:1px solid #1b1b1b;
}

.accordion-header{
display:flex;
justify-content:space-between;
align-items:center;

padding:28px 0;

cursor:pointer;
}

.accordion-header h3{
font-size:28px;
font-family:'Cormorant Garamond', serif;
font-weight:500;
color:#f5f7fa;
}

.accordion-icon{
font-size:34px;
color:#f5f7fa;
font-weight:200;
line-height:1;
transition:0.3s ease;
}

.accordion-content{
max-height:0;
overflow:hidden;

opacity:0;

transition:
max-height 0.45s ease,
opacity 0.35s ease,
padding 0.35s ease;

padding-bottom:0;
}

.accordion-content.active{
max-height:500px;
opacity:1;
padding-bottom:28px;
}

.accordion-content p{
font-size:15px;
line-height:1.9;
color:#bfc5cc;
padding-top:10px;
margin-bottom:18px;
}

/* RELATED PRODUCTS */

.related-products{
padding:90px 24px 0;
}

.related-title{
font-family:'Cormorant Garamond', serif;
font-size:52px;
font-style:italic;
font-weight:500;

margin-bottom:42px;

color:#f5f7fa;

text-shadow:
0 0 1px rgba(255,255,255,0.35),
0 0 12px rgba(255,255,255,0.05);
}

.related-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:22px;
}

.related-product img{
width:100%;
aspect-ratio:1/1.2;
object-fit:cover;
border-radius:22px;
margin-bottom:16px;
}

.related-product h4{
font-size:18px;
line-height:1.5;
font-weight:300;
color:#dfe4ea;
margin-bottom:10px;
}

.related-product p{
font-size:18px;
color:#f5f7fa;
}


/* SPACE FOR FIXED BAR */

body{
padding-bottom:95px;
}




/* MOBILE */

@media(max-width:768px){

.product-title{
font-size:34px;
line-height:1.05;
}

.product-price{
font-size:26px;
}

.product-actions{
flex-direction:column;
}

.quantity-box{
width:100%;
}

.cart-btn{
width:100%;
}

.related-title{
font-size:36px;
}

.accordion-header h3{
font-size:22px;
}

/* STICKY BUY BAR */

.sticky-buy-bar{
position:fixed;
bottom:0;
left:0;

width:100%;

display:flex;
justify-content:space-between;
align-items:center;
gap:16px;

padding:14px 18px;
padding-bottom:calc(14px + env(safe-area-inset-bottom));

background:rgba(5,5,5,0.92);

backdrop-filter:blur(14px);

border-top:1px solid #1b1b1b;

z-index:100;
}

.sticky-price{
font-family:'Bodoni Moda', serif;

font-size:26px;

font-weight:300;

letter-spacing:1px;

color:#f5f5f5;

white-space:nowrap;
}

.sticky-buy-btn{
flex:1;

height:58px;

border:none;
border-radius:60px;

background:linear-gradient(
180deg,
#f4f4f4 0%,
#bdbdbd 55%,
#ededed 100%
);

color:#050505;

font-size:18px;
font-weight:500;

cursor:pointer;
}

.sticky-buy-btn{
display:flex;
align-items:center;
justify-content:center;

text-decoration:none;
}

.sticky-buy-btn:active{
transform:scale(0.98);
transition:0.2s;
}

.product-slide{
display:block;
padding-left:0;
background:none;
}

.product-slider img{
width:100%;
height:auto;
object-fit:contain;
}

.product-content{
padding:0 24px;
max-width:100%;
}

.product-gallery{
width:100%;
}

}

/* DEXTOP */

@media (min-width: 768px){

.product-page{

display:grid;

grid-template-columns:54% 46%;

gap:40px;

max-width:100%;

margin:0 auto;

padding:120px 70px 80px;

align-items:start;
}

.product-content{

padding-top:10px;

max-width:900px;

transform: scale(0.88);
transform-origin: top left;
}

.product-slider img{

max-width:100%;

max-height:84vh;

width:auto;

height:auto;

object-fit:contain;

display:block;

border-radius:28px;

}

.product-title{

font-size:84px;

line-height:1.1;

max-width:100%;

word-break:normal;

}

.product-price{
font-size:58px;
}

.product-subtext{
font-size:20px;
}

.variant-btn{

width:calc(50% - 9px);

min-width:unset;

height:72px;

font-size:22px;

padding:0 24px;
}

.cart-row{
gap:20px;
}

.quantity-box{
height:72px;
min-width:220px;
padding:0 30px;
}

.quantity-btn{
font-size:34px;
}

.quantity-value{
font-size:34px;
}

.cart-btn{
flex:1;
height:72px;
font-size:26px;
}

.buy-btn{
height:76px;
font-size:28px;
width:100%;
}

.gallery-arrow{
position:absolute;

top:40%;
transform:translateY(-50%);

width:44px;
height:44px;

border-radius:50%;

background:rgba(0,0,0,0.55);

backdrop-filter:blur(6px);

border:1px solid rgba(255,255,255,0.12);

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

color:white;

font-size:24px;

cursor:pointer;

z-index:20;

transition:0.25s;
}

.gallery-arrow.left{
left:-10px;
}

.gallery-arrow.right{
right:35px;
}

.product-gallery{

position:relative;

width:100%;

overflow:hidden;

border-radius:28px;

background:#070707;

padding-bottom:0px;

}

.product-gallery{
margin-left:50px;
}

.variant-options{

display:flex;

flex-direction:row;

flex-wrap:wrap;

gap:18px;

align-items:flex-start;
}

}
