/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #16a34a;
  --primary-light: #22c55e;
  --primary-dark: #065f46;
  --primary-glow: rgba(22,163,74,0.15);
  --accent: #f59e0b;
  --bg: #f4f6f8;
  --bg-card: #ffffff;
  --bg-sidebar: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 6px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
  --whatsapp: #25d366;
  --navbar-h: 68px;
  --strip-h: 96px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--navbar-h);
  background: rgba(6,47,38,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.brand-logo { width: 40px; height: 40px; flex-shrink: 0; filter: drop-shadow(0 2px 8px rgba(22,163,74,0.4)); }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 1px; }
.brand-name { font-size: 20px; font-weight: 900; color: #ffffff; letter-spacing: -0.5px; }
.brand-tagline { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.55); letter-spacing: 0.8px; text-transform: uppercase; }

.nav-search { flex: 1; max-width: 500px; position: relative; margin: 0 auto; }
.search-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.4); pointer-events: none; width: 16px; height: 16px; }
.nav-search input {
  width: 100%; padding: 11px 18px 11px 42px;
  border: 1.5px solid rgba(255,255,255,0.1); border-radius: 50px;
  background: rgba(255,255,255,0.08); color: #fff;
  font-size: 14px; font-family: inherit; outline: none; transition: all var(--transition);
}
.nav-search input::placeholder { color: rgba(255,255,255,0.38); }
.nav-search input:focus { background: rgba(255,255,255,0.13); border-color: rgba(34,197,94,0.5); box-shadow: 0 0 0 3px rgba(34,197,94,0.12); }

.nav-right { margin-left: auto; flex-shrink: 0; display: flex; align-items: center; gap: 12px; }
.nav-count-badge { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); padding: 5px 12px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.1); }

/* back pill (product.html) */
.back-pill { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); transition: all var(--transition); margin-right: 4px; }
.back-pill:hover { background: rgba(255,255,255,0.18); color: #fff; }
.nav-all-products { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.8); padding: 7px 16px; border-radius: 50px; border: 1.5px solid rgba(255,255,255,0.2); transition: all var(--transition); }
.nav-all-products:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.35); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 40%, #0f766e 100%);
  padding: 48px 24px 40px; position: relative; overflow: hidden;
}
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.hero::after { content: ''; position: absolute; top: -80px; right: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(74,222,128,0.12) 0%, transparent 70%); pointer-events: none; }
.hero-content { max-width: 1440px; margin: 0 auto; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(74,222,128,0.15); border: 1px solid rgba(74,222,128,0.3); color: #4ade80; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 50px; margin-bottom: 14px; letter-spacing: 0.3px; }
.hero-title { font-size: clamp(28px, 4vw, 42px); font-weight: 900; color: #ffffff; line-height: 1.1; letter-spacing: -1px; margin-bottom: 10px; }
.hero-title span { background: linear-gradient(90deg, #4ade80, #86efac); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 15px; color: rgba(255,255,255,0.6); font-weight: 400; letter-spacing: 0.2px; }
.hero-stats { max-width: 1440px; margin: 28px auto 0; display: flex; align-items: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 16px 28px; width: fit-content; position: relative; z-index: 1; backdrop-filter: blur(10px); }
.stat { text-align: center; padding: 0 24px; }
.stat-num { display: block; font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.stat-label { font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 500; text-transform: uppercase; letter-spacing: 0.6px; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.12); }

/* ===== CATEGORY STRIP (Krave Mart style) ===== */
.category-strip-wrap {
  position: sticky;
  top: var(--navbar-h);
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.category-strip {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.category-strip::-webkit-scrollbar { display: none; }

.cat-strip-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
  min-width: 68px;
  padding: 6px 4px;
  border-radius: 12px;
  transition: background var(--transition);
}
.cat-strip-chip:hover { background: #f0fdf4; }
.cat-strip-chip.active { background: #dcfce7; }

.cat-strip-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f0fdf4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2.5px solid transparent;
  transition: border-color var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.cat-strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.cat-strip-img svg { width: 28px; height: 28px; flex-shrink: 0; }
.cat-strip-img--all { background: #f0fdf4; }
.cat-strip-chip.active .cat-strip-img { border-color: var(--primary); transform: scale(1.06); box-shadow: 0 0 0 3px rgba(22,163,74,0.15); }
.cat-strip-chip:hover:not(.active) .cat-strip-img { border-color: #86efac; }

.cat-strip-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
  transition: color var(--transition);
}
.cat-strip-chip.active .cat-strip-label { color: var(--primary); font-weight: 700; }

/* ===== SHOP LAYOUT ===== */
.shop-layout {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  min-height: 60vh;
  padding: 0 0 80px;
}

/* ===== SUB SIDEBAR ===== */
.sub-sidebar {
  width: 0;
  overflow: hidden;
  background: #fff;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
  transition: width 0.28s cubic-bezier(0.4,0,0.2,1);
  position: sticky;
  top: calc(var(--navbar-h) + var(--strip-h));
  align-self: flex-start;
  max-height: calc(100vh - var(--navbar-h) - var(--strip-h));
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.sub-sidebar.visible { width: 90px; }

.sub-sidebar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 12px 6px;
  cursor: pointer;
  transition: background var(--transition);
  border-left: 3px solid transparent;
}
.sub-sidebar-item:hover { background: #f0fdf4; }
.sub-sidebar-item.active {
  background: #dcfce7;
  border-left-color: var(--primary);
}

.sub-sidebar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f0fdf4;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
  flex-shrink: 0;
}
.sub-sidebar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.sub-sidebar-img svg { width: 26px; height: 26px; }
.sub-sidebar-item.active .sub-sidebar-img { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22,163,74,0.15); }

.sub-sidebar-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
  word-break: break-word;
  max-width: 74px;
}
.sub-sidebar-item.active .sub-sidebar-label { color: var(--primary); font-weight: 700; }

/* ===== PRODUCTS AREA ===== */
.products-area {
  flex: 1;
  min-width: 0;
  padding: 20px 24px;
}

/* Section heading */
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 8px;
}
.section-heading-left { display: flex; align-items: center; gap: 6px; }
.section-cat { font-size: 13px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; }
.section-arrow { font-size: 14px; color: var(--text-light); }
.section-sub { font-size: 15px; font-weight: 700; color: var(--text); }
.section-count { font-size: 12px; font-weight: 600; color: var(--text-muted); background: var(--bg); border: 1px solid var(--border); padding: 3px 10px; border-radius: 50px; }

/* ===== HOME GRID (categories list) ===== */
.home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.home-cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-xs);
}
.home-cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #86efac; }

.home-cat-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f0fdf4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid #dcfce7;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.home-cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.home-cat-img svg { width: 34px; height: 34px; }
.home-cat-card:hover .home-cat-img { border-color: var(--primary); transform: scale(1.05); }

.home-cat-info { flex: 1; min-width: 0; }
.home-cat-name { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.home-cat-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.home-cat-subs { display: flex; flex-wrap: wrap; gap: 5px; }
.home-sub-pill { font-size: 11px; font-weight: 500; color: var(--primary-dark); background: #dcfce7; border: 1px solid #86efac; padding: 2px 8px; border-radius: 50px; }

.home-cat-arrow { color: var(--text-light); flex-shrink: 0; }
.home-cat-card:hover .home-cat-arrow { color: var(--primary); }

/* Circle fallback styles */
.circle-letter {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.circle-broken { background: #f0fdf4; }

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.34,1.2,0.64,1), box-shadow 0.28s ease;
  animation: fadeInUp 0.35s ease both;
  position: relative;
}
.product-card::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); border: 2px solid transparent; transition: border-color var(--transition); pointer-events: none; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card:hover::after { border-color: rgba(22,163,74,0.2); }

.card-image-wrap { position: relative; aspect-ratio: 1; overflow: hidden; background: linear-gradient(135deg, #f0fdf4, #f8fafc); }
.card-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.4,0,0.2,1); position: absolute; top: 0; left: 0; }
.card-image-wrap img.img-back { opacity: 0; }
.product-card:hover .card-image-wrap img.img-front { opacity: 0; transform: scale(1.06); }
.product-card:hover .card-image-wrap img.img-back { opacity: 1; transform: scale(1.06); }

.card-image-count { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.5); color: #fff; font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 50px; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; gap: 3px; }

.card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,47,38,0.7) 0%, transparent 50%); opacity: 0; transition: opacity var(--transition); display: flex; align-items: flex-end; padding: 14px; }
.product-card:hover .card-overlay { opacity: 1; }
.card-overlay-btn { width: 100%; padding: 9px; background: #fff; color: var(--primary-dark); border: none; border-radius: var(--radius-sm); font-size: 13px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; transition: background var(--transition); }
.card-overlay-btn:hover { background: #f0fdf4; }

.card-body { padding: 12px 14px 14px; }
.card-sub { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--primary); margin-bottom: 4px; }
.card-title { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 10px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-cat-tag { font-size: 11px; font-weight: 600; color: var(--text-muted); background: var(--bg); padding: 3px 8px; border-radius: 50px; border: 1px solid var(--border); }
.card-btn { display: flex; align-items: center; gap: 5px; padding: 7px 12px; background: var(--primary); color: #fff; border: none; border-radius: var(--radius-xs); font-size: 12px; font-weight: 700; cursor: pointer; transition: all var(--transition); white-space: nowrap; }
.card-btn:hover { background: var(--primary-light); transform: scale(1.03); }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.empty-illustration { margin-bottom: 20px; display: flex; justify-content: center; }
.empty-state h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.empty-state p { font-size: 14px; margin-bottom: 24px; }
.empty-state button { padding: 11px 28px; background: var(--primary); color: #fff; border: none; border-radius: 50px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all var(--transition); box-shadow: 0 4px 14px rgba(22,163,74,0.3); }
.empty-state button:hover { background: var(--primary-light); transform: translateY(-1px); }

/* ===== FOOTER ===== */
.footer { background: var(--primary-dark); padding: 28px 24px; }
.footer-inner { max-width: 1440px; margin: 0 auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: #fff; }
.footer p { font-size: 13px; color: rgba(255,255,255,0.45); margin-left: auto; }

/* ===== PRODUCT DETAIL PAGE ===== */
.detail-page { max-width: 1100px; margin: 0 auto; padding: 28px 24px 80px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-light); margin-bottom: 28px; flex-wrap: wrap; }
.breadcrumb a { color: var(--primary); font-weight: 500; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary-dark); }
.breadcrumb span { color: var(--text-light); }
.detail-container { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }

.gallery-section { width: 100%; }
.main-image-wrap { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #f0fdf4, #f8fafc); box-shadow: var(--shadow-lg); margin-bottom: 14px; border: 1px solid var(--border); }
.main-image { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.95); border: 1px solid var(--border); width: 42px; height: 42px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); transition: all var(--transition); z-index: 2; color: var(--text); }
.slider-btn:hover { background: #fff; transform: translateY(-50%) scale(1.1); box-shadow: var(--shadow-lg); }
.prev-btn { left: 14px; }
.next-btn { right: 14px; }
.slider-btn.hidden { display: none; }
.image-counter { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; background: rgba(0,0,0,0.3); padding: 5px 10px; border-radius: 50px; backdrop-filter: blur(8px); }
.counter-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.45); transition: all var(--transition); cursor: pointer; }
.counter-dot.active { background: #fff; transform: scale(1.4); }
.thumbnails { display: flex; gap: 10px; flex-wrap: wrap; }
.thumb { width: 76px; height: 76px; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; border: 2.5px solid var(--border); transition: all var(--transition); flex-shrink: 0; background: var(--bg); }
.thumb:hover { border-color: var(--primary-light); transform: scale(1.05); }
.thumb.active { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22,163,74,0.2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info-section { width: 100%; }
.product-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 50px; font-size: 12px; font-weight: 700; letter-spacing: 0.2px; }
.badge-category { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.badge-sub { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.product-title { font-size: clamp(22px, 3vw, 32px); font-weight: 900; color: var(--text); line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 18px; }
.product-meta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.meta-row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-muted); padding: 8px 12px; background: var(--bg); border-radius: var(--radius-xs); border: 1px solid var(--border-light); }
.meta-row strong { color: var(--text); font-weight: 600; min-width: 90px; }
.divider { height: 1px; background: var(--border); margin: 22px 0; }
.product-description h4 { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.product-description h4 svg { color: var(--primary); }
.product-description p { font-size: 14px; color: var(--text-muted); line-height: 1.75; }
.feature-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.feature-item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text-muted); font-weight: 500; }
.whatsapp-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 17px; background: linear-gradient(135deg, #25d366, #20ba5a); color: #fff; border: none; border-radius: var(--radius); font-size: 16px; font-weight: 800; cursor: pointer; transition: all var(--transition); box-shadow: 0 6px 24px rgba(37,211,102,0.35); letter-spacing: 0.2px; position: relative; overflow: hidden; }
.whatsapp-btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent); pointer-events: none; }
.whatsapp-btn:hover { background: linear-gradient(135deg, #20ba5a, #128c7e); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(37,211,102,0.45); }
.whatsapp-btn:active { transform: translateY(0); }
.whatsapp-hint { display: flex; align-items: center; justify-content: center; gap: 5px; text-align: center; font-size: 12px; color: var(--text-light); margin-top: 10px; }

/* ===== FLOATING BUTTONS ===== */
.floating-btns { position: fixed; bottom: 28px; right: 24px; z-index: 999; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab { display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; text-decoration: none; transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease, opacity 0.25s ease; }
.fab-top { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-card); color: var(--text); box-shadow: 0 4px 16px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.08); border: 1.5px solid var(--border); opacity: 0; pointer-events: none; transform: translateY(12px); }
.fab-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab-top:hover { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 6px 20px rgba(22,163,74,0.35); transform: translateY(-3px); }
.fab-whatsapp { position: relative; width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, #25d366, #20ba5a); color: #fff; padding: 0; gap: 0; box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.1); overflow: visible; flex-shrink: 0; }
.fab-whatsapp .fab-label { display: none; }
.fab-whatsapp:hover { box-shadow: 0 10px 32px rgba(37,211,102,0.55); transform: translateY(-3px) scale(1.08); }
.fab-whatsapp::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(37,211,102,0.5); animation: waPulse 2.5s ease-out infinite; pointer-events: none; }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.7; } 70% { transform: scale(1.6); opacity: 0; } 100% { transform: scale(1.6); opacity: 0; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

@media (max-width: 768px) {
  .hero { padding: 32px 16px 28px; }
  .hero-stats { padding: 12px 16px; }
  .stat { padding: 0 14px; }
  .stat-num { font-size: 20px; }
  .products-area { padding: 14px 14px; }
  .home-cat-card { padding: 12px 14px; }
  .home-cat-img { width: 54px; height: 54px; }
  .home-cat-name { font-size: 15px; }
  .products-grid { grid-template-columns: repeat(1, 1fr); gap: 12px; }
  .sub-sidebar.visible { width: 76px; }
  .sub-sidebar-img { width: 46px; height: 46px; }
}

@media (max-width: 600px) {
  .nav-search { display: none; }
  .hero-title { font-size: 26px; }
  .brand-tagline { display: none; }
  .nav-container { padding: 0 16px; gap: 12px; }
  .floating-btns { bottom: 20px; right: 16px; }
  .fab-top { width: 40px; height: 40px; }
  .fab-whatsapp { width: 50px; height: 50px; }
  .detail-container { grid-template-columns: 1fr; gap: 28px; }
  .product-title { font-size: 24px; }
  .detail-page { padding: 20px 16px 60px; }
}

@media (max-width: 400px) {
  .hero-stats { flex-direction: column; gap: 10px; padding: 14px 20px; }
  .stat-divider { display: none; }
  .home-cat-subs { display: none; }
}