/* Kinlig — identidad visual premium */

:root {
  --sh-cream: #ffffff;
  --sh-cream-deep: #f5f5f5;
  --sh-card: #f7f7f7;
  --sh-olive: #000000;
  --sh-olive-dark: #111111;
  --sh-gold: #666666;
  --sh-ink: #111111;
  --sh-muted: #666666;
  --sh-white: #ffffff;
  --sh-radius: 0;
  --sh-radius-sm: 0;
  --sh-sans: var(--sh-font-body, system-ui, sans-serif);
  --sh-serif: var(--sh-font-heading, Georgia, serif);
  --sh-script: var(--sh-font-heading, Georgia, serif);
  --sh-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  --sh-shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.06);
  --sh-btn-bg: var(--sh-olive);
  --sh-btn-text: #ffffff;
  --sh-btn-hover: var(--sh-olive-dark);
  --sh-font-weight: 400;
  --sh-heading-weight: 700;
}

* { box-sizing: border-box; }

/* Kinlig: cero esquinas redondas en toda la tienda */
body.kinlig-body *,
body.kinlig-body *::before,
body.kinlig-body *::after {
  border-radius: 0 !important;
}

html {
  scroll-behavior: smooth;
}

body.kinlig-body {
  margin: 0;
  font-family: var(--sh-sans);
  color: var(--sh-ink);
  background: var(--sh-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Caja de marca: el slider escala alto + ancho (contain) */
  --brand-logo-box-w: min(280px, calc(200px * var(--brand-logo-scale, 1)));
  --brand-logo-box-h: min(72px, calc(48px * var(--brand-logo-scale, 1)));
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.sh-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* —— Header —— */
.sh-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--sh-cream, #fff) 96%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sh-line, rgba(0, 0, 0, 0.08));
}

.sh-header.sh-header-home {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
  transition:
    background .3s ease,
    border-color .3s ease,
    backdrop-filter .3s ease,
    box-shadow .3s ease;
}

.sh-header.is-solid {
  background: color-mix(in srgb, var(--sh-cream, #fff) 96%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sh-line, rgba(0, 0, 0, 0.08));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.sh-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.sh-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  font-family: var(--sh-serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--sh-olive);
}

.sh-logo img {
  display: block;
  height: auto;
  width: auto;
  max-height: var(--brand-logo-box-h);
  max-width: min(var(--brand-logo-box-w), 42vw);
  object-fit: contain;
}

.sh-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.sh-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sh-muted);
  transition: color .3s ease;
}

.sh-nav a:hover,
.sh-nav a.is-active {
  color: var(--sh-olive);
}

.sh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  background: var(--sh-btn-bg);
  color: var(--sh-btn-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.22,1,.36,1), background .25s ease, box-shadow .35s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.sh-btn:hover {
  background: var(--sh-btn-hover);
  transform: translateY(-2px);
  color: var(--sh-btn-text);
}

.sh-btn-ghost {
  background: transparent;
  color: var(--sh-olive);
  border: 1px solid rgba(0, 0, 0, 0.25);
  box-shadow: none;
}

.sh-btn-ghost:hover {
  background: var(--sh-olive);
  color: #fff;
}

.sh-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sh-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--sh-olive);
  transition: background .25s ease, transform .3s ease;
}

.sh-icon-btn:hover {
  background: var(--sh-cream-deep);
  transform: translateY(-1px);
}

/* —— Hero full-bleed + panel opaco izquierdo —— */
.sh-hero {
  position: relative;
  min-height: clamp(620px, 88vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.sh-hero-bg {
  position: absolute;
  inset: -10% -6%;
  z-index: 0;
  overflow: hidden;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.sh-hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sh-hero-slide:not(:last-child) {
  margin-right: 0;
}

.sh-hero-track::-webkit-scrollbar {
  display: none;
}

.sh-hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  /* Evita que el scale(1.06) del slide vecino se cuele (barra gris a la derecha). */
  overflow: hidden;
}

.sh-hero-slide a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.sh-hero-bg img,
.sh-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  display: block;
  transform: scale(1.06);
}

.sh-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
}

.sh-hero-dots button {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 252, 247, 0.45);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.sh-hero-dots button.is-active {
  width: 18px;
  background: var(--sh-olive);
}

.sh-hero-panel {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: min(52%, 640px);
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(248, 243, 234, 1) 0%,
      rgba(248, 243, 234, 0.98) 42%,
      rgba(248, 243, 234, 0.88) 62%,
      rgba(248, 243, 234, 0.45) 78%,
      rgba(248, 243, 234, 0) 100%
    );
}

.sh-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 64px;
}

.sh-hero-copies {
  position: relative;
  max-width: 460px;
  min-height: 12em;
}

.sh-hero-copy {
  max-width: 460px;
}

.sh-hero-copies > .sh-hero-copy {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity var(--sh-dur, 0.38s) var(--sh-ease, cubic-bezier(0.22, 1, 0.36, 1)),
    transform var(--sh-dur, 0.38s) var(--sh-ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
    visibility 0s linear var(--sh-dur, 0.38s);
}

.sh-hero-copies > .sh-hero-copy.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition:
    opacity var(--sh-dur, 0.38s) var(--sh-ease, cubic-bezier(0.22, 1, 0.36, 1)),
    transform var(--sh-dur, 0.38s) var(--sh-ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
    visibility 0s linear 0s;
}

@media (prefers-reduced-motion: reduce) {
  .sh-hero-copies > .sh-hero-copy {
    transition: none;
    transform: none;
  }
}

.sh-hero h1 {
  margin: 0 0 18px;
  font-family: var(--sh-serif);
  font-size: clamp(44px, 6.2vw, 72px);
  line-height: 1.02;
  font-weight: 600;
  color: var(--sh-ink);
}

.sh-hero h1 em {
  font-family: var(--sh-script);
  font-style: normal;
  font-weight: 400;
  color: #8A9A4A;
  font-size: 0.95em;
  letter-spacing: 0.01em;
}

.sh-hero-lead {
  margin: 0 0 28px;
  max-width: 400px;
  color: var(--sh-muted);
  font-size: 15px;
  line-height: 1.75;
}

.sh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.sh-hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
}

.sh-perk {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: var(--sh-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  max-width: 120px;
}

.sh-perk-ico {
  color: var(--sh-olive);
  display: inline-flex;
}

.sh-stamp {
  position: absolute;
  z-index: 3;
  right: max(4vw, calc((100% - 1180px) / 2 + 24px));
  bottom: 12%;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: var(--sh-olive);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
  box-shadow: var(--sh-shadow);
  animation: sh-float 5.5s ease-in-out infinite;
}

@keyframes sh-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* —— Reveal motions —— */
.sh-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}

.sh-reveal.is-in {
  opacity: 1;
  transform: none;
}

.sh-reveal-delay-1 { transition-delay: .1s; }
.sh-reveal-delay-2 { transition-delay: .2s; }
.sh-reveal-delay-3 { transition-delay: .3s; }

/* —— Sections —— */
.sh-section {
  padding: 72px 0;
}

.sh-section-products {
  padding: 80px 0 88px;
}

.sh-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
}

.sh-section-head-center {
  text-align: center;
}

.sh-section-eyebrow {
  margin: 0 0 8px;
  font-family: var(--sh-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sh-gold);
}

.sh-diamond {
  color: var(--sh-gold);
  font-size: 9px;
  margin: 0 7px;
  vertical-align: middle;
}

.sh-section-head h2 {
  margin: 0;
  font-family: var(--sh-serif);
  font-size: clamp(40px, 5.2vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--sh-olive);
  letter-spacing: 0.01em;
}

.sh-section-rule {
  position: relative;
  width: min(440px, 76%);
  height: 1px;
  margin: 12px auto 10px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(196, 163, 90, 0.35) 12%,
    rgba(196, 163, 90, 0.85) 50%,
    rgba(196, 163, 90, 0.35) 88%,
    transparent 100%
  );
}

.sh-section-rule-diamond {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--sh-gold);
  font-size: 10px;
  line-height: 1;
  background: var(--sh-cream);
  padding: 0 8px;
}

.sh-section-lead {
  margin: 0 auto;
  max-width: 580px;
  color: #777777;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
}

.sh-section-head h2 em,
.sh-why-panel h2 em {
  font-family: var(--sh-script);
  font-style: normal;
  color: #8A9A4A;
  font-weight: 400;
}

.sh-section-head p {
  margin: 8px 0 0;
  color: var(--sh-muted);
  max-width: 420px;
}

/* —— Product cards: imagen + texto debajo —— */
.sh-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 22px;
}

.sh-card {
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}

.sh-card:hover {
  transform: translateY(-4px);
}

.sh-card-media {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  background: #f5f5f5;
  overflow: hidden;
  cursor: default;
}

.sh-card-modal .sh-card-media {
  cursor: pointer;
}

.sh-card-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.sh-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}

.sh-card:hover .sh-card-img {
  transform: scale(1.03);
}

.sh-card-body {
  padding: 10px 0 0;
  text-align: left;
}

.sh-card-badge {
  margin: 0 0 2px;
  color: #a33;
  font-size: 11px;
  font-weight: 600;
}

.sh-card-name {
  margin: 0 0 2px;
  font-family: var(--sh-sans);
  font-size: 13px;
  font-weight: 500;
  color: #444;
  line-height: 1.3;
}

.sh-card-name a {
  color: inherit;
  text-decoration: none;
}

.sh-card-name a:hover {
  color: var(--sh-ink, #111);
}

.sh-card-price {
  margin: 0;
  font-family: var(--sh-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--sh-ink, #111);
  line-height: 1.2;
}

/* legacy overlay (por si queda markup viejo) */
.sh-card-frame,
.sh-card-overlay,
.sh-card-info {
  display: none !important;
}

.sh-cart-fab {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 0;
  border: 0;
  background: var(--sh-olive);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  transition: transform .3s ease, background .25s ease, box-shadow .3s ease;
}

.sh-cart-fab:hover {
  background: var(--sh-olive-dark);
  transform: scale(1.05);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
  color: #fff;
}

/* —— Why: foto full + panel crema (espejo del hero) —— */
.sh-why-band {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}

.sh-why-photo {
  position: relative;
  min-height: 420px;
  background-image: var(--why-img);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 1.2s cubic-bezier(.22,1,.36,1);
}

.sh-why-band:hover .sh-why-photo {
  transform: scale(1.08);
}

.sh-why-panel {
  position: relative;
  background: var(--sh-cream);
  display: flex;
  align-items: center;
}

.sh-why-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -80px;
  width: 120px;
  background: linear-gradient(90deg, rgba(248,243,234,0), rgba(248,243,234,1));
  pointer-events: none;
}

.sh-why-panel-inner {
  width: min(560px, calc(100% - 64px));
  margin: 0 auto;
  padding: 56px 0;
}

.sh-why-panel h2 {
  margin: 0 0 14px;
  font-family: var(--sh-serif);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1.15;
}

.sh-why-lead {
  margin: 0 0 28px;
  color: var(--sh-muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 420px;
}

.sh-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
}

.sh-feature {
  padding: 4px 2px;
}

.sh-feature-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  color: var(--sh-olive);
}

.sh-feature h3 {
  margin: 0 0 8px;
  font-family: var(--sh-serif);
  font-size: 20px;
  font-weight: 600;
}

.sh-feature p {
  margin: 0;
  color: var(--sh-muted);
  font-size: 13px;
  line-height: 1.65;
}

/* —— Trust bar —— */
.sh-trust {
  background: var(--sh-olive);
  color: #fff;
  padding: 34px 0;
  border-radius: 28px 28px 0 0;
  margin-top: 8px;
}

.sh-trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 28px;
}

.sh-trust-title {
  margin: 0;
  font-family: var(--sh-serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.sh-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--sh-olive);
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  transition: transform .3s ease, background .25s ease;
}

.sh-wa-btn:hover {
  transform: translateY(-2px);
  background: var(--sh-cream);
  color: var(--sh-olive-dark);
}

.sh-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.92;
}

/* —— Footer —— */
.sh-footer {
  padding: 48px 0 28px;
  background: var(--sh-card, #f7f7f7);
  color: var(--sh-ink);
  border-top: 1px solid var(--sh-line, #e5e5e5);
}

.sh-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.sh-footer h4 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sh-ink);
  font-weight: 700;
}

.sh-footer p,
.sh-footer a {
  color: var(--sh-ink);
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.72;
}

.sh-footer a {
  text-decoration: none;
}

.sh-footer a:hover {
  opacity: 1;
  color: var(--sh-ink);
}

.sh-footer .sh-logo img {
  filter: none;
  max-width: 140px;
  height: auto;
  display: block;
}

.sh-copy {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding-top: 18px;
  font-size: 12px;
  color: var(--sh-muted);
  opacity: 1;
}

/* Crédito Kinlig — fijo, no editable desde el panel */
.kinlig-credit {
  margin: 12px 0 0;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--sh-muted, #666);
  opacity: 1 !important;
  user-select: none;
  pointer-events: none;
}

.kinlig-credit--solo {
  display: none;
  margin: 0;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  background: transparent;
}

/* —— Empty / placeholder note —— */
.sh-empty {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
  color: var(--sh-muted);
  border: 1px dashed rgba(0, 0, 0, 0.25);
  border-radius: var(--sh-radius);
  background: rgba(255,255,255,0.35);
}

/* —— Responsive —— */
@media (max-width: 980px) {
  .sh-hero {
    min-height: 720px;
    align-items: flex-end;
  }
  .sh-hero-bg {
    background-position: 70% center;
  }
  .sh-hero-panel {
    width: 100%;
    inset: auto 0 0 0;
    height: 62%;
    background: linear-gradient(
      180deg,
      rgba(248, 243, 234, 0) 0%,
      rgba(248, 243, 234, 0.82) 22%,
      rgba(248, 243, 234, 0.97) 48%,
      rgba(248, 243, 234, 1) 100%
    );
  }
  .sh-hero-inner { padding: 40px 0 48px; }
  .sh-hero-copy { max-width: 100%; }
  .sh-why-band { grid-template-columns: 1fr; }
  .sh-why-panel::before { display: none; }
  .sh-products { grid-template-columns: 1fr 1fr; }
  .sh-nav { display: none; }
  .sh-header-inner {
    min-height: 58px;
    gap: 8px;
  }
  .sh-logo {
    font-size: 22px;
    letter-spacing: 0.03em;
  }
  .sh-logo img {
    height: auto;
    max-height: min(54px, calc(36px * var(--brand-logo-scale, 1)));
  }
  .sh-header-actions {
    gap: 6px;
    margin-left: auto;
  }
  .sh-header-actions .lang-switch {
    gap: 2px;
    margin-right: 2px;
  }
  .sh-header-actions .lang-switch a {
    font-size: 10px;
    padding: 0 2px;
  }
  .sh-icon-btn {
    width: 40px;
    height: 40px;
  }
  .sh-stamp { right: 16px; bottom: 58%; width: 96px; height: 96px; font-size: 10px; }
  .sh-footer-grid { grid-template-columns: 1fr; }
  .sh-footer-nav { display: none; }
  .sh-footer { display: none; }
  .kinlig-credit--solo { display: block; }
  .sh-trust-inner { justify-content: center; text-align: center; }
  .sh-trust-list { justify-content: center; }
}

@media (max-width: 640px) {
  .sh-products,
  .sh-why-grid {
    grid-template-columns: 1fr;
  }
  .sh-container,
  .sh-hero-inner {
    width: min(1180px, calc(100% - 28px));
  }
  .sh-hero { min-height: 680px; }
  .sh-perk { max-width: none; }
}

/* iOS Safari: zoom automático si el input tiene < 16px */
@media (max-width: 900px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]),
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Páginas de tienda (Blog, Nosotros…) — stage fullscreen desde el menú */
/* Stage páginas tienda — apertura editorial (hoja + velo), no modal genérico */
.sp-nav-stage {
  --sp-stage-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sp-stage-dur: 0.78s;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  margin: 0;
  padding: 0;
  z-index: 2147483000;
  display: flex;
  flex-direction: column;
  background: transparent;
  visibility: hidden;
  pointer-events: none;
}

.sp-nav-stage.is-open,
.sp-nav-stage.is-closing {
  visibility: visible;
  pointer-events: auto;
}

.sp-nav-stage[hidden] {
  display: none !important;
}

.sp-nav-stage-veil {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.42);
  opacity: 0;
  transition: opacity 0.55s var(--sp-stage-ease);
}

.sp-nav-stage.is-open .sp-nav-stage-veil {
  opacity: 1;
}

.sp-nav-stage.is-closing .sp-nav-stage-veil {
  opacity: 0;
  transition-duration: 0.4s;
}

/* La animación va en la hoja interna (el shell fixed no usa transform) */
.sp-nav-stage-sheet {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--sh-cream, #fff);
  transform: translate3d(0, 104%, 0);
  transition: transform var(--sp-stage-dur) var(--sp-stage-ease);
  will-change: transform;
  box-shadow: 0 -24px 80px rgba(0, 0, 0, 0.18);
}

.sp-nav-stage.is-open .sp-nav-stage-sheet {
  transform: translate3d(0, 0, 0);
}

.sp-nav-stage.is-closing .sp-nav-stage-sheet {
  transform: translate3d(0, 104%, 0);
  transition-duration: 0.55s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.sp-nav-stage-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px 12px 20px;
  border-bottom: 1px solid var(--sh-line, #ececec);
  background: var(--sh-card, var(--sh-cream, #fff));
  color: var(--sh-ink, #111);
  z-index: 2;
  opacity: 0;
  transform: translate3d(0, -10px, 0);
  transition:
    opacity 0.5s var(--sp-stage-ease) 0.22s,
    transform 0.55s var(--sp-stage-ease) 0.22s;
}

.sp-nav-stage.is-open .sp-nav-stage-bar {
  opacity: 1;
  transform: none;
}

.sp-nav-stage.is-closing .sp-nav-stage-bar {
  opacity: 0;
  transform: translate3d(0, -8px, 0);
  transition-delay: 0s;
  transition-duration: 0.28s;
}

.sp-nav-stage-bar strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-width: 0;
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--sh-ink, #111);
}

.sp-nav-stage-close {
  appearance: none;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--sh-line-strong, #e5e5e5);
  background: var(--sh-cream, #fff);
  color: var(--sh-ink, #111);
  font: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s var(--sp-stage-ease);
}

.sp-nav-stage-close:hover {
  background: var(--sh-btn-bg, #111);
  border-color: var(--sh-btn-bg, #111);
  color: var(--sh-btn-text, #fff);
}

.sp-nav-stage-close:active {
  transform: scale(0.96);
}

.sp-nav-stage-frame {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  filter: blur(2px);
  transition:
    opacity 0.65s var(--sp-stage-ease),
    transform 0.7s var(--sp-stage-ease),
    filter 0.7s var(--sp-stage-ease);
}

.sp-nav-stage.is-open.is-frame-ready .sp-nav-stage-frame {
  opacity: 1;
  transform: none;
  filter: none;
}

.sp-nav-stage.is-closing .sp-nav-stage-frame {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  filter: blur(1px);
  transition-duration: 0.28s;
  transition-delay: 0s;
}

body.sp-nav-stage-open {
  overflow: hidden !important;
}

@media (prefers-reduced-motion: reduce) {
  .sp-nav-stage-veil,
  .sp-nav-stage-sheet,
  .sp-nav-stage-bar,
  .sp-nav-stage-frame {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .sp-nav-stage-sheet {
    transform: none;
  }

  .sp-nav-stage:not(.is-open):not(.is-closing) .sp-nav-stage-sheet {
    transform: translate3d(0, 104%, 0);
  }
}

body.is-embed,
html.kinlig-framed body {
  background: #fff;
}

/* Chrome oculto solo en embeds (?embed=1 → body.is-embed / html.kinlig-framed).
   Las vistas previas de Inicio/Menús (hd_preview / nd_preview) deben mostrar el menú. */
body.is-embed .sh-header,
body.is-embed .sh-footer,
body.is-embed .sh-app-nav,
body.is-embed .sh-cart-fab,
body.is-embed .sh-cats-fab,
body.is-embed .site-modal-backdrop,
body.is-embed .cart-modal,
body.is-embed .checkout-sheet,
html.kinlig-framed .sh-header,
html.kinlig-framed .sh-footer,
html.kinlig-framed .sh-app-nav,
html.kinlig-framed .sh-cart-fab,
html.kinlig-framed .sh-cats-fab,
html.kinlig-framed .site-modal-backdrop,
html.kinlig-framed .cart-modal,
html.kinlig-framed .checkout-sheet {
  display: none !important;
}
