/* ==========================================================================
   UMELA · styles.css
   Mobile-first. Una sola base (Bootstrap 5) con variables propias.
   REGLA DE ORO: nada puede ser más ancho que el viewport.
   ========================================================================== */

/* ---------- 1. Paleta, tipografías y resets ------------------------------ */
:root {
  --cream: #F8F1E4;
  --cream-2: #EFE3D0;
  --paper: #FFFDF8;
  --rose: #E3AFB2;
  --rose-deep: #D38C90;
  --rose-ink: #9C5860;
  --choc: #3A1B10;
  --choc-soft: #6B4B3A;
  --gold: #C4A265;
  --gold-ink: #7A5B22;
  --line: rgba(58, 27, 16, .14);
  --shadow: 0 12px 36px rgba(58, 27, 16, .09);
  --header-h: 60px;

  /* Bootstrap heredado de nuestra marca */
  --bs-body-color: var(--choc);
  --bs-body-bg: var(--paper);
  --bs-primary: var(--rose-ink);
  --bs-border-radius: .75rem;
}

[data-theme="dark"] {
  --cream: #241811;
  --cream-2: #321F16;
  --paper: #1B120D;
  --rose: #C38E92;
  --rose-deep: #B47A7F;
  --rose-ink: #EFC0C4;
  --choc: #F4EADE;
  --choc-soft: #D9C6B4;
  --gold: #D4AF72;
  --gold-ink: #EACB92;
  --line: rgba(244, 234, 222, .16);
  --shadow: 0 12px 36px rgba(0, 0, 0, .35);
  --bs-body-color: var(--choc);
  --bs-body-bg: var(--paper);
}

/* box-sizing a TODO */
*, *::before, *::after { box-sizing: border-box; }

/* Anti-overflow: la página nunca se desplaza de costado */
html, body {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: auto; /* Prohibido el scroll suave */
}
/* Bootstrap 5 activa smooth en :root y en html:focus-within; lo anulamos por completo */
:root, html:focus-within { scroll-behavior: auto !important; }

body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--paper);
  color: var(--choc);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(.9375rem, .9rem + .2vw, 1rem); /* 15 → 16 px */
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  transition: background-color .3s ease, color .3s ease;
}

body.menu-open { overflow: hidden; }

img, video, svg, iframe { max-width: 100%; }
img, video { height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
  color: var(--choc);
}
h1 { font-size: clamp(1.8rem, 1.4rem + 2.1vw, 3.6rem); }
h2 { font-size: clamp(1.4rem, 1.15rem + 1.35vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1rem + .8vw, 1.6rem); }
em { font-style: italic; color: var(--rose-ink); }
p { margin-bottom: 1rem; }

a { color: var(--rose-ink); text-decoration-color: var(--rose); text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 2000;
  background: var(--choc); color: var(--paper); padding: .75rem 1rem; border-radius: 0 0 .5rem .5rem;
}
.skip-link:focus { top: 0; color: var(--paper); }

.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;
}

.eyebrow {
  font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: .6rem;
}
.lead-sm { font-size: clamp(.95rem, .9rem + .25vw, 1.1rem); color: var(--choc-soft); }

/* ---------- 2. Header y menú hamburguesa -------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; width: 100%; max-width: 100%;
  height: var(--header-h); z-index: 1030;
  background: rgba(255, 253, 248, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
[data-theme="dark"] .site-header { background: rgba(27, 18, 13, .93); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(58, 27, 16, .08); }

.header-inner {
  height: 100%; max-width: 100%;
  padding-inline: clamp(.9rem, 4vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap;
  gap: .75rem;
}

.brand {
  display: inline-flex; align-items: center; gap: .5rem; min-width: 0;
  color: var(--choc); text-decoration: none; flex-shrink: 1;
}
.brand:hover { color: var(--choc); }
.brand-mark {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--choc); color: var(--cream);
  font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 700; line-height: 1;
}
[data-theme="dark"] .brand-mark { background: var(--gold); color: var(--paper); }
.brand-word {
  font-family: 'Cormorant Garamond', serif; font-size: 1.35rem;
  font-weight: 700; letter-spacing: .2em; white-space: nowrap;
}

.menu-toggle {
  flex: 0 0 auto; width: 44px; height: 44px; min-width: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: transparent; color: var(--choc); cursor: pointer;
}
.menu-toggle:hover { background: var(--cream); }
.hamburger { display: block; width: 20px; height: 15px; position: relative; }
.hamburger i {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .25s ease, top .25s ease, opacity .2s ease;
}
.hamburger i:nth-child(1) { top: 0; }
.hamburger i:nth-child(2) { top: 6.5px; }
.hamburger i:nth-child(3) { top: 13px; }
.menu-toggle.is-open .hamburger i:nth-child(1) { top: 6.5px; transform: rotate(45deg); }
.menu-toggle.is-open .hamburger i:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .hamburger i:nth-child(3) { top: 6.5px; transform: rotate(-45deg); }

/* Panel del menú: ancho limitado y anclado al borde derecho (nunca se sale) */
.nav-drawer {
  position: absolute; top: 100%; right: 0;
  width: min(92%, 340px); max-width: 100%;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  padding: 1.25rem clamp(1rem, 4vw, 1.75rem) 1.5rem;
  background: var(--paper); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.nav-drawer[hidden] { display: none !important; }
.nav-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.nav-list li { border-bottom: 1px solid var(--line); }
.nav-list a {
  display: flex; align-items: baseline; gap: .85rem; min-height: 44px;
  padding: .6rem .25rem; color: var(--choc); text-decoration: none;
  font-family: 'Cormorant Garamond', serif; font-size: 1.4rem;
}
.nav-list a span { font-family: 'Poppins', sans-serif; font-size: .65rem; color: var(--gold-ink); letter-spacing: .1em; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--rose-ink); }
.nav-list a[aria-current="page"]::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--rose-deep); margin-left: auto; flex: 0 0 auto; }
.nav-drawer-actions { display: grid; gap: .6rem; }
.nav-drawer-actions .btn { min-height: 44px; }
.theme-toggle {
  min-height: 44px; border: 0; background: transparent; color: var(--choc-soft);
  font-size: .85rem; cursor: pointer; display: flex; align-items: center; gap: .5rem;
}

/* ---------- 3. Botones --------------------------------------------------- */
.btn { min-height: 44px; border-radius: 100px; font-weight: 500; font-size: .88rem; padding: .65rem 1.35rem; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #2C160A; }
.btn-gold:hover, .btn-gold:focus-visible { background: var(--gold-ink); border-color: var(--gold-ink); color: #fff; }
.btn-outline-umela { border-color: var(--rose-ink); color: var(--rose-ink); background: transparent; }
.btn-outline-umela:hover { background: var(--rose-ink); color: #fff; border-color: var(--rose-ink); }
.btn-outline-light { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--choc); }

/* ---------- 4. Vistas SPA ------------------------------------------------ */
.view { overflow-x: hidden; }
.view[hidden], .tab-panel[hidden] { display: none !important; }
.view.is-active { animation: viewIn .42s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .view.is-active { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.section-block { padding-block: 2.5rem; }
.section-block--tight { padding-block: 1.75rem 2.5rem; }

.hero {
  position: relative; width: 100%; max-width: 100%;
  height: min(70vh, 620px); min-height: 420px;
  /* URL relativa a esta hoja: ../img sube desde /css/ a /img/ */
  background-image: url('../img/WhatsApp%20Image%202026-11-26%20at%2011.18.21%20AM%283%29.jpeg');
  background-size: cover; background-position: center 45%;
  overflow: hidden; display: flex; align-items: flex-end;
}
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,14,8,.28) 0%, rgba(30,14,8,.15) 38%, rgba(30,14,8,.82) 100%);
}
.hero-content { position: relative; z-index: 1; padding-bottom: clamp(2rem, 6vw, 4rem); }
.hero .eyebrow { color: #F3DCB4; }
.hero h1 { color: #fff; font-size: clamp(1.8rem, 1.25rem + 3.2vw, 4rem); }
.hero h1 em { color: #F0C7C9; }
.hero-sub { color: rgba(255,255,255,.9); max-width: 34rem; font-size: clamp(.9rem, .85rem + .3vw, 1.1rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.35rem; }
.hero-actions .btn { min-width: 140px; }

.page-head {
  background: var(--cream); padding-block: 2.25rem 2rem;
  border-bottom: 1px solid var(--line);
}
.page-head--compact { padding-block: 2rem 1.75rem; }
.page-head h1 { max-width: 20ch; }
.page-head-sub { color: var(--choc-soft); max-width: 46rem; margin: .9rem 0 0; }

.image-frame { border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.image-frame--tall { aspect-ratio: 4 / 5; }
.feature-list { display: grid; gap: .7rem; margin-top: 1.5rem; }
.feature { display: flex; align-items: center; gap: .75rem; font-size: .92rem; }
.feature i { color: var(--gold-ink); font-size: 1.15rem; }

/* ---------- 5. Testimonios (Swiper) ------------------------------------- */
.testimonial-wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem;
  margin-top: 1.5rem; overflow: hidden; /* contiene cualquier slide lateral */
}
.testimonial-wrap .swiper { width: 100%; order: 1; padding-bottom: 2.25rem; }
.swiper-nav {
  order: 2; width: 44px; height: 44px; min-width: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); color: var(--choc); cursor: pointer;
}
.swiper-nav:hover { background: var(--cream); }
.testimonial-card {
  height: 100%; background: var(--cream); border: 1px solid var(--line);
  border-radius: 1rem; padding: 1.4rem; display: flex; flex-direction: column; justify-content: center;
}
.quote { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; line-height: 1.35; }
.who { margin: 1rem 0 0; font-size: .78rem; color: var(--choc-soft); }
.who i { color: var(--gold-ink); }
.swiper-pagination-bullet-active { background: var(--rose-ink) !important; }

/* ---------- 6. Nosotros / contadores ------------------------------------ */
.counter-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 1rem;
  padding: 1rem .5rem; min-height: 96px; display: flex; flex-direction: column; justify-content: center;
}
.counter-card strong {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.6rem);
  color: var(--gold-ink); line-height: 1;
}
.counter-card span { font-size: .72rem; color: var(--choc-soft); margin-top: .35rem; }

/* ---------- 7. Carta: pestañas y tarjetas -------------------------------- */
.carta-tabs-wrap {
  width: 100%; max-width: 100%; overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem;
}
.carta-tabs-wrap::-webkit-scrollbar { display: none; }
.carta-tabs { display: flex; gap: .25rem; min-width: max-content; }
.carta-tab {
  min-height: 44px; padding: .6rem 1rem; border: 0; border-bottom: 2px solid transparent;
  background: transparent; color: var(--choc-soft); font-size: .85rem; font-weight: 500;
  white-space: nowrap; cursor: pointer;
}
.carta-tab[aria-selected="true"] { color: var(--rose-ink); border-bottom-color: var(--rose-deep); font-weight: 600; }
.panel-intro { color: var(--choc-soft); max-width: 44rem; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.product-card {
  min-width: 0; background: var(--cream); border: 1px solid var(--line);
  border-radius: .9rem; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card-btn {
  display: block; width: 100%; min-height: 44px; padding: 0; margin: 0;
  border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer;
}
.product-media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--cream-2); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-info { display: block; padding: .7rem .75rem .85rem; min-width: 0; }
.product-name {
  display: block; font-family: 'Cormorant Garamond', serif; font-size: clamp(1rem, .9rem + .35vw, 1.3rem);
  line-height: 1.15; overflow-wrap: anywhere;
}
.product-price { display: block; margin-top: .3rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }

.rellenos-grid { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.rellenos-grid li {
  min-width: 0; display: flex; align-items: flex-start; gap: .6rem;
  background: var(--cream); border: 1px solid var(--line); border-radius: .8rem; padding: .75rem;
  font-size: .82rem; line-height: 1.35;
}
.rellenos-grid i { color: var(--rose-ink); font-size: 1.1rem; flex: 0 0 auto; }
.rellenos-grid small { display: block; font-size: .68rem; color: var(--choc-soft); }

/* ---------- 8. Galería masonry ------------------------------------------ */
.gallery-grid { column-count: 2; column-gap: .65rem; overflow: hidden; }
.gallery-item {
  display: block; break-inside: avoid; margin: 0 0 .65rem; border-radius: .75rem;
  overflow: hidden; background: var(--cream-2);
}
.gallery-item img { width: 100%; height: auto; }
.gallery-item:hover img { opacity: .9; }

/* ---------- 9. Pedidos: pasos y CTA ------------------------------------- */
.steps-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.steps-grid li {
  position: relative; background: var(--cream); border: 1px solid var(--line);
  border-radius: 1rem; padding: 1.35rem 1.1rem 1.1rem; min-width: 0;
}
.step-num {
  position: absolute; top: .85rem; right: 1rem; font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; color: var(--gold); line-height: 1;
}
.steps-grid i { font-size: 1.5rem; color: var(--rose-ink); }
.steps-grid h2 { font-size: 1.35rem; margin: .6rem 0 .4rem; }
.steps-grid p { font-size: .86rem; color: var(--choc-soft); margin: 0; }
.order-cta {
  margin-top: 1.75rem; padding: 1.35rem; border-radius: 1rem;
  background: var(--cream); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 1rem; align-items: flex-start;
}
.order-cta h2 { font-size: 1.5rem; }
.order-cta p { font-size: .9rem; color: var(--choc-soft); margin-bottom: 0; }
.rellenos-note { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1rem; font-size: .85rem; color: var(--choc-soft); }
.rellenos-note i { color: var(--gold-ink); }
.rellenos-note p { margin: 0; }
.link-like { border: 0; background: none; padding: 0; font: inherit; color: var(--rose-ink); text-decoration: underline; cursor: pointer; }

/* ---------- 10. Footer --------------------------------------------------- */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); padding-block: 2.5rem 1.25rem; }
.brand--footer { margin-bottom: .75rem; }
.footer-copy { font-size: .85rem; color: var(--choc-soft); max-width: 30rem; }
.footer-title { font-family: 'Poppins', sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .9rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-links a, .footer-links span { font-size: .85rem; color: var(--choc-soft); text-decoration: none; display: flex; gap: .5rem; align-items: center; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--rose-ink); }
.footer-links i { color: var(--gold-ink); flex: 0 0 auto; }
.socials { display: flex; gap: .5rem; margin-top: 1rem; }
.socials a {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); color: var(--choc); text-decoration: none; font-size: 1.05rem;
}
.socials a:hover { background: var(--rose-ink); color: #fff; border-color: var(--rose-ink); }
.footer-bottom { margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .75rem; color: var(--choc-soft); text-align: center; }

/* ---------- 11. Botones flotantes --------------------------------------- */
.back-to-top {
  position: fixed; right: .85rem; bottom: 4.35rem; z-index: 1020;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--paper); color: var(--choc); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.whatsapp-float {
  position: fixed; right: .85rem; bottom: .85rem; z-index: 1020;
  min-width: 44px; height: 44px; padding: 0 .8rem; border-radius: 100px;
  /* Verde profundo: contraste 6.25:1 con texto blanco (accesibilidad AA) */
  background: #0B6E4F; color: #fff; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font-size: .78rem; font-weight: 500; box-shadow: 0 6px 18px rgba(11, 110, 79, .3);
}
.whatsapp-float:hover { color: #fff; background: #0A5C42; }
.whatsapp-float i { font-size: 1.15rem; }

/* ---------- 12. Offcanvas: contacto + pedido ----------------------------- */
.umela-panel.offcanvas {
  width: min(92%, 420px); max-width: 92%; background: var(--paper); color: var(--choc);
  border-left: 1px solid var(--line);
}
.panel-header { border-bottom: 1px solid var(--line); padding: .85rem 1.1rem; }
.panel-body { padding: 1.25rem 1.1rem 2rem; }
.panel-contact h2, .panel-order h2 { font-size: 1.7rem; }
.contact-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .85rem; }
.contact-list li { display: flex; gap: .75rem; align-items: flex-start; font-size: .86rem; overflow-wrap: anywhere; }
.contact-list i { color: var(--gold-ink); font-size: 1.1rem; flex: 0 0 auto; }
.contact-list small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--choc-soft); }
.contact-list a { text-decoration: none; }
.panel-map { border-radius: .8rem; overflow: hidden; border: 1px solid var(--line); }
.panel-map iframe { width: 100%; height: 150px; border: 0; display: block; }
.panel-divider { margin: 1.75rem 0; border-color: var(--line); }
.form-intro { font-size: .8rem; color: var(--choc-soft); }

.form-label { font-size: .78rem; font-weight: 500; margin-bottom: .3rem; color: var(--choc); }
.form-control, .form-select {
  font-size: 16px; /* evita el zoom automático de iOS */
  min-height: 44px; border-color: var(--line); border-radius: .6rem;
  background-color: var(--paper); color: var(--choc);
}
.form-control:focus, .form-select:focus {
  border-color: var(--rose-deep); box-shadow: 0 0 0 .2rem rgba(211, 140, 144, .18);
  background-color: var(--paper); color: var(--choc);
}
.form-control::placeholder { color: var(--choc-soft); opacity: .65; }
textarea.form-control { min-height: 96px; }
.field-error { color: #B3261E; font-size: .75rem; margin: .3rem 0 0; }
.field-error:empty { display: none; }
.form-check-input:checked { background-color: var(--rose-ink); border-color: var(--rose-ink); }
.alert-custom { border-radius: .7rem; font-size: .84rem; margin-top: 1rem; }
.alert-custom.alert-danger { background: #FCE8E6; color: #7B1E17; border-color: #F2C4C0; }
[data-theme="dark"] .alert-custom.alert-danger { background: #3A201E; color: #FFD9D5; border-color: #5C3430; }
.alert-custom a { font-weight: 600; }

/* ---------- 13. Modal de producto ---------------------------------------- */
#productModal .modal-content { background: var(--paper); color: var(--choc); border: 1px solid var(--line); }
#productModal .modal-header { border-bottom-color: var(--line); }
.pm-img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.pm-copy { padding: 1.5rem 1.25rem; display: flex; flex-direction: column; justify-content: center; }
.pm-copy h2 { font-size: 1.8rem; }
.pm-copy p { font-size: .88rem; color: var(--choc-soft); }
.pm-price { font-size: .8rem !important; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink) !important; }
.pm-small { font-size: .75rem !important; }

/* ---------- 14. Breakpoints ---------------------------------------------- */
@media (min-width: 576px) {
  :root { --header-h: 64px; }
  .rellenos-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .whatsapp-float span { display: inline; }
}

@media (max-width: 399px) {
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 0; width: 44px; }
  .brand-word { font-size: 1.2rem; }
}

@media (min-width: 768px) {
  :root { --header-h: 72px; }
  .section-block { padding-block: 4rem; }
  .section-block--tight { padding-block: 2.5rem 4rem; }
  .page-head { padding-block: 3.5rem 3rem; }
  .page-head--compact { padding-block: 3rem 2.5rem; }
  .hero { min-height: 480px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  .product-info { padding: 1rem; }
  .rellenos-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-grid { column-count: 3; column-gap: 1rem; }
  .gallery-item { margin-bottom: 1rem; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .counters { gap: 1rem; }
  .counter-card { padding: 1.5rem 1rem; }
  .order-cta { flex-direction: row; align-items: center; justify-content: space-between; }
  .testimonial-wrap { flex-wrap: nowrap; gap: 1rem; }
  .testimonial-wrap .swiper { order: 2; width: auto; flex: 1 1 auto; }
  #testiPrev { order: 1; }
  #testiNext { order: 3; }
  .site-footer { padding-block: 4rem 1.5rem; }
}

@media (min-width: 992px) {
  .umela-panel.offcanvas { width: 440px; max-width: 440px; }
  .panel-body { padding: 1.75rem 2rem 2.5rem; }
  .steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rellenos-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* AOS: envolvemos las animaciones para que ningún desplazamiento lateral
   genere barra de scroll en la página (losContenedores ya tienen overflow). */
[data-aos=fade-up], [data-aos=fade-left], [data-aos=fade-right] { overflow: hidden; }
