/*
Theme Name:  Haizum Starter
Theme URI:   https://haizum.com
Author:      Haizum Agency
Author URI:  https://haizum.com
Description: WhatsApp-first WooCommerce starter theme for small Indian businesses. Customers browse, add to cart, and order via WhatsApp — no payment gateway needed. Perfect for perfume shops, boutiques, grocery stores, gift shops, Islamic stores, and small fashion brands. Haizum Starter Plan ₹599/month.
Version:     1.0.0
Requires at least: 6.2
Tested up to:      6.6
WC requires at least: 8.0
WC tested up to:      9.0
Requires PHP:  8.0
License:       GNU General Public License v2 or later
License URI:   https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:   haizum-starter
Tags:          woocommerce, whatsapp, small-business, india, starter, lightweight, mobile-first
*/

/* ══════════════════════════════════════════════════════
   HAIZUM STARTER — CLEAN MODERN DESIGN SYSTEM v1.0
   WhatsApp-First · Small Business · India · Mobile
   ══════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ──────────────────────────────────── */
:root {
  /* ── PRIMARY BRAND COLOR
     Change this ONE value to rebrand for any client.
     Default: Teal/Emerald — works for most small shops */
  --brand:        #16a34a;   /* Green — change this */
  --brand-dark:   #15803d;   /* Darker shade */
  --brand-light:  #dcfce7;   /* Very light tint */
  --brand-mid:    rgba(22,163,74,0.15);

  /* ── WHATSAPP COLORS — never change these */
  --wa:           #25D366;
  --wa-dark:      #1fbc59;
  --wa-glow:      rgba(37,211,102,0.25);

  /* ── NEUTRALS */
  --white:    #ffffff;
  --off-white:#f8fafc;
  --gray-50:  #f1f5f9;
  --gray-100: #e2e8f0;
  --gray-200: #cbd5e1;
  --gray-300: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;

  /* ── TYPOGRAPHY */
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;

  /* ── SPACING */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:20px;
  --s6:24px; --s8:32px; --s10:40px; --s12:48px; --s16:64px;
  --s20:80px; --s24:96px;

  /* ── RADIUS */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-pill:9999px;

  /* ── SHADOWS */
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.10);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 28px rgba(0,0,0,0.14);

  /* ── LAYOUT */
  --max-w:    1200px;
  --header-h: 64px;
  --bar-h:    38px;
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); color: var(--gray-900); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.75rem,4vw,2.5rem); }
h2 { font-size: clamp(1.4rem,3vw,2rem); }
h3 { font-size: clamp(1.1rem,2vw,1.4rem); }
p  { color: var(--gray-500); line-height: 1.7; }

/* ── LAYOUT ──────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--s5); }
@media (max-width: 640px) { .container { padding: 0 var(--s4); } }

.section    { padding: var(--s16) 0; }
.section-sm { padding: var(--s12) 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--s4); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s4); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s4); }

@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 768px)  { .grid-3 { grid-template-columns: repeat(2,1fr); } .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 360px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ── SECTION HEADER ─────────────────────────────────── */
.section-header { text-align: center; margin-bottom: var(--s10); }
.section-header h2 { margin-bottom: var(--s3); }
.section-header p  { font-size: 0.9rem; max-width: 480px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand);
  background: var(--brand-light); padding: 4px 12px;
  border-radius: var(--r-pill); margin-bottom: var(--s3);
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s2); font-family: var(--font-head);
  font-size: 0.85rem; font-weight: 600; padding: 11px 24px;
  border-radius: var(--r-pill); cursor: pointer;
  transition: all 200ms ease; white-space: nowrap;
  line-height: 1; border: none; text-decoration: none;
}

/* Primary */
.btn-primary { background: var(--brand); color: var(--white); box-shadow: 0 3px 10px var(--brand-mid); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 5px 16px var(--brand-mid); }

/* WhatsApp — the most important button */
.btn-whatsapp {
  background: var(--wa); color: var(--white);
  box-shadow: 0 3px 12px var(--wa-glow);
  font-size: 0.9rem; font-weight: 700;
  padding: 13px 28px;
}
.btn-whatsapp:hover { background: var(--wa-dark); transform: translateY(-2px); box-shadow: 0 6px 20px var(--wa-glow); }
.btn-whatsapp:active { transform: translateY(0); }
.btn-whatsapp svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

.btn-whatsapp-lg {
  font-size: 1rem; padding: 16px 36px;
  border-radius: var(--r-lg);
}

/* Outline */
.btn-outline { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn-outline:hover { background: var(--brand); color: var(--white); }

/* Ghost */
.btn-ghost { background: var(--gray-50); color: var(--gray-700); border: 1px solid var(--gray-200); }
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-900); }

/* Sizes */
.btn-sm  { padding: 8px 18px; font-size: 0.8rem; }
.btn-lg  { padding: 14px 32px; font-size: 0.95rem; }
.btn-xl  { padding: 16px 40px; font-size: 1rem; }
.btn-block { width: 100%; }

/* WhatsApp icon SVG inline helper */
.wa-icon { display: inline-flex; align-items: center; }

/* ── BADGES ──────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 2px 8px;
  border-radius: var(--r-pill); font-size: 0.65rem;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4;
}
.badge-sale   { background: #ef4444; color: #fff; }
.badge-new    { background: var(--brand); color: #fff; }
.badge-hot    { background: #f97316; color: #fff; }
.badge-instock   { background: #dcfce7; color: #15803d; }
.badge-outstock  { background: var(--gray-100); color: var(--gray-500); border: 1px solid var(--gray-200); }

/* ── ANNOUNCEMENT BAR ────────────────────────────────── */
.announce-bar {
  background: var(--gray-900);
  height: var(--bar-h);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 201;
}
.announce-inner {
  max-width: var(--max-w); width: 100%; padding: 0 var(--s5);
  display: flex; align-items: center; justify-content: space-between;
}
.announce-text {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: var(--s8); font-size: 0.75rem; font-weight: 500; color: rgba(255,255,255,0.8);
}
.announce-text span { display: flex; align-items: center; gap: var(--s2); white-space: nowrap; }
.announce-text .highlight { color: #4ade80; font-weight: 700; }
.announce-sep { color: rgba(255,255,255,0.3); }
.announce-wa-btn {
  font-size: 0.72rem; font-weight: 700; color: var(--wa);
  display: flex; align-items: center; gap: 4px; white-space: nowrap; flex-shrink: 0;
  transition: color 150ms;
}
.announce-wa-btn:hover { color: #4ade80; }
@media (max-width: 640px) {
  .announce-text span:not(:first-child) { display: none; }
  .announce-sep { display: none; }
  .announce-wa-btn { display: none; }
}

/* ── HEADER ──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-xs);
}
.header-inner {
  display: flex; align-items: center;
  height: 100%; gap: var(--s4);
}

/* Logo */
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 36px; width: auto; }
.logo-text {
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 800;
  color: var(--gray-900); letter-spacing: -0.02em;
}
.logo-text span { color: var(--brand); }

/* Nav */
.header-nav { flex: 1; display: flex; align-items: center; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: var(--s1); }
.nav-list > li > a {
  display: block; padding: var(--s2) var(--s3);
  font-size: 0.85rem; font-weight: 500; color: var(--gray-700);
  border-radius: var(--r-sm); transition: all 150ms;
}
.nav-list > li > a:hover,
.nav-list > li.current-menu-item > a { color: var(--brand); background: var(--brand-light); }

/* Dropdown */
.nav-list .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 180px; background: var(--white);
  border: 1px solid var(--gray-100); border-radius: var(--r-md);
  padding: var(--s2); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: all 200ms ease; z-index: 300;
}
.nav-list > li { position: relative; }
.nav-list > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-list .sub-menu li a {
  display: block; padding: var(--s2) var(--s3);
  font-size: 0.83rem; color: var(--gray-700); border-radius: var(--r-sm);
  transition: all 150ms;
}
.nav-list .sub-menu li a:hover { background: var(--gray-50); color: var(--brand); }

/* Right actions */
.header-actions { display: flex; align-items: center; gap: var(--s2); flex-shrink: 0; }
.header-icon {
  width: 40px; height: 40px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-700); transition: all 150ms; position: relative;
  cursor: pointer;
}
.header-icon:hover { background: var(--gray-50); color: var(--brand); }
.header-icon svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: 4px; right: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand); color: var(--white);
  font-size: 9px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* WhatsApp header button */
.header-wa {
  display: flex; align-items: center; gap: var(--s2);
  background: var(--wa); color: var(--white);
  padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 0.78rem; font-weight: 700;
  transition: all 200ms; flex-shrink: 0;
}
.header-wa:hover { background: var(--wa-dark); transform: scale(1.02); }
.header-wa svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* Mobile toggle */
.menu-toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; width: 40px; height: 40px; border-radius: var(--r-md);
  padding: 10px 9px; transition: background 150ms;
}
.menu-toggle:hover { background: var(--gray-50); }
.menu-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--gray-700); border-radius: 2px;
  transition: all 200ms ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-wa  { display: none; }
  .menu-toggle { display: flex; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; top: calc(var(--bar-h) + var(--header-h)); left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md); z-index: 199;
  display: none; flex-direction: column; padding: var(--s4);
  gap: var(--s1);
}
.mobile-menu.open { display: flex; }
.mobile-menu li a {
  display: block; padding: var(--s3) var(--s4);
  font-size: 0.95rem; font-weight: 500; color: var(--gray-700);
  border-radius: var(--r-sm); border-bottom: 1px solid var(--gray-50);
  transition: all 150ms;
}
.mobile-menu li a:hover { color: var(--brand); background: var(--brand-light); }
.mobile-menu .mobile-wa {
  margin-top: var(--s3); padding: var(--s3);
  background: var(--wa); color: var(--white);
  border-radius: var(--r-md); text-align: center;
  font-weight: 700; display: flex; align-items: center; justify-content: center; gap: var(--s2);
}

/* ── HERO BANNER ─────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 100%);
  position: relative; overflow: hidden; min-height: 420px;
  display: flex; align-items: center;
}
@media (max-width: 640px) { .hero-section { min-height: 360px; } }

.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.15) 100%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 580px; padding: var(--s12) 0;
}
.hero-tag {
  display: inline-block; background: var(--brand); color: var(--white);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: var(--r-pill); margin-bottom: var(--s5);
}
.hero-title { color: var(--white); font-size: clamp(1.8rem,4.5vw,3rem); margin-bottom: var(--s4); }
.hero-sub   { color: rgba(255,255,255,0.8); font-size: 0.95rem; line-height: 1.7; margin-bottom: var(--s8); max-width: 440px; }
.hero-btns  { display: flex; gap: var(--s4); flex-wrap: wrap; }

/* ── CATEGORY CARDS ──────────────────────────────────── */
.cat-card {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  cursor: pointer; aspect-ratio: 4/5; background: var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform 250ms ease, box-shadow 250ms ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 350ms ease;
}
.cat-card:hover img { transform: scale(1.05); }
.cat-card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0) 100%);
  padding: var(--s8) var(--s4) var(--s4);
}
.cat-card-name { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.cat-card-count { color: rgba(255,255,255,0.7); font-size: 0.75rem; }

/* ── PRODUCT CARDS ───────────────────────────────────── */
.product-grid  { display: grid; gap: var(--s4); }
.product-grid-3 { grid-template-columns: repeat(3,1fr); }
.product-grid-4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 1024px) { .product-grid-4 { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 768px)  { .product-grid-3, .product-grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 400px)  { .product-grid-3, .product-grid-4 { grid-template-columns: 1fr; } }

.product-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gray-200); }

.product-thumb {
  position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--gray-50);
}
.product-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 300ms ease;
}
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-badges { position: absolute; top: var(--s2); left: var(--s2); display: flex; flex-direction: column; gap: 3px; z-index: 2; }

/* WhatsApp quick-buy button — appears on hover */
.product-wa-quick {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--wa); color: var(--white);
  font-size: 0.78rem; font-weight: 700; text-align: center;
  padding: var(--s3);
  transform: translateY(100%);
  transition: transform 220ms ease;
  display: flex; align-items: center; justify-content: center; gap: var(--s2);
}
.product-wa-quick svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.product-card:hover .product-wa-quick { transform: translateY(0); }

.product-info { padding: var(--s4); }
.product-cat {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 4px;
}
.product-name {
  font-size: 0.88rem; font-weight: 600; color: var(--gray-900);
  line-height: 1.35; margin-bottom: var(--s2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-name a { color: inherit; }
.product-name a:hover { color: var(--brand); }
.product-price {
  font-size: 1rem; font-weight: 800; color: var(--gray-900);
}
.product-price-old {
  font-size: 0.82rem; color: var(--gray-300); text-decoration: line-through; margin-left: 4px;
}
.product-add-btn {
  margin-top: var(--s3); width: 100%;
  background: var(--gray-900); color: var(--white);
  font-size: 0.78rem; font-weight: 600; padding: 9px;
  border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; gap: var(--s2);
  cursor: pointer; transition: all 200ms; border: none; font-family: inherit;
}
.product-add-btn:hover { background: var(--brand); }
.product-add-btn svg { width: 14px; height: 14px; }

/* ── WHY CHOOSE US ───────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s6); }
@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; gap: var(--s4); } }

.feature-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--r-lg); padding: var(--s6);
  text-align: center; box-shadow: var(--shadow-xs);
  transition: transform 250ms, box-shadow 250ms;
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.feature-icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  background: var(--brand-light); margin: 0 auto var(--s4);
  display: flex; align-items: center; justify-content: center; color: var(--brand);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h4 { font-size: 0.95rem; margin-bottom: var(--s2); color: var(--gray-900); }
.feature-card p  { font-size: 0.82rem; color: var(--gray-500); line-height: 1.6; }

/* ── ABOUT SECTION ───────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s10); align-items: center; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }
.about-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); margin-bottom: var(--s3); }
.about-text h2 { margin-bottom: var(--s4); }
.about-text p  { font-size: 0.88rem; line-height: 1.75; margin-bottom: var(--s6); }
.about-stats { display: flex; gap: var(--s8); margin-bottom: var(--s6); }
.about-stat-val { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--brand); line-height: 1; }
.about-stat-lbl { font-size: 0.75rem; color: var(--gray-500); margin-top: 2px; }

/* ── TESTIMONIALS ────────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s5); }
@media (max-width: 1024px) { .testi-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .testi-grid { grid-template-columns: 1fr; } }

.testi-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--r-lg); padding: var(--s6); box-shadow: var(--shadow-xs);
  transition: box-shadow 250ms, transform 250ms;
}
.testi-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.testi-stars { display: flex; gap: 2px; color: #f59e0b; margin-bottom: var(--s4); }
.testi-stars svg { width: 14px; height: 14px; fill: currentColor; }
.testi-text { font-size: 0.85rem; color: var(--gray-700); line-height: 1.7; margin-bottom: var(--s5); font-style: italic; }
.testi-author { display: flex; align-items: center; gap: var(--s3); }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
  background: var(--brand-light); display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; font-weight: 700; color: var(--brand); flex-shrink: 0;
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-name { font-size: 0.85rem; font-weight: 700; color: var(--gray-900); }
.testi-location { font-size: 0.73rem; color: var(--gray-400); }

/* ── WHATSAPP CTA BANNER ─────────────────────────────── */
.wa-banner {
  background: linear-gradient(135deg, #064e24 0%, #065f2e 100%);
  position: relative; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.wa-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
}
.wa-banner-content {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s8); padding: var(--s12) 0;
}
@media (max-width: 768px) { .wa-banner-content { flex-direction: column; text-align: center; gap: var(--s6); } }
.wa-banner-icon { color: var(--wa); flex-shrink: 0; }
.wa-banner-icon svg { width: 64px; height: 64px; fill: currentColor; }
.wa-banner-text h2 { color: #fff; font-size: clamp(1.3rem,3vw,1.9rem); margin-bottom: var(--s3); }
.wa-banner-text p  { color: rgba(255,255,255,0.75); font-size: 0.9rem; line-height: 1.6; }
.wa-banner-action { flex-shrink: 0; }

/* Pulse animation on the WA button */
@keyframes waPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
  50%      { box-shadow: 0 0 0 12px rgba(37,211,102,0.2); }
}
.btn-whatsapp.pulse { animation: waPulse 2.5s ease infinite; }

/* ── FOOTER ──────────────────────────────────────────── */
.site-footer { background: var(--gray-900); color: rgba(255,255,255,0.7); }
.footer-top { padding: var(--s12) 0 var(--s8); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: var(--s10); }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); } }
@media (max-width: 640px)  { .footer-grid { grid-template-columns: 1fr; gap: var(--s6); } }

.footer-brand .logo-text { color: #fff; display: block; margin-bottom: var(--s4); }
.footer-brand p { font-size: 0.83rem; line-height: 1.75; margin-bottom: var(--s5); max-width: 260px; }
.footer-social { display: flex; gap: var(--s2); }
.footer-social a {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7); display: flex; align-items: center; justify-content: center;
  transition: all 150ms;
}
.footer-social a svg { width: 15px; height: 15px; }
.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.footer-col h5 {
  color: #fff; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: var(--s4);
}
.footer-links { display: flex; flex-direction: column; gap: var(--s2); }
.footer-links a {
  font-size: 0.82rem; color: rgba(255,255,255,0.65); transition: color 150ms;
  display: flex; align-items: center; gap: 4px;
}
.footer-links a:hover { color: var(--brand); }

.footer-contact { display: flex; flex-direction: column; gap: var(--s3); }
.footer-contact-item {
  display: flex; gap: var(--s3); align-items: flex-start;
  font-size: 0.82rem; color: rgba(255,255,255,0.65);
}
.footer-contact-item svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: var(--brand); }
.footer-contact-item a { color: rgba(255,255,255,0.65); transition: color 150ms; }
.footer-contact-item a:hover { color: var(--wa); }

.footer-bottom {
  padding: var(--s5) 0; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--s4);
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin: 0; }
.footer-bottom-links { display: flex; gap: var(--s5); }
.footer-bottom-links a { font-size: 0.75rem; color: rgba(255,255,255,0.45); transition: color 150ms; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* ── WOOCOMMERCE OVERRIDES ───────────────────────────── */
/* Remove WC default styles */

/* Notices */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
  border-radius: var(--r-md) !important;
  border: none !important;
  padding: var(--s3) var(--s5) !important;
  font-size: 0.85rem !important;
  margin-bottom: var(--s4) !important;
}
.woocommerce-message { background: #dcfce7 !important; border-left: 3px solid var(--brand) !important; color: var(--brand) !important; }
.woocommerce-error   { background: #fee2e2 !important; border-left: 3px solid #ef4444 !important; color: #b91c1c !important; }
.woocommerce-info    { background: #dbeafe !important; border-left: 3px solid #3b82f6 !important; color: #1d4ed8 !important; }

/* Hide WC payment/checkout from cart */
.woocommerce-cart .wc-proceed-to-checkout,
.woocommerce-cart .checkout-button { display: none !important; }

/* Product loop */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3,1fr) !important;
  gap: var(--s4) !important;
  margin: 0 !important; padding: 0 !important; list-style: none !important;
}
@media (max-width: 768px) { .woocommerce ul.products { grid-template-columns: repeat(2,1fr) !important; } }
@media (max-width: 400px) { .woocommerce ul.products { grid-template-columns: 1fr !important; } }
.woocommerce ul.products li.product { margin: 0 !important; padding: 0 !important; }

/* WC buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--gray-900) !important; color: #fff !important;
  border-radius: var(--r-sm) !important; border: none !important;
  font-weight: 600 !important; font-size: 0.83rem !important;
  font-family: var(--font-body) !important;
  transition: background 200ms !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--brand) !important; }

/* Single product gallery */
.woocommerce-product-gallery { border-radius: var(--r-lg) !important; overflow: hidden !important; }

/* Cart table */
.woocommerce table.shop_table {
  border: 1px solid var(--gray-100) !important;
  border-radius: var(--r-lg) !important; overflow: hidden !important;
}
.woocommerce table.shop_table th {
  background: var(--gray-50) !important; color: var(--gray-500) !important;
  font-size: 0.73rem !important; text-transform: uppercase !important;
  letter-spacing: 0.06em !important; border: none !important;
  padding: var(--s3) var(--s5) !important;
}
.woocommerce table.shop_table td {
  border-color: var(--gray-100) !important;
  padding: var(--s4) var(--s5) !important;
  vertical-align: middle !important;
  color: var(--gray-700) !important;
}
.woocommerce table.shop_table td.product-name { font-weight: 600 !important; color: var(--gray-900) !important; }
.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal { font-weight: 700 !important; color: var(--gray-900) !important; }

/* Cart totals */
.woocommerce .cart_totals {
  background: var(--gray-50) !important;
  border: 1px solid var(--gray-100) !important;
  border-radius: var(--r-lg) !important;
  padding: var(--s6) !important;
}
.woocommerce .cart_totals h2 { font-size: 1rem !important; margin-bottom: var(--s4) !important; }
.woocommerce .cart_totals table { border: none !important; }
.woocommerce .cart_totals table td,
.woocommerce .cart_totals table th {
  border: none !important;
  border-bottom: 1px solid var(--gray-100) !important;
  padding: var(--s3) 0 !important;
  font-size: 0.88rem !important;
}
.woocommerce .cart_totals .order-total td,
.woocommerce .cart_totals .order-total th {
  font-size: 1rem !important; font-weight: 800 !important; color: var(--gray-900) !important;
}

/* Qty input */
.woocommerce .quantity input.qty {
  background: var(--white) !important; border: 1px solid var(--gray-200) !important;
  border-radius: var(--r-sm) !important; color: var(--gray-900) !important;
  font-weight: 700 !important; text-align: center !important;
  width: 64px !important; padding: 8px !important;
}

/* Breadcrumb */
.woocommerce-breadcrumb {
  padding: var(--s3) 0 !important; font-size: 0.78rem !important;
  color: var(--gray-400) !important; margin-bottom: var(--s5) !important;
}
.woocommerce-breadcrumb a { color: var(--gray-500) !important; }
.woocommerce-breadcrumb a:hover { color: var(--brand) !important; }

/* Sale badge */
.woocommerce span.onsale {
  background: #ef4444 !important; border-radius: var(--r-pill) !important;
  font-size: 0.7rem !important; font-weight: 700 !important; top: 8px !important; left: 8px !important;
  min-width: auto !important; padding: 3px 9px !important;
  line-height: 1.4 !important; height: auto !important;
}

/* Star ratings */
.star-rating { color: #f59e0b !important; }
.woocommerce-product-rating { margin-bottom: var(--s4) !important; }

/* Pagination */
.woocommerce-pagination { margin-top: var(--s10) !important; }
.woocommerce-pagination ul { display: flex !important; gap: var(--s2) !important; list-style: none !important; justify-content: center !important; }
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex !important; align-items: center !important; justify-content: center !important;
  width: 36px !important; height: 36px !important;
  border-radius: var(--r-sm) !important;
  background: var(--white) !important;
  border: 1px solid var(--gray-200) !important;
  color: var(--gray-700) !important;
  font-size: 0.83rem !important;
  transition: all 150ms !important;
  text-decoration: none !important;
}
.woocommerce-pagination ul li a:hover { background: var(--brand) !important; border-color: var(--brand) !important; color: #fff !important; }
.woocommerce-pagination ul li span.current { background: var(--brand) !important; border-color: var(--brand) !important; color: #fff !important; font-weight: 700 !important; }

/* ── CART PAGE (CUSTOM) ──────────────────────────────── */
.cart-wrap { padding: var(--s12) 0 var(--s20); }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: var(--s8); align-items: start; }
@media (max-width: 1024px) { .cart-layout { grid-template-columns: 1fr; } }

.cart-sidebar {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--r-xl); padding: var(--s6);
  position: sticky; top: calc(var(--header-h) + var(--bar-h) + var(--s4));
  box-shadow: var(--shadow-sm);
}
.cart-sidebar h3 { font-size: 1rem; margin-bottom: var(--s5); }
.cart-total-row { display: flex; justify-content: space-between; padding: var(--s3) 0; border-bottom: 1px solid var(--gray-100); font-size: 0.85rem; }
.cart-total-row:last-of-type { border-bottom: none; font-weight: 800; font-size: 1rem; color: var(--gray-900); padding-top: var(--s4); }
.cart-wa-btn {
  margin-top: var(--s5); width: 100%;
  background: var(--wa); color: var(--white);
  font-size: 1rem; font-weight: 700; padding: 16px;
  border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center;
  gap: var(--s3); cursor: pointer; border: none; font-family: inherit;
  transition: all 200ms; animation: waPulse 2.5s ease infinite;
}
.cart-wa-btn:hover { background: var(--wa-dark); transform: translateY(-2px); }
.cart-wa-btn svg { width: 22px; height: 22px; fill: currentColor; }
.cart-wa-note { text-align: center; font-size: 0.73rem; color: var(--gray-400); margin-top: var(--s3); }

/* ── SINGLE PRODUCT PAGE ─────────────────────────────── */
.single-product-wrap { padding: var(--s10) 0 var(--s20); }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s10); align-items: start; }
@media (max-width: 768px) { .product-layout { grid-template-columns: 1fr; } }

.product-gallery-col { position: sticky; top: calc(var(--header-h) + var(--bar-h) + var(--s4)); }

.single-product-info h1 { font-size: clamp(1.3rem,3vw,1.9rem); margin-bottom: var(--s3); }
.single-price { font-size: 1.6rem; font-weight: 800; color: var(--gray-900); margin-bottom: var(--s5); display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.single-price del { font-size: 1rem; color: var(--gray-300); font-weight: 400; }
.single-price .price-badge { font-size: 0.72rem; background: #fee2e2; color: #b91c1c; padding: 3px 8px; border-radius: var(--r-pill); font-weight: 700; }
.single-short-desc { color: var(--gray-500); font-size: 0.88rem; line-height: 1.75; margin-bottom: var(--s6); }

.qty-row { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s5); }
.qty-label { font-size: 0.82rem; font-weight: 600; color: var(--gray-700); }
.qty-box { display: flex; align-items: center; gap: 0; border: 1px solid var(--gray-200); border-radius: var(--r-sm); overflow: hidden; }
.qty-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--gray-50); color: var(--gray-700); cursor: pointer; transition: all 150ms; font-size: 1.1rem; font-weight: 700; border: none; }
.qty-btn:hover { background: var(--gray-100); color: var(--gray-900); }
.qty-input { width: 48px; height: 36px; text-align: center; border: none; border-left: 1px solid var(--gray-200); border-right: 1px solid var(--gray-200); font-weight: 700; font-size: 0.9rem; color: var(--gray-900); font-family: inherit; outline: none; }

.single-add-buttons { display: flex; flex-direction: column; gap: var(--s3); }
.single-add-to-cart {
  background: var(--gray-900); color: var(--white);
  font-family: inherit; font-size: 0.88rem; font-weight: 700;
  padding: 14px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; gap: var(--s2);
  cursor: pointer; transition: all 200ms; border: none; width: 100%;
}
.single-add-to-cart:hover { background: var(--brand); }
.single-add-to-cart svg { width: 18px; height: 18px; }

.single-wa-btn {
  background: var(--wa); color: var(--white);
  font-family: inherit; font-size: 0.95rem; font-weight: 700;
  padding: 15px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; gap: var(--s2);
  cursor: pointer; transition: all 200ms; border: none; width: 100%;
  box-shadow: 0 4px 14px var(--wa-glow);
}
.single-wa-btn:hover { background: var(--wa-dark); transform: translateY(-1px); }
.single-wa-btn svg { width: 20px; height: 20px; fill: currentColor; }

.product-meta { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--gray-100); display: flex; flex-direction: column; gap: var(--s2); }
.product-meta span { font-size: 0.78rem; color: var(--gray-500); }
.product-meta strong { color: var(--gray-900); }

/* ── SHOP PAGE ───────────────────────────────────────── */
.shop-page-wrap { padding: var(--s10) 0 var(--s20); }
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: var(--s8); align-items: start; }
@media (max-width: 1024px) { .shop-layout { grid-template-columns: 1fr; } }

.shop-sidebar {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--r-lg); padding: var(--s5);
  position: sticky; top: calc(var(--header-h) + var(--bar-h) + var(--s4));
}
@media (max-width: 1024px) { .shop-sidebar { display: none; } }

.sidebar-section { margin-bottom: var(--s5); padding-bottom: var(--s5); border-bottom: 1px solid var(--gray-100); }
.sidebar-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.sidebar-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500); margin-bottom: var(--s3); }
.sidebar-cat-link { display: flex; align-items: center; justify-content: space-between; padding: 6px var(--s3); border-radius: var(--r-sm); font-size: 0.83rem; color: var(--gray-700); transition: all 150ms; margin-bottom: 2px; }
.sidebar-cat-link:hover, .sidebar-cat-link.active { background: var(--brand-light); color: var(--brand); }
.sidebar-count { font-size: 0.72rem; background: var(--gray-100); padding: 2px 6px; border-radius: var(--r-pill); color: var(--gray-500); }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s6); flex-wrap: wrap; gap: var(--s3); }
.shop-result-count { font-size: 0.83rem; color: var(--gray-500); }
.shop-sort { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-sm); padding: 7px 12px; font-size: 0.83rem; outline: none; cursor: pointer; color: var(--gray-700); font-family: inherit; }

/* ── FLOATING WHATSAPP BUTTON ────────────────────────── */
.wa-float {
  position: fixed; bottom: var(--s6); right: var(--s6); z-index: 999;
  display: flex; flex-direction: column; align-items: flex-end; gap: var(--s2);
}
.wa-float-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px var(--wa-glow), 0 1px 4px rgba(0,0,0,0.2);
  cursor: pointer; transition: all 200ms; border: none;
  animation: waPulse 2.5s ease infinite;
}
.wa-float-btn:hover { transform: scale(1.1); }
.wa-float-btn svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float-label {
  background: var(--gray-900); color: #fff;
  font-size: 0.72rem; font-weight: 600; padding: 5px 10px;
  border-radius: var(--r-sm); white-space: nowrap;
  opacity: 0; transform: translateX(8px);
  transition: all 200ms;
  pointer-events: none;
}
.wa-float:hover .wa-float-label { opacity: 1; transform: translateX(0); }

/* Back to top */
.btt-btn {
  position: fixed; bottom: var(--s6); left: var(--s6); z-index: 999;
  width: 40px; height: 40px; border-radius: var(--r-md);
  background: var(--gray-900); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: all 200ms; box-shadow: var(--shadow-sm); border: none;
}
.btt-btn.visible { opacity: 1; pointer-events: all; }
.btt-btn:hover { background: var(--brand); }
.btt-btn svg { width: 18px; height: 18px; }

/* Toast notification */
.hs-toast {
  position: fixed; top: var(--s6); right: var(--s6); z-index: 1001;
  background: var(--gray-900); color: #fff;
  border-radius: var(--r-md); padding: var(--s3) var(--s5);
  font-size: 0.83rem; font-weight: 600;
  display: flex; align-items: center; gap: var(--s2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-16px); opacity: 0;
  transition: all 200ms ease;
  pointer-events: none;
}
.hs-toast.show { transform: translateY(0); opacity: 1; }
.hs-toast svg { width: 16px; height: 16px; flex-shrink: 0; }
.hs-toast.success { border-left: 3px solid var(--brand); }
.hs-toast.wa { border-left: 3px solid var(--wa); }

/* ── SCROLL ANIMATIONS ───────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
[data-reveal].visible { opacity: 1; transform: translateY(0); }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }

/* ── UTILITIES ───────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.mt-4 { margin-top: var(--s4); }
.mt-6 { margin-top: var(--s6); }
.mt-8 { margin-top: var(--s8); }
.mb-4 { margin-bottom: var(--s4); }
.mb-6 { margin-bottom: var(--s6); }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.bg-light { background: var(--off-white); }
