/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Hind Siliguri', 'Poppins', Arial, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, select { font-family: inherit; outline: none; }

/* ===== VARIABLES ===== */
:root {
  --red: #e00000;
  --red-dark: #b50000;
  --red-light: #ff4444;
  --red-pale: #fff0f0;
  --red-mid: #ffd5d5;
  --white: #ffffff;
  --off-white: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-400: #aaaaaa;
  --gray-600: #666666;
  --gray-800: #333333;
  --black: #1a1a1a;
  --shadow: 0 2px 16px rgba(224,0,0,0.10);
  --shadow-hover: 0 8px 32px rgba(224,0,0,0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--red);
  color: var(--white);
  font-size: 0.82rem;
  padding: 6px 0;
  position: relative;
  z-index: 100;
}
.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.top-bar span { display: flex; align-items: center; gap: 5px; }
.top-bar i { font-size: 0.85rem; }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0,0,0,0.09);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(224,0,0,0.13); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  gap: 16px;
}
.logo { font-family: 'Poppins', sans-serif; font-size: 1.7rem; font-weight: 800; display: flex; align-items: center; }
.logo-bd { color: var(--red); }
.logo-zoon { color: var(--black); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-800);
  transition: background var(--transition), color var(--transition);
}
.nav-link:hover, .nav-link.active {
  background: var(--red);
  color: var(--white);
}
.nav-cart {
  position: relative;
  font-size: 1.2rem;
  color: var(--red);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-cart:hover { background: var(--red-pale); }
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--red);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--red);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ===== HERO ===== */
.hero-sale {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 60%, #7a0000 100%);
  color: var(--white);
  padding: 64px 0 48px;
  position: relative;
  overflow: hidden;
}
.hero-sale::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  pointer-events: none;
}
.hero-sale::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 320px;
  height: 320px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-title .highlight {
  background: var(--white);
  color: var(--red);
  border-radius: var(--radius-sm);
  padding: 2px 12px;
  display: inline-block;
}
.hero-sub {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-countdown {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.time-box {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  text-align: center;
  min-width: 64px;
  backdrop-filter: blur(4px);
}
.time-box span {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  line-height: 1;
}
.time-box label { font-size: 0.72rem; opacity: 0.85; margin-top: 4px; display: block; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.sale-badge {
  background: var(--white);
  border-radius: 50%;
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  animation: pulse 2s infinite;
}
.badge-off {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--red);
  font-family: 'Poppins', sans-serif;
  line-height: 1;
}
.badge-label {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--red-dark);
}
.hero-badge-wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stat {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.13);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 0.9rem;
}
.stat i { font-size: 1.1rem; opacity: 0.85; }
.stat strong { font-weight: 700; }

@keyframes pulse {
  0%,100% { transform: scale(1); box-shadow: 0 8px 40px rgba(0,0,0,0.2); }
  50% { transform: scale(1.05); box-shadow: 0 12px 56px rgba(0,0,0,0.28); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.97rem;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover { background: var(--white); color: var(--red); border-color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}
.btn-white:hover { background: var(--red-pale); }
.btn-red-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
  border-width: 2px;
}
.btn-red-outline:hover { background: var(--red); color: var(--white); }

/* ===== FILTER SECTION ===== */
.filter-section {
  background: var(--white);
  padding: 20px 0;
  border-bottom: 2px solid var(--red-mid);
  position: sticky;
  top: 64px;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-800);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.sort-search {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.search-input {
  flex: 1;
  min-width: 200px;
  padding: 10px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 100px;
  font-size: 0.92rem;
  transition: border-color var(--transition);
  background: var(--white);
}
.search-input:focus { border-color: var(--red); }
.sort-select {
  padding: 10px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 100px;
  font-size: 0.92rem;
  cursor: pointer;
  background: var(--white);
  color: var(--gray-800);
  transition: border-color var(--transition);
}
.sort-select:focus { border-color: var(--red); }

/* ===== SECTION HEADERS ===== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 10px;
}
.section-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-header h2 i { color: var(--red); }
.see-all {
  color: var(--red);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.see-all:hover { gap: 8px; }
.section-title {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 32px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ===== FLASH DEALS ===== */
.flash-deals {
  padding: 40px 0;
  background: var(--red-pale);
}
.flash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

/* ===== PRODUCTS GRID ===== */
.products-section {
  padding: 48px 0;
  background: var(--off-white);
}
.product-count {
  font-size: 0.9rem;
  color: var(--gray-600);
  background: var(--red-pale);
  padding: 4px 14px;
  border-radius: 100px;
  border: 1px solid var(--red-mid);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  position: relative;
  border: 1.5px solid var(--gray-200);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--red-mid);
}
.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--gray-100);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.07); }
.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 2;
}
.product-actions-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
  display: flex;
  gap: 8px;
  padding: 12px;
  opacity: 0;
  transition: opacity var(--transition);
  justify-content: center;
}
.product-card:hover .product-actions-overlay { opacity: 1; }
.action-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.action-icon-btn:hover { background: var(--red); color: var(--white); transform: scale(1.1); }
.product-info { padding: 14px; }
.product-category {
  font-size: 0.72rem;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.product-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-bottom: 8px;
}
.stars-yellow { color: #f4a100; }
.product-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.price-current {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red);
  font-family: 'Poppins', sans-serif;
}
.price-original {
  font-size: 0.82rem;
  color: var(--gray-400);
  text-decoration: line-through;
}
.product-add-btn {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition), transform var(--transition);
}
.product-add-btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.out-of-stock .product-add-btn { background: var(--gray-400); cursor: not-allowed; }
.out-of-stock .product-add-btn:hover { transform: none; background: var(--gray-400); }
.stock-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
  z-index: 2;
}
.stock-low { background: #fff3cd; color: #856404; }
.stock-out { background: #f8d7da; color: #721c24; }

/* ===== LOAD MORE ===== */
.load-more-wrap { text-align: center; margin-top: 32px; }

/* ===== WHY SECTION ===== */
.why-section {
  padding: 56px 0;
  background: var(--white);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.why-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}
.why-card:hover {
  border-color: var(--red);
  background: var(--red-pale);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.why-icon {
  font-size: 2.2rem;
  color: var(--red);
  margin-bottom: 14px;
  display: block;
  transition: transform var(--transition);
}
.why-card:hover .why-icon { transform: scale(1.15); }
.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}
.why-card p { font-size: 0.87rem; color: var(--gray-600); line-height: 1.5; }

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 56px 0;
  background: var(--red-pale);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--red);
}
.stars { color: #f4a100; font-size: 1.1rem; margin-bottom: 10px; }
.testimonial-card p { color: var(--gray-800); font-size: 0.95rem; margin-bottom: 14px; line-height: 1.6; }
.reviewer {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
  font-size: 0.87rem;
  font-weight: 600;
}
.reviewer i { color: var(--red); font-size: 1.3rem; }

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 56px 0;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.newsletter-text h2 { font-size: 1.8rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.newsletter-text p { color: rgba(255,255,255,0.88); font-size: 1rem; }
.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  flex-wrap: wrap;
}
.newsletter-input {
  flex: 1;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.95rem;
  min-width: 200px;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.65); }
.newsletter-input:focus { border-color: var(--white); background: rgba(255,255,255,0.2); }
.newsletter-form .btn-primary { background: var(--white); color: var(--red); border-color: var(--white); }
.newsletter-form .btn-primary:hover { background: var(--red-pale); }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
}
.footer-col .logo { margin-bottom: 14px; }
.footer-col p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 18px; }
.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover { color: var(--red-light); }
.contact-list li { margin-bottom: 10px !important; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}
.social-links a:hover { background: var(--red); transform: translateY(-3px); }
.payment-icons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pay-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.85);
}
.footer-bottom {
  text-align: center;
  padding: 18px 16px;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed;
  top:0;right:0;bottom:0;left:0;inset:0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  backdrop-filter: blur(4px);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform var(--transition);
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
}
.modal-overlay.active .modal-box { transform: translateY(0) scale(1); }
.modal-small { max-width: 480px; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-800);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 10;
  border: none;
  cursor: pointer;
}
.modal-close:hover { background: var(--red); color: var(--white); }
.modal-content { padding: 28px; }
.modal-product-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.modal-product-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}
.modal-product-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.modal-price-current { font-size: 1.5rem; font-weight: 800; color: var(--red); }
.modal-price-original { font-size: 1rem; color: var(--gray-400); text-decoration: line-through; }
.modal-desc { font-size: 0.95rem; color: var(--gray-600); margin-bottom: 18px; line-height: 1.7; }
.modal-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--red);
  background: var(--white);
  color: var(--red);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.qty-btn:hover { background: var(--red); color: var(--white); }
.qty-display {
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 36px;
  text-align: center;
}
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; min-width: 140px; justify-content: center; }
.feature-modal-icon { font-size: 3rem; color: var(--red); display: block; text-align: center; margin-bottom: 14px; }
.feature-modal-title { font-size: 1.3rem; font-weight: 700; text-align: center; margin-bottom: 10px; }
.feature-modal-desc { font-size: 0.95rem; color: var(--gray-600); text-align: center; line-height: 1.7; }

/* ===== CART SIDEBAR ===== */
.cart-overlay {
  position: fixed;
  top:0;right:0;bottom:0;left:0;inset:0;
  background: rgba(0,0,0,0.4);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 380px;
  max-width: 100vw;
  height: 100%;
  background: var(--white);
  z-index: 1600;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  transition: right var(--transition);
}
.cart-sidebar.active { right: 0; }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 2px solid var(--red-mid);
  background: var(--red-pale);
}
.cart-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-header button { background: none; font-size: 1.2rem; color: var(--gray-600); transition: color var(--transition); }
.cart-header button:hover { color: var(--red); }
.cart-items { flex: 1; overflow-y: auto; padding: 14px; }
.empty-cart { text-align: center; padding: 48px 20px; color: var(--gray-400); }
.empty-cart i { font-size: 3rem; display: block; margin-bottom: 10px; }
.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: center;
}
.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.88rem; font-weight: 600; margin-bottom: 4px; color: var(--black); }
.cart-item-price { color: var(--red); font-weight: 700; font-size: 0.95rem; }
.cart-item-qty { font-size: 0.8rem; color: var(--gray-600); }
.cart-item-remove {
  background: none;
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.cart-item-remove:hover { color: var(--red); }
.cart-footer {
  padding: 16px 20px;
  border-top: 2px solid var(--gray-200);
  background: var(--white);
}
.cart-total {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}
.cart-total strong { color: var(--red); font-size: 1.2rem; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--black);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  white-space: nowrap;
  max-width: 90vw;
  text-align: center;
  border-left: 4px solid var(--red);
}
.toast.active { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ===== FLOATING BUTTONS ===== */
.floating-btns {
  position: fixed;
  bottom: 24px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1200;
}
.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.float-btn:hover { transform: scale(1.12); box-shadow: 0 8px 28px rgba(0,0,0,0.25); }
.whatsapp-btn { background: #25d366; color: var(--white); }
.cart-float-btn { background: var(--red); color: var(--white); }
.scroll-top-btn { background: var(--black); color: var(--white); opacity: 0; visibility: hidden; transition: opacity var(--transition), visibility var(--transition), transform var(--transition), box-shadow var(--transition); }
.scroll-top-btn.visible { opacity: 1; visibility: visible; }

/* ===== SKELETON LOADER ===== */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
}
.skeleton-img { height: 200px; }
.skeleton-text { height: 14px; margin: 12px 14px 6px; }
.skeleton-text-sm { height: 12px; margin: 0 14px 6px; width: 60%; }
.skeleton-btn { height: 36px; margin: 10px 14px 14px; border-radius: var(--radius-sm); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    border-top: 2px solid var(--red-mid);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    display: none;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 16px; border-radius: var(--radius-sm); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-badge-wrap { align-items: center; flex-direction: row; justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-sub { margin: 0 auto 28px; }
  .hero-countdown { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { max-width: 100%; }
  .filter-section { top: 56px; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge-wrap { flex-direction: column; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .flash-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .sale-badge { width: 120px; height: 120px; }
  .badge-off { font-size: 2.4rem; }
  .time-box { min-width: 54px; padding: 10px 12px; }
  .time-box span { font-size: 1.4rem; }
  .cart-sidebar { width: 100vw; }
}
@media (max-width: 360px) {
  .products-grid { grid-template-columns: 1fr; }
  .flash-grid { grid-template-columns: 1fr; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--red-mid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }