/* ═══════════════════════════════════════════
   Birbal Electronics — Main Stylesheet
   ═══════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:         #f5f7ff;
  --bg2:        #eef1fb;
  --surface:    #ffffff;
  --surface2:   #f0f2fc;
  --accent:     #4f46e5;
  --accent2:    #f97316;
  --accent3:    #7c3aed;
  --gold:       #d97706;
  --text:       #1e1b3a;
  --muted:      #6b7280;
  --border:     rgba(79,70,229,0.12);
  --card-hover: rgba(79,70,229,0.04);
  --glow:       0 8px 40px rgba(79,70,229,0.15);
  --radius:     16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 70px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(79,70,229,0.1); }

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem; font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  text-decoration: none;
}
.logo span { color: var(--gold); -webkit-text-fill-color: var(--gold); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: #4b5563; text-decoration: none; font-size: 0.9rem; font-weight: 600;
  transition: color 0.2s; position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.search-bar {
  display: flex; align-items: center;
  background: var(--bg2); border: 1.5px solid var(--border);
  border-radius: 25px; padding: 6px 14px; gap: 8px;
  transition: border-color 0.3s;
}
.search-bar:focus-within { border-color: var(--accent); background: #fff; }
.search-bar input {
  background: none; border: none; outline: none;
  color: var(--text); font-size: 0.85rem; width: 150px;
}
.search-bar svg { color: var(--muted); flex-shrink: 0; }

.cart-btn {
  position: relative; background: var(--accent); border: none;
  color: #fff; border-radius: 12px; padding: 8px 16px;
  cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 700;
}
.cart-btn:hover { background: var(--accent3); transform: scale(1.04); }

.cart-count {
  position: absolute; top: -8px; right: -8px;
  background: var(--accent2); color: #fff;
  border-radius: 50%; width: 20px; height: 20px;
  font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.hamburger {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--accent); border-radius: 2px; transition: all 0.3s;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 0 5%;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 40%, rgba(79,70,229,0.1)  0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 70%, rgba(124,58,237,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(249,115,22,0.06) 0%, transparent 60%),
    var(--bg);
}

.particles { position: absolute; inset: 0; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%;
  opacity: 0; animation: float-particle linear infinite;
}

@keyframes float-particle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.2; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

.hero-content { position: relative; z-index: 2; max-width: 580px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(79,70,229,0.08); border: 1.5px solid rgba(79,70,229,0.25);
  border-radius: 30px; padding: 6px 16px; margin-bottom: 1.5rem;
  font-size: 0.8rem; font-weight: 700; color: var(--accent);
  animation: fadeInUp 0.6s ease both;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent2); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(249,115,22,0.5); }
  50%      { box-shadow: 0 0 0 8px rgba(249,115,22,0); }
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900; line-height: 1.1;
  margin-bottom: 1rem;
  animation: fadeInUp 0.7s ease 0.1s both;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent3), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: #6b7280; font-size: 1.05rem; line-height: 1.7;
  margin-bottom: 2rem;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem;
  animation: fadeInUp 0.7s ease 0.4s both;
}
.stat-item h3 { font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.stat-item p  { font-size: 0.8rem; color: #6b7280; margin-top: 2px; }

.hero-visual {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  width: 45%; max-width: 600px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  animation: fadeInRight 1s ease 0.3s both;
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translate(60px,-50%); }
  to   { opacity: 1; transform: translate(0,-50%); }
}

.hero-card {
  border-radius: 16px; overflow: hidden; position: relative;
  background: #fff; border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(79,70,229,0.1);
  cursor: pointer; transition: transform 0.3s;
}
.hero-card:hover { transform: scale(1.03); }
.hero-card img { width: 100%; height: 180px; object-fit: cover; }
.hero-card:first-child { grid-row: span 2; }
.hero-card:first-child img { height: 100%; min-height: 370px; }
.hero-card-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  font-size: 0.8rem; font-weight: 600; color: #fff;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── SHARED BUTTONS ─── */
.btn-primary {
  padding: 14px 32px; border-radius: 12px; font-weight: 700; font-size: 0.95rem;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  color: #fff; border: none; cursor: pointer;
  transition: all 0.3s; text-decoration: none;
  box-shadow: 0 4px 20px rgba(79,70,229,0.3);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(79,70,229,0.4); }

.btn-secondary {
  padding: 14px 32px; border-radius: 12px; font-weight: 700; font-size: 0.95rem;
  background: #fff; color: var(--accent);
  border: 2px solid var(--accent); cursor: pointer;
  transition: all 0.3s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { background: var(--accent); color: #fff; }

/* ─── MARQUEE STRIP ─── */
.marquee-strip {
  background: linear-gradient(90deg, var(--accent3), var(--accent), var(--accent2));
  padding: 12px 0; overflow: hidden; white-space: nowrap;
}
.marquee-inner { display: inline-block; animation: marquee 25s linear infinite; }
.marquee-inner span {
  font-size: 0.85rem; font-weight: 700; color: #fff;
  padding: 0 2rem; letter-spacing: 0.5px;
}
.marquee-inner span::before { content: '⚡ '; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── SECTION SHARED ─── */
section { padding: 80px 5%; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
  display: inline-block;
  background: rgba(79,70,229,0.08); border: 1.5px solid rgba(79,70,229,0.2);
  color: var(--accent); border-radius: 20px;
  padding: 4px 14px; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; line-height: 1.2;
}
.section-header p { color: var(--muted); margin-top: 8px; font-size: 1rem; }

/* ─── CATEGORIES ─── */
.categories-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px;
}
.cat-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 24px 16px;
  text-align: center; cursor: pointer;
  transition: all 0.3s; position: relative; overflow: hidden;
  box-shadow: 0 2px 12px rgba(79,70,229,0.06);
}
.cat-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(79,70,229,0.05), rgba(124,58,237,0.04));
  opacity: 0; transition: opacity 0.3s;
}
.cat-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--glow); }
.cat-card:hover::before { opacity: 1; }
.cat-icon {
  width: 56px; height: 56px; border-radius: 50%;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.cat-card h3 { font-size: 0.9rem; font-weight: 700; }
.cat-card p  { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }

/* ─── FILTER TABS ─── */
.filter-tabs {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-tab {
  padding: 8px 20px; border-radius: 25px; font-size: 0.85rem; font-weight: 600;
  border: 1.5px solid var(--border); background: #fff;
  color: var(--muted); cursor: pointer; transition: all 0.3s;
  box-shadow: 0 1px 6px rgba(79,70,229,0.06);
}
.filter-tab:hover, .filter-tab.active {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(79,70,229,0.3);
}

/* ─── PRODUCT GRID ─── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all 0.35s; cursor: pointer;
  position: relative; display: flex; flex-direction: column;
  box-shadow: 0 2px 16px rgba(79,70,229,0.06);
}
.product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(79,70,229,0.3);
  box-shadow: 0 20px 50px rgba(79,70,229,0.15);
}

.product-img-wrap {
  position: relative; overflow: hidden; height: 240px;
  background: #f8f9fe;
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }

.product-badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.badge {
  padding: 3px 10px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 700; display: inline-block;
}
.badge-sale { background: var(--accent2); color: #fff; }
.badge-new  { background: var(--accent);  color: #fff; }
.badge-hot  { background: var(--gold);    color: #000; }
.badge-emi  { background: var(--accent3); color: #fff; }

.product-actions {
  position: absolute; top: 12px; right: 12px;
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateX(10px); transition: all 0.3s;
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }

.action-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border: 1px solid var(--border); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s; font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.action-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }

.product-category {
  font-size: 0.75rem; color: var(--accent); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.product-name {
  font-size: 0.95rem; font-weight: 700; margin: 6px 0;
  line-height: 1.4; color: var(--text);
}

.product-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.stars        { color: var(--gold); font-size: 0.8rem; letter-spacing: 1px; }
.rating-count { font-size: 0.75rem; color: var(--muted); }

.product-price {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: auto; padding-top: 10px;
}
.price-current  { font-size: 1.2rem; font-weight: 800; color: var(--accent); }
.price-original { font-size: 0.85rem; color: var(--muted); text-decoration: line-through; }
.price-off      { font-size: 0.75rem; font-weight: 700; color: #16a34a; }

.add-to-cart {
  width: 100%; padding: 11px; border-radius: 10px;
  font-weight: 700; font-size: 0.88rem;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  color: #fff; border: none; cursor: pointer;
  transition: all 0.3s; margin-top: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 14px rgba(79,70,229,0.25);
}
.add-to-cart:hover { transform: scale(1.02); box-shadow: 0 6px 20px rgba(79,70,229,0.35); }
.add-to-cart.added {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 4px 14px rgba(34,197,94,0.3);
}

/* ─── DEALS SECTION ─── */
.deals-section { background: #eef1fb; padding: 60px 5%; }
.deals-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}

.deal-card {
  border-radius: var(--radius); overflow: hidden; position: relative;
  min-height: 200px; display: flex; align-items: flex-end;
  cursor: pointer; transition: transform 0.3s;
}
.deal-card:hover { transform: scale(1.02); }
.deal-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.deal-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(15,10,40,0.92) 25%, rgba(15,10,40,0.3) 70%, transparent);
}
.deal-content { position: relative; z-index: 2; padding: 24px; max-width: 260px; }
.deal-tag { font-size: 0.75rem; font-weight: 700; color: var(--accent2); text-transform: uppercase; letter-spacing: 1px; }
.deal-content h3 { font-size: 1.3rem; font-weight: 800; margin: 6px 0; color: #fff; }
.deal-price { font-size: 1.8rem; font-weight: 900; color: var(--accent); }
.deal-price span {
  font-size: 1rem; color: #9ca3af;
  text-decoration: line-through; font-weight: 400; margin-left: 8px;
}

/* ─── FEATURES ─── */
.features-section { background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

.feature-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
  transition: all 0.3s; box-shadow: 0 2px 16px rgba(79,70,229,0.06);
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: var(--glow); }
.feature-icon { font-size: 2.4rem; margin-bottom: 12px; filter: drop-shadow(0 2px 8px rgba(79,70,229,0.3)); }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.feature-card p  { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ─── BRANDS ─── */
.brands-section { background: var(--bg2); padding: 50px 5%; }
.brands-row { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.brand-item {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 12px; padding: 16px 28px;
  font-size: 1.1rem; font-weight: 800; color: #374151;
  transition: all 0.3s; cursor: pointer; letter-spacing: 1px;
  box-shadow: 0 2px 10px rgba(79,70,229,0.07);
}
.brand-item:hover { color: var(--accent); border-color: var(--accent); transform: scale(1.06); box-shadow: var(--glow); }

/* ─── TESTIMONIALS ─── */
.testimonials-section { background: var(--bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

.testimonial-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: all 0.3s; box-shadow: 0 2px 16px rgba(79,70,229,0.06);
}
.testimonial-card:hover { border-color: rgba(79,70,229,0.3); box-shadow: var(--glow); }
.testimonial-stars { color: var(--gold); font-size: 1rem; margin-bottom: 12px; }
.testimonial-text  { font-size: 0.9rem; line-height: 1.7; color: #6b7280; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; color: #fff;
}
.author-name { font-weight: 700; font-size: 0.9rem; }
.author-loc  { font-size: 0.78rem; color: var(--muted); }

/* ─── NEWSLETTER ─── */
.newsletter-section {
  background: linear-gradient(135deg, #ede9fe 0%, #eef1fb 50%, #e0f2fe 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.newsletter-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.newsletter-inner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.newsletter-inner p  { color: #6b7280; margin-bottom: 1.5rem; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  flex: 1; padding: 13px 18px; border-radius: 12px;
  background: #fff; border: 1.5px solid rgba(79,70,229,0.2);
  color: var(--text); font-size: 0.9rem; outline: none;
  transition: border-color 0.3s;
  box-shadow: 0 2px 8px rgba(79,70,229,0.08);
}
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form button {
  padding: 13px 24px; border-radius: 12px; font-weight: 700;
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  transition: all 0.3s; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(79,70,229,0.3);
}
.newsletter-form button:hover { transform: scale(1.05); background: var(--accent3); }

/* ─── FOOTER ─── */
footer {
  background: #1e1b3a; border-top: 1px solid rgba(255,255,255,0.08);
  padding: 60px 5% 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 3rem;
}
.footer-brand .logo { font-size: 1.2rem; display: inline-block; margin-bottom: 12px; }
.footer-brand p { color: #9ca3af; font-size: 0.88rem; line-height: 1.7; max-width: 260px; }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-link {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: #9ca3af; text-decoration: none; font-size: 0.9rem;
  transition: all 0.3s;
}
.social-link:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer-col h4 { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #9ca3af; text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 0.82rem; color: #9ca3af;
}
.footer-bottom a { color: #818cf8; text-decoration: none; }

/* ─── CART SIDEBAR ─── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(30,27,58,0.5);
  z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed; top: 0; right: -420px; width: 400px; max-width: 95vw;
  height: 100vh; background: #fff; z-index: 2001;
  display: flex; flex-direction: column;
  border-left: 1.5px solid var(--border);
  box-shadow: -8px 0 40px rgba(79,70,229,0.1);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-sidebar.open { right: 0; }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.cart-header h3 { font-size: 1.1rem; font-weight: 700; }

.cart-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg2); border: 1px solid var(--border); color: var(--text);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: all 0.2s;
}
.cart-close:hover { background: var(--accent2); color: #fff; border-color: var(--accent2); }

.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty { text-align: center; padding: 3rem 1rem; }
.cart-empty p    { color: var(--muted); font-size: 0.9rem; }
.cart-empty span { font-size: 3rem; display: block; margin-bottom: 12px; }

.cart-item {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 68px; height: 68px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
  background: var(--bg2); border: 1px solid var(--border);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info    { flex: 1; min-width: 0; }
.cart-item-name    { font-size: 0.87rem; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
.cart-item-price   { font-size: 0.9rem; font-weight: 700; color: var(--accent); }
.cart-item-qty     { display: flex; align-items: center; gap: 8px; margin-top: 8px; }

.qty-btn {
  width: 26px; height: 26px; border-radius: 6px;
  background: var(--bg2); border: 1.5px solid var(--border);
  color: var(--text); cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.qty-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.qty-val { font-size: 0.9rem; font-weight: 700; min-width: 20px; text-align: center; }

.cart-remove {
  background: none; border: none; color: var(--muted);
  cursor: pointer; font-size: 1rem; padding: 4px; transition: color 0.2s;
}
.cart-remove:hover { color: var(--accent2); }

.cart-footer { padding: 16px 24px; border-top: 1px solid var(--border); }
.cart-total  { display: flex; justify-content: space-between; font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.cart-total span:last-child { color: var(--accent); font-size: 1.2rem; }

.checkout-btn {
  width: 100%; padding: 14px; border-radius: 12px; font-weight: 700; font-size: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  color: #fff; border: none; cursor: pointer; transition: all 0.3s;
}
.checkout-btn:hover { opacity: 0.88; transform: scale(1.02); }

/* ─── WHATSAPP FAB ─── */
.whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  cursor: pointer; transition: all 0.3s;
  text-decoration: none;
  animation: fab-bounce 3s ease infinite;
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.6); }
@keyframes fab-bounce {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}

/* ─── TOAST ─── */
.toast {
  position: fixed; bottom: 90px; right: 24px; z-index: 9999;
  background: #fff; border: 1.5px solid var(--accent);
  border-radius: 12px; padding: 12px 18px;
  font-size: 0.88rem; font-weight: 600; color: var(--text);
  box-shadow: 0 8px 30px rgba(79,70,229,0.2);
  transform: translateY(20px); opacity: 0;
  transition: all 0.3s; pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ─── SCROLL TO TOP ─── */
.scroll-top {
  position: fixed; bottom: 90px; left: 24px; z-index: 999;
  width: 44px; height: 44px; border-radius: 12px;
  background: #fff; border: 1.5px solid var(--border);
  color: var(--accent); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; transition: all 0.3s;
  opacity: 0; pointer-events: none;
  box-shadow: 0 4px 16px rgba(79,70,229,0.15);
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 1500;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text); text-decoration: none; font-size: 1.5rem; font-weight: 700;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; color: var(--text);
  font-size: 2rem; cursor: pointer;
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible        { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-visual  { display: none; }
  .hero-content { max-width: 100%; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .nav-links    { display: none; }
  .search-bar   { display: none; }
  .hamburger    { display: flex; }
}
@media (max-width: 600px) {
  .footer-grid       { grid-template-columns: 1fr; }
  .hero h1           { font-size: 2rem; }
  .hero-stats        { gap: 1.5rem; }
  .newsletter-form   { flex-direction: column; }
  .deals-grid        { grid-template-columns: 1fr; }
  .footer-bottom     { flex-direction: column; text-align: center; }
}
