@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Sora:wght@300;400;500;600&display=swap');

/* Botón "Saltar" en la presentación intro */
.intro-skip-btn {
  position: fixed;
  bottom: 32px;
  left: 0;
  right: 0;
  width: fit-content;
  margin: 0 auto;
  z-index: 100;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
  opacity: 0;
  animation: skipFadeIn 1s ease 1.3s forwards;
  transition: color 0.3s ease;
  font-family: 'Sora', sans-serif;
}
.intro-skip-btn:hover {
  color: rgba(255, 255, 255, 0.8);
}
.intro-skip-btn:active {
  transform: none !important;
}
.intro-skip-btn.is-fading {
  opacity: 0 !important;
  transform: scale(0.92) !important;
  transition: opacity 400ms ease, transform 400ms ease;
}
@keyframes skipFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-skip-btn { animation: none; opacity: 1; }
}

/* Eliminar highlight azul/gris al tocar en móvil (global) */
*, *::before, *::after {
  -webkit-tap-highlight-color: transparent;
}

:root {
  --bg: #f8f1df;
  --bg-soft: #f3e7cf;
  --ink: #2a201c;
  --muted: #6f5a4d;
  --accent: #d5a64b;
  --accent-strong: #b77a22;
  --card: #fffaf2;
  --line: rgba(43, 34, 31, 0.16);
  --shadow: 0 26px 78px rgba(43, 34, 31, 0.16);
  --header-bg: #efd08c;
  --chip-bg: linear-gradient(120deg, rgba(255, 223, 170, 0.98), rgba(255, 246, 232, 0.98));
  --chip-border: rgba(198, 142, 66, 0.55);
  --section-glow: rgba(255, 235, 198, 0.5);
  --section-tint: rgba(240, 219, 175, 0.26);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --space-xl: 48px;
  --space-lg: 32px;
  --space-md: 20px;
  --space-sm: 12px;
  --hero-offset: 78px;
  --content-max: 1200px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Sora', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, #fffaf0 0%, rgba(255, 244, 223, 0.75) 30%, transparent 62%),
    radial-gradient(circle at 88% 8%, rgba(228, 207, 164, 0.4) 0%, transparent 58%),
    linear-gradient(180deg, #fbf4e6 0%, var(--bg) 45%, #efe1c6 100%);
  min-height: 100vh;
}

body.intro-active {
  overflow-y: auto;
}

body.intro-active::before,
body.intro-active::after {
  opacity: 0;
}

body.intro-active .section,
body.intro-active .site-footer {
  opacity: 0;
}

body.intro-active main {
  pointer-events: none;
}


body.intro-ready .section,
body.intro-ready .site-footer {
  opacity: 1;
}

.section,
.site-footer {
  transition: opacity 1.8s ease;
}


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

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

main,
header,
footer {
  position: relative;
  z-index: 1;
}

.ember-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  --mx: 0;
  --my: 0;
}

.ember {
  position: absolute;
  width: var(--size);
  height: var(--size);
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  border-radius: 50%;
  opacity: var(--alpha);
  filter: blur(var(--blur));
  box-shadow: 0 0 36px rgba(214, 170, 85, 0.6);
  transform: translate(-50%, -50%);
  animation-delay: var(--delay);
  mix-blend-mode: screen;
  --px: 0px;
  --py: 0px;
}

.ember-flame {
  width: calc(var(--size) * 0.66);
  height: calc(var(--size) * 1.7);
  border-radius: 58% 58% 45% 45% / 72% 72% 38% 38%;
  background: radial-gradient(ellipse at 50% 25%, rgba(255, 252, 236, 0.98) 0%, rgba(255, 220, 155, 0.9) 42%, rgba(225, 135, 50, 0.6) 74%, rgba(225, 135, 50, 0) 86%);
  box-shadow: 0 0 30px rgba(236, 176, 92, 0.85);
  filter: blur(var(--blur)) hue-rotate(var(--hue)) saturate(1.15);
  animation: flameFloat var(--drift) ease-in-out infinite, flameFlicker var(--flicker) ease-in-out infinite;
}

.ember-flame::before {
  content: '';
  position: absolute;
  inset: 14% 24% 32% 24%;
  border-radius: 60% 60% 40% 40% / 70% 70% 35% 35%;
  background: radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 236, 190, 0.8) 55%, rgba(255, 236, 190, 0) 82%);
  opacity: 0.85;
  filter: blur(calc(var(--blur) * 0.25));
}

.ember-flame::after {
  content: '';
  position: absolute;
  inset: 4% 34% 46% 34%;
  border-radius: 60% 60% 40% 40% / 70% 70% 35% 35%;
  background: radial-gradient(ellipse at 50% 20%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 245, 210, 0.5) 60%, rgba(255, 245, 210, 0) 80%);
  opacity: 0.75;
  filter: blur(calc(var(--blur) * 0.2));
}

.ember-smoke {
  width: calc(var(--size) * 1.15);
  height: calc(var(--size) * 0.9);
  border-radius: 55% 45% 60% 40% / 60% 55% 45% 40%;
  background: radial-gradient(ellipse at 35% 35%, rgba(255, 248, 226, 0.7) 0%, rgba(236, 210, 162, 0.4) 48%, rgba(200, 170, 120, 0.14) 68%, rgba(200, 170, 120, 0) 80%);
  box-shadow: 0 0 28px rgba(214, 170, 85, 0.35);
  animation: smokeFloat var(--drift) ease-in-out infinite;
}

.ember::after {
  content: '';
  position: absolute;
  inset: -30% -20% 0 -20%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 248, 222, 0.55) 0%, rgba(230, 196, 132, 0.32) 55%, rgba(230, 196, 132, 0) 75%);
  opacity: 0.9;
  filter: blur(calc(var(--blur) * 0.7));
}

.ember-flame::after {
  inset: -20% -10% 10% -10%;
  opacity: 0.65;
  filter: blur(calc(var(--blur) * 0.5));
}

@keyframes smokeFloat {
  0% {
    transform: translate(-50%, -50%) translate3d(var(--px), var(--py), 0) translate3d(0, 0, 0) scale(0.85);
    opacity: 0;
  }
  20% {
    opacity: var(--alpha);
  }
  55% {
    transform: translate(-50%, -50%) translate3d(var(--px), var(--py), 0) translate3d(calc(var(--dx) * 0.55), calc(var(--dy) * -0.55), 0) scale(1.05);
    opacity: calc(var(--alpha) * 0.85);
  }
  100% {
    transform: translate(-50%, -50%) translate3d(var(--px), var(--py), 0) translate3d(var(--dx), calc(var(--dy) * -1), 0) scale(1.3);
    opacity: 0;
  }
}

@keyframes flameFloat {
  0% {
    transform: translate(-50%, -50%) translate3d(var(--px), var(--py), 0) translate3d(0, 0, 0) rotate(var(--twist)) scale(0.8) scaleY(1.1);
    opacity: 0;
  }
  20% {
    opacity: var(--alpha);
  }
  55% {
    transform: translate(-50%, -50%) translate3d(var(--px), var(--py), 0) translate3d(calc(var(--dx) * 0.35), calc(var(--dy) * -0.45), 0) rotate(var(--twist-alt)) scale(1.05) scaleY(1.18);
    opacity: calc(var(--alpha) * 0.9);
  }
  100% {
    transform: translate(-50%, -50%) translate3d(var(--px), var(--py), 0) translate3d(var(--dx), calc(var(--dy) * -0.9), 0) rotate(var(--twist)) scale(1.2) scaleY(1.25);
    opacity: 0;
  }
}

@keyframes flameFlicker {
  0% {
    filter: blur(var(--blur)) hue-rotate(calc(var(--hue) - 2deg)) brightness(1.02);
    opacity: calc(var(--alpha) * 0.9);
  }
  35% {
    filter: blur(var(--blur)) hue-rotate(calc(var(--hue) + 4deg)) brightness(1.08);
    opacity: var(--alpha);
  }
  70% {
    filter: blur(var(--blur)) hue-rotate(calc(var(--hue) - 1deg)) brightness(1.03);
    opacity: calc(var(--alpha) * 0.92);
  }
  100% {
    filter: blur(var(--blur)) hue-rotate(calc(var(--hue) + 3deg)) brightness(1.06);
    opacity: var(--alpha);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ember {
    animation: none;
    opacity: 0.2;
  }
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 6vw;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(135deg, #f9e7c2 0%, var(--header-bg) 45%, #e0b45e 100%);
  border-bottom: 1px solid rgba(198, 142, 66, 0.35);
  box-shadow: 0 12px 28px rgba(43, 34, 31, 0.12);
  z-index: 10;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 1.4s ease, transform 1.4s ease;
}

.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.16) 45%, transparent 72%),
    radial-gradient(circle at 18% 0%, rgba(255, 240, 210, 0.7) 0%, transparent 62%);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

body.intro-active .site-header {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-24px);
}

body.header-ready .site-header {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

main {
  padding-top: 78px;
}

body[data-page="home"] main {
  padding-top: 0;
}

@media (min-width: 721px) {
  body.soft-nav-enabled main,
  body.soft-nav-enabled .site-footer {
    transition: opacity 0.35s ease, transform 0.35s ease;
    will-change: opacity, transform;
  }

  body.soft-nav-enabled.is-navigating main,
  body.soft-nav-enabled.is-navigating .site-footer {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
  }
}

body.intro-skip .hero.hero-split::before {
  animation: none;
  opacity: 0;
}

body.intro-skip .hero-inner,
body.intro-skip .hero-logo {
  animation: none;
  opacity: 1;
  transform: none;
}

body.intro-skip .site-header {
  transition: none;
}

body.intro-skip .hero-ambience span {
  animation-delay: 0s;
  opacity: 0.2;
}

/* Skip forzado: todo visible inmediatamente, sin transiciones */
body.intro-skip .section,
body.intro-skip .site-footer {
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important;
}
body.intro-skip main {
  pointer-events: auto !important;
}
body.intro-skip .page-reveal-armed .section,
body.intro-skip .page-reveal-ready .section {
  opacity: 1 !important;
  transform: none !important;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-right: auto;
}

.logo img {
  height: 30px;
  width: auto;
}

.logo span {
  line-height: 1;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(198, 142, 66, 0.6);
  background: linear-gradient(135deg, #fde9c2, #e2b36a);
  box-shadow: 0 12px 24px rgba(91, 57, 36, 0.16);
  position: relative;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #5c4537;
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}

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

.nav-toggle span:nth-child(1) {
  top: 12px;
}

.nav-toggle span:nth-child(2) {
  top: 19px;
}

.nav-toggle span:nth-child(3) {
  top: 26px;
  left: 10px;
  right: 10px;
}

.nav-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(91, 57, 36, 0.18);
}

body.nav-open .nav-toggle span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

.lang-switch {
  display: inline-flex;
  gap: 6px;
  margin-left: 10px;
}

.nav-lang {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  align-items: center;
}


.lang-btn {
  border: 1px solid rgba(198, 142, 66, 0.5);
  background: #f7e7cf;
  color: #5c4537;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.lang-btn.active {
  background: #e9cd9f;
  color: #2f1f17;
}

.top-nav a {
  padding: 6px 10px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.top-nav a:hover,
.top-nav a.active {
  color: var(--ink);
  background: rgba(214, 162, 76, 0.32);
}

.hero {
  padding: 6px clamp(18px, 6vw, 96px) 0;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  background-image: linear-gradient(120deg, rgba(66, 35, 22, 0.82), rgba(66, 35, 22, 0.46)), var(--hero-image, none);
  background-size: cover;
  background-position: center;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  color: #fdf9f6;
  position: relative;
  overflow: hidden;
}


.hero.hero-split::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 4, 0.98);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 1.4s ease;
}

body.intro-active .hero.hero-split::before {
  animation: lightsReveal 9s ease-in-out 0s both;
}

.hero.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 4;
  animation: none;
  padding-left: 0;
  margin-top: -150px;
}

.hero-logo img {
  width: clamp(290px, 50vw, 680px);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
  animation: logoReveal 1.2s ease 0.2s both;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: 0;
}

.hero-compact {
  min-height: 50vh;
  position: relative;
}

.hero-compact .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

body[data-page="order"] .hero-inner {
  max-width: 560px;
  width: 100%;
}

body[data-page="order"] .eyebrow,
body[data-page="order"] .hero-tagline {
  color: #ffffff;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.35);
}

body[data-page="order"] .order-chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  box-shadow: 0 8px 16px rgba(43, 34, 31, 0.08);
  color: #3c2d26;
}

.section-chip {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  margin: 0;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  box-shadow: 0 10px 20px rgba(43, 34, 31, 0.1);
  color: #3c2d26;
  line-height: 1.2;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.section-chip-sm {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  box-shadow: 0 8px 16px rgba(43, 34, 31, 0.08);
  color: #3c2d26;
}

body[data-page="order"] .order-eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

body[data-page="order"] .order-tagline {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.3px;
  text-transform: none;
}

.title-flames {
  position: absolute;
  top: 6vw;
  right: 6vw;
  width: 240px;
  height: 250px;
  transform: none;
  pointer-events: none;
  z-index: 1;
}

.title-flames span {
  position: absolute;
  width: 110px;
  height: 170px;
  opacity: 0.6;
}

.title-flames span::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 36%;
  width: 34px;
  height: 58px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 220, 160, 0.9) 35%, rgba(255, 170, 90, 0.7) 60%, rgba(255, 140, 60, 0.4) 100%);
  border-radius: 50% 50% 45% 45%;
  filter: blur(0.2px);
  box-shadow: 0 0 22px rgba(255, 190, 120, 0.6);
  animation: flameFlicker 1.6s ease-in-out infinite;
}

.title-flames span:nth-child(1) {
  right: 18px;
  top: 0;
}

.title-flames span:nth-child(2) {
  right: 68px;
  top: 58px;
  width: 90px;
  height: 140px;
  opacity: 0.5;
}

.title-flames span:nth-child(3) {
  right: 0;
  top: 120px;
  width: 80px;
  height: 120px;
  opacity: 0.45;
}

.about-hero {
  min-height: 28vh;
  padding: 18px 6vw;
}

.hero-inner {
  max-width: 640px;
  position: relative;
  z-index: 4;
  animation: none;
  margin-top: 0;
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

body[data-page="home"] .hero-inner {
  margin-top: -140px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

body[data-page="home"] .hero-logo {
  margin-top: -120px;
}

body[data-page="home"] .hero {
  min-height: 100vh;
  align-items: center;
  max-height: 82vh;
}

body[data-page="home"] #categorias {
  padding-top: 48px;
}

body.intro-active .hero-logo {
  animation: logoSlide 4.2s ease-in-out 2.2s both;
}

body.intro-active .hero-inner {
  animation: fadeUp 2.2s ease 6.1s both;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  margin: 0 0 12px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 7vw, 72px);
  margin: 0 0 12px;
  letter-spacing: 1px;
  color: #ffffff;
}

body[data-page="home"] .hero-title {
  display: inline-block;
  background: linear-gradient(120deg, #fff7e6 0%, #f3d9a7 28%, #fbeec9 55%, #e4be78 78%, #fff4d6 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  animation: goldSheen 7s ease-in-out infinite;
}

.hero-tagline {
  font-size: 18px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 28px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

.hero-compact .hero-tagline,
.hero-compact .hero-text,
.hero-compact .eyebrow,
.hero-compact .hero-title {
  color: #ffffff;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.35);
}


body[data-page="home"] .hero-title,
body[data-page="home"] .hero-tagline,
body[data-page="home"] .hero-text,
body[data-page="home"] .eyebrow {
  color: #ffffff;
}

body.intro-disabled .hero-title,
body.intro-disabled .hero-tagline,
body.intro-disabled .hero-text,
body.intro-disabled .eyebrow {
  color: var(--ink);
  text-shadow: none;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.hero-highlights {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.hero-highlights span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(24, 16, 13, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
  animation: softFloat 6s ease-in-out infinite;
}

.hero-highlights span[data-tone="sage"] {
  background: rgba(222, 238, 227, 0.3);
  border-color: rgba(170, 204, 187, 0.35);
  color: #e9f3ee;
}

.hero-highlights span[data-tone="rose"] {
  background: rgba(245, 220, 226, 0.32);
  border-color: rgba(217, 170, 180, 0.35);
  color: #f8eef1;
}

.hero-highlights span[data-tone="clay"] {
  background: rgba(233, 220, 210, 0.3);
  border-color: rgba(197, 171, 154, 0.35);
  color: #f2ece7;
}

.hero-highlights span[data-tone="amber"] {
  background: rgba(245, 223, 196, 0.3);
  border-color: rgba(210, 170, 128, 0.35);
  color: #f9f1e6;
}

.hero-highlights span[data-tone="gold"] {
  background: rgba(243, 229, 188, 0.3);
  border-color: rgba(212, 184, 120, 0.35);
  color: #faf3e3;
}

.hero-highlights span:nth-child(2) {
  animation-delay: 0.6s;
}

.hero-highlights span:nth-child(3) {
  animation-delay: 1.2s;
}

.hero-highlights span:nth-child(4) {
  animation-delay: 1.8s;
}

.hero-highlights span:nth-child(5) {
  animation-delay: 2.4s;
}

.hero-ambience {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: normal;
  opacity: 0.25;
}

.hero-workshop {
  position: absolute;
  inset: 0;
  background-image: url('taller.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: blur(2px);
  transform: scale(1);
  z-index: 1;
  pointer-events: none;
  transition: opacity 1.8s ease;
}

body.intro-ready .hero-workshop {
  opacity: 0.14;
}

body.intro-skip .hero-workshop {
  opacity: 0.14;
}


.hero-ambience span {
  position: absolute;
  top: 6%;
  width: 140px;
  height: 220px;
  background: transparent;
  opacity: 0.25;
  animation: flameDrift var(--drift, 5s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  animation-fill-mode: both;
}

body.intro-active .hero-ambience {
  opacity: 0;
  animation: ambienceFade 6s ease-in-out 0.8s forwards;
}

body.intro-active .hero-ambience span {
  opacity: 0;
  animation: flameIntro var(--intro, 6s) ease-in-out var(--delay, 0s) forwards;
}

.hero-ambience span::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 40px;
  height: 64px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 220, 160, 0.9) 35%, rgba(255, 170, 90, 0.7) 60%, rgba(255, 140, 60, 0.4) 100%);
  border-radius: 50% 50% 45% 45%;
  filter: blur(0.2px);
  box-shadow: 0 0 18px rgba(255, 190, 120, 0.55);
  animation: flameFlicker var(--flicker, 1.4s) ease-in-out infinite;
}

.hero-ambience span:nth-child(1) {
  left: 8%;
  top: 12%;
}

.hero-ambience span:nth-child(2) {
  left: 30%;
  width: 120px;
  height: 200px;
  opacity: 0.3;
  top: 32%;
}

.hero-ambience span:nth-child(3) {
  right: 28%;
  width: 130px;
  height: 210px;
  opacity: 0.4;
  top: 18%;
}

.hero-ambience span:nth-child(4) {
  right: 8%;
  width: 150px;
  height: 230px;
  opacity: 0.35;
  top: 40%;
}

.hero-ambience span:nth-child(5) {
  left: 18%;
  top: 58%;
  width: 100px;
  height: 150px;
  opacity: 0.3;
}

.hero-ambience span:nth-child(6) {
  right: 18%;
  top: 8%;
  width: 90px;
  height: 140px;
  opacity: 0.32;
}

.hero-ambience span:nth-child(7) {
  left: 42%;
  top: 18%;
  width: 80px;
  height: 120px;
  opacity: 0.28;
}

.btn,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn {
  background: linear-gradient(135deg, #fff1d9 0%, #f1d3a1 100%);
  color: #2a211f;
}

.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 60%;
  height: 200%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  transform: translateX(-120%);
  animation: sheen 3.6s ease-in-out infinite;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.btn.is-disabled,
.btn-outline.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.title-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  box-shadow: 0 10px 20px rgba(43, 34, 31, 0.1);
  color: #3c2d26;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  text-transform: none;
  letter-spacing: 0.6px;
}

.title-chip::after {
  content: none;
}

.title-chip:hover {
  transform: none;
  box-shadow: 0 12px 24px rgba(43, 34, 31, 0.12);
}

.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.section {
  padding: 70px clamp(18px, 6vw, 96px) 40px;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.64) 0%, rgba(255, 250, 244, 0.62) 100%);
  border-top: 1px solid rgba(198, 142, 66, 0.16);
}

.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 230, 180, 0.32) 0%, transparent 62%),
    radial-gradient(circle at 85% 35%, rgba(240, 210, 150, 0.18) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.section > * {
  position: relative;
  z-index: 2;
}

body[data-page="product"] .section {
  background: linear-gradient(180deg, rgba(255, 255, 252, 0.7) 0%, rgba(255, 254, 249, 0.68) 100%);
}

body[data-page="product"] .section::before {
  opacity: 0.35;
}

.velariis-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  filter: saturate(165%) contrast(150%);
  opacity: 1;
  mix-blend-mode: screen;
}

body[data-page="order"] .section {
  padding-top: 0;
}

body[data-page="order"] main {
  padding-top: 0;
}

body[data-page="order"] .hero {
  padding-top: var(--hero-offset);
}

body[data-page="velas"] main,
body[data-page="category"] main,
body[data-page="about"] main,
body[data-page="legal"] main {
  padding-top: 0;
}

body[data-page="velas"] .hero,
body[data-page="category"] .hero,
body[data-page="about"] .hero,
body[data-page="legal"] .hero {
  padding-top: var(--hero-offset);
}

body[data-page="order"] .order-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  column-gap: 24px;
  width: 100%;
  position: relative;
}

body[data-page="order"] .order-title-row .section-header {
  margin-bottom: 0;
}

body[data-page="order"] .order-title-row .title-flames {
  position: relative !important;
  right: auto;
  top: auto;
  width: 220px;
  height: 180px;
  transform: none;
  margin: 0;
  justify-self: end;
  align-self: center;
}

@media (max-width: 720px) {
  body[data-page="order"] .order-title-row {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  body[data-page="order"] .order-title-row .title-flames {
    width: 180px;
    height: 160px;
    justify-self: end;
  }

  .order-summary-media {
    height: 200px;
  }
}

body.page-reveal.page-reveal-armed:not([data-page="home"]) main,
body.page-reveal.page-reveal-armed:not([data-page="home"]) .site-footer {
  opacity: 0;
  transform: translateY(8px);
  filter: blur(2px);
}

body.page-reveal.page-reveal-armed.page-reveal-ready:not([data-page="home"]) main,
body.page-reveal.page-reveal-armed.page-reveal-ready:not([data-page="home"]) .site-footer {
  opacity: 1;
  transform: translateY(0);
  filter: none;
  transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease;
}

body.page-reveal.page-reveal-armed .reveal-item {
  opacity: 0;
}

body.page-reveal.page-reveal-ready .reveal-item {
  opacity: 0;
  animation: pageReveal 0.45s ease-out forwards;
  will-change: opacity, transform;
}

.order-wrap {
  display: grid;
  place-items: center;
}

body[data-page="order"] .order-wrap {
  margin-top: 12px;
}

.order-card {
  width: min(960px, 100%);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(244, 237, 231, 0.92));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200, 163, 139, 0.2);
  box-shadow: 0 24px 60px rgba(43, 34, 31, 0.12);
  padding: 28px;
  display: grid;
  gap: 24px;
}

.order-summary h2 {
  margin: 0 0 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(52, 168, 83, 0.12);
  border: 1px solid rgba(52, 168, 83, 0.35);
  color: #1f6b38;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.order-summary {
  display: grid;
  gap: 16px;
}

.order-summary-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(200, 163, 139, 0.2);
  background: rgba(255, 255, 255, 0.7);
}

.order-summary-card.is-compact {
  grid-template-columns: 1fr;
}

.order-summary-media {
  width: 100%;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(200, 163, 139, 0.2);
  background: #f8f1ec;
}

.order-summary-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.order-summary-media {
  width: 100%;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(200, 163, 139, 0.18);
  background: #f8f1ec;
}

.order-summary-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.order-summary-info h3 {
  margin: 0 0 6px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
}

.order-summary-kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 11px;
  color: var(--muted);
}

.order-summary-info p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.order-selection {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.order-summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-form-section {
  padding: 16px 0 6px;
  border-top: 1px solid rgba(200, 163, 139, 0.18);
}

.order-form-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.order-form-section h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-family: 'Cormorant Garamond', serif;
}

.order-form-hint {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.order-summary p {
  margin: 6px 0;
  color: var(--muted);
  font-size: 14px;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  border-radius: 14px;
  border: 1px solid rgba(200, 163, 139, 0.3);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(107, 91, 84, 0.7);
}

.field textarea {
  resize: vertical;
}

.order-note {
  margin: 8px 0 14px;
  font-size: 12px;
  color: var(--muted);
}

/* ===== Toast "Añadido al pedido" ===== */
.cart-toast {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  justify-content: center;
  padding: 12px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 300ms ease, transform 300ms cubic-bezier(0.2, 0.9, 0.3, 1);
}
.cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cart-toast-content {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(140deg, #fff9f1, #fbefdf);
  border: 1px solid rgba(200, 163, 139, 0.45);
  border-radius: 20px;
  box-shadow: 0 -8px 40px rgba(43, 34, 31, 0.18), 0 4px 16px rgba(43, 34, 31, 0.1);
  padding: 18px 20px 14px;
  overflow: hidden;
  position: relative;
}

.cart-toast-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.cart-toast-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(52, 168, 83, 0.12);
  color: #1f6b38;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-toast-text {
  flex: 1;
  min-width: 0;
}

.cart-toast-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.cart-toast-product {
  margin: 2px 0;
  font-size: 13px;
  color: rgba(43, 34, 31, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-toast-count {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.cart-toast-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(200, 163, 139, 0.25);
  flex-shrink: 0;
}

.cart-toast-actions {
  display: flex;
  gap: 10px;
}

.cart-toast-btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.cart-toast-continue {
  border: 1px solid rgba(200, 163, 139, 0.5);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
}
.cart-toast-continue:hover {
  background: rgba(250, 222, 175, 0.25);
}

.cart-toast-go {
  border: none;
  background: linear-gradient(135deg, #c68e42, #8b5a2b);
  color: #fff9ed;
  box-shadow: 0 4px 12px rgba(140, 90, 40, 0.3);
}
.cart-toast-go:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.cart-toast-timer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(200, 163, 139, 0.15);
}
.cart-toast-timer-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #c68e42, #8b5a2b);
  border-radius: 0 2px 0 0;
}

@media (max-width: 520px) {
  .cart-toast {
    padding: 8px;
  }
  .cart-toast-content {
    border-radius: 16px;
    padding: 14px 16px 10px;
  }
  .cart-toast-actions {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-toast,
  .cart-toast-timer-bar {
    transition: none !important;
  }
}

/* ===== Icono carrito en header ===== */
.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(200, 163, 139, 0.4);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  margin-left: 6px;
  flex-shrink: 0;
}
.nav-cart:hover {
  background: rgba(250, 222, 175, 0.3);
  border-color: rgba(200, 163, 139, 0.7);
  transform: scale(1.05);
}
.nav-cart svg {
  display: block;
}
.nav-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c68e42, #8b5a2b);
  color: #fff9ed;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(140, 90, 40, 0.4);
  line-height: 1;
}

/* ===== Dropdown carrito desde header ===== */
.cart-dropdown-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(43, 34, 31, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 60px;
  padding-right: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}
.cart-dropdown-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.cart-dropdown {
  width: 340px;
  max-height: calc(100vh - 90px);
  background: linear-gradient(180deg, #fff9f1, #fbefdf);
  border: 1px solid rgba(200, 163, 139, 0.4);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(43, 34, 31, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(-8px) scale(0.97);
  transition: transform 250ms cubic-bezier(0.2, 0.9, 0.3, 1);
}
.cart-dropdown-overlay.is-visible .cart-dropdown {
  transform: translateY(0) scale(1);
}

.cart-dropdown-title {
  margin: 0;
  padding: 16px 18px 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  border-bottom: 1px solid rgba(200, 163, 139, 0.2);
}

.cart-dropdown-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(200, 163, 139, 0.15);
}

.cart-dropdown-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-dropdown-info {
  flex: 1;
  min-width: 0;
}
.cart-dropdown-name {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-dropdown-details {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-dropdown-remove {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(200, 163, 139, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.cart-dropdown-remove:hover {
  color: #8f2d2d;
  border-color: rgba(180, 60, 60, 0.4);
}

.cart-dropdown-cta {
  display: block;
  margin: 10px 14px 14px;
  padding: 12px 16px;
  text-align: center;
  background: linear-gradient(135deg, #c68e42, #8b5a2b);
  color: #fff9ed;
  text-decoration: none;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  box-shadow: 0 6px 16px rgba(140, 90, 40, 0.3);
  transition: filter 0.2s ease, transform 0.15s ease;
}
.cart-dropdown-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

@media (max-width: 520px) {
  .cart-dropdown-overlay {
    padding-top: 56px;
    padding-right: 8px;
    padding-left: 8px;
    justify-content: center;
  }
  .cart-dropdown {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
  }
}

/* ===== Mini-carrito multi-producto ===== */
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(200, 163, 139, 0.22);
  background: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
}
.cart-item-media {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: #f8f1ec;
  flex-shrink: 0;
}
.cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cart-item-info h3 {
  margin: 0 0 6px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.15;
}
.cart-item-info .order-summary-chips {
  gap: 6px;
}
.cart-item-info .order-chip {
  font-size: 11px;
  padding: 2px 8px;
}
.cart-item-remove {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(200, 163, 139, 0.35);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}
.cart-item-remove:hover {
  background: rgba(180, 60, 60, 0.08);
  color: #8f2d2d;
  border-color: rgba(180, 60, 60, 0.35);
}

.order-add-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px dashed rgba(200, 163, 139, 0.5);
  border-radius: 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
  margin-top: 6px;
}
.order-add-more:hover {
  background: rgba(250, 222, 175, 0.2);
  border-color: rgba(200, 163, 139, 0.8);
}
.order-add-more[hidden] {
  display: none !important;
}
.order-add-more span {
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 520px) {
  .cart-item {
    grid-template-columns: 48px 1fr auto;
    gap: 8px;
    padding: 10px;
  }
  .cart-item-media {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }
  .cart-item-info h3 {
    font-size: 16px;
  }
}

.field-hint {
  margin: 4px 0 0;
  font-size: 12px;
  color: #7e4823;
  font-style: italic;
  line-height: 1.4;
}

/* A3: hint dinámico cuando se selecciona WhatsApp */
.field-hint[hidden] {
  display: none;
}

/* B5: resumen colapsable estilo */
.order-summary {
  display: grid;
  gap: 16px;
}
.order-summary > .order-summary-header {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px;
  user-select: none;
}
.order-summary > .order-summary-header::-webkit-details-marker {
  display: none;
}
.order-summary-titles {
  min-width: 0;
}
.order-summary > .order-summary-header h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
}
.order-summary-subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.3px;
}
.order-summary-subtitle:empty {
  display: none;
}
.order-summary-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 500;
}
.order-summary-hint-show {
  display: inline;
}
.order-summary-hint-hide {
  display: none;
}
.order-summary[open] .order-summary-hint-show {
  display: none;
}
.order-summary[open] .order-summary-hint-hide {
  display: inline;
}
.order-summary-toggle {
  font-size: 14px;
  color: var(--muted);
  transition: transform 0.3s ease;
  display: inline-block;
}
.order-summary[open] .order-summary-toggle {
  transform: rotate(180deg);
}

/* Animación del cuerpo del resumen (expand/collapse suave) */
.order-summary-body {
  display: grid;
  gap: 16px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 350ms cubic-bezier(0.4, 0, 0.2, 1),
              opacity 250ms ease,
              padding 250ms ease;
  padding-top: 0;
}
.order-summary[open] .order-summary-body {
  max-height: 2000px;
  opacity: 1;
  padding-top: 16px;
}

/* Animación de cierre: la clase is-closing mantiene open=true pero anima out */
.order-summary.is-closing .order-summary-body {
  max-height: 0 !important;
  opacity: 0 !important;
  padding-top: 0 !important;
}
.order-summary.is-closing .order-summary-toggle {
  transform: rotate(0deg);
}
.order-summary.is-closing .order-summary-hint-show {
  display: inline;
}
.order-summary.is-closing .order-summary-hint-hide {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .order-summary-body {
    transition: none !important;
  }
}

/* B8: botón WhatsApp directo — ancho según texto, centrado */
.order-whatsapp-row {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(37, 211, 102, 0.08);
  border: 1.5px solid rgba(37, 211, 102, 0.4);
  color: #1b7a3c;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}
.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.14);
  border-color: rgba(37, 211, 102, 0.7);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.18);
}
.btn-whatsapp:active {
  transform: translateY(0);
}

/* B2: panel de éxito post-envío — sólo visible al enviar OK */
.order-success[hidden] {
  display: none !important;
}
.order-success {
  text-align: center;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: successIn 500ms cubic-bezier(0.2, 1.2, 0.4, 1);
}

/* Chips vacíos o con atributo hidden: no renderizar */
.order-chip:empty,
.order-chip[hidden] {
  display: none !important;
}
@keyframes successIn {
  0% { opacity: 0; transform: scale(0.96) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.order-success-icon {
  color: #2f6b2f;
  animation: successCheck 700ms ease-out 100ms both;
}
@keyframes successCheck {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.order-success-title {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  color: var(--ink);
  line-height: 1.1;
}
.order-success-body {
  margin: 0 auto;
  max-width: 440px;
  color: rgba(43, 34, 31, 0.78);
  font-size: 15px;
  line-height: 1.6;
}
.order-success-ref {
  margin: 0;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(200, 163, 139, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(200, 163, 139, 0.3);
}
.order-success-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}
.order-success-actions .btn,
.order-success-actions .btn-outline {
  min-width: 180px;
}

.form-feedback {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.form-feedback.is-success {
  color: #2c5f3f;
}

.form-feedback.is-error {
  color: #8f2d2d;
}

.about-section {
  padding-top: 60px;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  inset: -10% auto auto -5%;
  width: 520px;
  height: 520px;
  background: url('logook.png') no-repeat center;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
}

.about-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.about-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(200, 163, 139, 0.2);
  box-shadow: 0 24px 60px rgba(43, 34, 31, 0.16);
}

.about-image-card img {
  width: 100%;
  height: clamp(320px, 42vw, 440px);
  display: block;
  object-fit: cover;
  object-position: center;
}

.about-text {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(244, 237, 231, 0.92));
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid rgba(200, 163, 139, 0.22);
  box-shadow: 0 18px 44px rgba(43, 34, 31, 0.12);
  position: relative;
  z-index: 1;
  max-width: 520px;
}


.about-text h2 {
  margin: 0 0 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--ink);
}

.about-text p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.about-signature {
  margin-top: 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink);
}

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

.field-inline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.field-inline input {
  margin-top: 4px;
}

.field-inline label {
  text-transform: none;
  letter-spacing: 0.2px;
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  color: var(--muted);
}

.footer-rights {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 92vw);
  background: #f6efe9;
  border: 1px solid rgba(200, 163, 139, 0.3);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(43, 34, 31, 0.18);
  padding: 14px 18px;
  display: grid;
  gap: 10px;
  z-index: 999;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.cookie-visual {
  display: flex;
  gap: 8px;
  align-items: center;
}

@media (max-width: 720px) {
  .cookie-banner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .cookie-actions {
    justify-content: flex-start;
  }
}

.cookie-visual span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff4e7 0%, #e0b18d 45%, #b57a54 100%);
  box-shadow: inset -3px -3px 6px rgba(0, 0, 0, 0.12);
  position: relative;
  animation: cookieFloat 3.6s ease-in-out infinite;
}

.cookie-visual span::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(90, 54, 32, 0.45);
  top: 8px;
  left: 7px;
  box-shadow: 8px 4px 0 rgba(90, 54, 32, 0.35), 12px -2px 0 rgba(90, 54, 32, 0.28);
}

.cookie-visual span:nth-child(2) {
  width: 18px;
  height: 18px;
  animation-delay: 0.4s;
}

.cookie-visual span:nth-child(3) {
  width: 22px;
  height: 22px;
  animation-delay: 0.8s;
}

@keyframes cookieFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes compactFlames {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 0.55;
    transform: translateY(-6px);
  }
}

.highlight-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.highlight-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(200, 163, 139, 0.2);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.94), rgba(248, 241, 236, 0.86));
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 0 18px 40px rgba(43, 34, 31, 0.08);
  position: relative;
  overflow: hidden;
}

.info-card {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(244, 237, 231, 0.9));
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid rgba(200, 163, 139, 0.22);
  box-shadow: 0 18px 42px rgba(43, 34, 31, 0.1);
  display: grid;
  gap: 12px;
}

.info-card h3 {
  margin: 8px 0 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--ink);
}

.info-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.info-list {
  margin: 6px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.info-list strong {
  color: var(--ink);
}

.highlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.8), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.highlight-card:hover::after {
  opacity: 0.6;
}

.highlight-card h3 {
  margin: 0 0 6px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--ink);
}

.highlight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.highlight-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #2d1f1b;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(200, 163, 139, 0.3);
  box-shadow: 0 10px 20px rgba(43, 34, 31, 0.12);
  animation: iconFloat 6.8s cubic-bezier(0.36, 0, 0.16, 1) infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform, box-shadow;
}

.highlight-icon::before {
  content: '✦';
}

.highlight-icon[data-icon='botanical']::before { content: '✿'; }
.highlight-icon[data-icon='pulse']::before { content: '❖'; }
.highlight-icon[data-icon='stone']::before { content: '◈'; }
.highlight-icon[data-icon='petal']::before { content: '❀'; }
.highlight-icon[data-icon='glow']::before { content: '✧'; }
.highlight-icon[data-icon='spark']::before { content: '✶'; }
.highlight-icon[data-icon='journey']::before { content: '✺'; }
.highlight-icon[data-icon='wardrobe']::before { content: '✹'; }
.highlight-icon[data-icon='melt']::before { content: '✷'; }

.highlight-card[data-tone='rose'] .highlight-icon {
  background: rgba(255, 226, 231, 0.9);
  color: #7f3e4c;
}

.highlight-card[data-tone='gold'] .highlight-icon {
  background: rgba(255, 237, 200, 0.9);
  color: #7b4e2b;
}

.highlight-card[data-tone='sage'] .highlight-icon {
  background: rgba(220, 238, 226, 0.9);
  color: #3f5b4b;
}

.highlight-card[data-tone='amber'] .highlight-icon {
  background: rgba(255, 229, 196, 0.9);
  color: #7a4b2a;
}

.highlight-card[data-tone='clay'] .highlight-icon {
  background: rgba(237, 224, 214, 0.9);
  color: #6a4434;
}

.highlight-card[data-tone='berry'] .highlight-icon {
  background: rgba(238, 224, 244, 0.9);
  color: #5f3a73;
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-0.2deg) scale(1);
    box-shadow: 0 10px 20px rgba(43, 34, 31, 0.12);
  }
  32% {
    transform: translate3d(0, -3px, 0) rotate(0.9deg) scale(1.015);
    box-shadow: 0 14px 26px rgba(43, 34, 31, 0.16);
  }
  62% {
    transform: translate3d(0, -1px, 0) rotate(-0.7deg) scale(1.008);
    box-shadow: 0 12px 22px rgba(43, 34, 31, 0.14);
  }
}

.home-highlight-grid .highlight-card:nth-child(1) .highlight-icon {
  animation-duration: 7.4s;
  animation-delay: -1.1s;
}

.home-highlight-grid .highlight-card:nth-child(2) .highlight-icon {
  animation-duration: 6.9s;
  animation-delay: -3.2s;
}

.home-highlight-grid .highlight-card:nth-child(3) .highlight-icon {
  animation-duration: 7.8s;
  animation-delay: -2.4s;
}

.home-highlight-grid .highlight-card:nth-child(4) .highlight-icon {
  animation-duration: 6.6s;
  animation-delay: -4.1s;
}

@media (prefers-reduced-motion: reduce) {
  .highlight-icon {
    animation: none;
  }

  .btn-order {
    animation: none;
  }
}

@keyframes goldSheen {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes sheen {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  55% {
    transform: translateX(220%);
    opacity: 0;
  }
  100% {
    transform: translateX(220%);
    opacity: 0;
  }
}

#categorias {
  scroll-margin-top: 90px;
}

.section-header {
  margin-bottom: 30px;
  display: grid;
  gap: 10px;
  justify-items: start;
}

.section-header h2,
.section-chip,
.chip-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  margin: 0;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  box-shadow: 0 10px 20px rgba(43, 34, 31, 0.1);
  color: #3c2d26;
  line-height: 1.2;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.order-header {
  margin-bottom: -2px;
}

.order-header h2 {
  max-width: 620px;
  text-wrap: balance;
}

body[data-page="order"] .order-header h2 {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}


.section-header p {
  margin: 0;
  color: var(--muted);
}

.category-grid,
.product-grid,
.photo-grid {
  display: grid;
  gap: 22px;
  width: 100%;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

.category-grid,
.product-grid {
  justify-content: center;
}

.category-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.photo-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card,
.product-card,
.photo-card {
  background: var(--card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(200, 163, 139, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fadeUp 0.8s ease both;
}

.card:hover,
.product-card:hover,
.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(43, 34, 31, 0.2);
}

@media (hover: hover) and (min-width: 900px) {
  body[data-page="home"] .category-grid .card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  body[data-page="home"] .category-grid .card img {
    transition: transform 0.7s ease, filter 0.7s ease;
    will-change: transform;
  }

  body[data-page="home"] .category-grid .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(43, 34, 31, 0.22);
  }

  body[data-page="home"] .category-grid .card:hover img {
    transform: scale(1.06);
    filter: saturate(1.05);
  }
}

.card img,
.product-card img,
.photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card,
.card,
.photo-card {
  min-height: 320px;
}

.card,
.product-card {
  width: 100%;
  max-width: 280px;
  justify-self: center;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-body,
.product-card-body,
.photo-card-body {
  padding: 18px;
}

.card-body,
.product-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-height: 104px;
}

.product-card-body .stock-badge {
  align-self: flex-start;
  margin-bottom: 4px;
}

.card-body h3,
.product-card-body h3,
.photo-card-body h3 {
  margin: 0 0 6px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
}

.card-body h3,
.product-card-body h3 {
  line-height: 1.1;
  min-height: 2.2em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body p,
.product-card-body p,
.photo-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card-body p,
.product-card-body p {
  line-height: 1.5;
  min-height: 3em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.note-card {
  background: #fff8f1;
  border-radius: var(--radius-md);
  padding: 26px 28px;
  border: 1px solid rgba(200, 163, 139, 0.35);
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.product-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 16px clamp(18px, 6vw, 96px) 20px;
  max-width: var(--content-max);
  margin: 0 auto;
  position: relative;
}

/* Evita scroll horizontal en la página de producto (el canvas de partículas usa
   calc(50% - 50vw) que puede desbordar por redondeo con scrollbar; las
   `.section` full-width también pueden acumular 1-2 px).
   `overflow-x: clip` en body/html previene el scroll horizontal sin crear un
   contexto de scroll nuevo (más seguro que `hidden` con sticky). */
body[data-page="product"],
html:has(body[data-page="product"]) {
  overflow-x: clip;
  max-width: 100vw;
}

.product-hero > *:not(.velariis-particles) {
  position: relative;
  z-index: 2;
}

/* El canvas del product-hero se extiende hasta los bordes del viewport
   (el hero tiene max-width: 1200px, dejando márgenes laterales sin partículas). */
.product-hero > .velariis-particles {
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  width: auto;
}

.product-gallery {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}

.main-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.35);
  color: #2b221f;
  font-size: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.image-prev {
  left: 12px;
}

.image-next {
  right: 12px;
}

@media (min-width: 900px) {
  .image-nav {
    display: inline-flex;
  }
}

.main-image img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  cursor: zoom-in;
  background: #f8f1ec;
}

.thumbs {
  --thumb-size: 78px;
  --thumb-gap: 10px;
  --thumb-strip: calc((var(--thumb-size) * 4) + (var(--thumb-gap) * 3));
  display: flex;
  gap: var(--thumb-gap);
  margin-top: 14px;
  flex-wrap: nowrap;
  width: 100%;
  max-width: var(--thumb-strip);
  min-height: 86px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.thumbs::-webkit-scrollbar {
  display: none;
}

.thumbs-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.thumb-nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(200, 163, 139, 0.4);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thumb-nav:active {
  transform: translateY(1px);
}

.product-color.in-gallery {
  max-width: var(--thumb-strip);
  margin-left: auto;
}

.thumb-nav[hidden] {
  display: none;
}

.thumbs button {
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid transparent;
  flex: 0 0 var(--thumb-size);
  scroll-snap-align: start;
}

.thumbs img {
  width: var(--thumb-size);
  height: var(--thumb-size);
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.thumbs button.active {
  border-color: var(--accent);
}

.product-summary h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  margin: 4px 0 10px;
}

.product-summary .stock-badge {
  margin: 4px 0 10px;
}

.product-subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.product-meta {
  display: grid;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 20px;
}

.product-price {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(200, 163, 139, 0.3);
  background: rgba(255, 255, 255, 0.92);
  margin-bottom: 14px;
  width: fit-content;
  flex-wrap: wrap;
}

.product-price .price-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.product-price .price-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.product-price .price-meta {
  font-size: 12px;
  color: var(--muted);
}

.product-price .price-badge {
  background: rgba(201, 52, 52, 0.12);
  color: #8f2d2d;
  border: 1px solid rgba(201, 52, 52, 0.35);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.product-price .price-compare {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(143, 45, 45, 0.8);
}

.product-price .price-compare-value {
  text-decoration: line-through;
}

.product-aroma {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.product-variant {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.organza-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.organza-controls .organza-select {
  min-width: 240px;
  flex: 1 1 240px;
}

.organza-controls .organza-stepper {
  flex: 0 0 auto;
}

.organza-stepper.is-disabled {
  opacity: 0.55;
}

.product-variant.compact,
.product-aroma.compact,
.product-color.compact {
  gap: 6px;
  margin-bottom: 12px;
}

.product-aroma-mode {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.product-color {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.product-quantity {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.product-quantity.compact {
  gap: 6px;
  margin-bottom: 12px;
}

.product-quantity.compact .quantity-stepper button {
  width: 30px;
  height: 30px;
  font-size: 16px;
}

.product-quantity.compact .quantity-stepper input {
  width: 56px;
  font-size: 13px;
  padding: 6px 8px;
}

.aroma-label,
.variant-label,
.quantity-label,
.color-label,
.mode-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.mode-chips {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mode-chip {
  border: 1px solid rgba(200, 163, 139, 0.4);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.mode-chip.active {
  border-color: var(--accent);
  box-shadow: 0 12px 24px rgba(126, 72, 35, 0.18);
  background: linear-gradient(120deg, #f3d9c2, #e7bb93);
  color: #4a2a16;
}

.variant-note {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  background: rgba(247, 239, 232, 0.9);
  border: 1px solid rgba(200, 163, 139, 0.2);
  border-radius: 14px;
  padding: 8px 10px;
}

.aroma-select,
.variant-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(200, 163, 139, 0.35);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
}

.option-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.product-variant.compact .option-group {
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 6px;
}

.product-aroma.compact .option-group {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.product-color.compact .option-group {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.option-group-title {
  width: 100%;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-top: 6px;
}

.option-item {
  border: 1px solid rgba(200, 163, 139, 0.35);
  border-radius: 12px;
  padding: 8px 10px;
  display: grid;
  gap: 6px;
  background: rgba(255, 255, 255, 0.92);
  min-height: 56px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.product-variant.compact .option-item {
  min-height: 40px;
  padding: 6px 8px;
  border-radius: 10px;
}

.product-aroma.compact .option-item,
.product-color.compact .option-item {
  min-height: 58px;
  padding: 6px 8px;
  border-radius: 10px;
}

/* Aroma y color usan el mismo tamaño (uniformidad visual) */
.product-aroma .option-item,
.product-color .option-item {
  min-height: 58px;
  padding: 6px 8px;
}

.product-aroma .option-chip,
.product-color .option-chip {
  font-size: 12px;
}

.product-aroma .option-stepper,
.product-color .option-stepper {
  justify-content: center;
}

.product-aroma .option-stepper button,
.product-color .option-stepper button {
  width: 24px;
  height: 24px;
  font-size: 13px;
}

.product-aroma .option-stepper input,
.product-color .option-stepper input {
  width: 38px;
  font-size: 12px;
  padding: 3px 4px;
  text-align: center;
}

.option-item.active {
  border-color: var(--accent);
  box-shadow: 0 12px 24px rgba(126, 72, 35, 0.18);
}

/* A3: pop visual al incrementar cantidad */
@keyframes chipPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.06); box-shadow: 0 10px 22px rgba(200, 163, 139, 0.5); }
  100% { transform: scale(1); }
}
.option-item.just-active {
  animation: chipPop 240ms ease-out;
}

.option-item.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.option-chip {
  width: 100%;
  display: block;
  border: none;
  background: transparent;
  color: var(--ink);
  padding: 0;
  font-size: 13px;
  text-align: center;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.option-chip:focus-visible,
.mode-chip:focus-visible,
.option-stepper button:focus-visible,
.quantity-stepper button:focus-visible {
  outline: 2px solid rgba(200, 163, 139, 0.6);
  outline-offset: 2px;
}

.option-item:hover,
.mode-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(43, 34, 31, 0.08);
}

.option-item:active,
.mode-chip:active {
  transform: translateY(0);
}

.variant-pricing {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 4px 0 6px;
  max-width: 520px;
}

.variant-card {
  border: 1px solid rgba(200, 163, 139, 0.25);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  gap: 6px;
}

.variant-card h4 {
  margin: 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.variant-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.option-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.option-stepper button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(200, 163, 139, 0.45);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
}

.option-stepper input {
  width: 52px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid rgba(200, 163, 139, 0.35);
  padding: 6px 8px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.92);
}

.option-item[data-tone="neutral"] .option-stepper button {
  background: rgba(244, 239, 235, 0.65);
  border-color: rgba(188, 166, 154, 0.4);
}

.option-item[data-tone="citrus"] .option-stepper button {
  background: rgba(255, 234, 198, 0.65);
  border-color: rgba(236, 180, 90, 0.45);
}

.option-item[data-tone="floral"] .option-stepper button {
  background: rgba(245, 216, 226, 0.65);
  border-color: rgba(214, 147, 174, 0.4);
}

.option-item[data-tone="herbal"] .option-stepper button {
  background: rgba(215, 236, 220, 0.65);
  border-color: rgba(138, 182, 150, 0.4);
}

.option-item[data-tone="woody"] .option-stepper button {
  background: rgba(230, 216, 199, 0.65);
  border-color: rgba(178, 145, 112, 0.4);
}

.option-item[data-tone="gourmand"] .option-stepper button {
  background: rgba(237, 217, 197, 0.65);
  border-color: rgba(183, 140, 97, 0.4);
}

.option-item[data-tone="fresh"] .option-stepper button {
  background: rgba(212, 232, 241, 0.65);
  border-color: rgba(133, 174, 197, 0.4);
}

.option-item[data-tone="berry"] .option-stepper button {
  background: rgba(230, 205, 228, 0.65);
  border-color: rgba(171, 124, 169, 0.4);
}

.option-item[data-tone="neutral"] .option-stepper input {
  background: rgba(244, 239, 235, 0.75);
  border-color: rgba(188, 166, 154, 0.35);
}

.option-item[data-tone="citrus"] .option-stepper input {
  background: rgba(255, 234, 198, 0.75);
  border-color: rgba(236, 180, 90, 0.4);
}

.option-item[data-tone="floral"] .option-stepper input {
  background: rgba(245, 216, 226, 0.75);
  border-color: rgba(214, 147, 174, 0.35);
}

.option-item[data-tone="herbal"] .option-stepper input {
  background: rgba(215, 236, 220, 0.75);
  border-color: rgba(138, 182, 150, 0.35);
}

.option-item[data-tone="woody"] .option-stepper input {
  background: rgba(230, 216, 199, 0.75);
  border-color: rgba(178, 145, 112, 0.35);
}

.option-item[data-tone="gourmand"] .option-stepper input {
  background: rgba(237, 217, 197, 0.75);
  border-color: rgba(183, 140, 97, 0.35);
}

.option-item[data-tone="fresh"] .option-stepper input {
  background: rgba(212, 232, 241, 0.75);
  border-color: rgba(133, 174, 197, 0.35);
}

.option-item[data-tone="berry"] .option-stepper input {
  background: rgba(230, 205, 228, 0.75);
  border-color: rgba(171, 124, 169, 0.35);
}

.option-item[data-tone="neutral"] {
  background: rgba(244, 239, 235, 0.9);
  border-color: rgba(188, 166, 154, 0.35);
}

.option-item[data-tone="citrus"] {
  background: rgba(255, 234, 198, 0.9);
  border-color: rgba(236, 180, 90, 0.4);
}

.option-item[data-tone="floral"] {
  background: rgba(245, 216, 226, 0.9);
  border-color: rgba(214, 147, 174, 0.35);
}

.option-item[data-tone="herbal"] {
  background: rgba(215, 236, 220, 0.9);
  border-color: rgba(138, 182, 150, 0.35);
}

.option-item[data-tone="woody"] {
  background: rgba(230, 216, 199, 0.9);
  border-color: rgba(178, 145, 112, 0.35);
}

.option-item[data-tone="gourmand"] {
  background: rgba(237, 217, 197, 0.9);
  border-color: rgba(183, 140, 97, 0.35);
}

.option-item[data-tone="fresh"] {
  background: rgba(212, 232, 241, 0.9);
  border-color: rgba(133, 174, 197, 0.35);
}

.option-item[data-tone="berry"] {
  background: rgba(230, 205, 228, 0.9);
  border-color: rgba(171, 124, 169, 0.35);
}

.quantity-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.quantity-stepper button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(200, 163, 139, 0.45);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quantity-stepper button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(43, 34, 31, 0.1);
}

.quantity-stepper input {
  width: 64px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(200, 163, 139, 0.35);
  padding: 8px 10px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.92);
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 14px;
}

.btn-order {
  background: linear-gradient(120deg, #f3d9c2, #e7bb93);
  color: #4a2a16;
  border: 1px solid rgba(165, 106, 64, 0.3);
  box-shadow: 0 12px 24px rgba(126, 72, 35, 0.18);
  padding: 13px 24px;
  font-weight: 700;
  animation: ctaGlow 3.2s ease-in-out infinite;
}

.btn-order::after {
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.btn-order:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 34px rgba(126, 72, 35, 0.24);
}

@keyframes ctaGlow {
  0%,
  100% {
    box-shadow: 0 12px 24px rgba(126, 72, 35, 0.18);
  }
  55% {
    box-shadow: 0 18px 34px rgba(126, 72, 35, 0.26);
  }
}

.btn-info {
  background: linear-gradient(120deg, #e6e4df, #c9b9aa);
  color: #4a372d;
  border: 1px solid rgba(144, 108, 86, 0.3);
  box-shadow: 0 12px 24px rgba(90, 66, 52, 0.16);
}

.btn-info::after {
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

#order-submit.btn {
  padding: 13px 24px;
  font-weight: 700;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.related-marquee {
  position: relative;
  padding: 10px 2px 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 163, 139, 0.5) transparent;
}

.related-marquee::-webkit-scrollbar {
  height: 6px;
}
.related-marquee::-webkit-scrollbar-track {
  background: transparent;
}
.related-marquee::-webkit-scrollbar-thumb {
  background: rgba(200, 163, 139, 0.4);
  border-radius: 3px;
}
.related-marquee::-webkit-scrollbar-thumb:hover {
  background: rgba(200, 163, 139, 0.6);
}

.related-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 0 2px;
}

.related-card {
  scroll-snap-align: start;
}

/* Fades laterales para indicar más contenido */
.related-wrap {
  position: relative;
}
.related-wrap::before,
.related-wrap::after {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 18px;
  width: 40px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.related-wrap::before {
  left: 0;
  background: linear-gradient(to right, rgba(252, 244, 236, 0.95), transparent);
}
.related-wrap::after {
  right: 0;
  background: linear-gradient(to left, rgba(252, 244, 236, 0.95), transparent);
}
.related-wrap.has-overflow-start::before {
  opacity: 1;
}
.related-wrap.has-overflow-end::after {
  opacity: 1;
}

.related-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(200, 163, 139, 0.45);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 6px 16px rgba(43, 34, 31, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.related-nav:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 10px 20px rgba(43, 34, 31, 0.18);
}
.related-nav.related-prev { left: -8px; }
.related-nav.related-next { right: -8px; }
.related-nav[hidden] { display: none !important; }

@media (min-width: 900px) {
  .related-nav {
    display: inline-flex;
  }
}

.related-card {
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(200, 163, 139, 0.2);
  box-shadow: 0 18px 40px rgba(43, 34, 31, 0.1);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transform-origin: center;
  will-change: transform;
  width: 220px;
  flex: 0 0 220px;
}

.related-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.related-card-body {
  padding: 14px;
}

.related-card-body h3 {
  margin: 0 0 6px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
}

.related-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.related-card:hover {
  transform: scale(1.05);
  box-shadow: 0 22px 50px rgba(43, 34, 31, 0.18);
}

.related-card.is-focused {
  transform: scale(1.05);
  box-shadow: 0 22px 50px rgba(43, 34, 31, 0.18);
}

.meta-item {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  border: 1px solid var(--line);
}

.details-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.detail-section {
  padding: 6px 0 16px;
  border-bottom: 1px solid rgba(200, 163, 139, 0.2);
}

.detail-section:last-child {
  border-bottom: none;
}


.detail-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(233, 221, 211, 0.9), rgba(245, 238, 232, 0.9));
  color: #3c2d26;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  border: 1px solid rgba(200, 163, 139, 0.3);
  box-shadow: 0 8px 18px rgba(43, 34, 31, 0.08);
}

.detail-section p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.care-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.care-item {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fffdfb;
}

.care-item h4 {
  margin: 0 0 6px;
  font-size: 15px;
}

.care-item p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(17, 12, 10, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 999;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(920px, 92vw);
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-nav[disabled] {
  opacity: 0.4;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.site-footer {
  padding: 40px 6vw 60px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  background: linear-gradient(180deg, rgba(250, 231, 196, 0.6) 0%, rgba(232, 198, 140, 0.25) 100%);
  border-top: 1px solid rgba(198, 142, 66, 0.2);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: transform 0.2s ease, filter 0.2s ease;
  animation: whatsappFloat 4.2s ease-in-out infinite;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(26, 120, 74, 0.25));
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.02);
  filter: drop-shadow(0 14px 26px rgba(26, 120, 74, 0.3));
}

@keyframes whatsappFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageReveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes flameFlicker {
  0%,
  100% {
    transform: translateX(-50%) scale(0.98) rotate(-4deg);
    opacity: 0.85;
  }
  40% {
    transform: translateX(-48%) scale(1.08) rotate(6deg);
    opacity: 1;
  }
  70% {
    transform: translateX(-52%) scale(0.94) rotate(-6deg);
    opacity: 0.75;
  }
}

@keyframes flameDrift {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0);
  }
  30% {
    opacity: 0.22;
  }
  60% {
    opacity: 0.42;
    transform: translateY(-10px) translateX(6px);
  }
  100% {
    opacity: 0.1;
    transform: translateY(-4px) translateX(-6px);
  }
}

@keyframes flameIntro {
  0% {
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0.25;
  }
}

@keyframes ambienceFade {
  0% {
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0.25;
  }
}

@keyframes lightsReveal {
  0% {
    opacity: 0.9;
  }
  40% {
    opacity: 0.7;
  }
  70% {
    opacity: 0.45;
  }
  85% {
    opacity: 0.25;
  }
  95% {
    opacity: 0.14;
  }
  100% {
    opacity: 0.08;
  }
}

@keyframes logoSlide {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(1.08) translateY(12px);
  }
  70% {
    opacity: 1;
    transform: translateX(-50%) scale(1.08) translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}


@keyframes logoReveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logoMobileIntro {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.92);
  }
  25% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  70% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
}

@media (min-width: 900px) {
  body[data-page="velas"] .category-grid {
    grid-template-columns: repeat(2, minmax(0, 280px));
    justify-content: center;
  }

  body[data-page="product"] .product-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    align-items: start;
  }

  body[data-page="product"] .product-gallery {
    max-width: 560px;
  }

  body[data-page="product"][data-category="perlas"] .product-variant.compact .option-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-page="category"][data-category="wax-melts"] .product-grid {
    grid-template-columns: repeat(3, minmax(0, 280px));
    max-width: 920px;
  }

  body[data-page="order"] .hero-inner {
    max-width: 720px;
  }

  body[data-page="order"] .hero-title {
    font-size: clamp(34px, 5.5vw, 60px);
  }

  #category-hero .hero-inner {
    max-width: 720px;
  }

  #category-title {
    white-space: nowrap;
  }

  .product-hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }

  .main-image img {
    /* Altura que se adapta al viewport para que imagen + thumbs quepan sin scroll.
       Offset 276px = gallery top (94) + paddings + back-link + thumbs strip + margen. */
    height: clamp(320px, calc(100vh - 276px), 620px);
  }
}

@media (max-width: 1024px) {
  .hero.hero-split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-logo {
    margin-top: 0;
  }

  body[data-page="home"] .hero-inner {
    margin-top: 0;
  }

  body[data-page="home"] .hero-logo {
    margin-top: 0;
    left: 0;
    right: 0;
  }

  .product-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 8px 4vw 16px;
  }

  body[data-page="product"] .product-hero {
    padding-top: 8px;
  }

  .product-gallery {
    padding: 14px;
    border-radius: 20px;
  }

  .product-summary h1 {
    font-size: 32px;
  }


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

  .about-text {
    max-width: 100%;
  }

  .related-card {
    width: 200px;
    flex: 0 0 200px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 10px 5vw;
  }

  .logo {
    font-size: 20px;
  }

  .logo img {
    height: 26px;
  }

  .hero {
    padding: 12px 6vw 8px;
  }

  body[data-page="home"] .hero {
    position: relative;
  }

  .hero-title {
    font-size: clamp(34px, 10vw, 48px);
  }

  .hero-tagline {
    font-size: 16px;
  }

  body[data-page="home"] .hero-inner {
    text-align: center;
    align-items: center;
  }

  body[data-page="home"] .hero-actions {
    justify-content: center;
  }

  body[data-page="home"] .hero-highlights {
    justify-content: center;
  }

  body[data-page="home"] .hero-logo {
    display: none;
    margin: 0;
    padding: 0;
  }

  body[data-page="home"].intro-active .hero-logo {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%) !important;
    justify-content: center;
    align-items: center;
    width: 100vw;
    margin: 0;
    padding: 0;
    z-index: 6;
    pointer-events: none;
    animation: logoMobileIntro 5.6s ease 0.4s both;
  }

  body[data-page="home"].intro-ready .hero-logo {
    display: none;
  }

  body[data-page="home"] .hero-logo {
    margin-top: 0;
  }

  body[data-page="home"] .hero-logo img {
    width: clamp(260px, 80vw, 420px);
    max-width: 90vw;
    height: auto;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.28));
  }

  #category-title {
    white-space: normal;
  }

  .title-flames {
    right: 4vw;
    width: 190px;
    height: 200px;
  }

  .title-flames span:nth-child(1) {
    right: 8px;
  }

  .title-flames span:nth-child(2) {
    right: 52px;
    top: 50px;
  }

  .title-flames span:nth-child(3) {
    top: 102px;
  }

  .hero-text {
    font-size: 14px;
  }

  .hero-highlights {
    justify-content: center;
  }

  .product-actions {
    width: 100%;
  }

  .btn,
  .btn-outline {
    width: 100%;
  }

  .product-meta {
    grid-template-columns: 1fr;
  }

  .main-image img {
    height: clamp(260px, 55vh, 380px);
  }

  .thumbs {
    padding-bottom: 4px;
    --thumb-size: 64px;
    --thumb-gap: 8px;
    --thumb-strip: calc((var(--thumb-size) * 3) + (var(--thumb-gap) * 2));
    max-width: var(--thumb-strip);
  }

  /* Más padding lateral reducido para que la galería no ocupe "como desktop" */
  .product-hero {
    padding: 8px 3vw 14px;
    gap: 16px;
  }

  .product-gallery {
    padding: 10px;
    border-radius: 18px;
  }

  .product-summary {
    padding: 0 2px;
  }

  .product-summary h1 {
    font-size: 28px;
    line-height: 1.08;
    margin: 4px 0 8px;
  }

  .back-link {
    font-size: 12px;
  }

  /* Selectores algo más compactos en móvil */
  .product-aroma.compact .option-item,
  .product-color.compact .option-item {
    min-height: 54px;
    padding: 5px 6px;
  }
  .product-aroma .option-stepper button,
  .product-color .option-stepper button {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }
  .product-aroma .option-stepper input,
  .product-color .option-stepper input {
    width: 34px;
    font-size: 11px;
  }

  .thumbs-wrap {
    gap: 6px;
  }

  .thumb-nav {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .thumbs img {
    width: 64px;
    height: 64px;
  }

  .order-card {
    padding: 20px;
  }

  .order-summary h2 {
    font-size: 24px;
  }

  .section {
    padding: 52px 6vw 30px;
  }

  /* Nuestra promesa: marquee infinito en móvil */
  body[data-page="home"] #home-values .highlight-grid.values-marquee {
    display: block;
    overflow: hidden;
    padding-bottom: 10px;
    user-select: none;
    touch-action: pan-x;
  }

  body[data-page="home"] #home-values .values-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: valuesScroll var(--marquee-duration, 24s) linear infinite;
  }

  body[data-page="home"] #home-values .values-track .highlight-card {
    flex: 0 0 260px;
    min-width: 260px;
  }

  @keyframes valuesScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* Fallback si JS no activa marquee */
  body[data-page="home"] #home-values .highlight-grid:not(.values-marquee) {
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 82%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  body[data-page="home"] #home-values .highlight-grid:not(.values-marquee) .highlight-card {
    scroll-snap-align: start;
  }

  body[data-page="home"] #home-values .highlight-grid:not(.values-marquee)::-webkit-scrollbar {
    display: none;
  }


  .nav-toggle {
    display: inline-flex;
  }

  .top-nav {
    position: absolute;
    top: 100%;
    right: 5vw;
    background: #f6efe9;
    border: 1px solid rgba(200, 163, 139, 0.3);
    border-radius: 14px;
    padding: 12px 14px;
    flex-direction: column;
    gap: 12px;
    min-width: 220px;
    box-shadow: 0 18px 40px rgba(43, 34, 31, 0.12);
    display: flex;
    z-index: 12;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  }

  body.nav-open .top-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition: opacity 0.2s ease, transform 0.25s ease, visibility 0s;
  }

  .top-nav a {
    text-align: center;
  }

  .nav-lang {
    width: 100%;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(198, 142, 66, 0.35);
    justify-content: center;
  }

  .nav-toggle {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  body.nav-open .nav-toggle {
    transform: translateY(2px) scale(0.98);
  }
}

/* Remove number input spinners: change only via +/- buttons */
input[type='number']::-webkit-outer-spin-button,
input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type='number'] {
  -moz-appearance: textfield;
  appearance: textfield;
}

@media (max-width: 520px) {
  .top-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-ambience {
    opacity: 0.15;
  }

  .hero-title {
    font-size: clamp(30px, 10vw, 40px);
  }

  .card,
  .product-card {
    max-width: 100%;
  }

  .main-image img {
    height: 320px;
  }

  .lightbox-nav {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .thumbs img {
    width: 52px;
    height: 52px;
  }

  .order-card {
    padding: 16px;
  }

  .order-summary h2 {
    font-size: 22px;
  }

  .about-section {
    padding-top: 40px;
  }

  .about-section::before {
    width: 360px;
    height: 360px;
  }

  .about-image-card img {
    height: 300px;
  }

  .about-text {
    padding: 20px;
  }

  .related-card {
    width: 180px;
    flex: 0 0 180px;
  }

  .cookie-banner {
    padding: 12px 14px;
  }

  .section {
    padding: 44px 6vw 24px;
  }

  body[data-page="category"] .section {
    padding-top: 32px;
  }
}

@media (max-width: 680px) {
  .site-header {
    flex-direction: row;
    gap: 10px;
    align-items: center;
  }

  .top-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 50px 8vw;
    min-height: auto;
  }

  .option-group {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .product-variant.compact .option-group {
    grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  }

  .product-aroma.compact .option-group,
  .product-color.compact .option-group {
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  }

  body[data-page="product"][data-category="perlas"] .variant-pricing {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body[data-page="product"][data-category="perlas"] .variant-card {
    padding: 10px 12px;
  }

  body[data-page="order"] .hero,
  body[data-page="velas"] .hero,
  body[data-page="category"] .hero,
  body[data-page="about"] .hero,
  body[data-page="legal"] .hero {
    padding-top: var(--hero-offset);
  }

  body[data-page="category"] .hero {
    padding-top: var(--hero-offset);
    padding-bottom: 16px;
  }

  .section {
    padding: 50px 8vw 30px;
  }

  body[data-page="category"] .section {
    padding-top: 34px;
  }

  .hero.hero-split {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-logo {
    justify-content: flex-start;
  }

  main {
    padding-top: 78px;
  }

  body[data-page="order"] main,
  body[data-page="velas"] main,
  body[data-page="category"] main,
  body[data-page="about"] main,
  body[data-page="legal"] main,
  body[data-page="home"] main {
    padding-top: 0;
  }

  body[data-page="home"] .hero {
    padding-top: 90px;
  }
}
.btn,
.btn-outline,
.option-chip,
.mode-chip,
.nav-toggle,
.lang-btn,
.image-nav,
.lightbox-nav,
.lightbox-close,
button {
  -webkit-tap-highlight-color: transparent;
}

.btn:active,
.btn-outline:active,
.option-chip:active,
.mode-chip:active,
.image-nav:active,
.lightbox-nav:active,
.lightbox-close:active,
button:active {
  transform: translateY(1px);
}

/* ===== Desglose de precio plegable (F3.1) ===== */
.price-breakdown {
  display: block;
  margin-top: 10px;
  width: 100%;
  border-top: 1px dashed rgba(200, 163, 139, 0.4);
  padding-top: 8px;
}
.price-breakdown > summary {
  cursor: pointer;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  list-style: none;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  transition: color 0.2s ease;
}
.price-breakdown > summary::-webkit-details-marker {
  display: none;
}
.price-breakdown > summary::after {
  content: '▾';
  font-size: 10px;
  transition: transform 0.2s ease;
}
.price-breakdown[open] > summary::after {
  transform: rotate(180deg);
}
.price-breakdown > summary:hover {
  color: var(--ink);
}
.price-breakdown-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
  /* A4: animación suave al expandir/colapsar */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 280ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 220ms ease,
    padding 220ms ease;
}
.price-breakdown[open] .price-breakdown-list {
  max-height: 400px;
  opacity: 1;
  padding: 8px 0 0;
}

/* Respeto de reduced-motion: desactiva todas las animaciones añadidas */
@media (prefers-reduced-motion: reduce) {
  .has-overflow.is-expanded .option-item.is-collapsed,
  .option-item.just-active,
  .variant-note.aroma-progress.is-complete,
  .variant-note.color-progress.is-complete,
  .variant-note.aroma-progress.is-complete::before,
  .variant-note.color-progress.is-complete::before,
  .price-breakdown-list {
    animation: none !important;
    transition: none !important;
  }
}
.price-breakdown-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink);
  padding: 3px 0;
  gap: 16px;
}
.price-breakdown-label {
  color: var(--muted);
}
.price-breakdown-value {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.price-breakdown-total {
  border-top: 1px solid rgba(200, 163, 139, 0.35);
  margin-top: 4px;
  padding-top: 8px !important;
}
.price-breakdown-total .price-breakdown-label,
.price-breakdown-total .price-breakdown-value {
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
}

/* ===== Overflow toggle (ver todos / ver menos) ===== */
/* Colapsados: ocultos completamente (no hay forma limpia de animar display:none;
   mantenemos el layout igual que antes). */
.has-overflow:not(.is-expanded) .option-item.is-collapsed {
  display: none;
}

/* A1: al expandir, los chips entran con cascade usando keyframe + delay por chip-index.
   Al colapsar, animación inversa con --chip-index-reverse (último chip se va primero). */
@keyframes chipCascade {
  0%   { opacity: 0; transform: translateY(-8px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes chipCascadeOut {
  0%   { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-8px) scale(0.96); }
}
.has-overflow.is-expanded .option-item.is-collapsed {
  animation: chipCascade 320ms cubic-bezier(0.2, 0.9, 0.3, 1) backwards;
  animation-delay: calc(var(--chip-index, 0) * 28ms);
}
/* Mientras la clase is-collapsing está presente, items siguen visibles pero
   ejecutan la animación inversa. Al terminar, JS remueve is-expanded y caen a
   display: none. */
.has-overflow.is-expanded.is-collapsing .option-item.is-collapsed {
  animation: chipCascadeOut 320ms cubic-bezier(0.4, 0, 1, 1) forwards;
  animation-delay: calc(var(--chip-index-reverse, 0) * 28ms);
}

.overflow-toggle {
  display: inline-block;
  margin: 10px auto 0;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px dashed rgba(200, 163, 139, 0.5);
  border-radius: 10px;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  width: auto;
  text-align: center;
  font-weight: 600;
  align-self: center;
}
.has-overflow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.has-overflow > .overflow-toggle {
  align-self: center;
}
.overflow-toggle:hover {
  background: rgba(250, 222, 175, 0.25);
  border-color: rgba(200, 163, 139, 0.8);
  color: #7a4a1f;
}
.overflow-toggle:focus-visible {
  outline: 2px solid rgba(200, 163, 139, 0.6);
  outline-offset: 2px;
}

/* ===== Estados de selección (F1.2 / F1.3) ===== */
.product-price.price-pending {
  opacity: 0.6;
  position: relative;
}
.product-price.price-pending::after {
  content: 'Completa la selección de aromas para confirmar';
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #7a4a1f;
  font-style: italic;
  font-weight: 500;
}
html[lang="ca"] .product-price.price-pending::after {
  content: 'Completa la selecció d’aromes per confirmar';
}

.variant-note.aroma-progress,
.variant-note.color-progress {
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border-radius: 10px;
  padding: 6px 10px;
  border: 1px solid transparent;
  margin: 4px 0 8px;
}
.variant-note.aroma-progress.is-incomplete,
.variant-note.color-progress.is-incomplete {
  color: #7a4a1f;
  background: rgba(250, 222, 175, 0.35);
  border-color: rgba(200, 163, 139, 0.4);
}
.variant-note.aroma-progress.is-complete,
.variant-note.color-progress.is-complete {
  color: #2f6b2f;
  background: rgba(184, 228, 188, 0.3);
  border-color: rgba(100, 170, 110, 0.3);
}
.variant-note.aroma-progress.is-complete::before,
.variant-note.color-progress.is-complete::before {
  content: '✓ ';
  font-weight: 700;
  display: inline-block;
  animation: checkIn 420ms cubic-bezier(0.2, 1.3, 0.4, 1);
}

/* A2: celebración al completar selección (aroma o color) */
@keyframes bloomPulse {
  0%   { box-shadow: 0 0 0 0 rgba(100, 170, 110, 0.55); transform: scale(1); }
  50%  { box-shadow: 0 0 0 14px rgba(100, 170, 110, 0);  transform: scale(1.012); }
  100% { box-shadow: 0 0 0 0 rgba(100, 170, 110, 0);     transform: scale(1); }
}
@keyframes checkIn {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.variant-note.aroma-progress.is-complete,
.variant-note.color-progress.is-complete {
  animation: bloomPulse 720ms ease-out;
}

/* ===== Galería sticky en desktop (A) =====
   El `top` coincide con la posición natural de la galería (main padding-top 78
   + hero padding-top 40 = 118) para que no haya desplazamiento visual en el
   primer scroll: la imagen queda fija desde el primer pixel de scroll. */
@media (min-width: 1025px) {
  body[data-page="product"] .product-hero {
    align-items: start;
  }
  body[data-page="product"] .product-gallery {
    position: sticky;
    top: 94px;
    align-self: start;
    z-index: 2;
  }
}

/* ===== Popup de bienvenida diario ===== */
.velariis-welcome-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms ease, visibility 320ms ease;
}

.velariis-welcome-popup.is-visible {
  opacity: 1;
  visibility: visible;
}

.welcome-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 34, 31, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.welcome-dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 36px 32px 24px;
  background: linear-gradient(180deg, #fff9f1 0%, #fbefdf 100%);
  border: 1px solid rgba(200, 163, 139, 0.4);
  border-radius: 24px;
  box-shadow: 0 32px 64px rgba(43, 34, 31, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  text-align: center;
  transform: scale(0.94) translateY(12px);
  opacity: 0;
  transition: transform 380ms cubic-bezier(0.2, 1.3, 0.4, 1), opacity 300ms ease;
}

.velariis-welcome-popup.is-visible .welcome-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.welcome-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: rgba(43, 34, 31, 0.55);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.welcome-close:hover {
  background: rgba(200, 163, 139, 0.2);
  color: var(--ink);
}

.welcome-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
.welcome-logo img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(120, 80, 30, 0.25));
}

.welcome-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
  font-weight: 500;
}

.welcome-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  line-height: 1;
  margin: 0 0 4px;
  color: var(--ink);
  letter-spacing: 1px;
}

.welcome-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: #8a6a45;
  margin: 0 0 18px;
}

.welcome-body {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(43, 34, 31, 0.78);
  margin: 0 auto 22px;
  max-width: 340px;
}

.welcome-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  background: linear-gradient(135deg, #c68e42 0%, #8b5a2b 100%);
  color: #fff9ed;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(140, 90, 40, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  border: none;
  cursor: pointer;
}
.welcome-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(140, 90, 40, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(1.05);
}
.welcome-cta:active {
  transform: translateY(0);
}
.welcome-ig-icon {
  flex: 0 0 auto;
}

.welcome-share-title {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 26px 0 12px;
  position: relative;
}
.welcome-share-title::before,
.welcome-share-title::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(200, 163, 139, 0.5);
  vertical-align: middle;
  margin: 0 10px;
}

.welcome-share-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.welcome-share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(200, 163, 139, 0.45);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  position: relative;
}
.welcome-share-btn:hover {
  transform: translateY(-2px);
  background: rgba(198, 142, 66, 0.12);
  border-color: rgba(198, 142, 66, 0.7);
  color: #7e4823;
}
.welcome-share-btn.is-copied {
  background: rgba(100, 170, 110, 0.18);
  border-color: rgba(100, 170, 110, 0.5);
  color: #2f6b2f;
}
.welcome-share-btn.is-copied::after {
  content: '¡Copiado!';
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: #2f6b2f;
  white-space: nowrap;
  animation: copiedFade 1.6s ease;
}
@keyframes copiedFade {
  0%, 100% { opacity: 0; }
  15%, 85% { opacity: 1; }
}

.welcome-never {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--muted);
  cursor: pointer;
  padding: 8px 12px;
  user-select: none;
  transition: color 0.2s ease;
}
.welcome-never:hover {
  color: var(--ink);
}
.welcome-never-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.welcome-never-box {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid rgba(200, 163, 139, 0.7);
  background: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}
.welcome-never-box::after {
  content: '';
  width: 4px;
  height: 8px;
  border: solid transparent;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: border-color 0.2s ease;
}
.welcome-never-input:checked + .welcome-never-box {
  background: #8b5a2b;
  border-color: #8b5a2b;
}
.welcome-never-input:checked + .welcome-never-box::after {
  border-color: #fff9ed;
}
.welcome-never-input:focus-visible + .welcome-never-box {
  outline: 2px solid rgba(200, 163, 139, 0.6);
  outline-offset: 2px;
}

body.has-welcome-popup {
  overflow: hidden;
}

@media (max-width: 520px) {
  .welcome-dialog {
    padding: 28px 20px 18px;
    border-radius: 20px;
  }
  .welcome-title {
    font-size: 36px;
  }
  .welcome-tagline {
    font-size: 16px;
  }
  .welcome-cta {
    padding: 11px 20px;
    font-size: 13px;
    letter-spacing: 1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .velariis-welcome-popup,
  .welcome-dialog,
  .welcome-share-btn,
  .welcome-cta,
  .welcome-share-btn.is-copied::after {
    transition: none !important;
    animation: none !important;
  }
  .welcome-dialog {
    transform: none;
    opacity: 1;
  }
}

