/* ===== ROOT VARIABLES ===== */
:root {
  --primary: #8B0000;
  --primary-light: #B22222;
  --primary-dark: #5a0000;
  --gold: #C8942A;
  --gold-light: #E8B84B;
  --gold-dark: #9A6E1A;
  --bg: #FFFCF5;
  --bg2: #FFF5E6;
  --text: #1a0a0a;
  --text-light: #555;
  --white: #ffffff;
  --border: #e8d5b0;
  --success: #16a34a;
  --danger: #dc2626;
  --shadow: 0 2px 15px rgba(139, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(139, 0, 0, 0.18);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, select, textarea { font-family: inherit; outline: none; }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-new { background: #fef3c7; color: #b45309; }
.badge-hot { background: #fee2e2; color: #dc2626; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(37,211,102,0.4); }
.text-center { text-align: center; }
.hidden { display: none !important; }
.gold-text { color: var(--gold); }
.primary-text { color: var(--primary); }

/* ===== NOTICE BARS ===== */
.notice-top-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: var(--white);
  text-align: center;
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  overflow: hidden;
  position: relative;
}
.notice-top-bar a { color: var(--gold-light); text-decoration: underline; }
.ticker-text { display: inline-block; animation: ticker 25s linear infinite; white-space: nowrap; }
@keyframes ticker { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(139,0,0,0.10);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--gold);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 30px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 20px;
}

/* Logo */
.logo-area { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.logo-img   { height: 80px; width: auto; object-fit: contain; transition: transform 0.3s; }
.logo-img:hover { transform: scale(1.04); }
.logo-text-area { display: flex; flex-direction: column; }
.brand-name    { font-size: 1.6rem; font-weight: 800; color: var(--primary); line-height: 1.1; letter-spacing: -0.5px; }
.brand-tagline { font-size: 0.72rem; color: var(--gold-dark); font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; margin-top: 3px; }

/* Desktop nav */
.header-nav { display: flex; align-items: center; gap: 22px; }
.header-nav a {
  font-size: 0.9rem; font-weight: 600; color: var(--text);
  padding: 6px 0; position: relative; transition: color 0.25s;
}
.header-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s ease;
}
.header-nav a:hover { color: var(--primary); }
.header-nav a:hover::after, .header-nav a.active::after { transform: scaleX(1); transform-origin: left; }

/* Right actions */
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone   { display: flex; flex-direction: column; align-items: flex-end; }
.header-phone span:first-child { font-size: 0.68rem; color: var(--text-light); }
.header-phone a { font-size: 1rem; font-weight: 700; color: var(--primary); }

.cart-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--primary); color: #fff;
  padding: 9px 18px; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 600;
  border: none; cursor: pointer; transition: var(--transition);
  position: relative;
}
.cart-btn:hover { background: var(--primary-light); transform: translateY(-1px); box-shadow: var(--shadow); }
.cart-badge {
  background: var(--gold); color: #fff;
  font-size: 0.68rem; font-weight: 700;
  padding: 2px 6px; border-radius: 50px;
  min-width: 20px; text-align: center;
}

/* Hamburger button — hidden on desktop */
.hamburger-btn {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 6px;
  width: 48px; height: 48px;
  background: var(--gold);
  border: none; border-radius: 8px;
  cursor: pointer; flex-shrink: 0;
  transition: background 0.25s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.hamburger-btn:hover { background: var(--gold-dark); }
.hamburger-btn span {
  display: block; width: 24px; height: 3px;
  background: #fff; border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ===== MOBILE OVERLAY ===== */
.drawer-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  backdrop-filter: blur(2px);
  opacity: 0; transition: opacity 0.3s ease;
}
.drawer-overlay.show { display: block; opacity: 1; }

/* ===== MOBILE DRAWER ===== */
.mobile-drawer {
  position: fixed;
  top: 0; left: 0;
  width: 85vw; max-width: 320px;
  height: 100dvh;
  background: #fff;
  z-index: 9999;
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 32px rgba(0,0,0,0.22);
  overflow: hidden;
}
.mobile-drawer.open { transform: translateX(0); }

/* Drawer header */
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 16px;
  background: var(--primary);
  flex-shrink: 0;
  border-bottom: 3px solid var(--gold);
}
.drawer-brand { display: flex; align-items: center; gap: 12px; }
.drawer-brand img {
  width: 52px; height: 52px; object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,0.12); padding: 4px;
}
.drawer-brand-name {
  font-size: 1.05rem; font-weight: 800;
  color: #fff; line-height: 1.2;
  -webkit-font-smoothing: antialiased;
}
.drawer-brand-sub {
  font-size: 0.65rem; color: var(--gold-light);
  font-weight: 600; letter-spacing: 0.8px;
  text-transform: uppercase; margin-top: 2px;
  -webkit-font-smoothing: antialiased;
}
.drawer-close {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
  flex-shrink: 0;
}
.drawer-close:hover { background: rgba(255,255,255,0.3); }

/* Drawer links */
.drawer-links {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  min-height: 0;
}
.drawer-link {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  font-size: 1.05rem; font-weight: 700;
  color: #1a0a0a !important;
  border-left: 4px solid transparent;
  border-bottom: 1px solid #f5ede0;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  cursor: pointer;
}
.drawer-link:last-child { border-bottom: none; }
.drawer-link:hover, .drawer-link.active {
  background: #fff5e6;
  color: var(--primary) !important;
  border-left-color: var(--primary);
}
.drawer-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: #fff5e6; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; flex-shrink: 0;
  transition: background 0.2s;
}
.drawer-link:hover .drawer-icon, .drawer-link.active .drawer-icon {
  background: var(--primary); color: #fff;
}

/* Drawer footer */
.drawer-footer {
  padding: 14px 20px;
  background: #faf5ec;
  border-top: 1px solid #ede0c8;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.drawer-phone {
  font-size: 0.88rem; font-weight: 700;
  color: var(--primary) !important;
  display: flex; align-items: center; gap: 8px;
  -webkit-font-smoothing: antialiased;
}
.drawer-admin-link {
  font-size: 0.78rem; font-weight: 600;
  color: var(--text-light) !important;
  display: flex; align-items: center; gap: 6px;
  -webkit-font-smoothing: antialiased;
}
.drawer-admin-link:hover { color: var(--primary) !important; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 991px) {
  .site-header { background: var(--primary); border-bottom: 3px solid var(--gold); }
  .header-inner { padding: 0 14px; height: 72px; }
  .hamburger-btn { display: flex; }
  .header-nav { display: none; }
  .header-phone { display: none; }
  .logo-img { height: 54px; }
  .brand-name { font-size: 1.2rem; color: #fff; }
  .brand-tagline { color: var(--gold-light); font-size: 0.62rem; }
  .cart-btn { padding: 8px 12px; font-size: 0.82rem; }
  .cart-btn-label { display: none; }
}

@media (max-width: 480px) {
  .header-inner { height: 66px; padding: 0 12px; }
  .logo-img { height: 46px; }
  .brand-name { font-size: 1.05rem; }
  .brand-tagline { display: none; }
  .cart-btn { padding: 8px 10px; }
  .mobile-drawer { width: 88vw; }
}

@media (max-width: 375px) {
  .logo-img { height: 40px; }
  .brand-name { font-size: 0.95rem; }
  .mobile-drawer { width: 92vw; }
}

@media (max-width: 320px) {
  .hamburger-btn { width: 42px; height: 42px; }
  .logo-img { height: 36px; }
  .brand-name { font-size: 0.88rem; }
  .mobile-drawer { width: 96vw; }
}

/* ===== NAVBAR — MEGA DROPDOWN (shared across all pages) ===== */
.mega-dropdown { position: relative; display: inline-flex; align-items: center; }
.mega-trigger {
  background: none; border: none; cursor: pointer;
  font-size: 0.9rem; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 6px; padding: 6px 0;
  font-family: inherit; transition: color 0.25s;
}
.mega-trigger:hover, .mega-trigger.open { color: var(--primary); }
.mega-arrow { font-size: 0.72rem; transition: transform 0.25s; }
.mega-trigger.open .mega-arrow { transform: rotate(180deg); }

.mega-panel {
  position: absolute; top: calc(100% + 10px); left: 50%;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.18);
  border: 1px solid #f0e8d8;
  width: 520px; max-width: 90vw;
  padding: 16px;
  z-index: 5000;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.mega-panel.open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 6px; max-height: 380px; overflow-y: auto;
}
.mega-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px;
  transition: background 0.18s;
  color: var(--text) !important;
}
.mega-item:hover { background: #fff5e6; color: var(--primary) !important; }
.mega-item img {
  width: 38px; height: 38px; object-fit: cover;
  border-radius: 6px; border: 1px solid #f0e8d8; flex-shrink: 0;
  background: #fafafa;
}
.mega-item-name { font-size: 0.82rem; font-weight: 700; color: inherit; display: block; }
.mega-item-count { font-size: 0.7rem; color: var(--text-light); }
.mega-view-all {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 12px; padding: 10px;
  background: var(--primary); color: #fff !important;
  border-radius: 8px; font-size: 0.85rem; font-weight: 700;
  transition: background 0.2s;
}
.mega-view-all:hover { background: var(--primary-light); }

/* Mobile drawer accordion (categories) */
.drawer-accordion { display: flex; flex-direction: column; }
.drawer-accordion-trigger {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; font-size: 1.05rem; font-weight: 700;
  color: #1a0a0a; border: none; background: none;
  border-left: 4px solid transparent;
  border-bottom: 1px solid #f5ede0;
  cursor: pointer; width: 100%; text-align: left;
  font-family: inherit; -webkit-font-smoothing: antialiased;
  transition: background 0.2s, border-color 0.2s;
}
.drawer-accordion-trigger:hover, .drawer-accordion-trigger.open {
  background: #fff5e6; border-left-color: var(--primary);
}
.drawer-accord-arrow { margin-left: auto; font-size: 0.75rem; transition: transform 0.25s; }
.drawer-accordion-trigger.open .drawer-accord-arrow { transform: rotate(180deg); }
.drawer-accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease; background: #fdfaf6;
}
.drawer-accordion-body.open { max-height: 2000px; }
.drawer-sub-link {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px 12px 48px;
  font-size: 0.9rem; font-weight: 600;
  color: var(--text) !important;
  border-bottom: 1px solid #f0e8d8;
  transition: background 0.15s; -webkit-font-smoothing: antialiased;
}
.drawer-sub-link:hover { background: #fff0e0; color: var(--primary) !important; }
.drawer-sub-link i { color: var(--primary); font-size: 0.78rem; }
.drawer-sub-count {
  margin-left: auto; background: var(--primary); color: #fff;
  font-size: 0.68rem; font-weight: 700;
  padding: 2px 7px; border-radius: 50px; min-width: 22px; text-align: center;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a0505 0%, #3d0000 40%, #1a0505 100%);
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(200,148,42,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(178,34,34,0.2) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(200,148,42,0.1) 0%, transparent 40%);
}
/* Firework particles */
.firework-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.fw-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  animation: fwExplode 2.5s ease-out infinite;
}
@keyframes fwExplode {
  0% { opacity: 1; transform: translate(0,0) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0); }
}
.star-burst {
  position: absolute;
  font-size: 2rem;
  animation: starPulse 3s ease-in-out infinite;
  filter: drop-shadow(0 0 10px currentColor);
}
@keyframes starPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  width: 100%;
}
.hero-text .eyebrow {
  display: inline-block;
  background: rgba(200,148,42,0.2);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-text h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero-text h2 .highlight { color: var(--gold); }
.hero-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
  padding: 12px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200,148,42,0.3);
  border-radius: var(--radius);
}
.hero-stat .num { font-size: 1.8rem; font-weight: 800; color: var(--gold); }
.hero-stat .label { font-size: 0.72rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1px; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-logo-wrap {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 2px solid rgba(200,148,42,0.3);
  animation: ringPulse 3s ease-in-out infinite;
}
.hero-logo-ring:nth-child(2) {
  inset: -40px;
  border-color: rgba(200,148,42,0.15);
  animation-delay: 0.5s;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 1; }
}
.hero-logo-img {
  width: 260px;
  height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(200,148,42,0.5));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ===== LEGAL NOTICE SECTION ===== */
.legal-section {
  background: linear-gradient(135deg, #7f1d1d, #991b1b);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}
.legal-section::before {
  content: '⚠️';
  position: absolute;
  font-size: 15rem;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.05;
}
.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.legal-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(10px);
}
.legal-card h3 {
  color: var(--gold-light);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.legal-card ul { display: flex; flex-direction: column; gap: 10px; }
.legal-card ul li {
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.legal-card ul li::before {
  content: '✓';
  color: var(--gold-light);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.legal-card.fraud { border-color: rgba(255,200,0,0.3); background: rgba(255,150,0,0.1); }
.fraud-highlight {
  background: rgba(255,200,0,0.15);
  border: 1px solid rgba(255,200,0,0.3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 16px;
  color: #fef08a;
  font-size: 0.83rem;
  font-weight: 600;
}

/* ===== CATEGORIES SECTION ===== */
.categories-section { padding: 70px 0; background: var(--bg); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.cat-card:hover::before { transform: scaleX(1); }
.cat-emoji { display: none; }
.cat-name { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.cat-count { font-size: 0.75rem; color: var(--text-light); }

/* ===== FEATURED PRODUCTS ===== */
.featured-section { padding: 70px 0; background: var(--bg2); }
.product-table-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.product-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.product-table-header h3 { font-size: 1.1rem; color: var(--primary); font-weight: 700; }
.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.product-table th {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-table td { padding: 11px 16px; border-bottom: 1px solid #f0e8d8; vertical-align: middle; }
.product-table tr:last-child td { border-bottom: none; }
.product-table tr:nth-child(even) td { background: #fafaf5; }
.product-table tr:hover td { background: #fff8ec; }
.sno-cell { color: var(--text-light); font-weight: 600; width: 50px; }
.product-name { font-weight: 600; color: var(--text); }
.mrp-price { color: var(--text-light); text-decoration: line-through; font-size: 0.8rem; }
.our-price { color: var(--primary); font-weight: 700; font-size: 1rem; }
.disc-badge {
  background: #dcfce7;
  color: #15803d;
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
}
.inquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  background: #25D366;
  color: var(--white);
  transition: var(--transition);
  white-space: nowrap;
}
.inquiry-btn:hover { background: #128C7E; }

/* ===== HOW TO ORDER ===== */
.how-order-section { padding: 70px 0; background: var(--bg); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 30px);
  right: calc(12.5% + 30px);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--primary), var(--gold));
}
.step-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}
.step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 4px 15px rgba(139,0,0,0.3);
}
.step-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.step-card p { font-size: 0.82rem; color: var(--text-light); }

/* ===== WHY CHOOSE US ===== */
.why-section { padding: 70px 0; background: var(--bg2); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-icon { font-size: 1.6rem; margin-bottom: 16px; display: block; color: var(--primary); }
.why-card h4 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.why-card p { font-size: 0.85rem; color: var(--text-light); }

/* ===== COMBO PACKS ===== */
.combo-section { padding: 70px 0; background: var(--bg); }
.combo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.combo-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.combo-card.popular {
  border-color: var(--gold);
  background: linear-gradient(to bottom, #fffbf0, var(--white));
}
.combo-popular-badge {
  position: absolute;
  top: 12px;
  right: -20px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 30px;
  transform: rotate(30deg);
}
.combo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.combo-price { font-size: 2rem; font-weight: 800; color: var(--primary); }
.combo-label { font-size: 0.8rem; color: var(--text-light); margin-bottom: 16px; }
.combo-features { font-size: 0.82rem; color: var(--text-light); margin-bottom: 20px; }

/* ===== CONTACT SECTION ===== */
.contact-section { padding: 70px 0; background: var(--bg2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info h3 { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 24px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--white);
}
.contact-item-text strong { display: block; font-size: 0.85rem; color: var(--text-light); margin-bottom: 2px; }
.contact-item-text span, .contact-item-text a { font-size: 1rem; font-weight: 600; color: var(--text); }
.contact-item-text a:hover { color: var(--primary); }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 { font-size: 1.3rem; font-weight: 700; color: var(--primary); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: var(--transition);
  background: var(--bg);
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(200,148,42,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg2);
  color: var(--text);
  border-top: 4px solid var(--primary);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { }
.footer-logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo-img { width: 55px; height: 55px; object-fit: contain; }
.footer-logo-text h3 { font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.footer-logo-text span { font-size: 0.7rem; color: var(--gold-dark); text-transform: uppercase; letter-spacing: 1px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 20px; color: var(--text-light); }
.footer-social { display: flex; gap: 12px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--primary);
  transition: var(--transition);
  cursor: pointer;
}
.social-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

.footer-col h4 { color: var(--primary); font-size: 1rem; font-weight: 700; margin-bottom: 18px; letter-spacing: 0.5px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.84rem;
  color: var(--text-light);
  transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.footer-col ul li a:hover { color: var(--primary); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-light);
}
.footer-bottom a { color: var(--primary); font-weight: 600; }
.footer-legal {
  background: rgba(139, 0, 0, 0.04);
  border-top: 1px solid var(--border);
  padding: 12px 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.wa-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.wa-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 25px rgba(37,211,102,0.5);
  animation: waPulse 2.5s infinite;
  transition: var(--transition);
  cursor: pointer;
}
.wa-btn:hover { transform: scale(1.1); }
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.wa-tooltip {
  background: var(--white);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* ===== PRODUCTS PAGE ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 50px 0 40px;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; }
.page-hero p { font-size: 1rem; opacity: 0.85; }
.breadcrumb { font-size: 0.82rem; opacity: 0.7; margin-top: 12px; }
.breadcrumb a { color: var(--gold-light); }

.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  min-height: 100vh;
}
.sidebar {
  background: var(--white);
  border-right: 1px solid var(--border);
  padding: 0;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow-y: auto;
}
.sidebar-header {
  padding: 20px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  z-index: 1;
}
.sidebar-search { padding: 16px; border-bottom: 1px solid var(--border); }
.sidebar-search input {
  width: 100%;
  padding: 9px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}
.sidebar-search input:focus { border-color: var(--gold); }
.cat-nav { }
.cat-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  cursor: pointer;
  border-bottom: 1px solid #f5efe5;
  transition: var(--transition);
  font-size: 0.85rem;
  font-weight: 500;
}
.cat-nav-item:hover, .cat-nav-item.active {
  background: #fff8ec;
  color: var(--primary);
  font-weight: 700;
  border-left: 3px solid var(--gold);
}
.cat-nav-item .cat-nav-emoji { font-size: 1.1rem; flex-shrink: 0; }
.cat-nav-count {
  margin-left: auto;
  background: var(--bg2);
  color: var(--text-light);
  padding: 1px 8px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
}
.cat-nav-item.active .cat-nav-count { background: var(--gold); color: var(--white); }

.products-main { padding: 30px; }
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.toolbar-search {
  position: relative;
}
.toolbar-search input {
  padding: 10px 16px 10px 40px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.88rem;
  width: 280px;
}
.toolbar-search input:focus { border-color: var(--gold); }
.toolbar-search .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}
.result-count { font-size: 0.85rem; color: var(--text-light); }
.print-btn {
  padding: 9px 18px;
  border-radius: 50px;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}
.print-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

.cat-section { margin-bottom: 40px; }
.cat-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius) var(--radius) 0 0;
  color: var(--white);
}
.cat-section-header .emoji { font-size: 1.5rem; }
.cat-section-header h3 { font-size: 1.05rem; font-weight: 700; }
.cat-section-header span { margin-left: auto; font-size: 0.8rem; opacity: 0.8; }

/* ===== TOAST NOTIFICATION ===== */
.toast {
  position: fixed;
  bottom: 110px;
  right: 30px;
  background: var(--text);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 9999;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { background: var(--success); }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--primary-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .combo-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .products-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .cat-nav { display: flex; overflow-x: auto; flex-direction: row; padding: 8px; gap: 8px; flex-wrap: nowrap; }
  .cat-nav-item { flex-shrink: 0; border-bottom: none; border-radius: var(--radius-sm); background: var(--bg); }
}
@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .header-phone { display: none; }
  .legal-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .combo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .products-main { padding: 16px; }
  .toolbar-search input { width: 200px; }
  
  /* Centered Header Layout for Mobile removed - unified in site-header styles */

  /* Products Page Table to Cards conversion */
  .product-table, 
  .product-table thead, 
  .product-table tbody, 
  .product-table th, 
  .product-table td, 
  .product-table tr {
    display: block !important;
  }
  .product-table tr.d-none {
    display: none !important;
  }
  .product-table thead {
    display: none !important;
  }
  .product-table tr {
    margin-bottom: 20px !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    padding: 16px !important;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.05) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: var(--transition) !important;
  }
  .product-table tr:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.08) !important;
    border-color: var(--gold) !important;
  }
  
  .product-table td {
    padding: 6px 0 !important;
    border: none !important;
    background: transparent !important;
  }
  
  /* Sno hidden */
  .product-table .sno-cell {
    display: none !important;
  }
  
  /* Product Name Cell (Image & Title block) */
  .product-table .product-name {
    margin-bottom: 12px !important;
  }
  .product-table .product-name > div {
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
  }
  .product-table .product-name img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 12px !important;
    border: 1px solid var(--border) !important;
    object-fit: cover !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  }
  .product-table .product-name strong {
    font-size: 1rem !important;
    color: var(--text) !important;
    display: block !important;
    margin-bottom: 4px !important;
    font-weight: 700 !important;
  }
  
  /* Contents, MRP, Our Price, Savings, Actions */
  .product-table td:nth-child(3) { /* Contents */
    font-size: 0.85rem !important;
    color: var(--text-light) !important;
    display: inline-block !important;
    margin-right: 15px !important;
  }
  .product-table td:nth-child(3)::before {
    content: "Pack: " !important;
    font-weight: 600 !important;
    color: var(--text) !important;
  }
  
  .product-table td:nth-child(4) { /* MRP */
    font-size: 0.85rem !important;
    color: var(--text-light) !important;
    text-decoration: line-through !important;
    display: inline-block !important;
    margin-right: 15px !important;
  }
  .product-table td:nth-child(4)::before {
    content: "MRP: " !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    color: var(--text) !important;
  }
  
  .product-table td:nth-child(5) { /* Our Price */
    font-size: 1.1rem !important;
    color: var(--primary) !important;
    font-weight: 800 !important;
    display: block !important;
    margin: 8px 0 !important;
  }
  .product-table td:nth-child(5)::before {
    content: "Our Price: " !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: var(--text) !important;
  }
  
  .product-table td:nth-child(6) { /* Savings */
    display: inline-block !important;
    margin-bottom: 12px !important;
  }
  
  /* Action / Cart controls cell */
  .product-table td:last-child {
    border-top: 1px dashed #f0e2d0 !important;
    padding-top: 12px !important;
    display: block !important;
    width: 100% !important;
  }
  
  .product-table td:last-child > div {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    gap: 10px !important;
  }
  
  /* Touch friendly buttons */
  .qty-btn-row {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.2rem !important;
    border-radius: 8px !important;
  }
  .pos-qty-input-row {
    width: 45px !important;
    height: 36px !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
  }
  .btn-add-cart {
    height: 36px !important;
    font-size: 0.88rem !important;
    border-radius: 8px !important;
    flex-grow: 1 !important;
    justify-content: center !important;
  }
}
@media (max-width: 480px) {
  .hero-text h2 { font-size: 1.8rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .combo-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 1.5rem; }
  .wa-float { bottom: 20px; right: 20px; }
}

/* ===== PRINT STYLES ===== */
@media print {
  .site-header, .wa-float, .scroll-top, .sidebar, .products-toolbar, .inquiry-btn { display: none !important; }
  .products-layout { grid-template-columns: 1fr; }
  .products-main { padding: 0; }
  body { font-size: 12px; }
  .cat-section-header { background: #eee !important; color: #000 !important; print-color-adjust: exact; }
  .product-table th { background: #333 !important; print-color-adjust: exact; }
}
