/* =========================================================
   DIVINE BITES — Hoja de estilos principal
   Tema claro · marrón chocolate + oro antiguo + rojo fresa
   ========================================================= */

/* ---------- 1. Variables de diseño ---------- */
:root{
  /* Fondos */
  --bg:        #FBF3E7;   /* marfil cálido */
  --bg-alt:    #F3E1C4;   /* crema/latte más profundo, secciones alternas */
  --surface:   #FFFFFF;   /* tarjetas */
  --ink:       #3B2418;   /* chocolate oscuro — texto principal */
  --ink-soft:  #7A5C46;   /* marrón atenuado — texto secundario */
  --ink-inverse:#F6E9D4;  /* texto claro sobre fondo oscuro (footer) */

  /* Acentos */
  --gold:      #B8863B;
  --gold-soft: #E4C889;
  --gold-line: #D9B876;
  --berry:     #A32F3B;
  --berry-dark:#7E2029;
  --berry-soft:#D96774;
  --line:      #E9D2AE;

  /* Tipografía */
  --f-display: "Fraunces", "Iowan Old Style", serif;
  --f-script:  "Petit Formal Script", cursive;
  --f-body:    "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Sombras y radios */
  --shadow-soft: 0 10px 30px rgba(59, 36, 24, 0.10);
  --shadow-lift: 0 20px 45px rgba(59, 36, 24, 0.16);
  --radius-md: 14px;
  --radius-lg: 26px;
  --radius-full: 999px;

  --container: 1600px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol{ margin: 0; }
ul[class], ol[class]{ list-style: none; padding: 0; }
img, picture, svg{ display: block; max-width: 100%; }
button, input, textarea, select{ font: inherit; color: inherit; }
button{ cursor: pointer; background: none; border: none; }
a{ color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body{
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:focus-visible{
  outline: 3px solid var(--berry);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Utilidades ---------- */
.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section{ padding-block: 96px; position: relative; }
.section--alt{ background: var(--bg-alt); }
.section--tight{ padding-block: 64px; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--berry);
  margin-bottom: 16px;
}
.eyebrow::before{
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
  flex-shrink: 0;
}

.section-head{
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center{ margin-inline: auto; text-align: center; }

.section-title{
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.section-title em{
  font-family: var(--f-script);
  font-style: normal;
  color: var(--berry);
  font-size: 1.25em;
  font-weight: 400;
  padding-inline: 0.05em;
}
.section-sub{
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 54ch;
}

.visually-hidden{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Botones */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color .25s ease;
  white-space: nowrap;
}
.btn svg{ width: 18px; height: 18px; }
.btn--primary{
  background: var(--berry);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover{ background: var(--berry-dark); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn--gold{
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.btn--gold:hover{ transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn--outline{
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--outline:hover{ background: var(--ink); color: var(--bg); }
.btn--sm{ padding: 10px 20px; font-size: 0.85rem; }
.btn--block{ width: 100%; }
.btn:disabled{ opacity: 0.55; cursor: not-allowed; transform: none !important; }

.badge-seal{
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  flex-shrink: 0;
}
.badge-seal svg{ width: 20px; height: 20px; }

.icon{ width: 22px; height: 22px; display: inline-block; }

/* ---------- 4. Barra de anuncio ---------- */
.announce{
  background: var(--ink);
  color: var(--ink-inverse);
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 9px 16px;
  font-weight: 500;
}
.announce strong{ color: var(--gold-soft); font-weight: 600; }

/* ---------- 5. Encabezado / navegación ---------- */
.site-header{
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 243, 231, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 20px;
}
.nav__brand{ display: flex; align-items: center; gap: 12px; }
.nav__logo-img{ width: 46px; height: 46px; border-radius: 50%; }
.nav__wordmark{ display: flex; flex-direction: column; line-height: 1.05; }
.nav__wordmark-script{
  font-family: var(--f-script);
  color: var(--berry);
  font-size: 1.55rem;
}
.nav__wordmark-sub{
  font-family: var(--f-body);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

.nav__links{
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__link{
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-block: 4px;
}
.nav__link::after{
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--berry);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__link:hover::after{ transform: scaleX(1); }

.nav__actions{ display: flex; align-items: center; gap: 14px; }

.nav__cart-btn{
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  transition: background 0.2s ease, color 0.2s ease, transform .2s ease;
}
.nav__cart-btn:hover{ background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.nav__cart-count{
  position: absolute; top: -6px; right: -6px;
  background: var(--berry); color: #fff;
  font-size: 0.68rem; font-weight: 700;
  min-width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding-inline: 2px;
  border: 2px solid var(--bg);
}
.nav__cart-count[data-empty="true"]{ display: none; }

.nav__toggle{
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
}

/* Selector de idioma ES / EN */
.lang-switch{
  display: flex; align-items: center;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}
.lang-switch__btn{
  padding: 7px 13px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-switch__btn[data-active="true"]{ background: var(--ink); color: var(--bg); }
.lang-switch__btn:hover:not([data-active="true"]){ color: var(--ink); }
.mobile-menu .lang-switch{ border-color: var(--ink); margin-bottom: 28px; }

/* ---------- 6. Divisor de goteo (elemento distintivo) ---------- */
.drip{ position: relative; line-height: 0; z-index: 3; margin-top: -1px; pointer-events: none; }
.drip svg{ display: block; width: 100%; height: 46px; }
.drip--bg{ color: var(--bg); }
.drip--bg-alt{ color: var(--bg-alt); }
.drip--ink{ color: var(--ink); }
@media (min-width: 768px){ .drip svg{ height: 64px; } }

/* ---------- 7. Hero ---------- */
.hero{
  position: relative;
  padding-block: 72px 40px;
  overflow: hidden;
}
.hero__grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero__title{
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hero__title .script{
  font-family: var(--f-script);
  font-weight: 400;
  color: var(--berry);
  font-size: 1.2em;
  display: block;
  line-height: 1;
  margin-block: 6px 2px;
}
.hero__sub{
  margin-top: 22px;
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero__actions{
  display: flex; flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}
.hero__stats{
  display: flex; gap: 34px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero__stat-num{
  font-family: var(--f-display);
  font-size: 1.7rem; font-weight: 600;
  color: var(--berry);
}
.hero__stat-label{
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.hero__art{ position: relative; display: flex; justify-content: center; }
.hero__glow{
  position: absolute;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(184,134,59,0.30), rgba(184,134,59,0) 70%);
  filter: blur(4px);
  z-index: 0;
}
.hero__badge{
  position: relative; z-index: 1;
  width: min(420px, 82vw);
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  border: 6px solid var(--surface);
  outline: 1px solid var(--line);
}
.hero__sparkle{
  position: absolute;
  color: var(--gold);
  z-index: 2;
}
.hero__sparkle svg{ width: 100%; height: 100%; }
.hero__sparkle--1{ width: 26px; height: 26px; top: 6%; right: 12%; }
.hero__sparkle--2{ width: 16px; height: 16px; bottom: 12%; left: 4%; }
.hero__sparkle--3{ width: 20px; height: 20px; top: 46%; right: -2%; }

/* ---------- 8. Franja de características ---------- */
.features{ padding-block: 56px; }
.features__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feature-card{
  display: flex; align-items: flex-start; gap: 14px;
}
.feature-card__icon{
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--berry);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
}
.feature-card__icon svg{ width: 22px; height: 22px; }
.feature-card__title{ font-weight: 600; font-size: 0.98rem; margin-bottom: 4px; }
.feature-card__text{ font-size: 0.86rem; color: var(--ink-soft); }

/* ---------- 9. Sobre nosotros ---------- */
.about__grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about__media{ position: relative; display: flex; justify-content: center; }
.about__frame{
  position: relative;
  width: min(360px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--surface), var(--bg-alt));
  box-shadow: var(--shadow-lift);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.about__frame img{ width: 72%; height: auto; border-radius: 50%; }
.about__ring{
  position: absolute; inset: -14px;
  border-radius: 50%;
  border: 1.5px dashed var(--gold-line);
}
.about__text p + p{ margin-top: 16px; }
.about__text{ color: var(--ink-soft); font-size: 1.02rem; }
.about__stats{
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 28px;
  margin-top: 36px;
}
.about__stat-num{ font-family: var(--f-display); font-size: 2rem; font-weight: 600; color: var(--ink); }
.about__stat-label{ font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- 10. Menú / productos ---------- */
.menu__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card{
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.product-card__ribbon{
  position: absolute; top: 18px; right: -6px;
  background: var(--berry); color: #fff;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 6px 14px 6px 12px;
  border-radius: 6px 0 0 6px;
  box-shadow: -2px 3px 8px rgba(163,47,59,0.35);
}
.product-card__art{
  width: 100%; aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 30% 20%, var(--bg-alt), var(--bg) 70%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--berry);
  overflow: hidden;
}
.product-card__art svg{ width: 34%; height: 34%; }
.product-card__art img{ width: 100%; height: 100%; object-fit: cover; }
.product-card__title{
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.28rem;
  margin-bottom: 8px;
}
.product-card__desc{
  color: var(--ink-soft);
  font-size: 0.9rem;
  flex-grow: 1;
  margin-bottom: 20px;
}
.product-card__footer{
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.product-card__price{
  font-family: var(--f-display);
  font-size: 1.3rem; font-weight: 600;
  color: var(--ink);
}
.product-card__price small{
  font-family: var(--f-body);
  font-size: 0.68rem;
  color: var(--ink-soft);
  font-weight: 500;
  display: block;
}

.qty-stepper{
  display: flex; align-items: center; gap: 2px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 14px;
  width: fit-content;
}
.qty-stepper__btn{
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: background 0.2s ease;
}
.qty-stepper__btn:hover{ background: var(--bg-alt); }
.qty-stepper__btn svg{ width: 14px; height: 14px; }
.qty-stepper__value{ width: 30px; text-align: center; font-weight: 600; font-size: 0.9rem; }

.btn-add{
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--bg);
  padding: 11px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 600;
  transition: background 0.25s ease, transform .2s ease;
}
.btn-add:hover{ background: var(--berry); transform: translateY(-2px); }
.btn-add svg{ width: 16px; height: 16px; }

/* ---------- 11. Galería ---------- */
.gallery__grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.gallery-tile{
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(155deg, var(--bg-alt), var(--surface));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  border: 1px solid var(--line);
}
.gallery-tile svg{ width: 30%; height: 30%; }
.gallery-tile__overlay{
  position: absolute; inset: 0;
  background: rgba(59,36,24,0.82);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 6px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  text-align: center; padding: 10px;
  opacity: 0; transition: opacity 0.25s ease;
}
.gallery-tile:hover .gallery-tile__overlay{ opacity: 1; }
.gallery-tile__overlay svg{ width: 20px; height: 20px; color: var(--gold-soft); }
.gallery__cta{ text-align: center; margin-top: 36px; }

/* ---------- 12. Testimonios ---------- */
.testimonials__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card{
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}
.testimonial-card__stars{ display: flex; gap: 3px; color: var(--gold); margin-bottom: 16px; }
.testimonial-card__stars svg{ width: 16px; height: 16px; }
.testimonial-card__quote{ font-size: 0.98rem; color: var(--ink); }
.testimonial-card__author{
  display: flex; align-items: center; gap: 12px;
  margin-top: 22px;
}
.testimonial-card__avatar{
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft), var(--berry-soft));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--f-display); font-weight: 600;
  flex-shrink: 0;
}
.testimonial-card__name{ font-weight: 600; font-size: 0.9rem; }
.testimonial-card__loc{ font-size: 0.78rem; color: var(--ink-soft); }

/* ---------- 13. FAQ ---------- */
.faq__list{ max-width: 780px; margin-inline: auto; }
.faq-item{
  border-bottom: 1px solid var(--line);
}
.faq-item__q{
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  text-align: left;
  font-weight: 600; font-size: 1.02rem;
}
.faq-item__icon{
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease;
}
.faq-item__icon svg{ width: 14px; height: 14px; }
.faq-item[data-open="true"] .faq-item__icon{ transform: rotate(135deg); }
.faq-item__a{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--ink-soft);
  font-size: 0.95rem;
  padding-right: 50px;
}
.faq-item[data-open="true"] .faq-item__a{ padding-bottom: 22px; }

/* ---------- 14. Contacto ---------- */
.contact__grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}
.form__row{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__group{ margin-bottom: 18px; }
.form__group label{
  display: block; font-size: 0.82rem; font-weight: 600;
  margin-bottom: 7px; color: var(--ink);
}
.form__group input,
.form__group textarea,
.form__group select{
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  font-size: 0.95rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus{
  outline: none;
  border-color: var(--berry);
  box-shadow: 0 0 0 4px rgba(163,47,59,0.10);
}
.form__group textarea{ resize: vertical; min-height: 110px; }
.form__note{ font-size: 0.78rem; color: var(--ink-soft); margin-top: 8px; }

.contact-info{
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  height: fit-content;
}
.contact-info__item{
  display: flex; gap: 16px;
  align-items: flex-start;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}
.contact-info__item:last-of-type{ border-bottom: none; }
.contact-info__icon{
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-alt); color: var(--berry);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info__icon svg{ width: 18px; height: 18px; }
.contact-info__label{ font-size: 0.76rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-info__value{ font-weight: 600; font-size: 0.96rem; }
.contact-info__socials{ display: flex; gap: 12px; margin-top: 22px; }
.social-seal{
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 600; font-size: 0.72rem;
  color: var(--gold); letter-spacing: 0.02em;
  transition: background .2s ease, color .2s ease;
}
.social-seal:hover{ background: var(--gold); color: #fff; }

/* ---------- 15. Pie de página ---------- */
.site-footer{
  background: var(--ink);
  color: var(--ink-inverse);
  padding-top: 64px;
}
.footer__grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(246,233,212,0.14);
}
.footer__brand{ display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__logo-img{ width: 44px; height: 44px; border-radius: 50%; }
.footer__script{ font-family: var(--f-script); color: var(--gold-soft); font-size: 1.5rem; }
.footer__desc{ color: rgba(246,233,212,0.68); font-size: 0.9rem; max-width: 34ch; }
.footer__heading{
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold-soft); font-weight: 600; margin-bottom: 18px;
}
.footer__links li + li{ margin-top: 12px; }
.footer__links a{ color: rgba(246,233,212,0.75); font-size: 0.92rem; transition: color .2s ease; }
.footer__links a:hover{ color: var(--gold-soft); }
.footer__socials{ display: flex; gap: 10px; margin-top: 18px; }
.footer .social-seal{ border-color: rgba(246,233,212,0.35); color: var(--gold-soft); }
.footer .social-seal:hover{ background: var(--gold-soft); color: var(--ink); }
.footer__bottom{
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 22px;
  font-size: 0.8rem;
  color: rgba(246,233,212,0.55);
  flex-wrap: wrap; gap: 10px;
}
.footer__payments{ display: flex; gap: 10px; align-items: center; font-size: 0.76rem; color: rgba(246,233,212,0.5); }

/* ---------- 16. Carrito lateral ---------- */
.cart-overlay{
  position: fixed; inset: 0;
  background: rgba(59,36,24,0.45);
  z-index: 90;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-overlay[data-visible="true"]{ opacity: 1; pointer-events: auto; }

.cart-drawer{
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: var(--bg);
  z-index: 91;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.22,.9,.34,1);
  box-shadow: -20px 0 50px rgba(0,0,0,0.18);
}
.cart-drawer[data-visible="true"]{ transform: translateX(0); }
.cart-drawer__header{
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.cart-drawer__title{ font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; }
.cart-drawer__close{
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--ink);
}
.cart-drawer__close svg{ width: 16px; height: 16px; }
.cart-drawer__items{ flex: 1; overflow-y: auto; padding: 12px 24px; }
.cart-drawer__empty{
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 14px; padding: 60px 20px; color: var(--ink-soft);
}
.cart-drawer__empty svg{ width: 46px; height: 46px; color: var(--gold); }

.cart-item{
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: center;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}
.cart-item__art{
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--bg-alt); color: var(--berry);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cart-item__art svg{ width: 26px; height: 26px; }
.cart-item__art img{ width: 100%; height: 100%; object-fit: cover; }
.cart-item__name{ font-weight: 600; font-size: 0.92rem; }
.cart-item__price{ font-size: 0.82rem; color: var(--ink-soft); margin-top: 2px; }
.cart-item__controls{ display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-item__remove{ font-size: 0.74rem; color: var(--berry); font-weight: 600; }
.cart-item .qty-stepper{ margin-bottom: 0; padding: 2px; }
.cart-item .qty-stepper__btn{ width: 24px; height: 24px; }

.cart-drawer__footer{
  padding: 22px 24px 26px;
  border-top: 1px solid var(--line);
}
.cart-promo{ margin-bottom: 16px; }
.cart-promo__row{ display: flex; gap: 8px; }
.cart-promo__row input{
  flex: 1; min-width: 0;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--line);
  background: var(--surface);
  font-size: 0.85rem;
}
.cart-promo__row input:focus{ outline: none; border-color: var(--berry); }
.cart-promo__applied{
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-alt); border: 1px dashed var(--gold-line);
  border-radius: var(--radius-full);
  padding: 8px 8px 8px 16px;
  font-size: 0.84rem; font-weight: 600; color: var(--berry);
}
.cart-promo__applied button{
  font-size: 0.76rem; font-weight: 700; color: var(--ink-soft);
  padding: 6px 12px; border-radius: var(--radius-full);
}
.cart-promo__applied button:hover{ background: var(--surface); }
.cart-drawer__row{
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.92rem; color: var(--ink-soft);
  margin-bottom: 8px;
}
.cart-drawer__row.total{
  font-size: 1.1rem; font-weight: 700; color: var(--ink);
  margin-block: 12px;
  font-family: var(--f-display);
}
.cart-drawer__note{ font-size: 0.76rem; color: var(--ink-soft); text-align: center; margin-top: 12px; }

/* ---------- 17. Modal de checkout ---------- */
.modal-overlay{
  position: fixed; inset: 0;
  background: rgba(59,36,24,0.55);
  z-index: 95;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay[data-visible="true"]{ opacity: 1; pointer-events: auto; }
.modal{
  background: var(--bg);
  border-radius: var(--radius-lg);
  width: min(560px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lift);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.3s ease;
}
.modal-overlay[data-visible="true"] .modal{ transform: translateY(0) scale(1); }
.modal__header{
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: var(--bg); z-index: 2;
}
.modal__title{ font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; }
.modal__close{
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--ink);
}
.modal__close svg{ width: 16px; height: 16px; }
.modal__body{ padding: 24px 28px 32px; }

.checkout-progress{
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 26px;
}
.checkout-progress__step{
  flex: 1; height: 4px; border-radius: 4px;
  background: var(--line);
}
.checkout-progress__step[data-active="true"]{ background: var(--berry); }

.order-summary{
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
}
.order-summary__item{
  display: flex; justify-content: space-between;
  font-size: 0.88rem; padding-block: 6px;
  color: var(--ink-soft);
}
.order-summary__item span:last-child{ color: var(--ink); font-weight: 600; }
.order-summary__total{
  display: flex; justify-content: space-between;
  font-family: var(--f-display); font-weight: 600; font-size: 1.1rem;
  padding-top: 12px; margin-top: 8px; border-top: 1px dashed var(--line);
}

#sq-card-container{
  padding: 4px 2px;
  margin-bottom: 6px;
}
.pay-security-note{
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--ink-soft);
  margin-top: 14px;
}
.pay-security-note svg{ width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

.payment-method-select{
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 22px;
}
.payment-method-btn{
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 10px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink-soft);
  font-weight: 600; font-size: 0.88rem;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.payment-method-btn svg{ width: 22px; height: 22px; }
.payment-method-btn[data-selected="true"]{
  border-color: var(--berry);
  color: var(--berry);
  background: var(--bg-alt);
}
.cash-note{
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--bg-alt);
  border: 1px dashed var(--gold-line);
  border-radius: var(--radius-md);
  padding: 16px;
  color: var(--ink);
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.cash-note svg{ width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.cash-note p{ margin: 0; }

.form__error{
  color: var(--berry-dark);
  background: #FBE7E9;
  border: 1px solid var(--berry-soft);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.86rem;
  margin-bottom: 16px;
  display: none;
}
.form__error[data-show="true"]{ display: block; }

.checkout-success{
  text-align: center;
  padding: 20px 10px 10px;
}
.checkout-success__icon{
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--bg-alt); color: var(--berry);
  display: flex; align-items: center; justify-content: center;
  margin-inline: auto; margin-bottom: 22px;
}
.checkout-success__icon svg{ width: 34px; height: 34px; }
.checkout-success__order{
  font-family: var(--f-display); font-size: 1.05rem; font-weight: 600;
  background: var(--surface); border: 1px dashed var(--gold-line);
  border-radius: 10px; padding: 12px; margin-block: 18px;
}

/* ---------- 18. Notificaciones toast ---------- */
.toast-container{
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  display: flex; flex-direction: column; gap: 10px;
  width: min(360px, 92vw);
}
.toast{
  background: var(--ink);
  color: var(--bg);
  padding: 14px 18px;
  border-radius: 14px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lift);
  font-size: 0.9rem;
  opacity: 0; transform: translateY(12px);
  animation: toast-in 0.3s ease forwards;
}
.toast.hide{ animation: toast-out 0.3s ease forwards; }
.toast svg{ width: 20px; height: 20px; color: var(--gold-soft); flex-shrink: 0; }
@keyframes toast-in{ to{ opacity: 1; transform: translateY(0); } }
@keyframes toast-out{ to{ opacity: 0; transform: translateY(12px); } }

/* ---------- 19. Revelado al hacer scroll ---------- */
.reveal{ opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1024px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__art{ order: -1; }
  .about__grid{ grid-template-columns: 1fr; }
  .about__media{ order: -1; }
  .features__grid{ grid-template-columns: repeat(2, 1fr); }
  .menu__grid{ grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid{ grid-template-columns: 1fr; }
  .gallery__grid{ grid-template-columns: repeat(3, 1fr); }
  .contact__grid{ grid-template-columns: 1fr; }
  .footer__grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px){
  .section{ padding-block: 64px; }
  .nav__links{ display: none; }
  .nav__toggle{ display: flex; }
  .nav__actions .lang-switch{ display: none; }
  .menu__grid{ grid-template-columns: 1fr; }
  .gallery__grid{ grid-template-columns: repeat(2, 1fr); }
  .form__row{ grid-template-columns: 1fr; }
  .footer__grid{ grid-template-columns: 1fr; gap: 32px; }
  .hero__stats{ gap: 24px; }
  .about__stats{ grid-template-columns: repeat(3, auto); gap: 16px; }
}

/* Menú móvil desplegable */
.mobile-menu{
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 99;
  display: flex; flex-direction: column;
  padding: 24px;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.mobile-menu[data-visible="true"]{ transform: translateY(0); }
.mobile-menu__top{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-menu__links{ display: flex; flex-direction: column; gap: 8px; }
.mobile-menu__links a{
  font-family: var(--f-display); font-size: 1.5rem; font-weight: 600;
  padding-block: 14px; border-bottom: 1px solid var(--line);
}

/* ---------- 21. Configurador de churros ---------- */
.churro-modal{ width: min(620px, 100%); }

.option-group{ margin-bottom: 24px; }
.option-group__title{
  font-size: 0.88rem; font-weight: 600; margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.option-group__req, .option-group__opt{
  font-size: 0.64rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 3px 9px; border-radius: var(--radius-full);
}
.option-group__req{ background: #FBE7E9; color: var(--berry-dark); }
.option-group__opt{ background: var(--bg-alt); color: var(--ink-soft); }

.option-pills, .option-chips{ display: flex; flex-wrap: wrap; gap: 10px; }
.option-pill, .option-chip{
  border: 1.5px solid var(--line);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  font-size: 0.85rem; font-weight: 600;
  background: var(--surface); color: var(--ink-soft);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.option-chip{ border-radius: 10px; }
.option-pill[data-selected="true"],
.option-chip[data-selected="true"]{
  border-color: var(--berry); color: var(--berry); background: var(--bg-alt);
}

#churroError{
  color: #6b5320; background: var(--bg-alt); border-color: var(--gold-line);
}
.churro-modal__footer{
  display: flex; align-items: center; gap: 16px;
  margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line);
}
.churro-modal__footer .qty-stepper{ margin-bottom: 0; flex-shrink: 0; }
.churro-modal__footer .btn{ flex: 1; }

.cart-item__options{ font-size: 0.76rem; color: var(--ink-soft); margin-top: 4px; line-height: 1.4; }
.order-summary__options{ font-size: 0.76rem; color: var(--ink-soft); margin: -4px 0 10px; }

@media (max-width: 640px){
  .churro-modal__footer{ flex-direction: column; align-items: stretch; }
  .churro-modal__footer .qty-stepper{ align-self: center; }
}
