/* ============================================================
   THREADKING — Nairobi Street Premium Design System
   Aesthetic: Matatu culture meets premium brand. Loud, warm,
   proud. Kenyan flag palette, Maasai geometry, kikoy textures.
   Fonts: Syne (display) + Outfit (body) + JetBrains Mono
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;700&display=swap');

/* ---------- KENYAN DESIGN TOKENS ---------- */
:root {
  /* Kenyan flag palette — elevated */
  --ke-green:   #006B3C;   /* Kenya flag green */
  --ke-red:     #BB0000;   /* Kenya flag red */
  --ke-black:   #1A1208;   /* Warm charcoal, not cold */
  --ke-white:   #FAF6EF;   /* Warm cream, not clinical white */
  --ke-gold:    #C8860A;   /* Maasai bead gold / ochre */
  --ke-earth:   #8B4513;   /* Rich earth brown */
  --ke-savanna: #D4956A;   /* Savanna dust */
  --ke-sky:     #0077B6;   /* Nairobi sky blue */

  /* Semantic aliases */
  --primary:    var(--ke-red);
  --accent:     var(--ke-gold);
  --dark:       var(--ke-black);
  --light:      var(--ke-white);
  --success:    var(--ke-green);

  /* Surfaces */
  --surface-0:  #FAF6EF;   /* Warm page bg */
  --surface-1:  #FFFFFF;   /* Cards */
  --surface-2:  #F0EBE1;   /* Subtle section bg */
  --surface-3:  #E8DFD0;   /* Border / divider */
  --muted:      #7A6E62;
  --muted-2:    #B5A898;

  /* Fonts */
  --font-display: 'Syne', sans-serif;
  --font-body:    'Outfit', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Geometry */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  36px;
  --radius-pill:99px;

  --shadow-sm:  0 2px 8px rgba(26,18,8,0.08);
  --shadow-md:  0 6px 24px rgba(26,18,8,0.12);
  --shadow-lg:  0 16px 48px rgba(26,18,8,0.18);
  --shadow-red: 0 8px 32px rgba(187,0,0,0.25);
  --shadow-green: 0 8px 32px rgba(0,107,60,0.2);

  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
  --transition-bounce: 0.35s cubic-bezier(0.34,1.56,0.64,1);
  --nav-h: 68px;

  /* Kikoy/Kente-inspired geometric border pattern */
  --kente-pattern: repeating-linear-gradient(
    90deg,
    var(--ke-red) 0px, var(--ke-red) 4px,
    var(--ke-gold) 4px, var(--ke-gold) 8px,
    var(--ke-green) 8px, var(--ke-green) 12px,
    var(--ke-black) 12px, var(--ke-black) 16px
  );
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ke-black);
  background: var(--surface-0);
  overflow-x: hidden;
  /* Warm paper texture */
  background-image:
    radial-gradient(circle at 20% 50%, rgba(200,134,10,0.03) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(0,107,60,0.03) 0%, transparent 60%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ---------- MAASAI DOT PATTERN UTILITY ---------- */
.maasai-dots {
  background-image: radial-gradient(circle, rgba(26,18,8,0.06) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}
.kente-bar {
  height: 6px;
  background: var(--kente-pattern);
}
.kente-bar-thin {
  height: 3px;
  background: var(--kente-pattern);
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 48px;
}
.section-header.centered { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ke-black);
  position: relative;
}
/* Kenyan underline accent on section titles */
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--kente-pattern);
  margin-top: 8px;
  border-radius: 2px;
}
.section-header.centered .section-title::after { margin: 8px auto 0; }
.section-sub { color: var(--muted); font-size: 1rem; font-weight: 400; max-width: 520px; }
.section-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ke-green);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.section-link:hover { gap: 12px; }

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ke-red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.btn-primary:hover {
  background: #990000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--ke-black);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  border: 2.5px solid var(--ke-black);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-outline:hover {
  background: var(--ke-black);
  color: var(--ke-white);
  transform: translateY(-2px);
}
.btn-green {
  background: var(--ke-green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-green:hover { background: #004d2c; transform: translateY(-2px); box-shadow: var(--shadow-green); }

/* ---------- ANNOUNCE BAR ---------- */
.announce-bar {
  background: var(--ke-green);
  background-image: var(--kente-pattern);
  background-size: 160px 100%;
  background-repeat: repeat-x;
  background-blend-mode: overlay;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 9px 0;
  letter-spacing: 0.04em;
}
.announce-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.announce-inner a { color: var(--ke-gold); text-decoration: underline; text-underline-offset: 3px; }
.announce-sep { opacity: 0.4; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250,246,239,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: var(--nav-h);
  border-bottom: 1px solid var(--surface-3);
  box-shadow: 0 2px 0 rgba(26,18,8,0.04);
}
/* Kente strip under navbar */
.navbar::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 3px;
  background: var(--kente-pattern);
  background-size: 64px 100%;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-emblem {
  width: 34px; height: 34px;
  background: var(--ke-red);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
/* Maasai shield shape in logo */
.logo-emblem::before {
  content: '▲';
  color: white;
  font-size: 1rem;
  line-height: 1;
  position: absolute;
  top: 4px;
}
.logo-emblem::after {
  content: '▼';
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  line-height: 1;
  position: absolute;
  bottom: 4px;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ke-black);
}
.logo-text .logo-ke { color: var(--ke-red); }
.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: -4px;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--ke-black);
  background: var(--surface-2);
}
.nav-links a.active { color: var(--ke-red); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  color: var(--ke-black);
  transition: all var(--transition);
  position: relative;
}
.nav-icon-btn:hover { background: var(--surface-2); }
.cart-badge {
  position: absolute;
  top: 3px; right: 3px;
  min-width: 17px; height: 17px;
  background: var(--ke-red);
  color: white;
  font-size: 0.6rem;
  font-family: var(--font-mono);
  font-weight: 700;
  border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  opacity: 0; transform: scale(0);
  transition: all var(--transition-bounce);
}
.cart-badge.visible { opacity: 1; transform: scale(1); }
.nav-cta {
  background: var(--ke-red);
  color: white;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-cta:hover { background: #990000; transform: translateY(-1px); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
}
.nav-burger span {
  display: block; width: 100%; height: 2.5px;
  background: var(--ke-black);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- SEARCH OVERLAY ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(26,18,8,0.88);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}
.search-overlay.active { display: flex; }
.search-box {
  display: flex;
  align-items: center;
  background: white;
  border-radius: var(--radius-md);
  width: min(640px, 90vw);
  overflow: hidden;
  border: 3px solid var(--ke-black);
  box-shadow: 8px 8px 0 var(--ke-red);
}
.search-box input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 1.1rem;
  padding: 18px 20px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--ke-black);
}
.search-box button { padding: 18px 20px; color: var(--ke-black); transition: color var(--transition); }
.search-box button:hover { color: var(--ke-red); }
.search-close { padding: 18px 20px !important; font-size: 1rem; color: var(--muted) !important; border-left: 1px solid var(--surface-3); }

/* ---------- HERO ---------- */
.hero {
  min-height: calc(100vh - var(--nav-h) - 42px);
  background: var(--ke-black);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
/* Savanna landscape gradient */
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 75% 40%, rgba(0,107,60,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(187,0,0,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 10%, rgba(200,134,10,0.1) 0%, transparent 60%);
}
/* Nairobi skyline silhouette pattern */
.hero-skyline {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='rgba(255,255,255,0.03)' d='M0,80 L30,80 L30,40 L50,40 L50,60 L70,60 L70,20 L90,20 L90,60 L110,60 L110,30 L130,30 L130,10 L150,10 L150,30 L170,30 L170,60 L190,60 L190,40 L220,40 L220,70 L250,70 L250,50 L270,50 L270,30 L290,30 L290,50 L310,50 L310,80 L340,80 L340,55 L360,55 L360,35 L380,35 L380,55 L400,55 L400,65 L430,65 L430,45 L460,45 L460,25 L480,25 L480,15 L500,15 L500,25 L520,25 L520,45 L550,45 L550,70 L580,70 L580,50 L610,50 L610,30 L630,30 L630,50 L650,50 L650,80 L700,80 L700,55 L730,55 L730,35 L760,35 L760,55 L790,55 L790,70 L820,70 L820,50 L850,50 L850,30 L870,30 L870,50 L890,50 L890,80 L940,80 L940,60 L970,60 L970,40 L1000,40 L1000,60 L1020,60 L1020,80 L1060,80 L1060,55 L1090,55 L1090,35 L1110,35 L1110,55 L1130,55 L1130,70 L1160,70 L1160,50 L1190,50 L1190,30 L1210,30 L1210,50 L1240,50 L1240,80 L1280,80 L1280,60 L1310,60 L1310,40 L1340,40 L1340,60 L1370,60 L1370,80 L1440,80 L1440,120 L0,120 Z'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: bottom;
}
.hero-maasai-border {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--kente-pattern);
  background-size: 6px 48px;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ke-gold);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 2px;
  background: var(--ke-gold);
  flex-shrink: 0;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 24px;
}
.hero-title-line2 {
  color: var(--ke-gold);
  display: block;
  /* Outline text effect */
  -webkit-text-stroke: 2px var(--ke-gold);
  color: transparent;
}
.hero-title-line3 { color: #fff; display: block; }
.hero-desc {
  font-size: 1.05rem;
  color: rgba(250,246,239,0.7);
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.75;
  font-weight: 400;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(250,246,239,0.12);
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-stat span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,246,239,0.45);
  margin-top: 2px;
}
/* Hero Visual */
.hero-visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Maasai shield decorative ring */
.hero-ring {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 2px solid rgba(200,134,10,0.2);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: spinSlow 30s linear infinite;
}
.hero-ring::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(200,134,10,0.1);
}
@keyframes spinSlow { to { transform: translate(-50%,-50%) rotate(360deg); } }
.hero-tshirt-card {
  position: absolute;
  background: var(--surface-1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(250,246,239,0.15);
  transition: transform 0.5s ease;
}
.hero-tshirt-card:hover { transform: scale(1.04) rotate(0deg) !important; }
.card-featured {
  width: 210px;
  z-index: 2;
  transform: rotate(-4deg);
  left: 50%; margin-left: -140px;
  top: 20px;
  border-color: var(--ke-gold);
  box-shadow: 6px 6px 0 var(--ke-gold), var(--shadow-lg);
}
.card-secondary {
  width: 175px;
  z-index: 1;
  transform: rotate(5deg);
  right: 10px;
  bottom: 30px;
}
.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 10;
  background: var(--ke-gold);
  color: var(--ke-black);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.product-badge.sale { background: var(--ke-red); color: white; }
.hero-tshirt-mockup { padding: 12px; background: var(--surface-2); }
.hero-tshirt-mockup svg { width: 100%; }
.hero-card-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
}
.hero-card-name { font-size: 0.72rem; color: var(--muted); font-weight: 500; }
.hero-card-price { font-family: var(--font-display); font-size: 1rem; color: var(--ke-red); font-weight: 700; }
/* Kenyan flag pill tag */
.flag-tag {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
  height: 14px;
  width: 22px;
  flex-shrink: 0;
}
.flag-tag span { flex: 1; height: 100%; }
.hero-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,246,239,0.3);
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(200,134,10,0.6), transparent);
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0%,100% { opacity:1; transform:scaleY(1); }
  50% { opacity:0.3; transform:scaleY(0.5); }
}

/* ---------- CATEGORIES ---------- */
.categories-section { background: var(--surface-1); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 14px 22px;
  border-radius: var(--radius-md);
  border: 2px solid var(--surface-3);
  background: var(--surface-0);
  transition: all var(--transition);
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--kente-pattern);
  background-size: 64px 100%;
  opacity: 0;
  transition: opacity var(--transition);
}
.cat-card:hover { border-color: var(--ke-red); transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cat-card:hover::before { opacity: 1; }
.cat-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition-bounce);
}
.cat-card:hover .cat-icon { transform: scale(1.12); }
.cat-icon svg { width: 28px; height: 28px; }
.cat-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ke-black);
}
.cat-count { font-family: var(--font-mono); font-size: 0.65rem; color: var(--muted-2); }
/* Category colours — Kenyan palette */
.cat-tshirts .cat-icon  { background: rgba(187,0,0,0.1);    color: var(--ke-red); }
.cat-hoodies .cat-icon  { background: rgba(26,18,8,0.08);   color: var(--ke-black); }
.cat-caps    .cat-icon  { background: rgba(0,107,60,0.1);   color: var(--ke-green); }
.cat-polo    .cat-icon  { background: rgba(200,134,10,0.1); color: var(--ke-gold); }
.cat-totes   .cat-icon  { background: rgba(139,69,19,0.1);  color: var(--ke-earth); }
.cat-mugs    .cat-icon  { background: rgba(0,119,182,0.1);  color: var(--ke-sky); }

/* ---------- PRODUCTS GRID ---------- */
.featured-section { background: var(--surface-0); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--surface-1);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--surface-3);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}
.product-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--kente-pattern);
  background-size: 64px 100%;
  opacity: 0;
  transition: opacity var(--transition);
}
.product-card:hover { border-color: var(--ke-red); transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-card:hover::after { opacity: 1; }
.product-card-img { position: relative; aspect-ratio: 1; overflow: hidden; }
.product-img-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; }
.product-card-actions {
  position: absolute;
  top: 10px; right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0; transform: translateX(10px);
  transition: all var(--transition);
}
.product-card:hover .product-card-actions { opacity: 1; transform: translateX(0); }
.pca-btn {
  width: 36px; height: 36px;
  background: rgba(250,246,239,0.95);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--surface-3);
  transition: all var(--transition);
  color: var(--ke-black);
  backdrop-filter: blur(4px);
}
.pca-btn:hover { background: var(--ke-red); color: white; border-color: var(--ke-red); }
.product-card-body { padding: 16px; }
.product-category {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ke-green);
  font-weight: 700;
  margin-bottom: 6px;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ke-black);
  letter-spacing: -0.01em;
}
.product-desc-short {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { display: flex; align-items: baseline; gap: 8px; }
.price-old { font-size: 0.8rem; color: var(--muted-2); text-decoration: line-through; }
.price-now { font-family: var(--font-display); font-size: 1.15rem; color: var(--ke-red); font-weight: 700; }
.btn-cart-quick {
  width: 36px; height: 36px;
  background: var(--ke-red);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: white;
  transition: all var(--transition-bounce);
  flex-shrink: 0;
}
.btn-cart-quick:hover { background: var(--ke-green); transform: scale(1.1); }

/* ---------- CUSTOM DESIGN BANNER ---------- */
.custom-banner {
  background: var(--ke-green);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.custom-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0,0,0,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 20%, rgba(200,134,10,0.15) 0%, transparent 60%);
}
/* Maasai beadwork pattern overlay */
.custom-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 16px 16px;
}
.custom-banner-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cb-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ke-gold);
  margin-bottom: 14px;
}
.cb-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 20px;
}
.cb-title span { color: var(--ke-gold); }
.cb-desc { color: rgba(255,255,255,0.7); font-size: 1rem; margin-bottom: 28px; max-width: 440px; line-height: 1.7; }
.cb-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 32px; }
.cb-feature {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cb-feature::before { content: '✓'; color: var(--ke-gold); font-weight: 700; font-family: var(--font-mono); }
/* Chat mockup */
.cb-visual { display: flex; justify-content: center; align-items: center; }
.cb-phone {
  width: 260px;
  background: #0f1f14;
  border-radius: 28px;
  border: 4px solid rgba(200,134,10,0.3);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,134,10,0.1);
}
.cb-phone-screen { padding: 20px 16px; }
.cb-chat { display: flex; flex-direction: column; gap: 12px; }
.cb-msg { display: flex; align-items: flex-end; gap: 8px; }
.cb-msg-user { flex-direction: row-reverse; }
.cb-avatar {
  width: 28px; height: 28px;
  background: var(--ke-red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.cb-bubble {
  background: rgba(200,134,10,0.15);
  border-radius: 14px 14px 14px 4px;
  padding: 8px 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.9);
  max-width: 170px;
  border: 1px solid rgba(200,134,10,0.2);
}
.cb-msg-user .cb-bubble { background: var(--ke-red); border-radius: 14px 14px 4px 14px; border-color: transparent; }
.cb-msg-img { background: rgba(255,255,255,0.05); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }

/* ---------- DELIVERY SECTION ---------- */
.delivery-section { background: var(--surface-1); }
.delivery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.delivery-card {
  border-radius: var(--radius-md);
  padding: 28px 20px;
  border: 1.5px solid var(--surface-3);
  background: var(--surface-0);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.delivery-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.delivery-free::before    { background: var(--ke-green); }
.delivery-inner::before   { background: var(--ke-gold); }
.delivery-outer::before   { background: var(--ke-red); }
.delivery-satellite::before{ background: var(--ke-sky); }
.delivery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.delivery-icon { font-size: 2rem; margin-bottom: 14px; }
.delivery-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.delivery-fee { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--ke-red); letter-spacing: -0.02em; }
.delivery-free .delivery-fee { color: var(--ke-green); }
.delivery-time { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted-2); margin-bottom: 16px; letter-spacing: 0.04em; }
.delivery-zones-list { display: flex; flex-direction: column; gap: 5px; }
.delivery-zones-list li { font-size: 0.83rem; color: var(--muted); padding: 4px 0; border-bottom: 1px solid var(--surface-3); }
.delivery-zones-list li:last-child { border: none; }

/* ---------- PAYMENTS BAR ---------- */
.payments-bar { background: var(--ke-black); padding: 24px 0; }
.payments-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.payments-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(250,246,239,0.35); white-space: nowrap; font-weight: 700; }
.payments-list { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.payment-chip {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1.5px solid;
}
.payment-chip.mpesa      { background: #00B900; color: white; border-color: #00B900; }
.payment-chip.visa       { background: #1A1F71; color: white; border-color: #1A1F71; }
.payment-chip.mastercard { background: #EB001B; color: white; border-color: #EB001B; }
.payment-chip.paystack   { background: #00C3F7; color: #0A0A0A; border-color: #00C3F7; }
.payment-chip.cash       { background: rgba(250,246,239,0.08); color: rgba(250,246,239,0.7); border-color: rgba(250,246,239,0.15); }

/* ---------- WHY US ---------- */
.whyus-section { background: var(--surface-0); }
.whyus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.whyus-card {
  background: var(--surface-1);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  border: 1.5px solid var(--surface-3);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.whyus-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--kente-pattern);
  background-size: 64px 100%;
  opacity: 0;
  transition: opacity var(--transition);
}
.whyus-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--ke-gold); }
.whyus-card:hover::after { opacity: 1; }
.whyus-icon { font-size: 2.2rem; margin-bottom: 16px; }
.whyus-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.whyus-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; }

/* ---------- TESTIMONIALS ---------- */
.testimonials-section { background: var(--ke-black); }
.testimonials-section .section-title { color: #fff; }
.testimonials-section .section-title::after { margin: 8px 0 0; }
.testimonials-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 18px; }
.testimonial-card {
  background: rgba(250,246,239,0.05);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid rgba(250,246,239,0.1);
  transition: all var(--transition);
}
.testimonial-card:hover { border-color: rgba(200,134,10,0.3); background: rgba(250,246,239,0.08); }
.featured-testimonial {
  background: var(--ke-red);
  border-color: var(--ke-red);
  transform: scale(1.03);
}
.featured-testimonial:hover { background: #990000; border-color: #990000; }
.t-stars { color: var(--ke-gold); font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.t-text { font-size: 0.9rem; line-height: 1.75; margin-bottom: 20px; color: rgba(250,246,239,0.8); }
.featured-testimonial .t-text { color: rgba(255,255,255,0.9); }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 38px; height: 38px;
  background: var(--ke-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ke-black);
  flex-shrink: 0;
}
.featured-testimonial .t-avatar { background: rgba(255,255,255,0.2); color: white; }
.t-author strong { display: block; font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: #fff; }
.t-author span { font-family: var(--font-mono); font-size: 0.65rem; color: rgba(250,246,239,0.4); }

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 104px; right: 24px;
  z-index: 900;
  background: #25D366;
  color: white;
  border-radius: var(--radius-pill);
  padding: 12px 20px 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition);
  animation: waPulse 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.05) translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.5); animation: none; }
.whatsapp-label { white-space: nowrap; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 4px 28px rgba(37,211,102,0.65), 0 0 0 8px rgba(37,211,102,0.08); }
}

/* ---------- FOOTER ---------- */
.footer { background: #0F0A04; color: white; padding: 64px 0 0; }
/* Kente stripe at top of footer */
.footer::before { content: ''; display: block; height: 6px; background: var(--kente-pattern); background-size: 80px 100%; margin-bottom: 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(250,246,239,0.08);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: white;
  display: block;
  margin-bottom: 14px;
}
.footer-logo .logo-ke { color: var(--ke-gold); }
.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(250,246,239,0.3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-brand p { color: rgba(250,246,239,0.45); font-size: 0.87rem; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px;
  background: rgba(250,246,239,0.06);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(250,246,239,0.5);
  border: 1px solid rgba(250,246,239,0.08);
  transition: all var(--transition);
}
.footer-socials a:hover { background: var(--ke-red); color: white; border-color: var(--ke-red); }
.footer-links h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 18px; color: white; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(250,246,239,0.45); font-size: 0.87rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--ke-gold); }
.footer-contact h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 18px; }
.footer-contact p { color: rgba(250,246,239,0.5); font-size: 0.87rem; margin-bottom: 8px; }
.footer-contact a { color: rgba(250,246,239,0.5); transition: color var(--transition); }
.footer-contact a:hover { color: var(--ke-gold); }
.footer-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: #25D366;
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  transition: all var(--transition);
}
.footer-whatsapp-btn:hover { background: #1ebe5a; color: white; }
.footer-bottom { padding: 20px 0; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(250,246,239,0.2); font-family: var(--font-mono); font-size: 0.7rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(250,246,239,0.2); font-family: var(--font-mono); font-size: 0.7rem; transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--ke-gold); }

/* ---------- LIVE CHAT WIDGET ---------- */
.chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 900; }
.chat-toggle {
  width: 54px; height: 54px;
  background: var(--ke-black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  position: relative;
  border: 2px solid rgba(200,134,10,0.3);
}
.chat-toggle:hover { background: var(--ke-red); transform: scale(1.08); border-color: var(--ke-red); }
.chat-badge-dot { position: absolute; top: 2px; right: 2px; width: 13px; height: 13px; background: var(--ke-gold); border-radius: 50%; border: 2px solid var(--surface-0); display: none; }
.chat-badge-dot.visible { display: block; animation: pulseDot 1.5s infinite; }
@keyframes pulseDot { 0%,100%{transform:scale(1)} 50%{transform:scale(1.3)} }
.chat-window {
  position: absolute;
  bottom: 66px; right: 0;
  width: 320px;
  background: var(--surface-1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(26,18,8,0.25);
  border: 2px solid var(--ke-black);
  display: none;
  flex-direction: column;
}
.chat-window.open { display: flex; }
.chat-header { background: var(--ke-black); color: white; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar-small { width: 34px; height: 34px; background: var(--ke-red); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700; color: white; }
.chat-header strong { display: block; font-size: 0.88rem; margin-bottom: 1px; }
.chat-status { font-family: var(--font-mono); font-size: 0.62rem; color: #25D366; }
.chat-close-btn { color: rgba(255,255,255,0.4); font-size: 0.9rem; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all var(--transition); }
.chat-close-btn:hover { background: rgba(255,255,255,0.1); color: white; }
.chat-messages { flex:1; overflow-y:auto; padding:16px; max-height:280px; display:flex; flex-direction:column; gap:10px; background:var(--surface-2); }
.chat-msg { display:flex; flex-direction:column; gap:3px; }
.chat-msg.user { align-items:flex-end; }
.chat-msg.admin { align-items:flex-start; }
.cm-bubble { max-width:85%; padding:9px 13px; border-radius:12px; font-size:0.85rem; line-height:1.5; }
.chat-msg.admin .cm-bubble { background:white; border:1px solid var(--surface-3); border-radius:4px 12px 12px 12px; }
.chat-msg.user  .cm-bubble { background:var(--ke-red); color:white; border-radius:12px 4px 12px 12px; }
.cm-time { font-family:var(--font-mono); font-size:0.58rem; color:var(--muted-2); }
.chat-input-row { display:flex; border-top:1px solid var(--surface-3); background:white; }
.chat-input-row input { flex:1; border:none; outline:none; padding:14px 16px; font-family:var(--font-body); font-size:0.88rem; background:transparent; }
.chat-input-row button { padding:14px 16px; color:var(--ke-red); transition:all var(--transition); }
.chat-input-row button:hover { color:var(--ke-green); }

/* ---------- FORMS ---------- */
.form-group { margin-bottom: 20px; }
.form-label { display:block; font-family:var(--font-mono); font-size:0.68rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); margin-bottom:7px; font-weight:700; }
.form-control { width:100%; padding:12px 14px; border:2px solid var(--surface-3); border-radius:var(--radius-sm); font-family:var(--font-body); font-size:0.95rem; color:var(--ke-black); background:white; transition:border-color var(--transition); outline:none; }
.form-control:focus { border-color:var(--ke-red); box-shadow:0 0 0 3px rgba(187,0,0,0.08); }
.form-control.error { border-color:var(--ke-red); }
.form-error { font-size:0.75rem; color:var(--ke-red); margin-top:5px; font-family:var(--font-mono); }
select.form-control { appearance:none; cursor:pointer; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8880' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; padding-right:38px; }

/* ---------- ALERTS ---------- */
.alert { padding:14px 18px; border-radius:var(--radius-sm); font-size:0.9rem; margin-bottom:20px; border:2px solid; display:flex; align-items:flex-start; gap:10px; }
.alert-success { background:#F0FFF8; border-color:var(--ke-green); color:var(--ke-green); }
.alert-error   { background:#FFF5F5; border-color:var(--ke-red); color:#990000; }
.alert-info    { background:#EBF8FF; border-color:var(--ke-sky); color:#005a8a; }

/* ---------- RESPONSIVE ---------- */
@media(max-width:1100px) {
  .categories-grid { grid-template-columns:repeat(3,1fr); }
  .products-grid   { grid-template-columns:repeat(3,1fr); }
  .whyus-grid      { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:900px) {
  .hero-content          { grid-template-columns:1fr; }
  .hero-visual           { display:none; }
  .custom-banner-inner   { grid-template-columns:1fr; }
  .cb-visual             { display:none; }
  .delivery-grid         { grid-template-columns:repeat(2,1fr); }
  .footer-inner          { grid-template-columns:1fr 1fr; }
  .testimonials-grid     { grid-template-columns:1fr; }
  .featured-testimonial  { transform:none; }
}
@media(max-width:700px) {
  .nav-links { display:none; }
  .nav-links.open {
    display:flex; flex-direction:column;
    position:fixed; inset:0;
    background:var(--ke-black);
    z-index:999;
    align-items:center; justify-content:center;
    gap:32px;
  }
  .nav-links.open a { color:white; font-size:1.4rem; font-family:var(--font-display); font-weight:700; }
  .nav-links.open a:hover { color:var(--ke-gold); background:none; }
  .nav-burger { display:flex; }
  .categories-grid { grid-template-columns:repeat(3,1fr); }
  .products-grid   { grid-template-columns:repeat(2,1fr); }
  .whyus-grid      { grid-template-columns:1fr 1fr; }
  .hero-title      { font-size:clamp(2.8rem,12vw,4rem); }
  .hero-cta        { flex-direction:column; }
  .btn-primary, .btn-outline { width:100%; justify-content:center; }
  .whatsapp-float .whatsapp-label { display:none; }
  .whatsapp-float  { padding:14px; border-radius:50%; }
  .footer-inner    { grid-template-columns:1fr; }
  .announce-inner  { gap:10px; font-size:0.65rem; }
}
@media(max-width:480px) {
  .categories-grid { grid-template-columns:repeat(2,1fr); }
  .products-grid   { grid-template-columns:1fr 1fr; }
  .delivery-grid   { grid-template-columns:1fr; }
  .whyus-grid      { grid-template-columns:1fr; }
}
