:root{
  --green:#16A34A;
  --orange:#F97316;
  --dark:#0F172A;
  --bg:#F8FAFC;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Inter',sans-serif;
  background:var(--bg);
  color:var(--dark);
  overflow-x:hidden;
}

h1,h2,h3,h4,h5{
  font-family:'Poppins',sans-serif;
}

img{
  width:100%;
  display:block;
}

a{
  text-decoration:none;
}

section{
  padding:80px 0;
}

/* Loader */

#loader{
  position:fixed;
  inset:0;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.loader-box h2{
  color:var(--green);
  animation:pulse 1s infinite;
}

@keyframes pulse{
  50%{
    opacity:.4;
  }
}

/* Navbar */

.glass-nav{
  backdrop-filter:blur(15px);
  background:rgba(255,255,255,.7);
  box-shadow:0 8px 32px rgba(0,0,0,.08);
}

.nav-link{
  font-weight:600;
  margin:0 10px;
}

/* Hero */

.hero-section{
  background:
  linear-gradient(to right,
  rgba(22,163,74,.08),
  rgba(249,115,22,.08));
}

.hero-content h1{
  font-size:4rem;
  font-weight:700;
  line-height:1.2;
}

.hero-content h1 span{
  color:var(--green);
}

.hero-badge{
  background:rgba(22,163,74,.1);
  color:var(--green);
  padding:10px 20px;
  border-radius:50px;
  display:inline-block;
  margin-bottom:20px;
}

.search-box{
  display:flex;
  gap:10px;
  background:#fff;
  padding:10px;
  border-radius:20px;
  box-shadow:0 10px 40px rgba(0,0,0,.08);
}

.hero-img{
  border-radius:30px;
  animation:float 4s infinite ease-in-out;
}

@keyframes float{
  50%{
    transform:translateY(-10px);
  }
}

.floating-card{
  position:absolute;
  background:#fff;
  padding:15px 20px;
  border-radius:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.1);
}

.hero-image-wrapper{
  position:relative;
}

.card1{
  top:20px;
  left:0;
}

.card2{
  bottom:20px;
  right:0;
}

/* Categories */

.category-card{
  background:rgba(255,255,255,.7);
  backdrop-filter:blur(15px);
  border-radius:20px;
  overflow:hidden;
  transition:.4s;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.category-card:hover{
  transform:translateY(-10px);
}

.category-card h5{
  padding:20px;
  text-align:center;
}

/* Products */

.product-card{
  background:#fff;
  border-radius:25px;
  overflow:hidden;
  transition:.4s;
  box-shadow:0 10px 40px rgba(0,0,0,.06);
}

.product-card:hover{
  transform:translateY(-10px);
}

.product-img{
  overflow:hidden;
}

.product-img img{
  transition:.4s;
  height:250px;
  object-fit:cover;
}

.product-card:hover img{
  transform:scale(1.1);
}

.product-content{
  padding:20px;
}

.price-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* Flash Sale */

.flash-box{
  background:linear-gradient(135deg,var(--green),#0d7a34);
  color:#fff;
  border-radius:30px;
  padding:40px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.countdown{
  display:flex;
  gap:20px;
}

.countdown div{
  text-align:center;
}

.countdown span{
  font-size:2rem;
  font-weight:700;
}

/* Newsletter */

.newsletter-box{
  background:#fff;
  padding:60px;
  border-radius:30px;
  text-align:center;
  box-shadow:0 10px 40px rgba(0,0,0,.06);
}

.newsletter-form{
  display:flex;
  max-width:600px;
  margin:auto;
  gap:10px;
}

/* Footer */

.footer{
  background:var(--dark);
  color:#fff;
  padding:80px 0 20px;
}

.footer ul{
  list-style:none;
  padding:0;
}

.footer li{
  margin-bottom:10px;
}

.footer-bottom{
  text-align:center;
  margin-top:20px;
}

/* Floating Cart */

.floating-cart{
  position:fixed;
  right:20px;
  bottom:20px;
  background:var(--green);
  width:60px;
  height:60px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:1.5rem;
  z-index:999;
  box-shadow:0 10px 30px rgba(0,0,0,.2);
}

.floating-cart span{
  position:absolute;
  top:-5px;
  right:-5px;
  background:var(--orange);
  width:25px;
  height:25px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Responsive */

@media(max-width:768px){

  .hero-content h1{
    font-size:2.7rem;
  }

  .search-box{
    flex-direction:column;
  }

  .flash-box{
    flex-direction:column;
    gap:20px;
  }

  .newsletter-form{
    flex-direction:column;
  }

}
/* Shop Banner */

.shop-banner{
  padding-top:150px;
  padding-bottom:80px;
  background:
  linear-gradient(to right,
  rgba(22,163,74,.1),
  rgba(249,115,22,.1));
}

.banner-content h1{
  font-size:3.5rem;
  font-weight:700;
  margin:20px 0;
}

.banner-content span{
  color:var(--green);
  font-weight:600;
}

/* Sidebar */

.shop-sidebar{
  position:sticky;
  top:100px;
}

.sidebar-box{
  background:#fff;
  padding:25px;
  border-radius:25px;
  margin-bottom:25px;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.sidebar-box h5{
  margin-bottom:20px;
}

.category-list{
  list-style:none;
  padding:0;
}

.category-list li{
  margin-bottom:15px;
}

.category-list a{
  display:flex;
  justify-content:space-between;
  color:var(--dark);
  font-weight:500;
}

.offer-card{
  background:
  linear-gradient(135deg,var(--green),#0f7d38);
  color:#fff;
  padding:35px;
  border-radius:30px;
  text-align:center;
}

/* Shop Topbar */

.shop-topbar{
  background:#fff;
  padding:20px 25px;
  border-radius:25px;
  margin-bottom:30px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
}

/* Product Badge */

.product-badge{
  position:absolute;
  top:15px;
  left:15px;
  background:var(--green);
  color:#fff;
  padding:8px 15px;
  border-radius:50px;
  z-index:2;
  font-size:.8rem;
  font-weight:600;
}

.product-badge.orange{
  background:var(--orange);
}

/* Pagination */

.pagination-area{
  margin-top:50px;
}

.page-link{
  border:none;
  margin:0 5px;
  border-radius:12px !important;
  color:var(--dark);
  padding:12px 18px;
}

.page-item.active .page-link{
  background:var(--green);
}

/* Responsive */

@media(max-width:768px){

  .banner-content h1{
    font-size:2.5rem;
  }

  .shop-topbar{
    flex-direction:column;
    gap:15px;
  }

}/* Product Details */

.product-details-section{
  padding-top:150px;
  padding-bottom:80px;
}

.main-product-image{
  background:#fff;
  padding:25px;
  border-radius:30px;
  box-shadow:0 10px 40px rgba(0,0,0,.06);
}

.main-product-image img{
  border-radius:20px;
  height:500px;
  object-fit:cover;
}

.thumbnail-row{
  display:flex;
  gap:15px;
  margin-top:20px;
}

.thumb{
  width:100px;
  height:100px;
  object-fit:cover;
  border-radius:20px;
  cursor:pointer;
  border:3px solid transparent;
  transition:.3s;
}

.thumb.active{
  border-color:var(--green);
}

.product-category{
  background:rgba(22,163,74,.1);
  color:var(--green);
  padding:10px 18px;
  border-radius:50px;
  display:inline-block;
  font-weight:600;
}

.product-info h1{
  font-size:3rem;
  margin:20px 0;
}

.product-rating{
  color:#facc15;
  font-size:1.2rem;
}

.product-rating span{
  color:#666;
  margin-left:10px;
}

.product-price{
  display:flex;
  align-items:center;
  gap:20px;
  margin:25px 0;
}

.product-price h2{
  color:var(--green);
  font-size:3rem;
}

.save-badge{
  background:var(--orange);
  color:#fff;
  padding:8px 14px;
  border-radius:50px;
}

.product-desc{
  line-height:1.9;
  color:#555;
}

.quantity-wrapper{
  margin:30px 0;
}

.quantity-box{
  display:flex;
  align-items:center;
  gap:10px;
}

.quantity-box button{
  width:45px;
  height:45px;
  border:none;
  background:var(--green);
  color:#fff;
  border-radius:12px;
  font-size:1.2rem;
}

.quantity-box input{
  width:80px;
  text-align:center;
  border:1px solid #ddd;
  border-radius:12px;
  height:45px;
}

.product-buttons{
  display:flex;
  gap:15px;
  margin-bottom:40px;
}

.add-cart-btn{
  padding:14px 40px;
}

.product-features{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.feature-item{
  display:flex;
  align-items:center;
  gap:20px;
  background:#fff;
  padding:20px;
  border-radius:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.feature-item i{
  font-size:2rem;
  color:var(--green);
}

/* Tabs */

.product-tabs-section{
  padding-bottom:80px;
}

.nav-pills .nav-link{
  border-radius:50px;
  padding:12px 25px;
  font-weight:600;
}

.nav-pills .nav-link.active{
  background:var(--green);
}

.tab-box,
.review-card{
  background:#fff;
  padding:35px;
  border-radius:30px;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.review-card{
  margin-bottom:20px;
}

.review-header{
  display:flex;
  justify-content:space-between;
  margin-bottom:15px;
}

/* Responsive */

@media(max-width:768px){

  .product-info h1{
    font-size:2.2rem;
  }

  .product-price{
    flex-wrap:wrap;
  }

  .product-buttons{
    flex-direction:column;
  }

  .main-product-image img{
    height:350px;
  }

}
/* Category Banner */

.category-banner{
  padding-top:150px;
  padding-bottom:90px;
  background:
  linear-gradient(to right,
  rgba(22,163,74,.08),
  rgba(249,115,22,.08));
}

.category-banner h1{
  font-size:3.5rem;
  font-weight:700;
  margin:20px 0;
}

.category-banner span{
  color:var(--green);
  font-weight:600;
}

/* Categories Page */

.categories-page-section{
  padding:80px 0;
}

.category-page-card{
  background:#fff;
  border-radius:30px;
  overflow:hidden;
  transition:.4s;
  box-shadow:0 10px 40px rgba(0,0,0,.05);
  height:100%;
}

.category-page-card:hover{
  transform:translateY(-10px);
}

.category-image{
  position:relative;
  overflow:hidden;
}

.category-image img{
  height:260px;
  object-fit:cover;
  transition:.5s;
}

.category-page-card:hover .category-image img{
  transform:scale(1.1);
}

.category-overlay{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.5);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition:.4s;
}

.category-page-card:hover .category-overlay{
  opacity:1;
}

.category-content{
  padding:25px;
}

.category-content h4{
  margin-bottom:15px;
}

.category-content p{
  color:#666;
  line-height:1.8;
}

.category-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:20px;
  color:var(--green);
  font-weight:600;
}

.category-meta i{
  font-size:1.4rem;
}

/* Promo Section */

.category-promo-section{
  padding-bottom:80px;
}

.promo-box{
  background:
  linear-gradient(135deg,
  rgba(22,163,74,.12),
  rgba(249,115,22,.12));
  border-radius:40px;
  padding:60px;
}

.promo-badge{
  background:rgba(22,163,74,.1);
  color:var(--green);
  padding:10px 18px;
  border-radius:50px;
  font-weight:600;
}

.promo-box h2{
  font-size:3rem;
  margin:25px 0;
}

.promo-box p{
  color:#555;
  line-height:1.9;
  margin-bottom:30px;
}

.promo-img{
  border-radius:30px;
  box-shadow:0 10px 40px rgba(0,0,0,.08);
}

/* Responsive */

@media(max-width:768px){

  .category-banner h1{
    font-size:2.5rem;
  }

  .promo-box{
    padding:35px;
    text-align:center;
  }

  .promo-box h2{
    font-size:2rem;
  }

}
/* Cart Banner */

.cart-banner{
  padding-top:150px;
  padding-bottom:90px;
  background:
  linear-gradient(to right,
  rgba(22,163,74,.08),
  rgba(249,115,22,.08));
}

.cart-banner h1{
  font-size:3.5rem;
  font-weight:700;
  margin:20px 0;
}

.cart-banner span{
  color:var(--green);
  font-weight:600;
}

/* Cart Section */

.cart-section{
  padding:80px 0;
}

.cart-item{
  background:#fff;
  padding:25px;
  border-radius:30px;
  display:grid;
  grid-template-columns:
  2fr 1fr 1fr 1fr auto;
  align-items:center;
  gap:20px;
  margin-bottom:25px;
  box-shadow:0 10px 40px rgba(0,0,0,.05);
}

.cart-product{
  display:flex;
  align-items:center;
  gap:20px;
}

.cart-product img{
  width:120px;
  height:120px;
  object-fit:cover;
  border-radius:20px;
}

.cart-product-info span{
  color:var(--green);
  font-weight:600;
}

.cart-product-info p{
  margin-top:10px;
  color:#666;
}

.cart-price,
.cart-total{
  font-weight:700;
  font-size:1.1rem;
}

.cart-quantity{
  display:flex;
  align-items:center;
  gap:10px;
}

.cart-quantity button{
  width:40px;
  height:40px;
  border:none;
  border-radius:12px;
  background:var(--green);
  color:#fff;
}

.cart-quantity input{
  width:60px;
  text-align:center;
  border:1px solid #ddd;
  border-radius:12px;
  height:40px;
}

.remove-btn{
  width:50px;
  height:50px;
  border:none;
  border-radius:15px;
  background:#fee2e2;
  color:#dc2626;
}

/* Coupon */

.coupon-box{
  background:#fff;
  padding:35px;
  border-radius:30px;
  box-shadow:0 10px 40px rgba(0,0,0,.05);
}

.coupon-box h4{
  margin-bottom:20px;
}

.coupon-form{
  display:flex;
  gap:15px;
}

/* Summary */

.cart-summary{
  background:#fff;
  padding:35px;
  border-radius:30px;
  position:sticky;
  top:120px;
  box-shadow:0 10px 40px rgba(0,0,0,.05);
}

.cart-summary h3{
  margin-bottom:30px;
}

.summary-item,
.summary-total{
  display:flex;
  justify-content:space-between;
  margin-bottom:20px;
}

.summary-total{
  align-items:center;
}

.secure-checkout{
  margin-top:30px;
}

.secure-item{
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:15px;
}

.secure-item i{
  color:var(--green);
  font-size:1.3rem;
}

/* Responsive */

@media(max-width:991px){

  .cart-item{
    grid-template-columns:1fr;
    text-align:center;
  }

  .cart-product{
    flex-direction:column;
  }

}

@media(max-width:768px){

  .cart-banner h1{
    font-size:2.5rem;
  }

  .coupon-form{
    flex-direction:column;
  }

}
/* Checkout Banner */

.checkout-banner{
  padding-top:150px;
  padding-bottom:90px;
  background:
  linear-gradient(to right,
  rgba(22,163,74,.08),
  rgba(249,115,22,.08));
}

.checkout-banner h1{
  font-size:3.5rem;
  font-weight:700;
  margin:20px 0;
}

.checkout-banner span{
  color:var(--green);
  font-weight:600;
}

/* Checkout Section */

.checkout-section{
  padding:80px 0;
}

.checkout-box{
  background:#fff;
  padding:35px;
  border-radius:30px;
  box-shadow:0 10px 40px rgba(0,0,0,.05);
}

.checkout-title{
  margin-bottom:30px;
}

.form-control{
  height:55px;
  border-radius:15px;
  border:1px solid #e5e7eb;
  padding-left:20px;
}

textarea.form-control{
  height:auto;
}

.form-control:focus{
  box-shadow:none;
  border-color:var(--green);
}

/* Delivery Method */

.delivery-method,
.payment-method{
  border:2px solid #f1f5f9;
  border-radius:20px;
  padding:20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
  cursor:pointer;
  transition:.3s;
}

.active-method{
  border-color:var(--green);
  background:rgba(22,163,74,.05);
}

.delivery-info,
.payment-info{
  display:flex;
  align-items:center;
  gap:15px;
}

.delivery-info i,
.payment-info i{
  width:55px;
  height:55px;
  background:rgba(22,163,74,.1);
  color:var(--green);
  border-radius:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.4rem;
}

/* Summary */

.checkout-summary{
  background:#fff;
  padding:35px;
  border-radius:30px;
  position:sticky;
  top:120px;
  box-shadow:0 10px 40px rgba(0,0,0,.05);
}

.checkout-summary h3{
  margin-bottom:30px;
}

.summary-product{
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:25px;
}

.summary-product img{
  width:70px;
  height:70px;
  object-fit:cover;
  border-radius:15px;
}

.summary-product h5{
  font-size:1rem;
  margin-bottom:5px;
}

.summary-product span{
  color:#666;
  font-size:.9rem;
}

.coupon-mini{
  display:flex;
  gap:10px;
}

.summary-line,
.summary-total-line{
  display:flex;
  justify-content:space-between;
  margin-bottom:18px;
}

.summary-total-line{
  align-items:center;
}

.secure-payment{
  margin-top:30px;
  text-align:center;
  padding:25px;
  background:rgba(22,163,74,.05);
  border-radius:20px;
}

.secure-icon{
  width:70px;
  height:70px;
  background:rgba(22,163,74,.1);
  color:var(--green);
  border-radius:20px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:2rem;
  margin-bottom:15px;
}

/* Responsive */

@media(max-width:768px){

  .checkout-banner h1{
    font-size:2.5rem;
  }

  .delivery-method,
  .payment-method{
    flex-direction:column;
    align-items:flex-start;
    gap:15px;
  }

  .coupon-mini{
    flex-direction:column;
  }

}
/* Wishlist Banner */

.wishlist-banner{
  padding-top:150px;
  padding-bottom:90px;
  background:
  linear-gradient(to right,
  rgba(22,163,74,.08),
  rgba(249,115,22,.08));
}

.wishlist-banner h1{
  font-size:3.5rem;
  font-weight:700;
  margin:20px 0;
}

.wishlist-banner span{
  color:var(--green);
  font-weight:600;
}

/* Wishlist Section */

.wishlist-section{
  padding:80px 0;
}

.wishlist-card{
  background:#fff;
  border-radius:30px;
  overflow:hidden;
  position:relative;
  transition:.4s;
  box-shadow:0 10px 40px rgba(0,0,0,.05);
}

.wishlist-card:hover{
  transform:translateY(-10px);
}

.wishlist-remove{
  position:absolute;
  top:20px;
  right:20px;
  width:45px;
  height:45px;
  border:none;
  border-radius:15px;
  background:#fff;
  color:#ef4444;
  z-index:2;
  box-shadow:0 10px 20px rgba(0,0,0,.08);
}

.wishlist-image{
  overflow:hidden;
}

.wishlist-image img{
  height:280px;
  object-fit:cover;
  transition:.5s;
}

.wishlist-card:hover .wishlist-image img{
  transform:scale(1.1);
}

.wishlist-content{
  padding:25px;
}

.wishlist-content span{
  color:var(--green);
  font-weight:600;
}

.wishlist-content h4{
  margin:15px 0;
}

.wishlist-rating{
  color:#facc15;
  margin-bottom:20px;
}

.wishlist-rating small{
  color:#666;
}

.wishlist-price{
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:25px;
}

.wishlist-price h5{
  color:var(--green);
  font-size:1.5rem;
}

.wishlist-price del{
  color:#999;
}

/* Empty Wishlist */

.empty-wishlist-section{
  padding-bottom:80px;
}

.empty-box{
  background:
  linear-gradient(135deg,
  rgba(22,163,74,.08),
  rgba(249,115,22,.08));
  padding:70px;
  border-radius:40px;
  text-align:center;
}

.empty-icon{
  width:120px;
  height:120px;
  background:#fff;
  color:var(--green);
  border-radius:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:auto;
  font-size:3rem;
  margin-bottom:30px;
  box-shadow:0 10px 40px rgba(0,0,0,.05);
}

.empty-box h2{
  font-size:3rem;
  margin-bottom:20px;
}

.empty-box p{
  max-width:600px;
  margin:auto;
  margin-bottom:35px;
  line-height:1.9;
  color:#555;
}

/* Responsive */

@media(max-width:768px){

  .wishlist-banner h1{
    font-size:2.5rem;
  }

  .empty-box{
    padding:40px 25px;
  }

  .empty-box h2{
    font-size:2rem;
  }

}