:where(.cmp-faq__title){margin:0 0 1rem;font-family:var(--font-heading, inherit)}:where(.cmp-faq__item){border-bottom:1px solid var(--color-border, #e5e7eb);border-bottom-color:color-mix(in srgb, currentColor 22%, transparent)}:where(.cmp-faq__item:first-of-type){border-top:1px solid var(--color-border, #e5e7eb);border-top-color:color-mix(in srgb, currentColor 22%, transparent)}:where(.cmp-faq__question){display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:44px;padding:1rem 0;font-family:var(--font-heading, inherit);font-weight:600;line-height:1.35;cursor:pointer;list-style:none}:where(.cmp-faq__question)::-webkit-details-marker{display:none}:where(.cmp-faq__question)::after{content:"+";flex:none;font-size:1.5rem;line-height:1;color:var(--section-accent, var(--color-primary, #2563eb));transition:transform .2s}:where(.cmp-faq__item[open] > .cmp-faq__question)::after{transform:rotate(45deg)}:where(.cmp-faq__question):focus-visible{outline:2px solid var(--section-accent, var(--color-primary, #2563eb));outline-offset:2px;border-radius:var(--radius-sm, .4rem)}:where(.cmp-faq__answer){padding:0 0 1.25rem}:where(.cmp-faq__answer > :first-child){margin-top:0}:where(.cmp-faq__answer > :last-child){margin-bottom:0}@media (prefers-reduced-motion: reduce){:where(.cmp-faq__question)::after{transition:none}}
:where(.cmp-gallery__zoom){display:block;cursor:zoom-in}:where(.cmp-gallery__zoom):focus-visible{outline:2px solid var(--color-primary, #2563eb);outline-offset:2px;border-radius:var(--radius-sm, .4rem)}.cmp-gallery--crop-top .cmp-gallery__img{object-position:top}.cmp-gallery--ratio-1-1 .cmp-gallery__img{aspect-ratio:1/1}.cmp-gallery--ratio-3-4 .cmp-gallery__img{aspect-ratio:3/4}.cmp-gallery--ratio-4-3 .cmp-gallery__img{aspect-ratio:4/3}.cmp-gallery--ratio-16-9 .cmp-gallery__img{aspect-ratio:16/9}:where(.cmp-gallery__caption){display:block;margin-top:.5rem;font-size:.9rem;line-height:1.4}:where(.cmp-lightbox){width:min(96vw,1200px);max-width:none;max-height:94vh;max-height:94dvh;padding:0;border:0;border-radius:var(--radius-md, .5rem);background:var(--color-surface, #fff);overflow:auto;overscroll-behavior:contain}:where(.cmp-lightbox)::backdrop{background:rgba(0,0,0,.8)}:where(.cmp-lightbox__img){display:block;width:100%;height:auto}:where(.cmp-lightbox__close){position:fixed;top:1rem;right:1rem;z-index:1;width:44px;height:44px;border:0;border-radius:50%;background:rgba(0,0,0,.7);color:#fff;font-size:1.75rem;line-height:1;cursor:pointer}:where(.cmp-lightbox__close):focus-visible{outline:2px solid #fff;outline-offset:2px}:where(html:has(.cmp-lightbox[open])){overflow:hidden}:where(.cmp-location__title){margin:0 0 1rem;font-family:var(--font-heading, inherit)}:where(.cmp-location__address){margin:0 0 .5rem;font-weight:600}:where(.cmp-location__hours){margin:0 0 1rem;opacity:.85}:where(.cmp-location__actions){display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.25rem;margin:0 0 1.25rem}:where(.cmp-location__alt){font-weight:600}:where(.cmp-location__map){position:relative;aspect-ratio:16/9;min-height:260px;overflow:hidden;border-radius:var(--radius-md, .5rem);background:var(--color-surface, #e5e7eb)}:where(.cmp-location__map iframe){position:absolute;inset:0;width:100%;height:100%;border:0}

/* ==========================================================================
   Plantilla "organico" — orgánica y artesanal
   Fuentes (van en template.yml): Young Serif (títulos) + Nunito (texto).
   Para adaptar a otra marca basta con cambiar:
   --color-primary, --color-primary-contrast, --color-bg, --font-heading
   ========================================================================== */

/* 1. VARIABLES ------------------------------------------------------------ */
:root {
  --color-primary: #55672e;
  --color-primary-contrast: #ffffff;
  --color-primary-hover: color-mix(in srgb, var(--color-primary) 80%, #000);
  --color-primary-soft: color-mix(in srgb, var(--color-primary) 12%, var(--color-bg));

  --color-text: #33291d;
  --color-text-muted: #635645;
  --color-bg: #f7f1e3;
  --color-surface: #fffaf0;
  --color-paper: #efe5cf;
  --color-border: #ddd0b5;
  --color-focus: #9a3d12;

  --font-body: "Nunito", "Trebuchet MS", system-ui, sans-serif;
  --font-heading: "Young Serif", Georgia, "Times New Roman", serif;
  --fs-base: 1.0625rem;
  --lh-base: 1.75;

  --radius-sm: 10px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --stamp: 4px 4px 0 color-mix(in srgb, var(--color-primary) 35%, var(--color-text));

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.875rem;
  --space-4: 1.25rem;
  --space-5: 1.75rem;
  --space-6: 2.5rem;
  --space-7: 4rem;
  --section-pad: clamp(3.5rem, 9vw, 7rem);
  --gutter: clamp(1.25rem, 5vw, 2rem);
  --max-width: 1080px;
  --header-h: 64px;
  --tap: 44px;
  --ease: 220ms ease;
}

/* 2. BASE ----------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--color-text);
  background: var(--color-bg);
}

.site-main {
  flex: 1 0 auto;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.45rem);
}

h4 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1.1em;
}

a {
  color: var(--color-primary);
  text-decoration: underline wavy color-mix(in srgb, currentColor 45%, transparent) 1px;
  text-underline-offset: 0.25em;
  transition: color var(--ease);
}

a:hover {
  color: var(--color-primary-hover);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 3px dashed var(--color-focus);
  outline-offset: 3px;
}

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

/* 3. UTILIDADES ----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--max-width) + 2 * var(--gutter));
  margin-inline: auto;
  padding: var(--section-pad) var(--gutter);
}

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

.btn {
  --btn-bg: var(--color-primary);
  --btn-fg: var(--color-primary-contrast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0.75rem 1.6rem;
  border: 2px solid var(--color-text);
  border-radius: 14px 18px 12px 20px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 800 1rem/1.2 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--color-text);
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease);
}

.btn:hover {
  color: var(--btn-fg);
  text-decoration: none;
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--color-text);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--color-text);
}

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
  box-shadow: none;
}

/* 4. HEADER (marca centrada, borde punteado) ------------------------------ */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--color-bg);
  border-bottom: 2px dashed var(--color-border);
}

.site-header--sticky {
  position: sticky;
  top: 0;
}

.site-header__inner {
  max-width: calc(var(--max-width) + 2 * var(--gutter));
  margin-inline: auto;
  min-height: var(--header-h);
  padding: var(--space-2) var(--gutter);
  display: grid;
  grid-template-columns: var(--tap) 1fr auto;
  align-items: center;
  gap: var(--space-3);
}

.site-header__brand {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  min-width: 0;
  color: var(--color-text);
  text-decoration: none;
  text-align: center;
}

.site-header__brand:hover {
  color: var(--color-text);
  text-decoration: none;
}

.site-header__logo {
  height: 44px;
  width: auto;
}

.site-header__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.1;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header__tagline {
  display: none;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--color-text-muted);
}

.site-header__cta {
  grid-column: 3;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 0.9rem;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--ease), color var(--ease);
}

.site-header__cta:hover {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  text-decoration: none;
}

.site-nav-toggle__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.site-nav-toggle {
  grid-column: 1;
  grid-row: 1;
  width: var(--tap);
  height: var(--tap);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--ease);
}

.site-nav-toggle:hover {
  background: var(--color-paper);
}

.site-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-text);
  transition: transform var(--ease), opacity var(--ease);
}

.site-nav-toggle span:nth-child(2) {
  width: 16px;
}

.site-nav-toggle__input:focus-visible+.site-nav-toggle {
  outline: 3px dashed var(--color-focus);
  outline-offset: 2px;
}

.site-nav-toggle__input:checked+.site-nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-nav-toggle__input:checked+.site-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-nav-toggle__input:checked+.site-nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-paper);
  border-bottom: 2px dashed var(--color-border);
}

.site-nav-toggle__input:checked~.site-nav {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: var(--space-3) var(--gutter) var(--space-5);
  text-align: center;
}

.site-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-primary);
  text-decoration: underline wavy 1px;
  text-underline-offset: 0.3em;
}

@media (min-width: 768px) {
  .site-header__inner {
    grid-template-columns: 1fr auto 1fr;
    padding-block: var(--space-4) 0;
    row-gap: var(--space-2);
  }

  .site-nav-toggle {
    display: none;
  }

  .site-header__brand {
    grid-column: 2;
    grid-row: 1;
  }

  .site-header__name {
    font-size: 1.7rem;
  }

  .site-header__tagline {
    display: block;
  }

  .site-header__cta {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .site-nav {
    display: block;
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    background: none;
    border: 0;
  }

  .site-nav ul {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    padding: 0;
  }

  .site-nav a {
    min-height: var(--tap);
    padding: 0 0.9rem;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 700;
  }
}

/* 5. FOOTER (claro, papel, borde ondulado) -------------------------------- */
.site-footer {
  position: relative;
  background: var(--color-paper);
  color: var(--color-text);
  font-size: 0.95rem;
  margin-top: 18px;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -17px;
  height: 18px;
  background: radial-gradient(circle at 12px 18px, var(--color-paper) 12px, transparent 12.5px) 0 0 / 24px 18px repeat-x;
}

.site-footer a {
  color: var(--color-primary);
}

.site-footer a:hover {
  color: var(--color-primary-hover);
}

.site-footer__inner {
  max-width: calc(var(--max-width) + 2 * var(--gutter));
  margin-inline: auto;
  padding: var(--space-7) var(--gutter) var(--space-5);
  display: grid;
  gap: var(--space-6);
  text-align: center;
  justify-items: center;
}

.site-footer__name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.6rem;
  margin-bottom: var(--space-3);
}

.site-footer__brand p {
  margin: 0;
}

.site-footer__phone a,
.site-footer__email a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}

.site-footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: var(--space-4);
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-weight: 700;
}

.site-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.site-footer__social a {
  display: inline-grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  border-radius: 46% 54% 50% 50% / 55% 45% 55% 45%;
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  font-size: 0;
  text-decoration: none;
  transition: transform var(--ease);
}

.site-footer__social a::before {
  font: 800 0.85rem/1 var(--font-body);
}

.site-footer__social a:hover {
  color: var(--color-primary-contrast);
  transform: rotate(-8deg) scale(1.06);
}

.site-footer__social-facebook a::before {
  content: "f";
  font-size: 1.15rem;
}

.site-footer__social-instagram a::before {
  content: "IG";
}

.site-footer__social-whatsapp a::before {
  content: "WA";
}

.site-footer__social-tiktok a::before {
  content: "TT";
}

.site-footer__social-youtube a::before {
  content: "▶";
  font-size: 0.9rem;
}

.site-footer__social-linkedin a::before {
  content: "in";
}

.site-footer__social-x a::before {
  content: "X";
}

.site-footer__copy {
  max-width: calc(var(--max-width) + 2 * var(--gutter));
  margin: 0 auto;
  padding: var(--space-4) var(--gutter) var(--space-5);
  border-top: 2px dashed var(--color-border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

@media (min-width: 1000px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr 1fr;
    text-align: left;
    justify-items: start;
    align-items: start;
  }

  .site-footer__nav ul {
    flex-direction: column;
  }

  .site-footer__social {
    justify-content: flex-start;
  }
}

/* 6. SECCIONES Y REJILLA -------------------------------------------------- */
.section {
  position: relative;
  padding-block: var(--section-pad);
}

.section__inner {
  position: relative;
  z-index: 1;
  max-width: calc(var(--max-width) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section--full {
  padding: 0;
}

.section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: stretch;
}

.section__col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.section__col>* {
  flex: 0 0 auto;
}

.section__col>.cmp-card {
  flex: 1 1 auto;
}

.section:not(.section--tinted):not(.section--bg-image):not(.section--full)+.section:not(.section--tinted):not(.section--bg-image):not(.section--full) {
  padding-top: 0;
}

@media (min-width: 768px) {

  .section__grid--2,
  .section__grid--3,
  .section__grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .section__grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .section__grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 7. FONDOS DE SECCIÓN ---------------------------------------------------- */
.section--tinted {
  background: var(--section-bg, var(--color-paper));
  color: var(--section-fg, var(--color-text));
  padding-top: var(--section-pad);
}

.section--tinted a {
  color: var(--section-accent);
}

.section--tinted a:hover {
  color: var(--section-fg);
}

.section--tinted .btn {
  --btn-bg: var(--section-accent);
  --btn-fg: var(--section-btn-fg);
  color: var(--btn-fg);
  border-color: var(--section-fg);
  box-shadow: 3px 3px 0 var(--section-fg);
}

.section--tinted .btn:hover {
  box-shadow: 5px 5px 0 var(--section-fg);
}

.section--tinted .cmp-card {
  color: var(--color-text);
}

.section--tinted .cmp-card a {
  color: var(--color-primary);
}

.section--tinted .cmp-card a:hover {
  color: var(--color-primary-hover);
}

.section--tinted .cmp-card .btn {
  --btn-bg: var(--color-primary);
  --btn-fg: var(--color-primary-contrast);
  border-color: var(--color-text);
}

.section--tinted .cmp-text blockquote {
  border-color: var(--section-accent);
}

.section--tinted .cmp-text li::marker {
  color: var(--section-accent);
}

.section--bg-light {
  --section-bg: #fbf7ee;
  --section-fg: #2f2a22;
  --section-accent: #55672e;
  --section-btn-fg: #ffffff;
}

.section--bg-dark {
  --section-bg: #27231b;
  --section-fg: #f3ecdc;
  --section-accent: #e8c27a;
  --section-btn-fg: #27231b;
}

.section--bg-organic-cream {
  --section-bg: #efe4cc;
  --section-fg: #3b3020;
  --section-accent: #7a4b1f;
  --section-btn-fg: #ffffff;
}

.section--bg-organic-moss {
  --section-bg: #4a5733;
  --section-fg: #f4f0e0;
  --section-accent: #f0d999;
  --section-btn-fg: #2d3520;
}

.section--bg-organic-terracotta {
  --section-bg: #a2502f;
  --section-fg: #fff6ee;
  --section-accent: #ffe2c2;
  --section-btn-fg: #6e2f17;
}

.section--bg-corp-gray {
  --section-bg: #e4e1d9;
  --section-fg: #2c2a26;
  --section-accent: #3f5a6e;
  --section-btn-fg: #ffffff;
}

.section--bg-corp-sky {
  --section-bg: #dde9e4;
  --section-fg: #1f3330;
  --section-accent: #2d5c55;
  --section-btn-fg: #ffffff;
}

.section--bg-corp-blue {
  --section-bg: #2f4a55;
  --section-fg: #f1f4f0;
  --section-accent: #cfe3c9;
  --section-btn-fg: #23383f;
}

.section--bg-premium-black {
  --section-bg: #1c1a16;
  --section-fg: #efe7d6;
  --section-accent: #d9b77a;
  --section-btn-fg: #1c1a16;
}

.section--bg-premium-navy {
  --section-bg: #1f2a33;
  --section-fg: #ece6d8;
  --section-accent: #d6b984;
  --section-btn-fg: #1f2a33;
}

.section--bg-premium-ivory {
  --section-bg: #f8f3e8;
  --section-fg: #2e2a22;
  --section-accent: #7a5a28;
  --section-btn-fg: #ffffff;
}

.section--bg-pop-purple {
  --section-bg: #5d3a5a;
  --section-fg: #fbf2f7;
  --section-accent: #f6d58b;
  --section-btn-fg: #3e2440;
}

.section--bg-pop-pink {
  --section-bg: #b04459;
  --section-fg: #fff5f6;
  --section-accent: #ffffff;
  --section-btn-fg: #8a2f43;
}

.section--bg-pop-cyan {
  --section-bg: #c4e4d9;
  --section-fg: #173a33;
  --section-accent: #1f5e52;
  --section-btn-fg: #ffffff;
}

.section--bg-pop-orange {
  --section-bg: #a94f1a;
  --section-fg: #fff8f0;
  --section-accent: #ffffff;
  --section-btn-fg: #8a3d10;
}

/* .section--bg-custom usa --section-bg, --section-fg, --section-accent y --section-btn-fg que llegan por style="" */
.section--bg-custom {
  background: var(--section-bg);
  color: var(--section-fg);
}

.section--bg-image {
  color: #fffaf0;
  overflow: hidden;
  isolation: isolate;
}

.section--bg-image .section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.section--bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(40 34 20 / 0.68);
}

.section--bg-image a:not(.btn):not(.cmp-card a) {
  color: inherit;
}

.section--bg-image .cmp-card {
  color: var(--color-text);
}

/* 8. HERO (enmarcado, degradado cálido lateral) --------------------------- */
.cmp-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(420px, 70vh, 680px);
  margin: var(--space-3) var(--space-3) 0;
  padding: clamp(2rem, 7vw, 5rem) var(--gutter);
  border-radius: var(--radius-lg);
  color: #fffaf0;
  overflow: hidden;
  background: #3b3020;
}

.cmp-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: sepia(0.25) saturate(0.9);
}

.cmp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(12deg, rgb(38 30 16 / 0.88) 0%, rgb(38 30 16 / 0.55) 50%, rgb(38 30 16 / 0.25) 100%);
}

.cmp-hero__content {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.cmp-hero__content>* {
  max-width: 38rem;
}

.cmp-hero__title {
  font-size: var(--hero-title, clamp(2.25rem, 6vw, 3.9rem));
  margin-bottom: 0.4em;
}

.cmp-hero__subtitle {
  font-size: var(--hero-sub, clamp(1.05rem, 2vw, 1.25rem));
  margin-bottom: 1.6em;
}

.cmp-hero__actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.cmp-hero .btn {
  --btn-bg: #fffaf0;
  --btn-fg: #33291d;
  border-color: #fffaf0;
  box-shadow: 3px 3px 0 rgb(0 0 0 / 0.45);
}

.cmp-hero .btn:hover {
  box-shadow: 5px 5px 0 rgb(0 0 0 / 0.45);
}

.cmp-hero--pos-left .cmp-hero__content {
  align-items: flex-start;
  text-align: left;
}

.cmp-hero--pos-center {
  align-items: center;
}

.cmp-hero--pos-center::before {
  background: rgb(38 30 16 / 0.62);
}

.cmp-hero--pos-center .cmp-hero__content {
  align-items: center;
  text-align: center;
}

.cmp-hero--pos-center .cmp-hero__actions {
  justify-content: center;
}

.cmp-hero--pos-right .cmp-hero__content {
  align-items: flex-end;
  text-align: right;
}

.cmp-hero--pos-right .cmp-hero__actions {
  justify-content: flex-end;
}

.cmp-hero--pos-right::before {
  background: linear-gradient(-12deg, rgb(38 30 16 / 0.88) 0%, rgb(38 30 16 / 0.55) 50%, rgb(38 30 16 / 0.25) 100%);
}

.cmp-hero--size-small {
  min-height: clamp(260px, 40vh, 380px);
  --hero-title: clamp(1.9rem, 4vw, 2.6rem);
  --hero-sub: 1.05rem;
}

.cmp-hero--size-medium {
  min-height: clamp(340px, 55vh, 520px);
  --hero-title: clamp(2.1rem, 5vw, 3.2rem);
}

.cmp-hero--size-large {
  min-height: clamp(440px, 80vh, 760px);
  --hero-title: clamp(2.5rem, 7vw, 4.6rem);
  --hero-sub: clamp(1.1rem, 2.2vw, 1.4rem);
}

.cmp-hero--plain {
  color: var(--color-text);
  background: var(--color-paper);
  border: 2px dashed var(--color-border);
}

.cmp-hero--plain::before {
  background: radial-gradient(circle at 90% 15%, color-mix(in srgb, var(--color-primary) 22%, transparent) 0 18%, transparent 18.5%),
    radial-gradient(circle at 6% 92%, color-mix(in srgb, var(--color-primary) 14%, transparent) 0 14%, transparent 14.5%);
}

.cmp-hero--plain .btn {
  --btn-bg: var(--color-primary);
  --btn-fg: var(--color-primary-contrast);
  border-color: var(--color-text);
  box-shadow: 3px 3px 0 var(--color-text);
}

@media (min-width: 768px) {
  .cmp-hero {
    margin: var(--space-4) var(--space-4) 0;
  }
}

/* 9. TEXTO EDITORIAL ------------------------------------------------------ */
.cmp-text,
.product__desc,
.container {
  overflow-wrap: break-word;
}

.cmp-text> :last-child,
.product__desc> :last-child {
  margin-bottom: 0;
}

.cmp-text__title {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
}

.cmp-text__title::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 8px;
  margin-top: 0.35em;
  background: radial-gradient(circle, currentColor 2px, transparent 2.5px) 0 50% / 10px 8px repeat-x;
  opacity: 0.55;
}

.cmp-hero__title::after {
  content: none;
}

.cmp-text h3,
.container h3 {
  margin-top: 1.5em;
}

.cmp-text h4,
.container h4 {
  margin-top: 1.3em;
}

.cmp-text ul,
.cmp-text ol,
.product__desc ul,
.product__desc ol,
.container>ul,
.container>ol {
  padding-left: 1.4em;
  margin: 0 0 1.1em;
}

.cmp-text li,
.product__desc li,
.container li {
  margin-bottom: 0.4em;
}

.cmp-text ul,
.product__desc ul,
.container>ul {
  list-style: "✿  ";
}

.cmp-text li::marker,
.product__desc li::marker,
.container li::marker {
  color: var(--color-primary);
}

.cmp-text blockquote,
.product__desc blockquote,
.container blockquote {
  margin: 1.75em 0;
  padding: 1.1em 1.4em;
  border: 0;
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: color-mix(in srgb, currentColor 6%, transparent);
  font-family: var(--font-heading);
  font-size: 1.2em;
  line-height: 1.5;
}

.cmp-text img,
.product__desc img,
.container>img {
  border-radius: var(--radius-md);
  margin: 1.5em 0;
}

.cmp-text hr,
.product__desc hr,
.container hr {
  border: 0;
  border-top: 2px dashed currentColor;
  opacity: 0.25;
  margin: 2.25em 0;
}

.cmp-text table,
.product__desc table,
.container table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95em;
  display: block;
  overflow-x: auto;
}

.cmp-text th,
.cmp-text td,
.product__desc th,
.product__desc td,
.container th,
.container td {
  padding: 0.7em 0.9em;
  text-align: left;
  border-bottom: 1px dashed color-mix(in srgb, currentColor 30%, transparent);
}

.cmp-text th,
.product__desc th,
.container th {
  font-weight: 800;
}

.container>h1 {
  margin-bottom: 0.6em;
}

.container>p,
.container>ul,
.container>ol,
.container>blockquote {
  max-width: 68ch;
}

/* 10. IMAGEN Y BOTÓN ------------------------------------------------------ */
.cmp-image {
  margin: 0;
}

.cmp-image img {
  width: 100%;
  border-radius: var(--radius-lg) var(--radius-sm) var(--radius-lg) var(--radius-sm);
  object-fit: cover;
}

a:has(> .cmp-image) {
  display: block;
  border-radius: var(--radius-lg);
}

a>.cmp-image img {
  transition: transform var(--ease);
}

a:hover>.cmp-image img {
  transform: rotate(-0.8deg);
}

.cmp-button {
  margin: 0;
}

/* 11. TARJETA (plana, papel, imagen con margen) --------------------------- */
.cmp-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-3);
  background: var(--color-surface);
  border: 0;
  border-radius: var(--radius-md);
  color: var(--color-text);
  transition: transform var(--ease);
}

.cmp-card>img,
.cmp-product-card__link>img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 8px);
  background: var(--color-paper);
}

.cmp-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-4) var(--space-2) var(--space-2);
}

.cmp-card__body> :last-child {
  margin-bottom: 0;
  margin-top: auto;
}

.cmp-card__body>p:last-child:not(:has(.cmp-card__link)) {
  margin-top: 0;
}

.cmp-card__title {
  font-size: 1.3rem;
  margin-bottom: 0.4em;
}

.cmp-card__body p {
  color: var(--color-text-muted);
}

.cmp-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: var(--tap);
  font-weight: 800;
}

.cmp-card__link::after {
  content: "⟶";
  transition: transform var(--ease);
}

.cmp-card__link:hover::after {
  transform: translateX(4px);
}

/* 12. VIDEO --------------------------------------------------------------- */
.cmp-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #2b241a;
}

.cmp-video__play,
.cmp-video__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.cmp-video__play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.2);
  transition: filter var(--ease);
}

.cmp-video__play:hover img {
  filter: sepia(0.2) brightness(0.85);
}

.cmp-video__play:focus-visible {
  outline-offset: -6px;
}

.cmp-video__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: #fffaf0;
  border: 3px solid var(--color-primary);
  transition: transform var(--ease);
}

.cmp-video__icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -12px 0 0 -6px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--color-primary);
}

.cmp-video__play:hover .cmp-video__icon {
  transform: scale(1.08) rotate(-6deg);
}

/* 13. GALERÍA ------------------------------------------------------------- */
.cmp-gallery {
  position: relative;
  --cols: 2;
  --g-gap: var(--space-4);
}

.cmp-gallery__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cmp-gallery__item {
  margin: 0;
  min-width: 0;
}

.cmp-gallery__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--color-paper);
}

.cmp-gallery--grid .cmp-gallery__list {
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  gap: var(--g-gap);
}

.cmp-gallery--grid.cmp-gallery--cols-1 {
  --cols: 1;
}

@media (min-width: 768px) {
  .cmp-gallery--cols-1 {
    --cols: 1;
  }

  .cmp-gallery--cols-2 {
    --cols: 2;
  }

  .cmp-gallery--cols-3 {
    --cols: 3;
  }

  .cmp-gallery--cols-4 {
    --cols: 4;
  }
}

.cmp-gallery--slider .cmp-gallery__list {
  display: flex;
  gap: var(--g-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) transparent;
  padding-bottom: var(--space-3);
}

.cmp-gallery--slider .cmp-gallery__item {
  flex: 0 0 84%;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .cmp-gallery--slider .cmp-gallery__item {
    flex-basis: calc((100% - (var(--cols) - 1) * var(--g-gap)) / var(--cols));
  }
}

.cmp-gallery__nav {
  display: none;
  position: absolute;
  top: calc(50% - var(--space-3) / 2);
  transform: translateY(-50%);
  z-index: 2;
  width: 50px;
  height: 50px;
  place-items: center;
  padding-bottom: 4px;
  border: 2px solid var(--color-text);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-text);
  font: 400 1.9rem/1 var(--font-body);
  box-shadow: 2px 2px 0 var(--color-text);
  cursor: pointer;
  transition: background var(--ease), color var(--ease), opacity var(--ease);
}

.cmp-gallery__nav:hover {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
}

.cmp-gallery__nav:disabled {
  opacity: 0.4;
  cursor: default;
}

.cmp-gallery__nav--prev {
  left: var(--space-3);
}

.cmp-gallery__nav--next {
  right: var(--space-3);
}

@media (min-width: 768px) {
  .cmp-gallery__nav {
    display: grid;
  }
}

.cmp-gallery__nav[hidden] {
  display: none;
}

/* 14. LISTA DE PRODUCTOS -------------------------------------------------- */
.cmp-product-list {
  --cols: 2;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: clamp(0.75rem, 3vw, 1.75rem);
}

.cmp-product-list--cols-1 {
  --cols: 1;
}

@media (min-width: 768px) {
  .cmp-product-list--cols-2 {
    --cols: 2;
  }

  .cmp-product-list--cols-3 {
    --cols: 3;
  }

  .cmp-product-list--cols-4 {
    --cols: 4;
  }
}

.cmp-product-card {
  padding: var(--space-2);
}

.cmp-product-card:hover {
  transform: rotate(-0.6deg) translateY(-3px);
}

.cmp-product-card:has(:focus-visible) {
  outline: 3px dashed var(--color-focus);
  outline-offset: 3px;
}

.cmp-product-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.cmp-product-card__link:hover {
  color: inherit;
  text-decoration: none;
}

.cmp-product-card__link:focus-visible {
  outline: none;
}

.cmp-product-card__link>img {
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--radius-md) - 10px);
}

.cmp-product-card .cmp-card__body {
  padding: var(--space-3) var(--space-2) var(--space-2);
}

.cmp-product-card .cmp-card__title {
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: var(--space-2);
}

.cmp-product-card__price {
  margin: auto 0 0;
  font-weight: 800;
  color: var(--color-primary) !important;
  font-variant-numeric: tabular-nums;
}

/* 15. CATÁLOGO ------------------------------------------------------------ */
.cmp-catalog__controls {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .cmp-catalog__controls {
    grid-template-columns: 1fr 260px;
  }
}

.cmp-catalog__search,
.cmp-catalog__category {
  width: 100%;
  min-height: 50px;
  padding: 0 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  font-size: 1rem;
  transition: border-color var(--ease);
}

.cmp-catalog__search {
  padding-left: 2.75rem;
  background-image: radial-gradient(circle at 50% 50%, transparent 5px, var(--color-text-muted) 5.5px, var(--color-text-muted) 7px, transparent 7.5px);
  background-size: 18px 18px;
  background-position: 1rem 50%;
  background-repeat: no-repeat;
}

.cmp-catalog__category {
  appearance: none;
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-text-muted) 50%), linear-gradient(135deg, var(--color-text-muted) 50%, transparent 50%);
  background-position: calc(100% - 1.3rem) 52%, calc(100% - 0.95rem) 52%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.cmp-catalog__search:hover,
.cmp-catalog__category:hover {
  border-color: var(--color-text-muted);
}

.cmp-catalog__search:focus-visible,
.cmp-catalog__category:focus-visible {
  outline: 3px dashed var(--color-focus);
  outline-offset: 2px;
  border-color: var(--color-primary);
}

.cmp-catalog__status {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  font-style: italic;
  margin-bottom: var(--space-4);
}

.cmp-catalog__pager {
  margin-top: var(--space-6);
}

.cmp-catalog__pager[hidden] {
  display: none;
}

.cmp-catalog__pages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.cmp-catalog__pages button {
  min-width: var(--tap);
  height: var(--tap);
  padding: 0 0.75rem;
  border: 2px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--color-text);
  font: 800 1rem/1 var(--font-body);
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease), color var(--ease);
}

.cmp-catalog__pages button:hover:not(:disabled) {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.cmp-catalog__pages button[aria-current="page"] {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
}

.cmp-catalog__pages button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cmp-catalog__gap {
  display: grid;
  place-items: center;
  min-width: 2rem;
  height: var(--tap);
  color: var(--color-text-muted);
}

/* 16. PÁGINA DE PRODUCTO -------------------------------------------------- */
.product {
  display: grid;
  gap: var(--space-6);
  align-items: start;
}

.product__media {
  min-width: 0;
}

.product__single img,
.product .cmp-gallery__img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
}

.product__title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: var(--space-2);
}

.product__price {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-4);
}

.product__cats {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.product__cats li {
  padding: 0.3rem 0.9rem;
  border: 1.5px dashed var(--color-primary);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 700;
}

.product__desc {
  margin-bottom: var(--space-5);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.product__buy {
  margin: 0;
}

.product__buy .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .product {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
  }

  .product__info {
    position: sticky;
    top: calc(var(--header-h) + 3rem);
  }

  .product__buy .btn {
    width: auto;
  }
}

/* 17. MOVIMIENTO REDUCIDO ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}