*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

:root{
--bg:#09090f;
--card:#15151d;
--text:#ffffff;
--secondary:#9ca3af;
--purple:#a855f7;
--pink:#ec4899;
}

body.light{
--bg:#f5f5f5;
--card:#ffffff;
--text:#111827;
--secondary:#4b5563;
}

body{
background:var(--bg);
color:var(--text);
overflow-x:hidden;
transition:0.4s;
}

/* BLURS */

.blur1{
position:absolute;
width:350px;
height:350px;
background:#a855f7;
filter:blur(120px);
opacity:0.25;
top:-100px;
left:-100px;
z-index:-1;
}

.blur2{
position:absolute;
width:350px;
height:350px;
background:#ec4899;
filter:blur(120px);
opacity:0.2;
bottom:0;
right:-100px;
z-index:-1;
}

/* NAVBAR */

.navbar{
background:rgba(10,10,15,0.7);
backdrop-filter:blur(15px);
padding:18px 50px;
}

body.light .navbar{
background:white;
}

.navbar-brand{
font-family: 'Unbounded', sans-serif;
font-size:38px;
font-weight:700;
letter-spacing:0px;
text-transform:none;
background:linear-gradient(45deg,#ffffff,#a855f7,#ec4899);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}

.nav-link{
color:#d1d5db !important;
margin-left:20px;
transition:0.3s;
font-weight:500;
}

.nav-link:hover{
color:var(--purple) !important;
}

.toggle-btn{
width:45px;
height:45px;
border:none;
border-radius:50%;
background:linear-gradient(45deg,var(--purple),var(--pink));
color:white;
}

/* HERO */

.hero{
min-height:100vh;
display:flex;
align-items:center;
padding:120px 8%;
}

.hero-text h1{
font-size:85px;
font-weight:700;
line-height:1;
}

.hero-text p{
margin:30px 0;
color:var(--secondary);
font-size:18px;
max-width:550px;
}

.hero-buttons{
display:flex;
gap:15px;
}

.shop-btn,
.explore-btn{
padding:15px 35px;
border:none;
border-radius:50px;
font-weight:600;
transition:0.3s;
}

.shop-btn{
background:linear-gradient(45deg,var(--purple),var(--pink));
color:white;
}

.explore-btn{
background:transparent;
border:1px solid rgba(255,255,255,0.1);
color:white;
}

.hero-image{
text-align:center;
}

.hero-image img{
width:85%;
filter:
drop-shadow(0 20px 40px rgba(0,0,0,0.5))
drop-shadow(0 0 30px rgba(168,85,247,0.6));
}

.hero-image img{
  transition:0.3s ease;
}

/* SECTION */

.section-title{
text-align:center;
margin-bottom:60px;
}

.section-title h2{
font-size:45px;
font-weight:700;
}

/* CATEGORY */

.category-card{
background:rgba(255,255,255,0.03);
border-radius:25px;
padding:40px 20px;
text-align:center;
transition:0.4s;
backdrop-filter:blur(10px);
}

.category-card:hover{
transform:translateY(-10px);
}

.category-card i{
font-size:45px;
margin-bottom:20px;
background:linear-gradient(45deg,var(--purple),var(--pink));
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}

/* PRODUCTS */

.products{
padding:100px 8%;
}

.carousel{
position:relative;
display:flex;
align-items:center;
justify-content:center;
overflow:hidden;
}

.carousel-track{
display:flex;
gap:25px;
overflow-x:auto;
scrollbar-width:none;
padding:20px;
}

.carousel-track::-webkit-scrollbar{
display:none;
}

.product-card{
min-width:320px;
background:rgba(255,255,255,0.03);
border-radius:25px;
overflow:hidden;
transition:0.4s;
backdrop-filter:blur(10px);
}

.product-card:hover{
transform:translateY(-10px);
}

.product-card img{
width:100%;
height:300px;
object-fit:cover;
}

.product-info{
padding:25px;
}

.product-info h5{
font-size:22px;
margin-bottom:10px;
}

.price{
color:var(--purple);
font-size:24px;
font-weight:700;
}

.add-btn{
width:100%;
padding:14px;
border:none;
border-radius:14px;
margin-top:15px;
background:linear-gradient(45deg,var(--purple),var(--pink));
color:white;
font-weight:600;
transition:0.3s;
}

.add-btn:hover{
transform:scale(1.03);
}

/* CART BUTTON */

.cart-btn{
width:50px;
height:50px;
border-radius:50%;
background:linear-gradient(45deg,var(--purple),var(--pink));
display:flex;
align-items:center;
justify-content:center;
position:relative;
cursor:pointer;
color:white;
}

#cart-count{
position:absolute;
top:-5px;
right:-5px;
width:22px;
height:22px;
border-radius:50%;
background:white;
color:black;
font-size:12px;
font-weight:700;
display:flex;
align-items:center;
justify-content:center;
}

/* SIDEBAR */

.cart-sidebar{
position:fixed;
top:0;
right:-420px;
width:420px;
max-width:100%;
height:100vh;
background:rgba(10,10,15,0.97);
backdrop-filter:blur(20px);
z-index:9999;
padding:25px;
transition:0.4s;
overflow-y:auto;
}

.cart-sidebar.active{
right:0;
}

.cart-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:30px;
}

.close-cart{
font-size:30px;
cursor:pointer;
}

.cart-item{
display:flex;
gap:15px;
margin-bottom:20px;
background:rgba(255,255,255,0.05);
padding:12px;
border-radius:20px;
}

.cart-item img{
width:90px;
height:90px;
object-fit:cover;
border-radius:15px;
}

.remove-btn{
border:none;
padding:7px 14px;
background:#ef4444;
color:white;
border-radius:10px;
margin-top:8px;
}

.total-section{
margin-top:25px;
padding-top:25px;
border-top:1px solid rgba(255,255,255,0.08);
}

.checkout-btn{
width:100%;
padding:15px;
border:none;
border-radius:14px;
background:linear-gradient(45deg,var(--purple),var(--pink));
color:white;
font-weight:600;
margin-top:20px;
}

/* CHECKOUT */

.checkout-modal{
position:fixed;
inset:0;
background:rgba(0,0,0,0.7);
display:none;
align-items:center;
justify-content:center;
z-index:10000;
padding:20px;
}

.checkout-modal.active{
display:flex;
}

.checkout-box{
width:100%;
max-width:500px;
background:var(--card);
padding:35px;
border-radius:30px;
}

.checkout-box h2{
margin-bottom:25px;
}

.checkout-box input{
width:100%;
padding:15px;
margin-bottom:15px;
border:none;
border-radius:14px;
background:rgba(255,255,255,0.05);
color:var(--text);
}

.pay-btn,
.cancel-btn{
width:100%;
padding:15px;
border:none;
border-radius:14px;
color:white;
font-weight:600;
margin-top:10px;
}

.pay-btn{
background:linear-gradient(45deg,var(--purple),var(--pink));
}

.cancel-btn{
background:#27272f;
}

/* FOOTER */

footer{
background:#05050a;
padding:50px;
text-align:center;
margin-top:100px;
}

/* MOBILE */

@media(max-width:992px){

.hero{
text-align:center;
padding-top:150px;
}

.hero-text h1{
font-size:55px;
}

.hero-buttons{
justify-content:center;
}

.hero-image{
margin-top:50px;
}

}

@media(max-width:768px){

.navbar{
padding:15px 20px;
}

.product-card{
min-width:280px;
}

.cart-sidebar{
width:100%;
right:-100%;
}

.hero-text h1{
font-size:45px;
}

}
/*ABOUT SECTION */

.why-us{
  padding:100px 8%;
}

/* each feature box */
.feature-box{
  text-align:center;
  padding:35px 25px;
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.05);
  border-radius:25px;
  backdrop-filter:blur(10px);
  transition:0.4s;
  height:100%;
}

/* hover effect */
.feature-box:hover{
  transform:translateY(-10px);
  box-shadow:0 20px 40px rgba(168,85,247,0.15);
}

/* icon */
.feature-box i{
  font-size:50px;
  margin-bottom:20px;
  background:linear-gradient(45deg,var(--purple),var(--pink));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* title */
.feature-box h4{
  font-size:20px;
  margin-bottom:15px;
  font-weight:600;
}

/* text */
.feature-box p{
  color:var(--secondary);
  font-size:14px;
  line-height:1.7;
}

/* section title */
.section-title{
  text-align:center;
  margin-bottom:60px;
}

.section-title h2{
  font-size:45px;
  font-weight:700;
}

/* ================= FOOTER ================= */

.footer{
  background:#05050a;
  padding:80px 8% 30px;
  margin-top:100px;
  border-top:1px solid rgba(255,255,255,0.05);
}

/* logo */
.footer-logo{
  font-size:40px;
  font-weight:700;
  letter-spacing:6px;
  background:linear-gradient(45deg,#fff,var(--purple),var(--pink));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  margin-bottom:15px;
}

/* text */
.footer-text{
  color:var(--secondary);
  font-size:14px;
  line-height:1.7;
}

/* titles */
.footer-title{
  font-size:18px;
  margin-bottom:15px;
  font-weight:600;
}

/* links */
.footer-links{
  list-style:none;
  padding:0;
}

.footer-links li{
  margin-bottom:10px;
}

.footer-links a{
  text-decoration:none;
  color:var(--secondary);
  transition:0.3s;
}

.footer-links a:hover{
  color:var(--purple);
  padding-left:5px;
}

/* social icons */
.social-icons i{
  font-size:22px;
  margin-right:15px;
  cursor:pointer;
  transition:0.3s;
  color:var(--secondary);
}

.social-icons i:hover{
  color:var(--purple);
  transform:translateY(-5px);
}

/* line */
.footer-line{
  border-color:rgba(255,255,255,0.08);
  margin:40px 0 20px;
}

/* bottom text */
.footer-bottom{
  text-align:center;
  font-size:13px;
  color:var(--secondary);
}

/* CONTACT SECTION */

.contact{
  padding:100px 8%;
}

/* left box */
.contact-info{
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.05);
  padding:40px;
  border-radius:25px;
  backdrop-filter:blur(10px);
  height:100%;
}

.contact-info h3{
  font-size:28px;
  margin-bottom:15px;
}

.contact-info p{
  color:var(--secondary);
  margin-bottom:30px;
}

/* info rows */
.info-item{
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:20px;
  color:var(--secondary);
}

.info-item i{
  font-size:20px;
  color:var(--purple);
}

/* form */
.contact-form{
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.05);
  padding:40px;
  border-radius:25px;
  backdrop-filter:blur(10px);
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:15px;
  border:none;
  border-radius:12px;
  background:rgba(255,255,255,0.05);
  color:var(--text);
  outline:none;
}

/* button */
.contact-form button{
  width:100%;
  padding:15px;
  border:none;
  border-radius:12px;
  background:linear-gradient(45deg,var(--purple),var(--pink));
  color:white;
  font-weight:600;
  transition:0.3s;
}

.contact-form button:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 25px rgba(168,85,247,0.3);
}

/* CATEGORY PAGE OVERLAY */

.category-page{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.95);
  backdrop-filter:blur(20px);
  z-index:99999;
  display:none;
  flex-direction:column;
  padding:40px;
  overflow-y:auto;
}

/* header */
.category-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:30px;
}

.category-header h2{
  font-size:30px;
}

.category-header button{
  background:none;
  border:none;
  color:white;
  font-size:30px;
  cursor:pointer;
}

/* product grid */
.category-products{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}

/* reuse product look */
.category-products .product-card{
  background:rgba(255,255,255,0.05);
  border-radius:20px;
  overflow:hidden;
  transition:0.3s;
}

.category-products .product-card img{
  width:100%;
  height:250px;
  object-fit:cover;
}

.category-products .product-info{
  padding:15px;
}

.carousel-track{
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.product-card{
  scroll-snap-align: start;
  flex: 0 0 auto;
  min-width:320px;
  width: 300px;
}
.products{
  padding: clamp(60px, 6vw, 100px) 5%;
}
@media(max-width:768px){
  .navbar{
    padding:12px 15px;
  }

  .nav-link{
    margin-left:10px;
    font-size:14px;
  }
}
@media(max-width:768px){
  .hero{
    flex-direction:column;
    text-align:center;
  }

  .hero-image img{
    width:100%;
  }
}
html, body{
  scroll-behavior:smooth;
}
body{
  -webkit-overflow-scrolling: touch;
}
.product-card{
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover{
  transform: translateY(-12px) scale(1.02);
}
.hero-text h1{
font-size:clamp(38px,8vw,85px);
}

@media(max-width:768px){

.navbar-collapse{
background:rgba(10,10,15,0.95);
padding:20px;
border-radius:20px;
margin-top:15px;
}

}
body{
overflow-x:hidden;
}
