/* ============================================================
   PULSEPOINT MINI FOOD MART — CORE DESIGN SYSTEM
   File: assets/css/style.css
============================================================ */
:root {
  --orange: #FF6B00;
  --orange-dark: #D95A00;
  --orange-deep: #B84800;
  --orange-light: #FFF0E5;
  --orange-pale: #FFFAF5;
  --orange-glow: rgba(255, 107, 0, 0.35);
  --white: #FFFFFF;
  --off-white: #F8F6F3;
  --gray-100: #F0EDE9;
  --gray-300: #D1CCC6;
  --gray-500: #7A7268;
  --gray-700: #3D3733;
  --gray-900: #1A1614;
  --shadow: 0 8px 30px rgba(255, 107, 0, 0.10);
  --shadow-hover: 0 16px 40px rgba(255, 107, 0, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-display: 'Fraunces', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
::selection { background: var(--orange); color: white; }
:focus-visible {
  outline: 2.5px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* SCROLL PROGRESS BAR */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--orange-deep), var(--orange) 55%, #FFB27A);
  z-index: 3000;
  transition: width 0.08s linear;
  box-shadow: 0 0 12px var(--orange-glow);
}

/* CURSOR GLOW */
.cursor-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: opacity 0.4s ease;
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-glow.active { opacity: 1; }
}

/* ORGANIC DIVIDERS */
.wave-divider {
  display: block;
  width: 100%;
  height: 70px;
  margin-bottom: -1px;
}
.wave-divider path { fill: var(--off-white); }
.wave-divider.flip { transform: rotate(180deg); }

/* FLOATING SHAPES */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  animation: floatDrift 14s ease-in-out infinite;
  filter: blur(0.5px);
}
.floating-shape:nth-child(1) { width: 140px; height: 140px; top: 8%; left: 4%; animation-delay: 0s; }
.floating-shape:nth-child(2) { width: 90px; height: 90px; bottom: 18%; right: 8%; animation-delay: -4s; background: var(--orange-dark); }
.floating-shape:nth-child(3) { width: 200px; height: 200px; top: 38%; left: 58%; animation-delay: -8s; opacity: 0.05; }
.floating-shape:nth-child(4) { width: 70px; height: 70px; bottom: 8%; left: 18%; animation-delay: -2s; background: var(--orange-dark); }
.floating-shape:nth-child(5) { width: 110px; height: 110px; top: 16%; right: 26%; animation-delay: -6s; }

@keyframes floatDrift {
  0% { transform: translate(0px, 0px) scale(1) rotate(0deg); }
  33% { transform: translate(34px, -46px) scale(1.12) rotate(120deg); }
  66% { transform: translate(-24px, 24px) scale(0.9) rotate(240deg); }
  100% { transform: translate(10px, -10px) scale(1) rotate(360deg); }
}

.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--orange);
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: blink 0.8s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.vault-tilt {
  transition: transform 0.15s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}

/* SCROLL REVEALS */
.reveal {
  opacity: 0;
  transform: translateY(48px) scale(0.985);
  filter: blur(4px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-52px) rotate(-1.2deg);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-left.visible { opacity: 1; transform: translateX(0) rotate(0deg); }

.reveal-right {
  opacity: 0;
  transform: translateX(52px) rotate(1.2deg);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-right.visible { opacity: 1; transform: translateX(0) rotate(0deg); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.82) translateY(20px);
  transition: opacity 0.7s var(--spring), transform 0.7s var(--spring);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal-scale.visible { opacity: 1; transform: scale(1) translateY(0); }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--ease), background 0.3s;
  font-family: 'Inter', sans-serif;
  position: relative;
  z-index: 1;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.30);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: -50%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%);
  animation: shimmer 4s ease-in-out infinite;
  transform: translateX(-100%);
}
@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 36px rgba(255, 107, 0, 0.42);
}
.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn-outline:hover {
  background: var(--orange);
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(255,107,0,0.28);
}
.btn-white {
  background: white;
  color: var(--orange);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.btn-white:hover {
  background: var(--orange-light);
  transform: translateY(-4px) scale(1.03);
}

.magnetic {
  display: inline-block;
  will-change: transform;
  transition: transform 0.25s var(--spring);
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 107, 0, 0.10);
  padding: 12px 0;
  transition: box-shadow 0.4s ease, padding 0.4s ease;
}
header.scrolled {
  box-shadow: 0 10px 30px rgba(26,22,20,0.06);
  padding: 8px 0;
}
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--gray-900);
}
.logo img {
  height: 42px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
  transition: transform 0.4s var(--spring);
}
.logo:hover img { transform: rotate(-6deg) scale(1.05); }
.logo span { color: var(--orange); position: relative; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-500);
  transition: color 0.3s;
  position: relative;
}
.nav-links a:not(.cart-icon)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover { color: var(--gray-900); }
.nav-links a:not(.cart-icon):hover::after { width: 100%; }
.cart-icon {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-light);
  padding: 8px 16px;
  border-radius: 50px;
  transition: background 0.3s, transform 0.3s var(--spring);
}
.cart-icon:hover { background: var(--orange); color: white; transform: translateY(-2px); }
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--orange);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--spring);
}
.cart-count.bump { animation: bump 0.4s var(--spring); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.6); } 100% { transform: scale(1); } }
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; }

/* HERO */
.hero {
  padding: 60px 0 90px;
  background: linear-gradient(135deg, var(--orange-pale) 0%, #FFFFFF 70%);
  border-bottom: 2px solid var(--orange-light);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-light);
  color: var(--orange-dark);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
}
.hero-badge i { animation: ring-shake 3s ease-in-out infinite; }
@keyframes ring-shake {
  0%, 90%, 100% { transform: rotate(0); }
  92% { transform: rotate(-12deg); }
  94% { transform: rotate(10deg); }
  96% { transform: rotate(-6deg); }
  98% { transform: rotate(0); }
}
.hero-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  border: 1.5px solid var(--orange);
  opacity: 0.5;
  animation: badge-pulse 2.4s ease-out infinite;
}
@keyframes badge-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.25); opacity: 0; }
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.8vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--gray-900);
  margin-bottom: 20px;
}
.hero-content h1 .accent {
  color: var(--orange);
  font-style: italic;
  position: relative;
  display: inline-block;
}
.hero-content h1 .accent svg {
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 100%;
  height: 14px;
  overflow: visible;
}
.hero-content h1 .accent path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: draw-underline 1.2s var(--ease) 1.1s forwards;
}
@keyframes draw-underline { to { stroke-dashoffset: 0; } }
.hero-lede {
  font-size: 1.12rem;
  color: var(--gray-500);
  max-width: 480px;
  margin-bottom: 32px;
  min-height: 2.4rem;
}
.hero-stats { display: flex; gap: 40px; margin-bottom: 36px; }
.hero-stat .num { font-weight: 900; font-size: 1.8rem; color: var(--orange); display: block; font-variant-numeric: tabular-nums; }
.hero-stat .label { font-size: 0.85rem; color: var(--gray-500); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.vault-card-wrap { position: relative; }
.vault-card-wrap::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 65%);
  opacity: 0.5;
  filter: blur(20px);
  z-index: -1;
  animation: glow-breathe 4s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.06); }
}
.vault-card {
  background: white;
  border-radius: 22px;
  box-shadow: var(--shadow-hover);
  padding: 32px 28px;
  border: 1px solid var(--orange-light);
  transition: box-shadow 0.4s var(--ease);
  will-change: transform;
  position: relative;
}
.vault-card:hover { box-shadow: 0 28px 64px rgba(255, 107, 0, 0.22); }
.vault-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.vault-header h3 { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); }
.vault-badge {
  background: var(--orange);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 50px;
  animation: pulse-badge 2s ease-in-out infinite;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.vault-badge::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: white;
  animation: dot-blink 1.4s ease-in-out infinite;
}
@keyframes dot-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes pulse-badge { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.vault-ring { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.ring-circle {
  width: 92px; height: 92px; border-radius: 50%;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.5rem; color: var(--gray-900);
}
.ring-circle svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring-circle svg circle { fill: none; stroke-width: 8; }
.ring-circle svg .ring-bg { stroke: var(--gray-100); }
.ring-circle svg .ring-fg {
  stroke: var(--orange);
  stroke-linecap: round;
  stroke-dasharray: 251.2;
  stroke-dashoffset: 251.2;
  transition: stroke-dashoffset 1.4s var(--ease) 0.3s;
}
.ring-circle span { position: relative; z-index: 1; }
.ring-details { flex: 1; }
.ring-details .row {
  display: flex; justify-content: space-between; font-size: 0.9rem;
  padding: 6px 0; border-bottom: 1px solid var(--gray-100);
}
.ring-details .row:last-child { border-bottom: none; }
.ring-details .label { color: var(--gray-500); }
.ring-details .value { font-weight: 700; color: var(--gray-900); }

/* MARQUEE TRUST STRIP */
.trust-strip {
  background: var(--off-white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}
.trust-strip::before, .trust-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.trust-strip::before { left: 0; background: linear-gradient(90deg, var(--off-white), transparent); }
.trust-strip::after { right: 0; background: linear-gradient(-90deg, var(--off-white), transparent); }
.trust-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.trust-strip:hover .trust-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--gray-500); font-weight: 500;
  white-space: nowrap;
}
.trust-item i { color: var(--orange); font-size: 1.1rem; }

/* SECTIONS */
section { padding: 90px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-light);
  color: var(--orange-dark);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-tag::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}
.section-head p { color: var(--gray-500); margin-top: 12px; font-size: 1.05rem; }
.bg-soft { background: var(--off-white); }

/* STORY */
.story-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.story-image {
  border-radius: 26px 26px 26px 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  position: relative;
}
.story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,107,0,0.14), transparent 55%);
  pointer-events: none;
}
.story-image img {
  width: 100%; height: 380px; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.story-image:hover img { transform: scale(1.06) rotate(0.4deg); }
.story-copy p { color: var(--gray-500); margin-bottom: 18px; font-size: 1rem; }
.story-copy strong { color: var(--gray-900); }
.story-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--gray-100);
}
.story-stat .num { font-weight: 900; font-size: 1.8rem; color: var(--orange); }
.story-stat .label { font-size: 0.85rem; color: var(--gray-500); }

/* SERVICES PILLARS */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pillar-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 28px 28px 28px 8px;
  padding: 36px 28px;
  transition: transform 0.5s var(--spring), box-shadow 0.5s var(--ease), border-color 0.4s;
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, var(--orange-light) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: scale(0.6);
}
.pillar-card:hover::before { opacity: 1; transform: scale(1); }
.pillar-card:hover {
  transform: translateY(-10px) rotate(-0.4deg);
  box-shadow: var(--shadow-hover);
  border-color: var(--orange-light);
}
.pillar-icon {
  width: 56px; height: 56px;
  background: var(--orange-light);
  border-radius: 16px 16px 16px 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange); font-size: 1.4rem; margin-bottom: 20px;
  transition: transform 0.5s var(--spring), border-radius 0.5s var(--ease);
  position: relative; z-index: 1;
}
.pillar-card:hover .pillar-icon { transform: rotate(-8deg) scale(1.08); border-radius: 50% 16px 16px 16px; }
.pillar-card h3 { font-size: 1.3rem; font-weight: 800; color: var(--gray-900); margin-bottom: 10px; position: relative; z-index: 1; }
.pillar-card p { color: var(--gray-500); font-size: 0.95rem; margin-bottom: 16px; position: relative; z-index: 1; }
.pillar-feature { display: flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 700; font-size: 0.9rem; position: relative; z-index: 1; }
.pillar-feature i { transition: transform 0.4s var(--spring); }
.pillar-card:hover .pillar-feature i { transform: translateX(5px); }
.pillar-card .tag {
  display: inline-block; background: var(--orange); color: white;
  font-size: 0.7rem; font-weight: 800; padding: 2px 12px;
  border-radius: 50px; margin-bottom: 12px; position: relative; z-index: 1;
}
.pillar-card.youth { background: var(--orange-pale); border-color: var(--orange-light); }

/* WHY GRID */
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--gray-100); border-radius: 22px; overflow: hidden;
}
.why-item {
  background: white; padding: 36px 24px; text-align: center;
  transition: background 0.4s, transform 0.4s var(--spring);
  position: relative;
}
.why-item:hover { background: var(--orange-pale); transform: translateY(-4px); z-index: 1; }
.why-item i {
  font-size: 2rem; color: var(--orange); margin-bottom: 14px;
  display: inline-block; transition: transform 0.5s var(--spring);
}
.why-item:hover i { transform: scale(1.18) rotate(-6deg); }
.why-item h4 { font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.why-item p { font-size: 0.9rem; color: var(--gray-500); }

/* SHOP */
.shop { background: var(--off-white); }
.shop-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 20px; border-radius: 50px; border: 1px solid var(--gray-300);
  background: white; font-weight: 600; font-size: 0.85rem; cursor: pointer;
  transition: all 0.35s var(--spring); font-family: 'Inter', sans-serif; color: var(--gray-500);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--orange); color: white; border-color: var(--orange);
  transform: translateY(-2px);
}
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; }
.product-card {
  background: white; border-radius: 22px 22px 22px 6px; border: 1px solid var(--gray-100);
  overflow: hidden; transition: transform 0.5s var(--spring), box-shadow 0.5s var(--ease);
  transform-style: preserve-3d;
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--orange-light);
}
.product-media { position: relative; aspect-ratio: 1/1; background: #faf8f6; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 20px; transition: transform 0.6s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.07) rotate(-1deg); }
.product-badge {
  position: absolute; top: 12px; left: 12px; background: var(--orange); color: white;
  font-size: 0.7rem; font-weight: 800; padding: 4px 12px; border-radius: 50px;
  box-shadow: 0 4px 12px rgba(255,107,0,0.35);
}
.product-info { padding: 18px 20px 20px; }
.product-info h4 { font-weight: 700; color: var(--gray-900); font-size: 1rem; margin-bottom: 4px; }
.product-info .desc { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 12px; }
.price { font-weight: 900; font-size: 1.2rem; color: var(--orange); margin-bottom: 14px; }
.add-to-cart {
  width: 100%; padding: 12px; background: var(--orange); color: white; border: none;
  border-radius: 50px; font-weight: 700; cursor: pointer;
  transition: background 0.3s, transform 0.3s var(--spring);
  font-family: 'Inter', sans-serif; display: flex; align-items: center; justify-content: center; gap: 8px;
  position: relative; overflow: hidden;
}
.add-to-cart:hover { background: var(--orange-dark); transform: scale(1.03); }
.add-to-cart:active { transform: scale(0.97); }

/* TESTIMONIALS */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.testimonial-card {
  background: white; border: 1px solid var(--gray-100); border-radius: 24px 24px 6px 24px;
  padding: 36px 32px 32px; transition: transform 0.5s var(--spring), box-shadow 0.5s var(--ease);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 8px; left: 20px;
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--orange-light);
  line-height: 1;
  z-index: 0;
}
.testimonial-card > * { position: relative; z-index: 1; }
.testimonial-card:hover { transform: translateY(-6px) rotate(0.5deg); box-shadow: var(--shadow-hover); }
.stars { color: #F59E0B; margin-bottom: 12px; }
.stars i { animation: star-twinkle 2.5s ease-in-out infinite; }
@keyframes star-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
.testimonial-card p { font-style: italic; color: var(--gray-700); margin-bottom: 20px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--orange-light);
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--orange-dark);
  transition: transform 0.4s var(--spring);
}
.testimonial-card:hover .avatar { transform: scale(1.1) rotate(-6deg); }
.testimonial-person .name { font-weight: 700; color: var(--gray-900); }
.testimonial-person .role { font-size: 0.8rem; color: var(--gray-500); }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(120deg, var(--orange-deep), var(--orange) 45%, var(--orange-dark) 100%);
  background-size: 220% 220%;
  animation: gradient-shift 10s ease infinite;
  color: white; text-align: center; padding: 90px 0; position: relative; overflow: hidden;
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18) 0%, transparent 55%),
              radial-gradient(circle at 80% 70%, rgba(255,255,255,0.10) 0%, transparent 50%);
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 { font-family: var(--font-display); font-size: clamp(2.1rem, 3.6vw, 3rem); font-weight: 700; margin-bottom: 16px; }
.cta-banner p { max-width: 520px; margin: 0 auto 32px; opacity: 0.92; font-size: 1.05rem; }

/* FOOTER STYLES */
footer { background: var(--gray-900); color: rgba(255,255,255,0.7); padding: 60px 0 30px; border-top: 4px solid var(--orange); position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-newsletter-card { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.footer-newsletter-form { display: flex; gap: 12px; }
.footer-columns-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-brand .logo { color: white; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; max-width: 300px; }
.footer-col h4 { color: white; font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); margin-bottom: 8px; transition: color 0.3s, transform 0.3s; }
.footer-col a:hover { color: var(--orange); transform: translateX(4px); }
.social-icons { display: flex; gap: 12px; margin-top: 16px; }
.social-icons a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center; transition: 0.35s var(--spring); color: white;
}
.social-icons a:hover { background: var(--orange); transform: translateY(-4px) rotate(8deg); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; text-align: center; font-size: 0.85rem; }

/* CART SIDEBAR */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(20,14,10,0.45); backdrop-filter: blur(5px);
  z-index: 2000; display: none; justify-content: flex-end;
  opacity: 0; transition: opacity 0.35s ease;
}
.cart-overlay.open { display: flex; opacity: 1; }
.cart-sidebar {
  width: 100%; max-width: 420px; height: 100vh; background: white; padding: 28px 24px;
  overflow-y: auto; display: flex; flex-direction: column;
  transform: translateX(60px); opacity: 0;
  transition: transform 0.4s var(--spring), opacity 0.4s ease;
}
.cart-overlay.open .cart-sidebar { transform: translateX(0); opacity: 1; }
.cart-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--orange-light); padding-bottom: 16px; }
.cart-header h2 { color: var(--gray-900); }
.cart-close { font-size: 1.8rem; cursor: pointer; color: var(--gray-500); transition: 0.35s var(--spring); }
.cart-close:hover { color: var(--orange); transform: rotate(90deg); }
.cart-items { flex: 1; padding: 16px 0; }
.cart-item {
  display: flex; justify-content: space-between; align-items: center; padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  animation: item-in 0.35s var(--ease);
}
@keyframes item-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.cart-item-info h4 { font-weight: 600; color: var(--gray-900); font-size: 0.95rem; }
.cart-item-info p { font-size: 0.85rem; color: var(--gray-500); }
.cart-item-qty { display: flex; align-items: center; gap: 10px; }
.cart-item-qty button {
  background: var(--orange-light); border: none; width: 28px; height: 28px; border-radius: 50%;
  font-weight: 700; cursor: pointer; color: var(--orange); transition: transform 0.25s var(--spring), background 0.25s;
}
.cart-item-qty button:hover { background: var(--orange); color: white; transform: scale(1.1); }
.cart-item-qty span { font-weight: 700; width: 20px; text-align: center; }
.cart-total { border-top: 2px solid var(--orange-light); padding-top: 16px; font-weight: 900; font-size: 1.2rem; display: flex; justify-content: space-between; }
.cart-total span:last-child { color: var(--orange); }
.checkout-btn { margin-top: 16px; width: 100%; }
.checkout-form-container {
  max-height: 0; overflow: hidden; margin-top: 0; padding: 0 20px; opacity: 0;
  background: var(--off-white); border-radius: var(--radius); border: 1px solid transparent;
  transition: max-height 0.5s var(--ease), opacity 0.4s ease, margin-top 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
}
.checkout-form-container.active { max-height: 900px; margin-top: 16px; padding: 20px; opacity: 1; border-color: var(--orange-light); }
.form-group { margin-bottom: 14px; }
.form-group label { font-weight: 600; font-size: 0.85rem; display: block; margin-bottom: 4px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--gray-300); border-radius: 8px; font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s; font-family: 'Inter', sans-serif;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,0,0.10);
}
.delivery-note {
  background: var(--orange-light); padding: 10px 14px; border-radius: 8px; font-size: 0.85rem;
  color: var(--orange-dark); margin: 12px 0; display: flex; gap: 10px; align-items: center;
}
.pay-btn {
  width: 100%; padding: 14px; background: #0C1824; color: white; border: none; border-radius: 8px;
  font-weight: 700; cursor: pointer; transition: background 0.3s, transform 0.25s var(--spring);
}
.pay-btn:hover { background: #1a2a3a; transform: translateY(-2px); }
.wa-btn {
  width: 100%; margin-top: 10px; background: #25D366; color: white; border: none; padding: 14px;
  border-radius: 8px; font-weight: 700; cursor: pointer; transition: background 0.3s, transform 0.25s var(--spring);
}
.wa-btn:hover { background: #1DA85A; transform: translateY(-2px); }

/* FLOATING WIDGETS */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; background: #25D366; color: white; width: 60px; height: 60px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem;
  box-shadow: 0 8px 30px rgba(37,211,102,0.35); z-index: 999; transition: 0.35s var(--spring);
}
.whatsapp-float::before {
  content: '';
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.7); opacity: 0; } }
.whatsapp-float:hover { transform: scale(1.12) rotate(6deg); }

.back-to-top {
  position: fixed; bottom: 28px; left: 28px; width: 48px; height: 48px; border-radius: 50%;
  background: white; color: var(--orange); border: 1.5px solid var(--orange-light);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  cursor: pointer; z-index: 998; opacity: 0; pointer-events: none; transform: translateY(12px) scale(0.9);
  transition: opacity 0.35s ease, transform 0.35s var(--spring);
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.back-to-top:hover { background: var(--orange); color: white; transform: translateY(-4px) scale(1.05); }

/* FLASH MESSAGES */
.alert {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: #E6F4EA; color: #137333; border: 1px solid #CEEAD6; }
.alert-danger { background: #FCE8E6; color: #C5221F; border: 1px solid #FAD2CF; }
.alert-warning { background: #FEF7E0; color: #B06000; border: 1px solid #FEEFC3; }
.alert-info { background: var(--orange-light); color: var(--orange-dark); border: 1px solid var(--orange); }

/* RESPONSIVE MEDIA QUERIES */
html, body { overflow-x: hidden; width: 100%; }

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-newsletter-card { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px !important; }
  .footer-columns-grid { grid-template-columns: 1fr 1fr !important; gap: 30px !important; }
  .cursor-glow { display: none; }
}

@media (max-width: 768px) {
  /* CONTAINER & PADDING OVERRIDES */
  .container { padding-left: 20px !important; padding-right: 20px !important; }
  
  /* NAVIGATION & HEADER */
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0;
    background: white; padding: 24px; gap: 16px; border-bottom: 1px solid var(--gray-100);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: menu-drop 0.35s var(--ease);
    z-index: 1000;
  }
  @keyframes menu-drop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
  .hamburger { display: block; cursor: pointer; font-size: 1.5rem; color: var(--gray-900); }
  
  /* HERO & SECTIONS */
  .hero { padding: 40px 0 50px; text-align: center; }
  .hero-stats { gap: 16px; justify-content: center; }
  .hero-stat .num { font-size: 1.3rem; }
  .pillar-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-columns-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cart-sidebar { max-width: 100%; }
  .back-to-top { width: 42px; height: 42px; bottom: 20px; left: 20px; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; font-size: 1.6rem; }

  /* FOOTER MOBILE RESPONSIVENESS */
  footer { padding: 40px 0 20px !important; }
  .footer-newsletter-card { grid-template-columns: 1fr !important; padding: 24px 18px !important; margin-bottom: 36px !important; }
  .footer-newsletter-card h3 { font-size: 1.4rem !important; }
  .footer-newsletter-form { flex-direction: column !important; width: 100% !important; gap: 10px !important; }
  .footer-newsletter-form input { width: 100% !important; }
  .footer-newsletter-form button { width: 100% !important; justify-content: center; }
  .footer-columns-grid > div { margin-bottom: 10px; }
  div[style*="border-top: 1px solid #292524"] { flex-direction: column !important; text-align: center !important; gap: 16px !important; }

  /* ADMIN & DASHBOARD MOBILE OVERRIDES */
  body.admin-body { flex-direction: column !important; }
  .admin-sidebar { width: 100% !important; min-height: auto !important; padding: 16px 20px !important; }
  .admin-nav { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; }
  .admin-nav a { padding: 8px 12px !important; margin-bottom: 0 !important; font-size: 0.82rem !important; }
  main { padding: 20px 16px !important; }

  /* DASHBOARD GRIDS & TABLE WRAPPING */
  div[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns: 1.1fr 0.9fr"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns: 2fr 1fr 1fr 1.5fr"] { grid-template-columns: 1fr !important; }
  .table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table { min-width: 550px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { justify-content: center; width: 100%; }
  h1 { font-size: 1.8rem !important; }
  h2 { font-size: 1.4rem !important; }
  .footer-newsletter-card { padding: 20px 14px !important; }
  .whatsapp-float { bottom: 16px; right: 16px; width: 48px; height: 48px; font-size: 1.4rem; }
  .back-to-top { bottom: 16px; left: 16px; width: 38px; height: 38px; }
}

