:root {
  /* Paleta ADICTIVA: negro + blanco + rosa fucsia (del logo) */
  --bg: #08080b;
  --bg-soft: #101014;
  --panel: rgba(19, 16, 20, 0.82);
  --panel-strong: rgba(22, 18, 23, 0.96);
  --line: rgba(255, 255, 255, 0.08);
  --text: #faf8fa;
  --muted: #b3aab2;
  --accent: #e8386f;
  --accent-strong: #c9224f;
  --accent-soft: rgba(232, 56, 112, 0.16);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  /* Tipografías de marca */
  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-brush: "Permanent Marker", "Comic Sans MS", cursive;
}

* {
  box-sizing: border-box;
}

/* Lo que tiene el atributo hidden no se muestra, aunque otra regla le ponga display */
[hidden] {
  display: none !important;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top, rgba(232, 56, 112, 0.14), transparent 30%),
    radial-gradient(circle at right, rgba(255, 255, 255, 0.04), transparent 20%),
    linear-gradient(180deg, #0b0a0d 0%, #08080b 45%, #0a090c 100%);
  color: var(--text);
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(11, 11, 14, 0.72);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.section,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo,
.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  white-space: nowrap;
}

.brand-kicker {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand-subtitle {
  display: none;
}

/* ── Header actions (socials + whatsapp pill) ── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-social-link {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color 150ms, background 150ms, border-color 150ms;
}

.header-social-link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

.menu-button {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.menu-button span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: grid;
  gap: 14px;
  position: absolute;
  top: 76px;
  left: 16px;
  right: 16px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(14, 12, 16, 0.98);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* ═══════════════════ MEGA-MENU (header) ═══════════════════ */
.site-nav-section {
  position: relative;
}
.site-nav-section-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
/* Caret indicador de dropdown (desktop) */
.site-nav-section:has(.site-nav-dropdown) .site-nav-section-link::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  opacity: 0.5;
  transition: transform 180ms ease, opacity 180ms ease;
}
.site-nav-section:hover .site-nav-section-link::after {
  opacity: 1;
  transform: rotate(45deg) translate(0, 0);
}

/* Dropdown del mega-menu */
.site-nav-dropdown {
  display: none;
}
@media (min-width: 720px) {
  .site-nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    padding: 8px;
    border-radius: 14px;
    background: rgba(14, 12, 16, 0.98);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
    display: none;
    flex-direction: column;
    gap: 2px;
    z-index: 35;
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
  }
  .site-nav-section:hover .site-nav-dropdown,
  .site-nav-section:focus-within .site-nav-dropdown {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  /* Puente invisible para que el mouse no pierda contacto al bajar */
  .site-nav-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
  }
  .site-nav-dropdown a {
    display: flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 8px;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
    background: transparent;
    transition: background 140ms, color 140ms;
    white-space: nowrap;
  }
  .site-nav-dropdown a:hover {
    background: rgba(232,56,112,0.16);
    color: #ff9dbd;
  }
}

/* En mobile, el dropdown se muestra siempre abierto debajo del link cuando
   el nav móvil está expandido (para que se puedan tocar todas las categorías) */
@media (max-width: 719px) {
  .site-nav.is-open .site-nav-dropdown {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 4px 0 8px 16px;
    padding-left: 12px;
    border-left: 2px solid rgba(232,56,112,0.3);
  }
  .site-nav.is-open .site-nav-dropdown a {
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--muted);
  }
  .site-nav.is-open .site-nav-dropdown a:hover {
    color: var(--text);
  }
  .site-nav-section:has(.site-nav-dropdown) .site-nav-section-link::after {
    display: none; /* en mobile no mostramos caret */
  }
}

/* ═══════════════════ FOOTER: columnas por sección ═══════════════════ */
.footer-sections-cols {
  display: contents; /* las columnas se acomodan dentro del grid del footer */
}

.whatsapp-pill {
  display: none;
  gap: 7px;
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px;
  display: grid;
  gap: 22px;
  background: linear-gradient(180deg, #fbfbf8 0%, #f1f0ea 100%);
  color: #111;
  border: 1px solid #dedbd6;
  border-radius: 34px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.16);
  margin-top: 20px;
}

.hero-content {
  display: grid;
  gap: 10px;
}

.hero-top-link {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.eyebrow {
  margin: 0 0 12px;
  color: #6d6d6d;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
  max-width: 10ch;
}

.hero-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #4c4c4c;
  max-width: 58ch;
  margin-bottom: 24px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible,
.category-card:hover,
.feature-card:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: white;
  box-shadow: 0 18px 30px rgba(232, 56, 112, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--text);
}

.button-small {
  min-height: 42px;
  padding-inline: 16px;
  font-size: 0.92rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-badges span,
.contact-info span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #4d4d4d;
  font-size: 0.92rem;
}

.hero-carousel {
  position: relative;
  min-width: 0;
}

.hero-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
  border: 1px solid #dcd7d1;
  background: #f3f1ec;
  scrollbar-width: none;
}

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

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f4f3ef;
}

.hero-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.08)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 48%);
  pointer-events: none;
}

.hero-slide-overlay,
.hero-slide-chip,
.hero-slide-product-strip,
.carousel-button,
.carousel-dots {
  position: absolute;
}

.hero-slide-overlay-brand {
  left: 32px;
  top: 32px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.12);
}

.hero-slide-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.hero-slide-overlay-brand p {
  margin: 0;
  color: #6b6b6b;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.hero-slide-overlay-brand strong {
  display: block;
  margin-top: 2px;
  color: #111;
  font-size: 0.98rem;
}

.hero-slide-chip {
  right: 28px;
  top: 28px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #111;
  color: #fff;
  font-weight: 800;
  max-width: min(380px, 72%);
  text-align: center;
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.14);
}

.hero-slide-chip-wide {
  font-size: 0.94rem;
}

.hero-slide-product-strip {
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-slide-product {
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.12);
}

.hero-slide-product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-slide-product span {
  display: block;
  padding: 10px 12px 12px;
  color: #1d1d1d;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-slide-grid {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  gap: 14px;
  padding: 18px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.hero-slide-grid-brand {
  align-items: center;
}

.hero-slide-grid-offer,
.hero-slide-grid-discount {
  align-items: center;
}

.hero-side-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
  background: #fff;
}

.hero-center-card {
  align-self: center;
  justify-self: center;
  max-width: 100%;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.14);
  text-align: center;
}

.hero-center-card p {
  margin: 0;
  color: #6b6b6b;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-center-card strong {
  display: block;
  margin-top: 4px;
  color: #111;
  font-size: clamp(1rem, 2vw, 1.6rem);
  line-height: 1.15;
}

.hero-center-card-offer,
.hero-center-card-discount {
  display: grid;
  gap: 8px;
}

.hero-center-card-offer strong,
.hero-center-card-discount strong {
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
}

.hero-center-card-offer span,
.hero-center-card-discount span {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.45;
}

.hero-bottom-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-bottom-strip img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.12);
}

.carousel-button {
  right: 18px;
  bottom: 76px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(17, 17, 17, 0.86);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.18);
}

.carousel-button span {
  font-size: 1.6rem;
  line-height: 1;
}

.carousel-button svg {
  display: block;
}

.carousel-button-prev {
  right: 68px;
}

.carousel-dots {
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(17, 17, 17, 0.22);
}

.carousel-dot.is-active {
  width: 28px;
  background: #111;
}

.section {
  padding: 56px 0;
}

.section-soft {
  position: relative;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.section-heading h2,
.cta-panel h2,
.contact-copy h2 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.section-heading p,
.feature-card p,
.category-body p,
.cta-panel p,
.contact-copy p,
.footer-brand p,
.site-footer li {
  color: var(--muted);
  line-height: 1.65;
}

.category-grid,
.feature-grid,
.contact-grid,
.footer-inner {
  display: grid;
  gap: 16px;
}

.collection-group {
  margin-top: 28px;
}

.collection-group-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.collection-group-heading h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.collection-group-heading p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.collection-tabs {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 6px 0 18px;
}

.collection-tab {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 800;
}

.collection-tab.is-active {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  border-color: rgba(232, 56, 112, 0.5);
}

.collection-stage {
  position: relative;
}

.collection-panel {
  display: none;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.collection-panel.is-active {
  display: grid;
  gap: 18px;
}

.collection-panel-copy h3 {
  font-size: 1.6rem;
  margin: 0 0 8px;
}

.collection-panel-copy p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.65;
}

.collection-products {
  display: grid;
  gap: 22px;
}

.product-group {
  display: grid;
  gap: 14px;
}

.product-group-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-group-head h4 {
  margin: 0;
  font-size: 1.12rem;
}

.product-group-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.product-rail {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 56, 112, 0.35);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-card-body {
  padding: 12px 12px 14px;
}

.product-card-body strong {
  display: block;
  margin-bottom: 4px;
}

.product-price {
  color: var(--text);
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 8px;
  margin-top: 0;
}

.product-card-body span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.whatsapp-card-btn {
  margin-top: 10px;
  width: 100%;
  gap: 6px;
}

.whatsapp-card-btn svg {
  flex-shrink: 0;
}

.category-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.category-card,
.feature-card,
.cta-panel,
.contact-info {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.category-card {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.category-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.category-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: rgba(255, 255, 255, 0.03);
}

.category-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.category-body {
  padding: 18px;
}

.category-body h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.category-body a {
  display: inline-flex;
  margin-top: 8px;
  color: #ff9dbd;
  font-weight: 700;
}

.feature-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.feature-grid-mockups {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.feature-card-mockup {
  padding: 0;
  overflow: hidden;
}

.feature-card-mockup img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.feature-card-copy {
  padding: 18px;
}

.feature-card-copy h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.feature-card-copy p {
  margin: 0;
}

.feature-card {
  padding: 22px;
  transition: transform 180ms ease;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.feature-card-accent {
  background:
    linear-gradient(135deg, rgba(232, 56, 112, 0.24), rgba(255, 255, 255, 0.03)),
    var(--panel);
}

.section-cta {
  padding-top: 18px;
}

.cta-panel {
  padding: 24px;
  display: grid;
  gap: 18px;
}

.contact-grid {
  grid-template-columns: 1fr;
}

.contact-copy {
  padding: 8px 0;
}

.contact-info {
  padding: 18px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.contact-info div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-info div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-info strong {
  display: block;
  margin-top: 6px;
  font-size: 1.08rem;
}

/* ── Trust bar ── */
.trust-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  padding: 14px 0;
}

.trust-bar-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

.trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ── Section intro ── */
.section-intro {
  text-align: center;
  margin-bottom: 36px;
}

.section-intro-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.section-intro-text {
  color: var(--muted);
  max-width: 54ch;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Category overlay improved ── */
.category-overlay-content {
  text-align: center;
}

.category-overlay-content h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 3px;
  margin: 0 0 6px;
  text-shadow: 0 4px 16px rgba(0,0,0,0.6);
}

.category-overlay-content p {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* ── Footer ── */
.site-footer {
  padding: 56px 0 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(232, 56, 112, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, #0e0c10 0%, #08080b 100%);
}

.footer-inner {
  grid-template-columns: 1fr;
}

.site-footer h3 {
  margin-bottom: 16px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.35);
  position: relative;
  padding-bottom: 10px;
}

.site-footer h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #e8386f, #bc1888);
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 0;
}

.footer-brand {
  display: grid;
  gap: 16px;
  align-content: start;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
  max-width: 36ch;
}

/* Social buttons */
.footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: background 160ms, border-color 160ms, color 160ms, transform 160ms;
}

.footer-social-btn svg {
  flex-shrink: 0;
}

/* Instagram — rosa/naranja */
.footer-social-ig {
  border-color: rgba(225, 48, 108, 0.2);
}
.footer-social-ig span { color: #e1306c; }
.footer-social-ig:hover {
  background: rgba(225, 48, 108, 0.1);
  border-color: rgba(225, 48, 108, 0.4);
  transform: translateY(-2px);
}


/* WhatsApp — verde */
.footer-social-wsp {
  border-color: rgba(37, 211, 102, 0.2);
}
.footer-social-wsp span { color: #25d366; }
.footer-social-wsp:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

/* Footer nav lists */
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
}

.site-footer li {
  margin: 0;
}

.site-footer a,
.footer-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
  transition: color 140ms;
}

.footer-info-item {
  cursor: default;
}

.site-footer a svg,
.footer-info-item svg {
  flex-shrink: 0;
  opacity: 0.6;
}

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

.site-footer a:hover svg {
  opacity: 1;
}

.footer-col-ig:hover { color: #e1306c !important; }
.footer-col-wsp:hover { color: #25d366 !important; }

.footer-bottom {
  width: min(1120px, calc(100% - 32px));
  margin: 48px auto 0;
  padding: 16px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.28);
  font-size: 0.8rem;
}

.footer-bottom-tag {
  opacity: 0.7;
  font-style: italic;
}

/* ── Product Gallery (multi-image card) ── */
.product-gallery {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.product-gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.product-gallery-track::-webkit-scrollbar {
  display: none;
}

.product-gallery-track img {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: zoom-in;
}

.pgal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: rgba(11, 11, 14, 0.72);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transition: opacity 150ms;
}

.product-gallery:hover .pgal-btn {
  opacity: 1;
}

.pgal-prev { left: 6px; }
.pgal-next { right: 6px; }

.pgal-btn svg { display: block; }

.pgal-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
}

.pgal-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  pointer-events: auto;
  padding: 0;
  transition: width 200ms, background 200ms;
}

.pgal-dot.is-active {
  width: 16px;
  background: #fff;
}

/* ── Lightbox close button ── */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  cursor: pointer;
  transition: background 150ms;
  padding: 0;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.18);
}

@media (min-width: 720px) {
  .header-inner {
    grid-template-columns: auto auto 1fr auto;
    column-gap: 16px;
  }

  .menu-button {
    display: none;
  }

  .site-nav {
    display: inline-flex;
    justify-content: center;
    gap: 4px;
    font-weight: 600;
    color: var(--muted);
    font-size: 0.9rem;
  }

  .site-nav a {
    padding: 6px 10px;
    border-radius: 8px;
    transition: color 140ms, background 140ms;
  }

  .site-nav.is-open {
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    display: inline-flex;
  }

  .site-nav a:hover {
    color: var(--text);
    background: rgba(255,255,255,0.05);
  }

  .header-social-link {
    display: inline-flex;
  }

  /* Desktop: el input se ve, el toggle queda oculto */
  .header-search-toggle { display: none; }
  .header-search-field {
    display: flex;
    min-width: 260px;
  }
  .header-search.is-open .header-search-field {
    position: static;
    transform: none;
    width: auto;
    max-width: none;
    background: rgba(255,255,255,0.05);
    box-shadow: none;
    min-height: 40px;
  }
  .header-search.is-open .header-search-field input {
    min-height: 40px;
    font-size: 0.9rem;
  }

  .whatsapp-pill {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(37,211,102,0.18), rgba(37,211,102,0.06));
    border: 1px solid rgba(37,211,102,0.28);
    font-weight: 700;
    font-size: 0.88rem;
    color: #25d366;
    transition: background 150ms, border-color 150ms;
  }

  .whatsapp-pill:hover {
    background: linear-gradient(135deg, rgba(37,211,102,0.26), rgba(37,211,102,0.1));
    border-color: rgba(37,211,102,0.45);
  }

  .hero {
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    padding: 28px;
  }

  .hero-slide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-slide-grid-brand,
  .hero-slide-grid-offer,
  .hero-slide-grid-discount {
    grid-template-columns: 1fr 0.95fr 1fr;
  }

  .hero-slide-grid-brand {
    align-items: center;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-grid-mockups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta-panel {
    grid-template-columns: 1.2fr auto;
    align-items: center;
  }

  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .footer-inner {
    /* auto-fit + minmax permite que entren las columnas dinámicas de secciones
       (1 por cada section) junto con Brand + Seguinos + Contacto sin romper. */
    grid-template-columns: minmax(220px, 1.4fr) repeat(auto-fit, minmax(140px, 1fr));
    align-items: start;
    gap: 24px;
  }
}

@media (min-width: 980px) {
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    gap: 40px;
  }

  .hero-slide {
    aspect-ratio: 16 / 10;
  }

  .product-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hero-full-width {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

.hero-full-width .hero-carousel {
  width: 100%;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent;
}

.hero-full-width .hero-carousel-track {
  border-radius: 0 !important;
  border: none !important;
  background: var(--bg) !important;
  box-shadow: none !important;
}

.hero-full-width .hero-slide {
  border-radius: 0 !important;
  height: auto;
  aspect-ratio: auto;
  min-height: clamp(440px, 62vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.hero-full-width .hero-slide::after {
  display: none; /* el degradé pensado para fotos no aplica a los slides tipográficos */
}

/* ── Slides tipográficos de marca (ADICTIVA) ── */
.hero-slide[data-theme="dark"] {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(232, 56, 112, 0.28), transparent 55%),
    radial-gradient(ellipse at 85% 110%, rgba(232, 56, 112, 0.12), transparent 50%),
    #0b0b0e !important;
  color: #fff;
}

.hero-slide[data-theme="pink"] {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(255, 255, 255, 0.18), transparent 55%),
    linear-gradient(160deg, #f04a7e 0%, #e8386f 45%, #c9224f 100%) !important;
  color: #0b0b0e;
}

.hs-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 18px;
}

.hs-kicker {
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 1.6vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.78;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 8px 18px;
}

.hs-brandline {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
}

.hs-bolt {
  width: clamp(34px, 7vw, 74px);
  height: auto;
  color: var(--accent);
  filter: drop-shadow(0 6px 26px rgba(232, 56, 112, 0.45));
}

.hs-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 13vw, 9rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: #fff;
}

.hs-slogan {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 3.4vw, 2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.hs-brush {
  font-family: var(--font-brush);
  text-transform: none;
  color: var(--accent);
  font-size: 1.18em;
}

.hero-slide[data-theme="pink"] .hs-brush {
  color: #fff;
}

.hs-statement {
  margin: 0;
  display: grid;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

.hs-statement-top {
  font-size: clamp(2rem, 6.5vw, 4.4rem);
  letter-spacing: 0.04em;
}

.hs-statement-bottom {
  font-family: var(--font-brush);
  text-transform: none;
  font-size: clamp(2.2rem, 7.5vw, 5.2rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hs-statement-giant {
  font-size: clamp(2.6rem, 9vw, 6.4rem);
  letter-spacing: 0.03em;
  color: var(--accent);
  text-shadow: 0 10px 44px rgba(232, 56, 112, 0.35);
}

.hs-bolt-inline {
  width: clamp(22px, 3.4vw, 40px);
  height: auto;
  color: currentColor;
}

.hs-sub {
  margin: 0;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 500;
  opacity: 0.82;
}

.hs-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.hs-button-dark {
  background: #0b0b0e;
  color: #fff;
  border: 0;
}

.hs-button-dark:hover,
.hs-button-dark:focus-visible {
  background: #1c1b20;
  color: #fff;
}

/* Controles del carrusel sobre slides oscuros */
.hero-full-width .carousel-button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  backdrop-filter: blur(8px);
}

.hero-full-width .carousel-button:hover {
  background: rgba(232, 56, 112, 0.85);
}

.hero-full-width .carousel-dot {
  background: rgba(255, 255, 255, 0.32);
}

.hero-full-width .carousel-dot.is-active {
  background: var(--accent);
}

.category-selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.category-selection-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-selection-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.6);
}

.category-selection-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.category-selection-card:hover .category-overlay {
  background: rgba(0, 0, 0, 0.2);
}

.category-overlay h2 {
  color: #fff;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin: 0;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.lightbox {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox.is-open .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: #ccc;
}

/* ─── Badges sobre la imagen del producto ─── */
.product-single-media,
.product-gallery {
  position: relative;
}
/* Contenedor: apila múltiples badges verticalmente */
.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  z-index: 2;
  pointer-events: none;
}
.product-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.product-badge-out {
  background: rgba(220, 38, 38, 0.95);
  color: white;
}
.product-badge-discount {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: white;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.35);
}
.product-badge-new {
  background: linear-gradient(135deg, #e8386f, #c9224f);
  color: white;
  box-shadow: 0 4px 10px rgba(232, 56, 112, 0.35);
}
.product-badge-low {
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: white;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.35);
  animation: lowStockPulse 1.6s ease-in-out infinite;
}
/* ÚLTIMO: más urgente que low stock — rojo intenso + pulso más rápido */
.product-badge-last {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.5);
  animation: lastUnitPulse 1.1s ease-in-out infinite;
  font-weight: 800;
}
@keyframes lastUnitPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(220, 38, 38, 0.5); }
  50% { transform: scale(1.1); box-shadow: 0 6px 18px rgba(220, 38, 38, 0.7); }
}
@keyframes lowStockPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.product-card.is-out-of-stock img {
  filter: grayscale(0.4) opacity(0.85);
}

/* ═══════════════════ NEWSLETTER ═══════════════════ */
.newsletter-section {
  background:
    radial-gradient(ellipse at 30% 0%, rgba(232, 56, 112, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, rgba(232, 56, 112, 0.04) 0%, rgba(232, 56, 112, 0.08) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 50px 0;
}
.newsletter-inner {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
}
.newsletter-copy {
  margin-bottom: 24px;
}
.newsletter-copy h3 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  color: var(--text);
}
.newsletter-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}
.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 540px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 160ms;
}
.newsletter-form input[type="email"]:focus {
  border-color: rgba(232,56,112,0.55);
}
.newsletter-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.35);
}
.newsletter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  border: 0;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: white;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(232, 56, 112, 0.3);
  transition: transform 160ms, box-shadow 160ms;
}
.newsletter-form button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(232, 56, 112, 0.4);
}
.newsletter-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.newsletter-feedback {
  margin: 14px auto 0;
  font-size: 0.9rem;
  font-weight: 600;
}
.newsletter-feedback.is-success { color: #22c55e; }
.newsletter-feedback.is-error { color: #ef4444; }

/* ─── Sección Destacados (productos featured desde admin) ─── */
.featured-section {
  padding: 50px 20px 30px;
  background: linear-gradient(180deg, rgba(232, 56, 112, 0.04) 0%, transparent 100%);
}
.featured-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 20px;
  -webkit-overflow-scrolling: touch;
}
.featured-rail .product-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
}
@media (min-width: 900px) {
  .featured-rail .product-card {
    flex: 0 0 260px;
  }
}
.featured-rail::-webkit-scrollbar { height: 8px; }
.featured-rail::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 4px; }

/* ═══════════════════ PROMO BANNER ═══════════════════ */
.promo-banner {
  background: linear-gradient(90deg, #c9224f 0%, #e8386f 50%, #c9224f 100%);
  background-size: 200% 100%;
  color: #fff;
  animation: promoShimmer 8s ease-in-out infinite;
  font-size: 0.88rem;
  font-weight: 600;
  position: relative;
  z-index: 25;
}
@keyframes promoShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.promo-banner-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 40px 10px 12px;
  text-align: center;
  position: relative;
  letter-spacing: 0.01em;
}
.promo-banner-inner svg {
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.4));
}
.promo-banner-close {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 0;
  background: rgba(255,255,255,0.12);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 140ms;
}
.promo-banner-close:hover {
  background: rgba(255,255,255,0.22);
}

/* ═══════════════════ WHATSAPP FAB ═══════════════════ */
.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0,0,0,0.3);
  z-index: 50;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0,0,0,0.3);
}
.whatsapp-fab:active { transform: scale(0.96); }
.whatsapp-fab svg { z-index: 2; }
.whatsapp-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.45;
  animation: fabPulse 2.4s ease-out infinite;
}
@keyframes fabPulse {
  0% { transform: scale(0.95); opacity: 0.55; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}
.whatsapp-fab-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: #0b0b0e;
  color: #fff;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}
.whatsapp-fab-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: #0b0b0e;
  border-right: 1px solid rgba(255,255,255,0.12);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.whatsapp-fab:hover .whatsapp-fab-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}
@media (max-width: 480px) {
  .whatsapp-fab { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .whatsapp-fab-tooltip { display: none; }
}

/* ═══════════════════ BACK TO TOP ═══════════════════ */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 86px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(17, 15, 19, 0.92);
  backdrop-filter: blur(8px);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
  cursor: pointer;
  z-index: 49;
  transition: transform 200ms ease, opacity 200ms ease, background 200ms ease;
  opacity: 0;
  transform: translateY(20px);
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: rgba(232, 56, 112, 0.18);
  border-color: rgba(232, 56, 112, 0.5);
}
@media (max-width: 480px) {
  .back-to-top { right: 14px; bottom: 78px; width: 40px; height: 40px; }
}

/* ═══════════════════ HEADER SEARCH (lupa estilo Tiendanube/MG) ═══════════════════ */
.header-search {
  display: flex;
  align-items: center;
  position: relative;
}
.header-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  cursor: pointer;
  transition: background 140ms, border-color 140ms;
}
.header-search-toggle:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}
.header-search-field {
  display: none;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 10px;
  transition: border-color 160ms;
  min-width: 220px;
}
.header-search-field:focus-within {
  border-color: rgba(232,56,112,0.55);
  /* Se mantiene el mismo fondo que cuando no está focuseado para no producir
     el efecto de "tonos cambiando" al escribir. Solo cambia el borde. */
}
.header-search-field svg {
  color: var(--muted);
  flex-shrink: 0;
}
.header-search-field input {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text);
  font-size: 0.9rem;
  padding: 0 6px;
}
.header-search-field input::placeholder {
  color: rgba(255,255,255,0.36);
}
.header-search-field input::-webkit-search-cancel-button { display: none; }
.header-search-clear {
  width: 26px;
  height: 26px;
  border: 0;
  background: rgba(255,255,255,0.08);
  color: var(--muted);
  border-radius: 7px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 140ms, color 140ms;
  flex-shrink: 0;
}
.header-search-clear:hover {
  background: rgba(255,255,255,0.16);
  color: var(--text);
}

/* Mobile: overlay full-width al tocar la lupa */
.header-search.is-open .header-search-field {
  display: flex;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw - 32px);
  max-width: 480px;
  min-height: 48px;
  background: rgba(14, 12, 16, 0.98);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  z-index: 40;
}
.header-search.is-open .header-search-field input {
  min-height: 46px;
  font-size: 1rem;
}
.header-search.is-open .header-search-toggle {
  background: rgba(232,56,112,0.18);
  border-color: rgba(232,56,112,0.45);
  color: #ff9dbd;
}

/* Catalog search count (queda como feedback debajo del catálogo) */
.catalog-search-count {
  margin: 0 4px 18px;
  font-size: 0.85rem;
  color: var(--muted);
  min-height: 18px;
  text-align: center;
}

/* Filtro de búsqueda: ocultamos cards y grupos sin tocar el DOM.
   Esto preserva el scroll del usuario al filtrar. */
.product-card.is-hidden,
.product-group.is-hidden {
  display: none !important;
}

.search-empty {
  padding: 40px 20px;
  text-align: center;
  color: rgba(255,255,255,0.7);
  grid-column: 1 / -1;
}

/* Cuando el header tiene el input focuseado, hacemos el fondo más sólido
   para evitar que el backdrop-filter "vibre" mostrando cambios del contenido
   detrás cada vez que el usuario tipea. */
.site-header:has(.header-search-field input:focus) {
  background: rgba(11, 11, 14, 0.94);
}

/* ═══════════════════ SKELETON LOADING ═══════════════════ */
.skeleton-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 8px 0;
}
@media (min-width: 720px) {
  .skeleton-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .skeleton-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.skeleton-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.skeleton-img,
.skeleton-line {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.04) 0%,
    rgba(255,255,255,0.10) 50%,
    rgba(255,255,255,0.04) 100%
  );
  background-size: 200% 100%;
  animation: skeletonShimmer 1.6s ease-in-out infinite;
}
.skeleton-img {
  width: 100%;
  aspect-ratio: 1 / 1;
}
.skeleton-body {
  padding: 12px 12px 14px;
  display: grid;
  gap: 8px;
}
.skeleton-line {
  height: 12px;
  border-radius: 6px;
}
.skeleton-line.short { width: 60%; }
.skeleton-line.btn { height: 36px; border-radius: 999px; margin-top: 4px; }
@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ═══════════════════ PRODUCT SHARE BUTTON ═══════════════════ */
.product-share-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 0;
  background: rgba(11, 11, 14, 0.7);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transition: opacity 200ms, background 160ms, transform 160ms;
  backdrop-filter: blur(4px);
}
.product-card:hover .product-share-btn,
.product-share-btn:focus-visible {
  opacity: 1;
}
.product-share-btn:hover {
  background: rgba(232,56,112,0.85);
  transform: scale(1.06);
}
@media (max-width: 720px) {
  .product-share-btn { opacity: 1; background: rgba(11, 11, 14, 0.55); }
}


/* ═══════════════════ TIPOGRAFÍA DISPLAY ADICTIVA ═══════════════════ */
/* Anton para titulares y marca: bold condensado en mayúsculas, como el wordmark */
.brand-kicker,
.section-intro-title,
.footer-brand-name,
.category-overlay-content h2,
.newsletter-copy h3 {
  font-family: var(--font-display);
  font-weight: 400;
}

.brand-kicker {
  font-size: 1.18rem;
  letter-spacing: 0.1em;
  line-height: 1;
}

.section-intro-title {
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.category-overlay-content h2 {
  letter-spacing: 0.08em;
}

.product-group-head h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* ═══════════════════ AJUSTES 2026-09 · UX, ACCESIBILIDAD Y BLOQUES NUEVOS ═══════════════════ */

/* Los saltos a #anclas no quedan tapados por el header sticky */
#colecciones,
#collection-container,
.product-group,
.ig-section {
  scroll-margin-top: 92px;
}

/* Footer: más contraste (antes 2.4:1 y 3.1:1) */
.site-footer h3 { color: rgba(255, 255, 255, 0.62); }
.footer-bottom { color: rgba(255, 255, 255, 0.55); }

/* Buscador deshabilitado mientras no hay productos (mantiene el lugar en el header) */
.header-search.is-disabled { visibility: hidden; }

/* Mobile: el buscador desplegado queda pegado al header y dentro de la pantalla */
@media (max-width: 719px) {
  .header-search.is-open .header-search-field {
    position: fixed;
    top: 84px;
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    transform: none;
  }

  /* Las flechas del hero tapaban "Comprar por WhatsApp": en mobile se navega
     con swipe y con los dots */
  .hero-full-width .carousel-button { display: none; }
}

/* Dots del carrusel: se ven chicos pero el área táctil es de ~26px */
.carousel-dot { position: relative; }
.carousel-dot::before {
  content: "";
  position: absolute;
  inset: -8px;
}

/* Card de sección: foco visible con teclado */
.category-selection-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

/* Precio anterior tachado */
.product-price-old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.82rem;
  font-weight: 500;
  margin-left: 4px;
}

/* Producto sin foto todavía: placeholder de marca en vez de <img src=""> */
.product-noimg {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(232, 56, 112, 0.18), transparent 60%),
    #121015;
  color: rgba(232, 56, 112, 0.55);
}
.product-noimg .catalog-empty-bolt { width: 34%; height: auto; }

/* Resultado vacío de búsqueda */
.search-empty-title { font-size: 1.05rem; margin: 0 0 8px; }
.search-empty-hint { color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; margin: 0; }

/* ── Estado vacío del catálogo ── */
.catalog-empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 44px 22px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 56, 112, 0.14), transparent 60%),
    rgba(255, 255, 255, 0.02);
}
.catalog-empty-bolt {
  width: 34px;
  height: 52px;
  color: var(--accent);
}
.catalog-empty h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.catalog-empty p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.6;
}
.catalog-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.catalog-empty-actions .button { gap: 8px; }

/* ── Bloque Instagram (lookbook real de la marca) ── */
.ig-card {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 85% 20%, rgba(232, 56, 112, 0.16), transparent 55%),
    rgba(255, 255, 255, 0.02);
}
.ig-media {
  display: block;
  justify-self: center;
  width: min(100%, 380px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  transition: transform 220ms ease;
}
.ig-media:hover { transform: translateY(-4px) rotate(-0.6deg); }
.ig-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 672 / 851;
  object-fit: cover;
}
.ig-copy {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}
.ig-copy .section-intro-title,
.ig-copy .section-intro-text { margin: 0; }
.ig-handle {
  font-family: var(--font-brush);
  color: var(--accent);
  font-size: 1.25rem;
}
.ig-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}
.ig-actions .button { gap: 8px; }
@media (min-width: 820px) {
  .ig-card {
    grid-template-columns: minmax(0, 380px) 1fr;
    padding: 28px 40px 28px 28px;
    gap: 48px;
  }
  .ig-copy { justify-items: start; text-align: left; }
  .ig-actions { justify-content: flex-start; }
}

/* Toast de feedback (compartir producto) */
.simple-toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0b0b0e;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 100;
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}
.simple-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Movimiento reducido: sin animaciones ni scroll suave */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════ TIENDA: HEADER, CATEGORÍAS, CARRITO Y CUENTA ═══════════════════ */

/* Íconos del header (cuenta + carrito) */
.header-icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  transition: background 150ms, border-color 150ms;
}
.header-icon-btn:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); }
.header-icon-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
  box-shadow: 0 0 0 2px #0b0b0e;
}
.cart-count.is-bumped { animation: cartBump 420ms ease; }
@keyframes cartBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.account-avatar {
  position: absolute;
  inset: 5px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  overflow: hidden;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-avatar[hidden],
.cart-count[hidden] { display: none; }

/* Mobile: logo | buscar | cuenta | carrito | menú */
@media (max-width: 719px) {
  .menu-button { order: 5; }
  .header-actions { gap: 6px; }
  .header-icon-btn { width: 40px; height: 40px; border-radius: 12px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand { gap: 8px; }
}
@media (max-width: 380px) {
  .brand-copy { display: none; }
}

/* Menú de categorías */
.site-nav a[aria-current="true"] {
  color: var(--text);
  background: rgba(232, 56, 112, 0.14);
}
.site-nav.is-open a {
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
}
@media (min-width: 720px) {
  .site-nav {
    max-width: 46vw;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }
  .site-nav::-webkit-scrollbar { display: none; }
}

/* ── Catálogo: chips de categoría + grilla ── */
.anchor-alias {
  display: block;
  height: 0;
  scroll-margin-top: 92px;
}
.category-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 2px 14px;
  margin: 0 -2px 6px;
  justify-content: flex-start;
}
.category-chips::-webkit-scrollbar { display: none; }
@media (min-width: 720px) {
  .category-chips { justify-content: center; flex-wrap: wrap; overflow: visible; }
}
.chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 150ms, color 150ms, border-color 150ms;
}
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.18); }
.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.product-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 720px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 980px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.product-grid > .catalog-empty,
.product-grid > .search-empty { grid-column: 1 / -1; }

.product-card { display: flex; flex-direction: column; }
.product-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-card-body .product-name {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.3;
}
.product-card-body .product-variants {
  font-size: 0.78rem;
  color: var(--muted);
}
.product-card-body .product-price { margin: 2px 0 4px; }
.add-to-cart {
  margin-top: auto;
  width: 100%;
  gap: 8px;
  font-size: 0.88rem;
}
.product-card-body .add-to-cart span { color: inherit; font-size: inherit; line-height: inherit; }
@media (max-width: 479px) {
  .add-to-cart .atc-long { display: none; }
}
.add-to-cart:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}
.product-consult {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 150ms;
}
.product-consult:hover { color: #25d366; }

/* ── Capas (carrito / elegir talle / cuenta) ── */
body.has-layer { overflow: hidden; }
.layer {
  position: fixed;
  inset: 0;
  z-index: 200;
}
.layer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 240ms ease;
}
.layer.is-open .layer-backdrop { opacity: 1; }
.layer-panel {
  position: absolute;
  display: flex;
  flex-direction: column;
  background: #121015;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  color: var(--text);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 260ms ease;
}
.layer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.layer-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.layer-close {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}
.layer-close:hover { background: rgba(255, 255, 255, 0.1); }
.layer-close-floating {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}
.layer-scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 18px;
}
.layer-foot {
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}
.layer-foot:empty { display: none; }

/* Drawer lateral (carrito) */
.layer-drawer .layer-panel {
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  border-radius: 22px 0 0 22px;
  transform: translateX(100%);
}
.layer-drawer.is-open .layer-panel { transform: translateX(0); }
@media (max-width: 480px) {
  .layer-drawer .layer-panel { border-radius: 0; }
}

/* Sheet: centrado en desktop, desde abajo en mobile */
.layer-sheet .layer-panel {
  left: 50%;
  top: 50%;
  width: min(460px, calc(100% - 32px));
  max-height: min(86vh, 720px);
  border-radius: 22px;
  transform: translate(-50%, -46%);
  opacity: 0;
}
.layer-sheet.is-open .layer-panel { transform: translate(-50%, -50%); opacity: 1; }
@media (max-width: 719px) {
  .layer-sheet .layer-panel {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    max-height: 88vh;
    border-radius: 22px 22px 0 0;
    transform: translateY(100%);
    opacity: 1;
  }
  .layer-sheet.is-open .layer-panel { transform: translateY(0); }
  .layer-sheet .layer-scroll { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
}

/* ── Carrito ── */
.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cart-line {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cart-line img,
.cart-line-noimg {
  width: 76px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  background: #1c1a20;
}
.cart-line-info { display: grid; gap: 3px; align-content: start; }
.cart-line-info strong { font-size: 0.95rem; line-height: 1.3; }
.cart-line-info > span { color: var(--muted); font-size: 0.82rem; }
.cart-line-info .cart-line-price { color: var(--text); font-weight: 700; font-size: 0.95rem; }
.cart-line-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.qty-btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}
.qty-btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.08); }
.qty-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.qty-value { min-width: 28px; text-align: center; font-weight: 700; }
.qty-small .qty-btn { width: 34px; height: 34px; font-size: 1.05rem; }

.cart-link {
  background: none;
  border: 0;
  padding: 6px 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  justify-self: center;
}
.cart-link:hover { color: var(--text); }
.cart-remove { font-size: 0.8rem; }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; font-size: 1rem; }
.cart-total strong { font-size: 1.2rem; }
.cart-total-discount { color: #34d399; font-size: 0.92rem; }
.cart-total-discount strong { font-size: 1.05rem; }
.cart-note { margin: 0; color: var(--muted); font-size: 0.82rem; text-align: center; }
.cart-full { width: 100%; gap: 8px; }
.cart-empty,
.cart-sent {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 48px 12px;
  text-align: center;
  color: var(--muted);
}
.cart-empty svg,
.cart-sent svg { color: var(--accent); }
.cart-sent p { margin: 0; line-height: 1.6; }
.cart-sent strong { color: var(--text); }

/* ── Elegir talle / color ── */
.qa-product { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; margin: 4px 44px 18px 0; }
.qa-product img,
.qa-noimg { width: 88px; height: 110px; object-fit: cover; border-radius: 14px; background: #1c1a20; }
.qa-product h3 { margin: 0 0 6px; font-size: 1.05rem; line-height: 1.3; }
.qa-price { margin: 0; font-weight: 800; font-size: 1.1rem; }
.qa-price s { color: var(--muted); font-weight: 500; font-size: 0.85rem; margin-left: 6px; }
.qa-stock { margin: 4px 0 0; color: #fb923c; font-weight: 700; font-size: 0.85rem; }
.qa-group { border: 0; margin: 0 0 16px; padding: 0; }
.qa-group legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 0.9rem; }
.qa-options { display: flex; flex-wrap: wrap; gap: 8px; }
.qa-option {
  min-width: 48px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.qa-option:hover { border-color: rgba(255, 255, 255, 0.35); }
.qa-option[aria-pressed="true"] { background: var(--text); color: #0b0b0e; border-color: var(--text); }
.qa-row { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.qa-add { flex: 1; }
.qa-hint { margin: 10px 0 0; color: #fda4af; font-size: 0.88rem; font-weight: 600; }

/* ── Finalizar compra ── */
.checkout { display: grid; gap: 18px; }
.co-group { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.co-group legend {
  padding: 0;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.co-field { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.co-field input,
.co-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}
.co-field textarea { resize: vertical; }
.co-field input:focus,
.co-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232, 56, 112, 0.2); }
.co-row { display: grid; grid-template-columns: 1fr 110px; gap: 10px; }
.co-choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}
.co-choice:has(input:checked) { border-color: var(--accent); background: rgba(232, 56, 112, 0.08); }
.co-choice input { margin-top: 3px; accent-color: var(--accent); width: 18px; height: 18px; }
.co-choice span { display: grid; gap: 3px; }
.co-choice strong { font-size: 0.95rem; }
.co-choice small { color: var(--muted); font-size: 0.8rem; line-height: 1.45; }
.co-address { display: grid; gap: 10px; }
.co-error { margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(239, 68, 68, 0.12); color: #fca5a5; font-weight: 600; font-size: 0.88rem; }

/* ── Cuenta ── */
.account-body { display: grid; gap: 14px; padding: 26px 22px 24px; }
.account-body h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.account-lead { margin: 0; color: var(--muted); line-height: 1.6; }
.google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border-radius: 999px;
  border: 1px solid #dadce0;
  background: #fff;
  color: #1f1f1f;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.google-btn:hover { background: #f5f5f5; }
.google-btn:disabled { opacity: 0.7; cursor: wait; }
.account-note { margin: 0; color: var(--muted); font-size: 0.82rem; text-align: center; }
.account-hello { display: flex; gap: 12px; align-items: center; margin-right: 44px; }
.account-hello img { width: 52px; height: 52px; border-radius: 50%; }
.account-hello p { margin: 2px 0 0; color: var(--muted); font-size: 0.85rem; }
.account-block { padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.account-block h3 { margin: 0 0 6px; font-size: 0.9rem; }
.account-block p { margin: 0; line-height: 1.5; font-size: 0.9rem; }
.account-muted { color: var(--muted); }
.account-full { width: 100%; }

/* ── Nuestro local ── */
.local-card {
  display: grid;
  gap: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 10% 10%, rgba(232, 56, 112, 0.14), transparent 55%),
    rgba(255, 255, 255, 0.02);
}
.local-info { display: grid; gap: 14px; justify-items: start; }
.local-info .section-intro-title { margin: 0; }
.local-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.local-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; color: var(--muted); }
.local-list li svg { flex: 0 0 auto; margin-top: 4px; color: var(--accent); width: 20px; height: 20px; }
.local-list strong { color: var(--text); }
.local-pay {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
}
.local-pay h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pay-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pay-list li { display: grid; gap: 3px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pay-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.pay-list span { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.pay-list .pay-highlight { color: var(--accent); font-weight: 800; font-size: 1rem; }
.pay-note { margin: 14px 0 0; color: rgba(255, 255, 255, 0.45); font-size: 0.75rem; line-height: 1.5; }
@media (min-width: 820px) {
  .local-card { grid-template-columns: 1.1fr 1fr; padding: 34px 40px; gap: 40px; align-items: center; }
}

/* Toast con acción ("Ver carrito") */
.simple-toast { display: flex; align-items: center; gap: 14px; pointer-events: none; }
.simple-toast.is-visible { pointer-events: auto; }
.simple-toast-action {
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 4px 0;
}

/* ═══════════════════ TRUST BAR EN MOVIMIENTO (marquee) ═══════════════════ */
.trust-bar {
  overflow: hidden;
  padding: 0;
  background: linear-gradient(90deg, rgba(232, 56, 112, 0.10), rgba(255, 255, 255, 0.02) 50%, rgba(232, 56, 112, 0.10));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.trust-track {
  display: flex;
  width: max-content;
  animation: trustMarquee 55s linear infinite;
}
.trust-bar:hover .trust-track,
.trust-bar:focus-within .trust-track { animation-play-state: paused; }
.trust-group,
.trust-rep {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.trust-bar .trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 22px;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}
.trust-sep {
  width: 11px;
  height: 17px;
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.9;
}
@keyframes trustMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 719px) {
  .trust-track { animation-duration: 42s; }
  .trust-bar .trust-item { padding: 12px 16px; font-size: 0.84rem; }
}
/* Movimiento reducido (ej. Windows con "Efectos de animación" apagado): la
   cinta sigue moviéndose, pero mucho más lenta. Se frena al pasar el mouse. */
@media (prefers-reduced-motion: reduce) {
  .trust-bar .trust-track {
    animation-name: trustMarquee !important;
    animation-duration: 110s !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
  }
}

/* Leyenda de consentimiento de la newsletter */
.newsletter-legal {
  margin: 14px auto 0;
  max-width: 56ch;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}
.newsletter-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.co-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--muted);
  cursor: pointer;
}
.co-check input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--accent); flex: 0 0 auto; }
.account-news { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.account-news p { margin: 0; }
.account-news .button { min-height: 40px; padding-inline: 14px; font-size: 0.85rem; }
.account-ok { color: #34d399; font-weight: 700; font-size: 0.88rem; }

/* ═══════════════════ FOOTER (columnas alineadas) ═══════════════════ */
.site-footer { text-align: left; }
.site-footer .footer-inner {
  display: grid;
  gap: 34px 28px;
  grid-template-columns: 1fr;
  justify-items: stretch;
}
@media (min-width: 620px) {
  .site-footer .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .site-footer .footer-inner { grid-template-columns: 1.3fr 0.8fr 1fr 1.2fr; }
  .site-footer .footer-brand { grid-column: auto; }
}
.site-footer .footer-brand {
  display: grid;
  gap: 14px;
  justify-items: start;
  align-content: start;
}
.site-footer .footer-brand-link { display: inline-flex; align-items: center; gap: 10px; }
.site-footer .footer-logo { width: 44px; height: 44px; }
.site-footer .footer-tagline { margin: 0; max-width: 34ch; text-align: left; }
.footer-socials { display: flex; gap: 10px; justify-content: flex-start; }
.site-footer .footer-social {
  display: grid;
  padding: 0;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: color 150ms, border-color 150ms, background 150ms;
}
.site-footer .footer-social:hover { color: var(--accent); border-color: rgba(232, 56, 112, 0.5); background: rgba(232, 56, 112, 0.08); }

.site-footer .footer-col { display: grid; align-content: start; gap: 0; justify-items: start; }
.site-footer h3 { width: auto; margin: 0 0 16px; }
.site-footer h3::after { left: 0; transform: none; }
.site-footer .footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
  width: auto;
  justify-items: start;
}
.site-footer .footer-social svg,
.site-footer .footer-list svg { opacity: 1; }
.site-footer .footer-col a { color: var(--muted); transition: color 150ms; }
.site-footer .footer-col a:hover { color: var(--text); }
.site-footer .footer-list > li:not(:has(a)) { padding: 7px 0; }
.footer-list li,
.site-footer .footer-list a {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  line-height: 1.5;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-list svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--accent);
}

.footer-pay {
  width: min(1120px, calc(100% - 32px));
  margin: 40px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.footer-pay-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.site-footer .footer-pay-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-pay-list li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  color: var(--text);
}
.footer-pay-list strong { color: var(--accent); }

.site-footer .footer-bottom {
  margin-top: 18px;
  justify-content: space-between;
  text-align: left;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-legal a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-legal a:hover { color: var(--text); }
