/* ============================================================
   BRAVA BURGER · Rosario
   Dark warm palette · Archivo Black + Inter
   ============================================================ */

:root {
  /* Paleta */
  --c-primary:  #DC2626;   /* rojo brava */
  --c-primary-2:#991B1B;
  --c-mustard:  #F59E0B;   /* dorado mostaza */
  --c-cream:    #FEF3C7;
  --c-bg:       #0C0A09;   /* casi negro warm */
  --c-surface:  #1C1917;
  --c-surface-2:#292524;
  --c-text:     #FAFAF9;
  --c-text-soft:#A8A29E;
  --c-border:   #44403C;
  --c-success:  #25D366;

  /* Tipografía */
  --f-display: 'Archivo Black', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;

  /* Tamaños */
  --fs-xs: 0.75rem;  --fs-sm: 0.875rem; --fs-base: 1rem;
  --fs-lg: 1.125rem; --fs-xl: 1.25rem;  --fs-2xl: 1.5rem;
  --fs-3xl: 2rem;    --fs-4xl: 2.75rem; --fs-5xl: clamp(2.5rem, 6vw, 4.5rem);

  /* Espacios */
  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem;
  --sp-4: 1rem;   --sp-6: 1.5rem; --sp-8: 2rem;
  --sp-12: 3rem;  --sp-16: 4rem;  --sp-24: 6rem;

  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --r-full: 999px;
  --shadow-md: 0 6px 22px rgba(0,0,0,.35);
  --shadow-lg: 0 16px 50px rgba(0,0,0,.5);
  --shadow-glow: 0 0 0 1px rgba(220,38,38,.4), 0 8px 30px rgba(220,38,38,.15);

  --t-fast: .15s ease;
  --t-base: .25s ease;
  --t-slow: .4s cubic-bezier(.2,.8,.2,1);

  --container-max: 1240px;
  --container-pad: 1.25rem;
  --header-h: 76px;
}

/* ============ RESET ============ */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; color: inherit; }
h1,h2,h3,h4 { font-family: var(--f-display); font-weight: 400; letter-spacing: -.01em; line-height: 1.05; margin: 0 0 var(--sp-4); }
p { margin: 0 0 var(--sp-4); }
ul,ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; color: var(--c-mustard); }

::selection { background: var(--c-primary); color: var(--c-cream); }

/* ============ A11Y ============ */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-primary); color: #fff;
  padding: var(--sp-3) var(--sp-4); z-index: 9999;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--c-mustard); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ LAYOUT ============ */
.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-pad); }
section { padding-block: var(--sp-16); }
@media (min-width: 768px) { section { padding-block: var(--sp-24); } }

.section-head { text-align: center; max-width: 700px; margin: 0 auto var(--sp-12); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-head__sub { color: var(--c-text-soft); font-size: var(--fs-lg); }

.kicker {
  display: inline-block;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-mustard);
  margin-bottom: var(--sp-3);
}

/* ============ BOTONES ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: var(--fs-base);
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform var(--t-base), box-shadow var(--t-base), background-color var(--t-base), color var(--t-base);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: #EF4444; box-shadow: var(--shadow-glow); }

.btn--secondary { background: var(--c-mustard); color: var(--c-bg); }
.btn--secondary:hover { background: #FBBF24; }

.btn--ghost { background: transparent; color: var(--c-text); border: 1.5px solid var(--c-border); }
.btn--ghost:hover { background: var(--c-surface); border-color: var(--c-mustard); color: var(--c-mustard); }

.btn--whatsapp { background: var(--c-success); color: #fff; }
.btn--whatsapp:hover { background: #1DA851; }

.btn--sm { padding: var(--sp-2) var(--sp-4); font-size: var(--fs-sm); }
.btn--lg { padding: var(--sp-4) var(--sp-8); font-size: var(--fs-lg); }

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background-color var(--t-base), box-shadow var(--t-base), backdrop-filter var(--t-base);
}
.header.is-scrolled {
  background: rgba(12,10,9,.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.05);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; gap: var(--sp-3); }
.logo__mark {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-primary); color: #fff;
  font-family: var(--f-display); font-size: 1.4rem;
  border-radius: var(--r-sm);
  transform: rotate(-4deg);
  box-shadow: var(--shadow-md);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__text strong { font-family: var(--f-display); font-size: var(--fs-xl); color: var(--c-text); }
.logo__text small { font-size: .7rem; color: var(--c-text-soft); letter-spacing: .12em; text-transform: uppercase; }

.nav { display: none; gap: var(--sp-6); }
.nav a {
  font-weight: 500; color: var(--c-text); position: relative;
  transition: color var(--t-fast);
}
.nav a:hover { color: var(--c-mustard); }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--c-mustard);
  transition: width var(--t-base);
}
.nav a:hover::after { width: 100%; }

.header__cta { display: none; }

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px; padding: var(--sp-2);
}
.nav-toggle span {
  display: block; width: 26px; height: 2px; background: var(--c-text);
  transition: transform var(--t-base), opacity var(--t-fast);
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile nav abierto */
.nav.is-open {
  display: flex; flex-direction: column;
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  padding: var(--sp-8) var(--sp-6);
  background: rgba(12,10,9,.97); backdrop-filter: blur(20px);
  gap: var(--sp-4); font-size: var(--fs-2xl);
  z-index: 99;
  animation: fadeIn .25s ease;
}

/* ============ HERO ============ */
.hero {
  position: relative; isolation: isolate;
  min-height: 92vh;
  display: flex; align-items: center;
  padding-top: calc(var(--header-h) + var(--sp-12));
  padding-bottom: var(--sp-16);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 30% 30%, rgba(220,38,38,.18), transparent 60%),
    linear-gradient(180deg, rgba(12,10,9,.4) 0%, rgba(12,10,9,.85) 60%, rgba(12,10,9,1) 100%);
}

.hero__inner { max-width: 800px; }
.hero__title {
  font-size: var(--fs-5xl);
  margin-bottom: var(--sp-6);
}
.hero__subtitle {
  font-size: var(--fs-xl); color: var(--c-text-soft); max-width: 560px;
  margin-bottom: var(--sp-8);
}
.hero__cta { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-12); }
.hero__meta {
  display: flex; gap: var(--sp-8); flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: var(--sp-6);
}
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta strong { font-family: var(--f-display); font-size: var(--fs-2xl); color: var(--c-mustard); }
.hero__meta span { font-size: var(--fs-sm); color: var(--c-text-soft); letter-spacing: .04em; }

.badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.35);
  border-radius: var(--r-full);
  color: var(--c-mustard); font-size: var(--fs-sm); font-weight: 600;
  margin-bottom: var(--sp-6);
}
.badge__dot {
  width: 8px; height: 8px; background: var(--c-mustard); border-radius: var(--r-full);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.4); opacity: .6; }
}

/* ============ VALOR ============ */
.valor { background: var(--c-surface); border-block: 1px solid var(--c-border); }
.valor__grid {
  display: grid; gap: var(--sp-6);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .valor__grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); } }

.valor__card {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  transition: transform var(--t-base), border-color var(--t-base);
}
.valor__card:hover { transform: translateY(-4px); border-color: var(--c-mustard); }
.valor__icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(220,38,38,.15); border: 1px solid rgba(220,38,38,.3);
  border-radius: var(--r-md);
  font-size: 1.6rem;
  margin-bottom: var(--sp-4);
}
.valor__card h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.valor__card p { color: var(--c-text-soft); margin: 0; }

/* ============ MENÚ ============ */
.menu { background: var(--c-bg); }

.tabs__nav {
  display: flex; gap: var(--sp-2);
  margin-bottom: var(--sp-8);
  overflow-x: auto;
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--c-border);
  scrollbar-width: thin;
}
.tabs__btn {
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-full);
  color: var(--c-text-soft);
  font-weight: 600; font-size: var(--fs-base);
  white-space: nowrap;
  border: 1px solid transparent;
  transition: all var(--t-base);
}
.tabs__btn:hover { color: var(--c-text); background: var(--c-surface); }
.tabs__btn.is-active {
  background: var(--c-primary); color: #fff;
  border-color: var(--c-primary);
  box-shadow: var(--shadow-glow);
}

.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; animation: fadeInUp .35s ease; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

/* ============ GRID PRODUCTOS ============ */
.grid {
  display: grid; gap: var(--sp-6);
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.grid--drinks { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px)  { .grid--drinks { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid--drinks { grid-template-columns: repeat(6, 1fr); } }

/* ============ PRODUCT CARD ============ */
.product {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
  display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-6px); border-color: var(--c-mustard); box-shadow: var(--shadow-lg); }
.product--in-cart { border-color: var(--c-success); }
.product--in-cart::after {
  content: ''; position: absolute; top: 12px; right: 12px;
  width: 12px; height: 12px; background: var(--c-success); border-radius: var(--r-full);
  box-shadow: 0 0 0 4px rgba(37,211,102,.25);
}

.product__img {
  aspect-ratio: 16/10; overflow: hidden;
  background: var(--c-surface-2);
}
.grid--drinks .product__img { aspect-ratio: 3/4; }
.product__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.product:hover .product__img img { transform: scale(1.06); }

.product__body { padding: var(--sp-5); flex: 1; display: flex; flex-direction: column; }
.product__tag {
  display: inline-block;
  font-size: var(--fs-xs); font-weight: 700;
  padding: 4px 10px; border-radius: var(--r-full);
  background: rgba(245,158,11,.15); color: var(--c-mustard);
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: var(--sp-3); align-self: flex-start;
}
.product__tag--spicy { background: rgba(220,38,38,.15); color: #FCA5A5; }
.product__tag--premium { background: rgba(245,158,11,.2); color: var(--c-mustard); }
.product__tag--veg { background: rgba(34,197,94,.15); color: #86EFAC; }
.product__tag--xl { background: rgba(220,38,38,.2); color: #FCA5A5; }

.product__body h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.product__desc { color: var(--c-text-soft); font-size: var(--fs-sm); margin-bottom: var(--sp-4); flex: 1; }
.product__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3);
  margin-top: auto;
}

/* Add-to-cart premium button */
.product__foot .btn--primary,
.modal__product__actions .btn--primary {
  position: relative;
  overflow: hidden;
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #EF4444 0%, var(--c-primary) 50%, var(--c-primary-2) 100%);
  box-shadow: 0 4px 14px rgba(220,38,38,.4), inset 0 1px 0 rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.08);
  isolation: isolate;
}
.product__foot .btn--primary::before,
.modal__product__actions .btn--primary::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, #FBBF24, var(--c-primary));
  opacity: 0;
  transition: opacity var(--t-base);
}
.product__foot .btn--primary::after,
.modal__product__actions .btn--primary::after {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left .55s ease;
  pointer-events: none;
}
.product__foot .btn--primary:hover,
.modal__product__actions .btn--primary:hover {
  background: linear-gradient(135deg, #F59E0B 0%, #EF4444 50%, var(--c-primary) 100%);
  box-shadow: 0 8px 26px rgba(220,38,38,.55), inset 0 1px 0 rgba(255,255,255,.25);
  transform: translateY(-2px);
}
.product__foot .btn--primary:hover::after,
.modal__product__actions .btn--primary:hover::after {
  left: 130%;
}
.product__price {
  font-family: var(--f-display);
  font-size: var(--fs-2xl);
  letter-spacing: -.02em;
  font-feature-settings: 'tnum' 1;
  background: linear-gradient(135deg, #FBBF24 0%, var(--c-mustard) 50%, #D97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  position: relative;
  padding-bottom: 4px;
}
.product__price::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 32px; height: 2px;
  background: linear-gradient(90deg, var(--c-mustard), transparent);
  border-radius: var(--r-full);
}
.modal__product .price {
  font-family: var(--f-display);
  font-size: var(--fs-3xl);
  letter-spacing: -.02em;
  font-feature-settings: 'tnum' 1;
  background: linear-gradient(135deg, #FBBF24 0%, var(--c-mustard) 50%, #D97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: block; margin-bottom: var(--sp-4);
}

/* ============ HISTORIA ============ */
.historia { background: var(--c-surface); border-block: 1px solid var(--c-border); }
.historia__inner {
  display: grid; gap: var(--sp-12); align-items: center;
}
@media (min-width: 1024px) { .historia__inner { grid-template-columns: 1fr 1fr; } }

.historia__media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.historia__content h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); margin-bottom: var(--sp-6); }
.historia__content p { color: var(--c-text-soft); font-size: var(--fs-lg); }
.historia__content strong { color: var(--c-text); }

/* ============ TESTIMONIOS ============ */
.testimonios__grid {
  display: grid; gap: var(--sp-6);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .testimonios__grid { grid-template-columns: repeat(3, 1fr); } }

.testimonio {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  transition: border-color var(--t-base);
}
.testimonio:hover { border-color: var(--c-mustard); }
.testimonio__stars { color: var(--c-mustard); font-size: var(--fs-lg); margin-bottom: var(--sp-3); }
.testimonio p { color: var(--c-text); font-size: var(--fs-lg); font-style: italic; margin-bottom: var(--sp-4); }
.testimonio footer { color: var(--c-text-soft); font-size: var(--fs-sm); }
.testimonio strong { color: var(--c-mustard); }

/* ============ FAQ ============ */
.faq {
  position: relative;
  background:
    radial-gradient(circle at 80% 0%, rgba(245,158,11,.06) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(220,38,38,.05) 0%, transparent 45%),
    var(--c-bg);
}
.faq__list {
  display: grid;
  gap: var(--sp-4);
  max-width: 820px;
  margin: 0 auto;
  counter-reset: faq;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.faq__item {
  position: relative;
  background: linear-gradient(135deg, var(--c-surface) 0%, var(--c-surface-2) 100%);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
  counter-increment: faq;
}
.faq__item::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--c-mustard), transparent);
  opacity: 0;
  transition: opacity var(--t-base);
}
.faq__item:hover {
  border-color: rgba(245,158,11,.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.faq__item:hover::before { opacity: .6; }
.faq__item.is-open {
  border-color: var(--c-mustard);
  box-shadow: 0 12px 40px rgba(245,158,11,.12), 0 0 0 1px rgba(245,158,11,.2);
}
.faq__item.is-open::before { opacity: 1; }

.faq__question {
  width: 100%; text-align: left;
  padding: var(--sp-5) var(--sp-6) var(--sp-5) var(--sp-6);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-4);
  font-weight: 600; font-size: var(--fs-lg);
  color: var(--c-text);
  transition: color var(--t-fast);
  font-family: var(--f-body);
}
.faq__question::before {
  content: counter(faq, decimal-leading-zero);
  font-family: var(--f-display);
  font-size: var(--fs-base);
  color: var(--c-mustard);
  letter-spacing: .04em;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.25);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  line-height: 1;
}
.faq__item.is-open .faq__question { color: var(--c-mustard); }
.faq__item.is-open .faq__question::before {
  background: var(--c-mustard);
  color: var(--c-bg);
  border-color: var(--c-mustard);
}

.faq__icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-full);
  font-size: var(--fs-2xl); font-weight: 300;
  color: var(--c-text-soft);
  transition: transform var(--t-base), border-color var(--t-base), color var(--t-base), background-color var(--t-base);
}
.faq__item:hover .faq__icon {
  border-color: rgba(245,158,11,.5);
  color: var(--c-mustard);
}
.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  border-color: var(--c-mustard);
  background: var(--c-mustard);
  color: var(--c-bg);
}

.faq__answer {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-slow);
}
.faq__answer-inner {
  padding: 0 var(--sp-6) var(--sp-5) calc(var(--sp-6) + 60px);
  color: var(--c-text-soft);
  font-size: var(--fs-base);
  line-height: 1.7;
}
@media (max-width: 640px) {
  .faq__answer-inner { padding-left: var(--sp-6); }
}

/* ============ FOOTER ============ */
.footer {
  background: #050403; padding-top: var(--sp-16); border-top: 1px solid var(--c-border);
}
.footer__inner {
  display: grid; gap: var(--sp-8);
  grid-template-columns: 1fr;
  padding-bottom: var(--sp-12);
}
@media (min-width: 768px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer__brand p { color: var(--c-text-soft); margin-top: var(--sp-3); }
.footer__col h4 { font-family: var(--f-body); font-size: var(--fs-base); font-weight: 700; color: var(--c-mustard); letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--sp-3); }
.footer__col a { display: block; color: var(--c-text-soft); padding: var(--sp-1) 0; transition: color var(--t-fast); }
.footer__col a:hover { color: var(--c-mustard); }
.footer__col p { color: var(--c-text-soft); }
.footer__bottom { border-top: 1px solid var(--c-border); padding-block: var(--sp-4); text-align: center; color: var(--c-text-soft); font-size: var(--fs-sm); }

/* ============ MINI-CART ============ */
.mini-cart {
  position: fixed; bottom: var(--sp-6); right: var(--sp-6); z-index: 90;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-5) var(--sp-3) var(--sp-3);
  min-width: 220px;
  background: linear-gradient(135deg, #EF4444 0%, var(--c-primary) 60%, var(--c-primary-2) 100%);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: var(--r-xl);
  font-weight: 700;
  box-shadow:
    0 18px 60px rgba(220,38,38,.5),
    0 0 0 1px rgba(0,0,0,.4),
    inset 0 1px 0 rgba(255,255,255,.25);
  transform: translateY(180%) scale(.95);
  opacity: 0;
  transition: transform var(--t-slow), opacity var(--t-slow), box-shadow var(--t-base);
  backdrop-filter: saturate(1.4);
}
.mini-cart.is-active {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.mini-cart:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 22px 70px rgba(220,38,38,.6),
    0 0 0 1px rgba(0,0,0,.4),
    inset 0 1px 0 rgba(255,255,255,.35);
}

.mini-cart__icon {
  position: relative;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.22);
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.12);
}
.mini-cart__count {
  position: absolute; top: -8px; right: -8px;
  min-width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 7px;
  background: var(--c-mustard); color: var(--c-bg);
  border: 2.5px solid var(--c-primary);
  border-radius: var(--r-full);
  font-family: var(--f-display);
  font-size: var(--fs-sm);
  line-height: 1;
}
.mini-cart__info {
  display: flex; flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.mini-cart__label {
  font-size: 0.7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .85;
  font-weight: 600;
  margin-bottom: 2px;
}
.mini-cart__total {
  font-family: var(--f-display);
  font-size: var(--fs-2xl);
  letter-spacing: -.01em;
}
.mini-cart__cta {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.15);
  border-radius: var(--r-full);
  transition: transform var(--t-base), background-color var(--t-base);
}
.mini-cart:hover .mini-cart__cta {
  background: rgba(255,255,255,.28);
  transform: translateX(3px);
}

.mini-cart.is-bumping { animation: bump .55s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes bump {
  0%   { transform: translateY(0) scale(1); }
  35%  { transform: translateY(-12px) scale(1.08); }
  60%  { transform: translateY(-4px) scale(1.03); }
  100% { transform: translateY(0) scale(1); }
}

@media (max-width: 480px) {
  .mini-cart {
    left: var(--sp-4); right: var(--sp-4);
    bottom: var(--sp-4);
    min-width: 0;
  }
}

/* ============ MODAL ============ */
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(0,0,0,.75); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-base);
}
.modal.is-open { opacity: 1; pointer-events: auto; }
@media (min-width: 768px) { .modal { align-items: center; } }

.modal__content {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  width: 100%; max-width: 640px;
  max-height: 92vh; overflow-y: auto;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: var(--sp-8) var(--sp-6);
  position: relative;
  transform: translateY(40px);
  transition: transform var(--t-slow);
}
.modal.is-open .modal__content { transform: none; }
@media (min-width: 768px) {
  .modal__content { border-radius: var(--r-xl); border: 1px solid var(--c-border); padding: var(--sp-12); }
}

.modal__close {
  position: absolute; top: var(--sp-4); right: var(--sp-4);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-surface-2); border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  font-size: var(--fs-2xl); line-height: 1;
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.modal__close:hover { background: var(--c-primary); border-color: var(--c-primary); }

.modal__product {
  display: grid; gap: var(--sp-6);
}
.modal__product img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  border-radius: var(--r-md);
}
.modal__product h2 { font-size: var(--fs-3xl); margin-bottom: var(--sp-2); }
.modal__product ul { display: grid; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.modal__product ul li {
  display: flex; align-items: center; gap: var(--sp-2);
  color: var(--c-text-soft); font-size: var(--fs-base);
}
.modal__product ul li::before { content: '→'; color: var(--c-mustard); font-weight: 700; }
.modal__product__actions {
  display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap;
  padding-top: var(--sp-4); border-top: 1px solid var(--c-border);
}

/* ============ QTY ============ */
.qty {
  display: inline-flex; align-items: center; gap: 0;
  background: var(--c-surface-2); border: 1px solid var(--c-border);
  border-radius: var(--r-full); padding: 2px;
}
.qty__btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-full);
  font-size: var(--fs-xl); font-weight: 700;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.qty__btn:hover { background: var(--c-primary); color: #fff; }
.qty__btn:disabled { opacity: .35; cursor: not-allowed; }
.qty__val { min-width: 36px; text-align: center; font-weight: 700; }

/* ============ CHECKOUT MODAL ============ */
.modal__content--checkout { max-width: 640px; }
.modal__content--checkout h2 { font-size: var(--fs-3xl); margin-bottom: var(--sp-6); padding-right: 50px; }
.modal__content--checkout h3 {
  font-family: var(--f-body); font-weight: 700; font-size: var(--fs-base);
  letter-spacing: .08em; text-transform: uppercase; color: var(--c-mustard);
  margin-bottom: var(--sp-3);
}

.checkout__items {
  background: var(--c-surface-2); border: 1px solid var(--c-border);
  border-radius: var(--r-md); padding: var(--sp-4); margin-bottom: var(--sp-4);
  max-height: 280px; overflow-y: auto;
}
.checkout__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--c-border);
}
.checkout__row:last-child { border-bottom: 0; }
.checkout__name { font-weight: 600; }
.checkout__line { font-family: var(--f-display); color: var(--c-mustard); min-width: 80px; text-align: right; }

.checkout__total-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: var(--sp-6);
  font-size: var(--fs-lg);
}
.checkout__total-row strong { font-family: var(--f-display); font-size: var(--fs-3xl); color: var(--c-mustard); }

.checkout__section { margin-bottom: var(--sp-6); }
.checkout__payments { display: grid; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.payment-option {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-surface-2); border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.payment-option:hover { border-color: var(--c-mustard); }
.payment-option input { accent-color: var(--c-primary); width: 18px; height: 18px; }
.payment-option:has(input:checked) { border-color: var(--c-primary); background: rgba(220,38,38,.08); }

.checkout__cbu {
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.3);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  display: grid; gap: var(--sp-2);
  animation: fadeIn .25s ease;
}
.checkout__cbu code {
  display: inline-block;
  background: var(--c-bg); border: 1px solid var(--c-border);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  font-family: ui-monospace, monospace; font-size: var(--fs-base);
  word-break: break-all;
}
.checkout__cbu small { color: var(--c-text-soft); }

.field { display: grid; gap: var(--sp-2); margin-bottom: var(--sp-3); }
.field span { font-weight: 500; color: var(--c-text-soft); font-size: var(--fs-sm); }
.field input, .field textarea {
  background: var(--c-surface-2);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  color: var(--c-text);
  resize: vertical;
  transition: border-color var(--t-fast);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-mustard); }

.checkout__submit { width: 100%; }
.checkout__note {
  display: block; text-align: center; color: var(--c-text-soft);
  margin-top: var(--sp-4);
}

/* ============ ANIM UTILS ============ */
.fade-in,.fade-in-up,.fade-in-down {
  opacity: 0;
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
.fade-in-up   { transform: translateY(28px); }
.fade-in-down { transform: translateY(-28px); }
.fade-in.is-visible,
.fade-in-up.is-visible,
.fade-in-down.is-visible { opacity: 1; transform: none; }
[style*="--stagger"] { transition-delay: calc(var(--stagger) * 90ms); }

.text-soft { color: var(--c-text-soft); }
