/* =========================================================
   PRODUCT PAGE PREMIUM
========================================================= */

.product-page{
padding:150px 8% 100px;
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:start;
}

.product-media{
position:relative;
}

.product-media img,
.product-media video{
width:100%;
border-radius:35px;
object-fit:cover;
background:black;
display:block;
}

.product-media video{
margin-top:25px;
max-height:500px;
}

.product-details{
background:#0b1220;
padding:45px;
border-radius:35px;
border:1px solid rgba(255,255,255,0.05);
box-shadow:0 20px 60px rgba(0,0,0,0.35);
}

.product-category{
display:inline-block;
padding:10px 18px;
border-radius:30px;
background:rgba(139,92,246,0.12);
border:1px solid rgba(139,92,246,0.25);
color:#c084fc;
font-size:14px;
margin-bottom:25px;
}

.product-details h1{
font-size:58px;
line-height:1.1;
margin-bottom:25px;
font-weight:700;
}

.product-price{
font-size:42px;
font-weight:700;
color:#8b5cf6;
margin-bottom:25px;
}

.product-description{
line-height:2;
font-size:17px;
color:#b8b8c5;
margin-bottom:40px;
}

/* PRODUCT BUTTONS */

.product-actions{
display:flex;
flex-wrap:wrap;
gap:20px;
}

.cart-btn,
.buy-btn,
.contact-btn{
padding:18px 30px;
border-radius:18px;
text-decoration:none;
color:white;
font-weight:600;
display:flex;
align-items:center;
justify-content:center;
gap:10px;
transition:0.3s;
}

.cart-btn{
background:linear-gradient(135deg,#8b5cf6,#6d28d9);
}

.buy-btn{
background:linear-gradient(135deg,#f59e0b,#d97706);
}

.contact-btn{
background:#111827;
border:1px solid rgba(255,255,255,0.05);
}

.cart-btn:hover,
.buy-btn:hover,
.contact-btn:hover{
transform:translateY(-5px);
box-shadow:0 15px 35px rgba(139,92,246,0.25);
}

/* =========================================================
   RELATED PRODUCTS
========================================================= */

.related-section{
padding:0 8% 120px;
}

.related-title{
font-size:48px;
margin-bottom:45px;
font-weight:700;
}

.related-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

/* =========================================================
   CART PAGE
========================================================= */

.cart-page{
padding:150px 8% 100px;
}

.cart-title{
font-size:54px;
margin-bottom:50px;
font-weight:700;
}

.cart-item{
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
padding:25px;
background:#0b1220;
border-radius:30px;
margin-bottom:25px;
border:1px solid rgba(255,255,255,0.05);
flex-wrap:wrap;
}

.cart-left{
display:flex;
align-items:center;
gap:20px;
}

.cart-left img{
width:120px;
height:120px;
border-radius:22px;
object-fit:cover;
}

.cart-info h3{
font-size:28px;
margin-bottom:10px;
}

.cart-info p{
font-size:22px;
font-weight:700;
color:#8b5cf6;
}

.remove-btn{
padding:14px 22px;
border-radius:16px;
background:linear-gradient(135deg,#ef4444,#dc2626);
text-decoration:none;
color:white;
font-weight:600;
transition:0.3s;
}

.remove-btn:hover{
transform:translateY(-4px);
}

.cart-total{
margin-top:45px;
background:#0b1220;
padding:40px;
border-radius:35px;
border:1px solid rgba(255,255,255,0.05);
}

.cart-total h2{
font-size:42px;
margin-bottom:20px;
}

.total-price{
font-size:48px;
font-weight:700;
color:#10b981;
margin-bottom:30px;
}

/* =========================================================
   CHECKOUT PAGE
========================================================= */

.checkout-page{
padding:150px 8% 100px;
}

.checkout-box{
max-width:850px;
margin:auto;
background:#0b1220;
padding:45px;
border-radius:35px;
border:1px solid rgba(255,255,255,0.05);
}

.checkout-title{
font-size:48px;
margin-bottom:35px;
font-weight:700;
text-align:center;
}

.checkout-box input,
.checkout-box textarea,
.checkout-box select{
width:100%;
padding:18px;
border:none;
outline:none;
border-radius:18px;
background:#111827;
color:white;
margin-bottom:20px;
font-size:16px;
}

.checkout-box textarea{
height:160px;
resize:none;
}

.checkout-btn{
width:100%;
height:60px;
border:none;
border-radius:18px;
background:linear-gradient(135deg,#8b5cf6,#6d28d9);
color:white;
font-size:18px;
font-weight:700;
cursor:pointer;
transition:0.3s;
}

.checkout-btn:hover{
transform:translateY(-4px);
box-shadow:0 15px 35px rgba(139,92,246,0.35);
}

/* =========================================================
   MOBILE PRODUCT PAGE
========================================================= */

@media(max-width:991px){

.product-page{
grid-template-columns:1fr;
padding:130px 25px 80px;
}

.product-details h1{
font-size:42px;
}

.related-section{
padding:0 25px 80px;
}

.cart-page,
.checkout-page{
padding:130px 25px 80px;
}

}

@media(max-width:768px){

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

.cart-btn,
.buy-btn,
.contact-btn{
width:100%;
}

.cart-item{
flex-direction:column;
align-items:flex-start;
}

.cart-left{
flex-direction:column;
align-items:flex-start;
}

.cart-left img{
width:100%;
height:240px;
}

.checkout-box{
padding:30px 25px;
}

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

}