/* ===== GLOBAL ===== */
body{
margin:0;
font-family:Poppins,Arial;
background:#f4f9ff;
color:#222;
}

a{text-decoration:none;}

.container{
width:92%;
margin:auto;
}

/* ===== HEADER ===== */
header{
background:#0ea5e9;
color:white;
padding:18px 25px;
display:flex;
justify-content:space-between;
align-items:center;
font-size:22px;
font-weight:600;
box-shadow:0 2px 10px rgba(0,0,0,.1);
}

header a{
color:white;
font-size:16px;
}

/* ===== HERO ===== */
.hero{
height:500px;
background:url('images/banner.jpg') center/cover no-repeat;
display:flex;
align-items:center;
justify-content:center;
}

.hero-box{
background:rgba(14,165,233,.85);
padding:40px;
border-radius:15px;
color:white;
text-align:center;
max-width:600px;
}

.hero-box h1{
margin:0;
font-size:40px;
}

/* ===== PRODUCTS ===== */
.products{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
gap:25px;
margin:40px 0;
}

.card{
background:white;
border-radius:15px;
overflow:hidden;
box-shadow:0 5px 18px rgba(0,0,0,.08);
transition:.3s;
}

.card:hover{
transform:translateY(-6px);
}

.card img{
width:100%;
height:260px;
object-fit:cover;
}

.card-content{
padding:15px;
text-align:center;
}

.price{
color:#0ea5e9;
font-weight:bold;
font-size:18px;
}

/* ===== BUTTON ===== */
button{
background:#0ea5e9;
border:none;
color:white;
padding:12px;
width:100%;
margin-top:8px;
border-radius:8px;
font-weight:600;
cursor:pointer;
}

button:hover{
background:#0284c7;
}

/* ===== CART ===== */
.cart-container{
max-width:800px;
margin:40px auto;
background:white;
padding:30px;
border-radius:15px;
box-shadow:0 5px 20px rgba(0,0,0,.1);
}

.cart-item{
display:flex;
justify-content:space-between;
border-bottom:1px solid #eee;
padding:10px 0;
}

/* ===== FORM ===== */
.form-box{
max-width:700px;
margin:40px auto;
background:white;
padding:35px;
border-radius:15px;
box-shadow:0 5px 20px rgba(0,0,0,.1);
}

input,textarea{
width:100%;
padding:14px;
margin-top:12px;
border-radius:8px;
border:1px solid #ccc;
font-size:15px;
}

/* ===== SUCCESS ===== */
.success{
text-align:center;
padding:60px;
}

.success h2{
color:#0ea5e9;
}

/* ===== FOOTER ===== */
footer{
background:#0ea5e9;
color:white;
text-align:center;
padding:40px;
margin-top:60px;
line-height:1.8;
}

/* ===== MOBILE ===== */
@media(max-width:600px){
.hero-box h1{
font-size:26px;
}
}

.modal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.7);
justify-content:center;
align-items:center;
}

.modal-box{
background:white;
padding:25px;
border-radius:12px;
width:320px;
text-align:center;
}

.modal img{
width:100%;
height:220px;
object-fit:cover;
margin-bottom:10px;
}

/* ===== CART DRAWER ===== */

.cart-drawer{
position:fixed;
top:0;
right:-400px;
width:350px;
height:100%;
background:white;
box-shadow:-5px 0 20px rgba(0,0,0,.2);
transition:.4s;
z-index:9999;
display:flex;
flex-direction:column;
}

.cart-drawer.open{
right:0;
}

.cart-header{
background:#0ea5e9;
color:white;
padding:15px;
display:flex;
justify-content:space-between;
}

#cartItems{
flex:1;
overflow:auto;
padding:15px;
}

.cart-item{
display:flex;
justify-content:space-between;
margin-bottom:12px;
border-bottom:1px solid #eee;
padding-bottom:10px;
}

.cart-footer{
padding:15px;
border-top:1px solid #eee;
}

/* ===== QUICK VIEW ===== */

.qv-overlay{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.65);
z-index:9999;
justify-content:center;
align-items:center;
}

.qv-modal{
background:white;
width:850px;
max-width:95%;
border-radius:18px;
display:flex;
overflow:hidden;
animation:pop .25s ease;
}

@keyframes pop{
from{transform:scale(.9);opacity:0;}
to{transform:scale(1);opacity:1;}
}

/* IMAGE */
.qv-left{
flex:1;
background:#f6f6f6;
display:flex;
align-items:center;
justify-content:center;
}

.qv-left img{
width:100%;
max-height:450px;
object-fit:contain;
}

/* DETAILS */
.qv-right{
flex:1;
padding:35px;
}

.qv-price{
font-size:22px;
color:#0ea5e9;
font-weight:bold;
margin-bottom:20px;
}

/* VARIANT PILLS */
.variant-label{
margin-bottom:8px;
font-weight:600;
}

.variant-pills{
display:flex;
gap:10px;
flex-wrap:wrap;
margin-bottom:20px;
}

.variant-pill{
padding:10px 16px;
border:2px solid #ddd;
border-radius:30px;
cursor:pointer;
transition:.2s;
font-weight:600;
}

.variant-pill:hover{
border-color:#0ea5e9;
}

.variant-pill.active{
background:#0ea5e9;
color:white;
border-color:#0ea5e9;
}

/* QTY */
.qty-box{
width:100%;
padding:12px;
margin-bottom:20px;
border-radius:8px;
border:1px solid #ccc;
}

/* BUTTONS */
.primary-btn{
background:#0ea5e9;
color:white;
border:none;
padding:14px;
width:100%;
border-radius:10px;
font-weight:600;
margin-bottom:10px;
}

.secondary-btn{
background:#eee;
border:none;
padding:14px;
width:100%;
border-radius:10px;
}

/* MOBILE */
@media(max-width:700px){
.qv-modal{
flex-direction:column;
}
}

/* CART BACKDROP */

.cart-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.4);
opacity:0;
visibility:hidden;
transition:.3s;
z-index:9998;
}

.cart-overlay.show{
opacity:1;
visibility:visible;
}

    /* ===== FOOTER ===== */
    
    .main-footer{
    background:#0284c7;
    color:white;
    margin-top:60px;
    }
    
    .footer-container{
    max-width:1200px;
    margin:auto;
    padding:50px 20px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
    }
    
    .footer-col h2,
    .footer-col h3{
    margin-bottom:15px;
    }
    
    .footer-col p{
    line-height:1.6;
    opacity:.9;
    }
    
    .footer-col ul{
    list-style:none;
    padding:0;
    }
    
    .footer-col ul li{
    margin-bottom:10px;
    }
    
    .footer-col a{
    color:white;
    opacity:.9;
    transition:.3s;
    }
    
    .footer-col a:hover{
    opacity:1;
    padding-left:5px;
    }
    
    .footer-bottom{
    text-align:center;
    padding:20px;
    background:#0369a1;
    font-size:14px;
    }
    
html{
scroll-behavior:smooth;
}

    /* ===== ABOUT MODAL ===== */
    
    .about-overlay{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.65);
    z-index:9999;
    justify-content:center;
    align-items:center;
    }
    
    .about-box{
    background:white;
    padding:40px;
    border-radius:15px;
    max-width:500px;
    width:90%;
    text-align:center;
    animation:pop .25s ease;
    }
    
    .about-box h2{
    color:#0284c7;
    margin-bottom:15px;
    }
    
    .about-info{
    margin-top:20px;
    line-height:1.7;
    }
    
    .about-box button{
    margin-top:20px;
    background:#0284c7;
    color:white;
    border:none;
    padding:12px 20px;
    border-radius:8px;
    cursor:pointer;
    }
    
/* ===== CONTENT SECTIONS ===== */

.info-section{
padding:70px 20px;
text-align:center;
background:#f8fbff;
}

.info-section h2{
margin-bottom:40px;
color:#0284c7;
}

.info-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
max-width:1100px;
margin:auto;
}

.info-grid div{
background:white;
padding:25px;
border-radius:12px;
box-shadow:0 4px 15px rgba(0,0,0,.05);
}

/* ALT SECTION */

.alt-section{
padding:80px 20px;
background:white;
text-align:center;
}

.text-block{
max-width:800px;
margin:auto;
line-height:1.8;
}

/* BANNER */

.banner-section{
background:#0284c7;
color:white;
text-align:center;
padding:80px 20px;
}

.banner-section h2{
font-size:34px;
margin-bottom:15px;
}