/* =====================================================
   Hey Pop Chips — Global Stylesheet
   ===================================================== */

:root {
  --primary: #FFD600;
  --primary-dark: #E6C200;
  --secondary: #FF6B00;
  --secondary-dark: #E65C00;
  --accent: #00C853;
  --accent-dark: #00A845;
  --bg: #FDFCF0;
  --surface: #FFFFFF;
  --text: #1A1A1A;
  --text-soft: #4A4A4A;
  --muted: #8A8A8A;
  --border: #EFEAD8;
  --shadow-sm: 0 4px 12px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 12px 32px rgba(26, 26, 26, 0.10);
  --shadow-lg: 0 24px 64px rgba(26, 26, 26, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 800; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 700; }
p { color: var(--text-soft); }
.overline {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.text-grad-pop {
  background: linear-gradient(120deg, var(--secondary) 0%, var(--primary) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Layout ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container { padding: 0 48px; } }
section { padding: 96px 0; position: relative; }
@media (max-width: 768px) { section { padding: 64px 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--secondary); color: #fff; }
.btn-primary:hover { background: var(--secondary-dark); }
.btn-secondary { background: var(--primary); color: var(--text); }
.btn-secondary:hover { background: var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--text); border: 2px solid var(--text); }
.btn-ghost:hover { background: var(--text); color: var(--primary); }
.btn-white { background: #fff; color: var(--text); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,.5), 0 8px 24px rgba(0,0,0,.06);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-mark {
  width: 40px; height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: inset -4px -4px 0 var(--secondary);
  transform: rotate(-8deg);
}
.logo-mark i { color: var(--text); }
.nav-main {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-main a {
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  transition: background .25s, color .25s;
  position: relative;
}
.nav-main a:hover { background: rgba(255,214,0,.25); color: var(--text); }
.nav-main a.active { background: var(--text); color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.search-btn, .menu-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1.5px solid var(--border);
  transition: transform .25s, background .25s;
}
.search-btn:hover, .menu-btn:hover { transform: rotate(8deg) scale(1.05); background: var(--primary); }
.menu-btn { display: none; }

@media (max-width: 1024px) {
  .nav-main { display: none; }
  .menu-btn { display: inline-flex; }
}

/* Mobile nav drawer */
.mobile-drawer {
  position: fixed;
  top: 0; right: -100%;
  width: 86%;
  max-width: 380px;
  height: 100vh;
  background: var(--text);
  color: var(--primary);
  z-index: 200;
  transition: right .4s cubic-bezier(.7,0,.2,1);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-drawer.open { right: 0; }
.mobile-drawer a {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,214,0,.18);
  color: #fff;
}
.mobile-drawer a:hover { color: var(--primary); }
.drawer-close {
  align-self: flex-end;
  color: var(--primary);
  font-size: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,214,0,.15);
  display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFE970 0%, #FFD600 60%, #FFC93D 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(26,26,26,.06) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  font-weight: 900;
  color: var(--secondary);
  display: inline-block;
  position: relative;
}
.hero-title em::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; bottom: 6px;
  height: 14px;
  background: var(--accent);
  z-index: -1;
  border-radius: 4px;
  transform: skewX(-8deg);
  opacity: .85;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text);
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; height: 540px; }
.hero-chip {
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-lg), inset 0 -8px 0 rgba(0,0,0,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1rem;
  text-align: center;
  padding: 16px;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.hero-chip.c1 { top: 8%; left: 4%; background: #fff; transform: rotate(-12deg); }
.hero-chip.c2 { top: 18%; right: 0%; background: var(--secondary); color: #fff; transform: rotate(14deg); width: 200px; height: 200px; }
.hero-chip.c3 { bottom: 14%; left: 14%; background: var(--accent); color: #fff; transform: rotate(8deg); width: 160px; height: 160px; }
.hero-chip.c4 { bottom: 8%; right: 12%; background: #fff; transform: rotate(-6deg); width: 220px; height: 220px; }
.hero-chip span { display: block; font-size: 1.4rem; }
.hero-chip small { display: block; font-size: .65rem; font-weight: 700; letter-spacing: .2em; opacity: .7; margin-top: 6px; text-transform: uppercase; }
.hero-wave {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--bg);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path d='M0,40 C320,90 720,-10 1080,30 C1280,52 1380,40 1440,30 L1440,80 L0,80 Z' fill='black'/></svg>") no-repeat center/cover;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path d='M0,40 C320,90 720,-10 1080,30 C1280,52 1380,40 1440,30 L1440,80 L0,80 Z' fill='black'/></svg>") no-repeat center/cover;
}
@media (max-width: 900px) {
  .hero { min-height: auto; padding: 120px 0 100px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { height: 360px; }
  .hero-chip { width: 120px !important; height: 120px !important; font-size: .8rem; }
  .hero-chip span { font-size: 1rem; }
}

/* ---------- Section heading ---------- */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.sec-head .overline { color: var(--secondary); }
.sec-head h2 { margin-bottom: 16px; }
.sec-head.left { text-align: left; margin: 0 0 56px; }

/* ---------- Product cards ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  padding-top: 20px;
}
.product-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 160px 28px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
  overflow: visible;
  border: 1px solid rgba(0,0,0,.04);
  margin-top: 70px;
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.product-card.tint-y { background: #FFF8C9; }
.product-card.tint-o { background: #FFE2CC; }
.product-card.tint-g { background: #CFF3DC; }
.product-card.tint-p { background: #FFD9D9; }
.product-card.tint-b { background: #D6E8FF; }
.product-card.tint-w { background: #fff; }
.product-image {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%) rotate(-6deg);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1rem;
  text-align: center;
  padding: 16px;
  box-shadow: var(--shadow-md), inset 0 -8px 0 rgba(0,0,0,.06);
  transition: transform .4s ease;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.product-card:hover .product-image { transform: translateX(-50%) rotate(0deg) scale(1.05); }
.product-image small { display: block; font-size: .6rem; letter-spacing: .25em; opacity: .6; text-transform: uppercase; margin-top: 4px; font-weight: 700; }
.product-name { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -.02em; }
.product-desc { font-size: 0.92rem; color: var(--text-soft); margin-bottom: 20px; }
.product-meta { display: flex; justify-content: center; gap: 16px; font-size: .8rem; color: var(--text-soft); font-weight: 600; margin-bottom: 20px; }
.product-meta i { color: var(--accent); margin-right: 4px; }
.product-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: .9rem;
  color: var(--text);
  border-bottom: 2px solid var(--text);
  padding-bottom: 4px;
  transition: gap .25s;
}
.product-link:hover { gap: 14px; }

/* ---------- Bento grid (Why Us) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(160px, auto);
  gap: 20px;
}
.bento-item {
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .4s, box-shadow .4s;
}
.bento-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.bento-item.span-2 { grid-column: span 2; }
.bento-item.span-3 { grid-column: span 3; }
.bento-item.span-4 { grid-column: span 4; }
.bento-item.row-2 { grid-row: span 2; }
.bento-item.bg-y { background: var(--primary); }
.bento-item.bg-o { background: var(--secondary); color: #fff; }
.bento-item.bg-g { background: var(--accent); color: #fff; }
.bento-item.bg-dark { background: var(--text); color: #fff; }
.bento-item.bg-dark p { color: rgba(255,255,255,.7); }
.bento-item.bg-o p, .bento-item.bg-g p { color: rgba(255,255,255,.85); }
.bento-item h3 { margin-bottom: 12px; }
.bento-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  background: rgba(255,255,255,.25);
}
.bento-item.bg-y .bento-icon { background: var(--text); color: var(--primary); }
.bento-stat { font-family: var(--font-head); font-size: 4rem; font-weight: 900; line-height: 1; letter-spacing: -.04em; margin-bottom: 8px; }
.bento-img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.bento-item.media { padding: 0; min-height: 280px; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .bento-item.span-2, .bento-item.span-3, .bento-item.span-4 { grid-column: span 1; }
  .bento-item.row-2 { grid-row: span 1; }
}

/* ---------- Ingredients marquee ---------- */
.ingredients-section {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.ingredient-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.ingredient-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
  border: 1px solid var(--border);
}
.ingredient-card:hover { transform: translateY(-6px) rotate(-2deg); box-shadow: var(--shadow-md); }
.ingredient-emoji {
  width: 72px; height: 72px; margin: 0 auto 16px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--text);
}
.ingredient-card.green .ingredient-emoji { background: var(--accent); color: #fff; }
.ingredient-card.orange .ingredient-emoji { background: var(--secondary); color: #fff; }
.ingredient-card h4 { margin-bottom: 6px; }
.ingredient-card p { font-size: .85rem; }

/* ---------- Marketplaces ---------- */
.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.marketplace-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform .35s, box-shadow .35s;
  border: 1px solid var(--border);
  text-align: center;
}
.marketplace-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.mp-logo {
  width: 88px; height: 88px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -.03em;
  color: #fff;
}
.mp-amazon { background: #232F3E; }
.mp-amazon::after { content: "amazon"; }
.mp-flipkart { background: #2874F0; }
.mp-flipkart::after { content: "Flipkart"; }
.mp-blinkit { background: #F8CB46; color: var(--text); }
.mp-blinkit::after { content: "blinkit"; }
.mp-zepto { background: #6017A7; }
.mp-zepto::after { content: "zepto"; }
.mp-bigbasket { background: #84C225; }
.mp-bigbasket::after { content: "bigbasket"; }
.mp-google { background: #4285F4; }
.mp-google::after { content: "Google"; }
.mp-name { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; }
.mp-card-cta {
  margin-top: 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  color: var(--secondary);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .25s;
}
.marketplace-card:hover .mp-card-cta { gap: 12px; }

/* ---------- Testimonials ---------- */
.testimonials {
  background: linear-gradient(180deg, var(--bg) 0%, #FFEFC2 100%);
}
.swiper { padding: 20px 8px 60px !important; }
.swiper-pagination-bullet { background: var(--text) !important; opacity: .25 !important; }
.swiper-pagination-bullet-active { background: var(--secondary) !important; opacity: 1 !important; width: 28px !important; border-radius: 4px !important; }
.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.testimonial-stars { color: var(--primary); font-size: 1.1rem; }
.testimonial-text { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; line-height: 1.5; letter-spacing: -.01em; color: var(--text); }
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.t-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
}
.t-name { font-weight: 700; font-size: .95rem; }
.t-loc { font-size: .8rem; color: var(--muted); }

/* ---------- Store locator ---------- */
.locator-wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  height: 640px;
}
@media (max-width: 900px) { .locator-wrap { grid-template-columns: 1fr; height: auto; } }
.locator-panel {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 24px;
  overflow-y: auto;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.locator-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 480px;
  background: #E8EFD8;
  border: 1px solid var(--border);
}
.input-group { display: flex; flex-direction: column; gap: 6px; }
.input-group label { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); }
.input, select, textarea {
  font-family: var(--font-body);
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(255,107,0,.12);
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  border: 1.5px solid var(--border);
  font-size: .8rem;
  font-weight: 600;
  transition: all .2s;
}
.chip.active, .chip:hover { background: var(--text); color: var(--primary); border-color: var(--text); }
.store-list { display: flex; flex-direction: column; gap: 12px; }
.store-card {
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.store-card:hover { border-color: var(--secondary); transform: translateY(-2px); }
.store-card h4 { font-size: 1rem; margin-bottom: 4px; }
.store-card .meta { font-size: .82rem; color: var(--text-soft); }
.store-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--text);
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.store-tag.vending { background: var(--accent); color: #fff; }
.store-tag.distributor { background: var(--secondary); color: #fff; }
.store-tag.online { background: var(--text); color: var(--primary); }

/* ---------- Forms (Contact) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 700px) { .form-card { padding: 28px; } }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.newsletter h2 { color: var(--primary); }
.newsletter p { color: rgba(255,255,255,.7); margin-top: 12px; }
.newsletter-form { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: var(--radius-pill); }
.newsletter-form input { border: none; background: transparent; padding: 14px 20px; }
.newsletter-form button { background: var(--secondary); color: #fff; border-radius: var(--radius-pill); padding: 12px 28px; font-weight: 700; }
@media (max-width: 800px) { .newsletter { grid-template-columns: 1fr; padding: 36px; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--text);
  color: #fff;
  padding: 80px 0 24px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}
.footer-grid h4 { color: var(--primary); margin-bottom: 20px; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a { display: block; padding: 6px 0; color: rgba(255,255,255,.65); font-size: .9rem; transition: color .2s, transform .2s; }
.footer-grid a:hover { color: var(--primary); transform: translateX(4px); }
.footer-brand p { color: rgba(255,255,255,.6); margin-top: 16px; max-width: 320px; font-size: .9rem; }
.social-row { display: flex; gap: 12px; margin-top: 24px; }
.social-row a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--primary);
  transition: all .25s;
  padding: 0;
}
.social-row a:hover { background: var(--primary); color: var(--text); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.5); margin-left: 16px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page banners ---------- */
.page-banner {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--primary) 0%, #FFE970 100%);
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(26,26,26,.05) 1px, transparent 0);
  background-size: 22px 22px;
}
.page-banner.green { background: linear-gradient(135deg, var(--accent) 0%, #6DE0A0 100%); color: #fff; }
.page-banner.green h1, .page-banner.green p { color: #fff; }
.page-banner.orange { background: linear-gradient(135deg, var(--secondary) 0%, #FFA666 100%); color: #fff; }
.page-banner.orange h1, .page-banner.orange p { color: #fff; }
.page-banner h1 { position: relative; z-index: 1; max-width: 880px; }
.page-banner p { position: relative; z-index: 1; max-width: 640px; margin-top: 16px; font-size: 1.1rem; }
.crumb { font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 16px; position: relative; z-index: 1; }

/* ---------- Product detail ---------- */
.pdetail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-start;
}
@media (max-width: 900px) { .pdetail-grid { grid-template-columns: 1fr; } }
.pdetail-image {
  position: sticky;
  top: 120px;
  background: #FFF8C9;
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
}
.pdetail-image .product-image {
  position: relative;
  top: 0;
  left: 0;
  transform: rotate(-4deg);
  width: 320px;
  height: 320px;
  margin: 0 auto;
}
.pdetail-image:hover .product-image { transform: rotate(0deg) scale(1.05); }
.pdetail-content > * + * { margin-top: 32px; }
.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.nutrition-table th, .nutrition-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
}
.nutrition-table th { background: var(--text); color: var(--primary); font-family: var(--font-head); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.nutrition-table tr:last-child td { border-bottom: none; }
.nutrition-table td:last-child { font-weight: 700; text-align: right; }
.benefit-list { display: grid; gap: 14px; }
.benefit-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
}
.benefit-item i { color: var(--accent); font-size: 1.1rem; margin-top: 2px; }
.benefit-item h5 { font-size: 1rem; margin-bottom: 2px; }
.benefit-item p { font-size: .88rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: #fff;
  border: 1.5px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: .82rem;
  font-weight: 600;
}

/* ---------- Social / Instagram grid ---------- */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.ig-tile {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  transition: transform .35s;
}
.ig-tile:nth-child(2n) { background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%); color: var(--text); }
.ig-tile:nth-child(3n) { background: linear-gradient(135deg, var(--secondary) 0%, #FFB266 100%); }
.ig-tile:hover { transform: scale(1.03); }
.ig-tile .ig-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.6) 100%);
}
.ig-tile span { position: relative; z-index: 1; font-size: .9rem; }
.ig-tile i { position: absolute; top: 16px; right: 16px; color: #fff; z-index: 1; opacity: .9; font-size: 1.1rem; }

/* ---------- Admin layout ---------- */
.admin-body { background: #F6F7FB; color: var(--text); }
.admin-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.admin-sidebar {
  background: var(--text);
  color: #fff;
  padding: 28px 20px;
}
.admin-sidebar .logo { color: var(--primary); margin-bottom: 36px; }
.admin-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.7);
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 4px;
  transition: background .2s, color .2s;
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,214,0,.12); color: var(--primary); }
.admin-nav a i { width: 20px; }
.admin-main { padding: 32px 40px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.admin-topbar h2 { font-size: 1.6rem; }
.admin-user {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.admin-user .ava { width: 32px; height: 32px; background: var(--secondary); color: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 32px; }
.stat-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.stat-card .label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); font-weight: 700; }
.stat-card .value { font-family: var(--font-head); font-size: 2.2rem; font-weight: 900; }
.stat-card .delta { font-size: .8rem; color: var(--accent); font-weight: 700; }
.admin-panel {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.admin-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table th { text-align: left; padding: 12px 14px; background: #F6F7FB; font-family: var(--font-head); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); }
.admin-table td { padding: 14px; border-bottom: 1px solid var(--border); }
.admin-table tr:last-child td { border-bottom: none; }
.badge { display: inline-block; padding: 4px 10px; border-radius: var(--radius-pill); font-size: .7rem; font-weight: 700; }
.badge-green { background: #DDF7E5; color: #007A33; }
.badge-yellow { background: #FFF3C2; color: #8A6900; }
.badge-red { background: #FFD9D9; color: #9A1E1E; }
.icon-btn { width: 32px; height: 32px; border-radius: 8px; background: #F6F7FB; display: inline-flex; align-items: center; justify-content: center; color: var(--text); transition: background .2s; }
.icon-btn:hover { background: var(--primary); }
.icon-btn.danger:hover { background: #FFD9D9; color: #9A1E1E; }

.admin-section { display: none; }
.admin-section.active { display: block; }

@media (max-width: 1024px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
}

.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 24px;
}
.admin-login-card {
  background: #fff;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.admin-login-card .logo { margin-bottom: 32px; justify-content: center; }
.admin-login-card h2 { text-align: center; margin-bottom: 8px; }
.admin-login-card p { text-align: center; margin-bottom: 32px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.flex { display: flex; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* AOS-like reveal fallback (without lib) */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Back-to-top */
.back-to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--text);
  color: var(--primary);
  display: inline-flex;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all .3s;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 24px; left: 24px;
  max-width: 380px;
  background: var(--text);
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 95;
  display: none;
  align-items: center;
  gap: 16px;
}
.cookie-banner.visible { display: flex; }
.cookie-banner p { color: rgba(255,255,255,.85); font-size: .85rem; flex: 1; }
.cookie-banner button { background: var(--primary); color: var(--text); padding: 8px 18px; border-radius: var(--radius-pill); font-weight: 700; font-size: .85rem; }

/* Loader */
.page-loader {
  position: fixed; inset: 0;
  background: var(--primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s, visibility .5s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-chip {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.02em;
  animation: bounce 1s infinite alternate;
  box-shadow: inset 0 -8px 0 rgba(0,0,0,.06), var(--shadow-md);
}
@keyframes bounce {
  to { transform: translateY(-20px) rotate(8deg); }
}

/* Float animation */
@keyframes float {
  0%, 100% { transform: var(--rot, rotate(0)) translateY(0); }
  50%      { transform: var(--rot, rotate(0)) translateY(-16px); }
}
.float { animation: float 5s ease-in-out infinite; }
.float.d1 { animation-delay: -1s; }
.float.d2 { animation-delay: -2s; }
.float.d3 { animation-delay: -3s; }

/* Decorative blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
  pointer-events: none;
  z-index: 0;
}
.blob.yellow { background: var(--primary); }
.blob.orange { background: var(--secondary); }
.blob.green { background: var(--accent); }
