/* Love Ritual Spells · diseño "Noche celeste" (evolución de "Amanecer celeste")
   Colores y tipografías se cambian en el bloque :root. */

@font-face { font-family: 'Alice'; src: url('../fonts/alice.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url('../fonts/hanken-grotesk.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Pinyon Script'; src: url('../fonts/pinyon-script.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --mist: #f7f4fb;
  --white: #ffffff;
  --ink: #1f1a3d;
  --peri: #5b4fc4;
  --lilac: #ebe5fb;
  --rose: #f5b0cf;
  --rose-ink: #a8487a;
  --glow: #c9b8ff;
  --gold: #c9a45c;
  --soft: #595478;
  --soft-night: #c8c5df;
  --line: #e4ddf1;
  --line-night: rgba(255, 255, 255, .16);
  --night: #0d0b21;
  --ok: #2f7a5b;
  --warn: #9a5b12;
  --coral: #ef9e80;
  --sky: radial-gradient(55rem 32rem at 82% 8%, rgba(214, 120, 196, .34), transparent 62%),
         radial-gradient(48rem 30rem at 6% 96%, rgba(86, 92, 214, .32), transparent 62%),
         radial-gradient(30rem 20rem at 50% 50%, rgba(120, 90, 210, .12), transparent 70%),
         linear-gradient(180deg, #0a0820 0%, #161038 100%);
  --display: 'Alice', 'Iowan Old Style', Georgia, serif;
  --body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Pinyon Script', 'Snell Roundhand', cursive;
  --wrap: 75rem;
  --gap: clamp(1.25rem, 4vw, 2.75rem);
  --section: clamp(4rem, 9vw, 7rem);
  --radius: .5rem;
  --shadow: 0 1px 0 rgba(31, 26, 61, .05), 0 24px 48px -32px rgba(31, 26, 61, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.45rem; line-height: 1.2; }
h1 em, h2 em { font-style: normal; color: var(--peri); }
.eyebrow { display: block; font-family: var(--body); font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--rose-ink); margin-bottom: 1rem; }
p { margin: 0; }
p + p { margin-top: 1em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--peri); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--peri); outline-offset: 3px; border-radius: 4px; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.center { text-align: center; }
.soft { color: var(--soft); }
.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--soft); }
.skip { position: absolute; left: -999px; top: 0; z-index: 60; background: var(--white); padding: .75rem 1rem; }
.skip:focus { left: .5rem; top: .5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section { padding-top: var(--section); }
.section:last-child { padding-bottom: var(--section); }

/* Botones: rectos, en mayúsculas finas */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.3rem; padding: 0 1.9rem; border-radius: 4px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: inherit; font-weight: 700; font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; position: relative; overflow: hidden; transition: background .3s, color .3s, border-color .3s; }
.btn::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.35), rgba(255,255,255,0)); transform: skewX(-20deg); transition: left .7s; }
.btn:hover { color: #fff; }
.btn:hover::after { left: 130%; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-light { background: transparent; color: var(--ink); border: 1px solid rgba(31, 26, 61, .3); }
.btn-light:hover { color: var(--ink); border-color: var(--ink); }
.btn-small { min-height: 2.75rem; padding: 0 1.2rem; font-size: .78rem; }
.btn-wide { width: 100%; }
.ghost { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 4px; }
.ghost::after { content: '→'; letter-spacing: 0; margin-left: .15rem; transition: transform .3s; }
.ghost:hover { border-bottom-color: currentColor; }
.ghost:hover::after { transform: translateX(4px); }

/* Zonas de noche: cabecera, tarot, bloque final y pie */
.night { position: relative; background: var(--sky); color: #fff; }
.night h1 em, .night h2 em { color: var(--glow); }
.night .eyebrow { color: var(--rose); }
.night .lead, .night .soft, .night .head p { color: var(--soft-night); }
.night a:not(.btn):not(.fan) { color: #fff; }
.night .btn { background: var(--rose); border-color: var(--rose); color: var(--night); }
.night .btn:hover { background: #fff; border-color: #fff; color: var(--night); }
.night .btn-light { background: transparent; color: #fff; border-color: rgba(245, 176, 207, .55); }
.night .btn-light:hover { background: rgba(255,255,255,.08); color: #fff; }
.night .ghost { color: #fff; border-bottom-color: rgba(245, 176, 207, .7); }
.night :focus-visible { outline-color: var(--rose); }
.band { overflow: hidden; padding-block: var(--section); margin-top: calc(var(--section) * .75); }
.band + .wrap > .section:first-child { padding-top: var(--section); }

/* Estrellas y animaciones */
.stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.tw { animation: twinkle 4s ease-in-out infinite; }
.tw.d2 { animation-delay: 1.3s; } .tw.d3 { animation-delay: 2.6s; } .tw.d4 { animation-delay: .7s; }
.glow { animation: breathe 5s ease-in-out infinite; }
.shoot { position: absolute; top: 7rem; left: 58%; width: 140px; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff); transform: rotate(-24deg); opacity: 0; animation: shoot 9s ease-in 3s infinite; pointer-events: none; }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes breathe { 0%, 100% { opacity: .5; } 50% { opacity: .9; } }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes shoot { 0% { opacity: 0; transform: rotate(-24deg) translateX(0); } 3% { opacity: 1; } 10% { opacity: 0; transform: rotate(-24deg) translateX(-260px); } 100% { opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Cabecera */
.dawn { position: relative; overflow: hidden; }
.site-top { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.6rem 1.2rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: #fff; }
.night .brand { color: #fff; }
.nav { display: flex; gap: clamp(1rem, 2vw, 1.9rem); list-style: none; }
.nav a { display: block; padding-block: .5rem; text-decoration: none; font-weight: 700; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; background-image: linear-gradient(var(--rose), var(--rose)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 85%; transition: background-size .4s; }
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 1px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: .7rem 1.1rem; border-radius: 4px; border: 1px solid rgba(245, 176, 207, .55); color: #fff; }
.menu summary::-webkit-details-marker { display: none; }
.menu .nav { position: absolute; right: 0; top: calc(100% + .6rem); flex-direction: column; gap: 0; min-width: 15rem; padding: .4rem 1.2rem; background: #17113a; border: 1px solid var(--line-night); border-radius: var(--radius); box-shadow: 0 24px 48px -20px rgba(0,0,0,.6); }
.menu .nav li + li { border-top: 1px solid var(--line-night); }
.menu .nav a { padding-block: .85rem; background: none; }
@media (max-width: 74rem) { .site-top > nav { display: none; } .menu { display: block; } }
.nebula { position: absolute; border-radius: 50%; filter: blur(40px); pointer-events: none; opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.nebula.n1 { width: 28rem; height: 18rem; right: -6rem; top: 6rem; background: radial-gradient(closest-side, rgba(245, 150, 200, .45), transparent); }
.nebula.n2 { width: 24rem; height: 16rem; left: -8rem; bottom: -4rem; background: radial-gradient(closest-side, rgba(110, 120, 240, .45), transparent); animation-delay: -6s; }
@keyframes drift { to { transform: translate(-3rem, 1.5rem) scale(1.08); } }

/* Portada */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: center; padding-block: 2.5rem 6rem; }
.hero h1 { font-size: clamp(2.7rem, 5.4vw, 4.6rem); line-height: 1.06; }
.hero .lead { max-width: 33rem; margin-top: 1.75rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }
.wheel { position: relative; aspect-ratio: 1; width: 100%; max-width: 34rem; margin-left: auto; }
.wheel > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.w-names text { fill: rgba(255, 255, 255, .78); font-family: var(--display); font-style: italic; font-size: 17px; letter-spacing: .06em; }
.w-names text.is-hl { fill: var(--rose); }
.w-glyph { stroke: #fff; stroke-opacity: .85; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.w-glyph.is-hl { stroke: var(--rose); stroke-opacity: 1; stroke-width: 1.4; filter: drop-shadow(0 0 6px rgba(245, 176, 207, .9)); }
.w-hl { animation: breathe 5s ease-in-out infinite; }
.w-badge .ph { color: #fff; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s cubic-bezier(.6, .1, .2, 1) forwards; }
.draw.d2 { animation-delay: .35s; } .draw.d3 { animation-delay: .7s; }
.wheel > svg:not(.w-halo) { opacity: 0; animation-name: rise, turn; animation-duration: 1.6s, var(--spin, 0s); animation-timing-function: ease-out, linear; animation-fill-mode: forwards, none; animation-iteration-count: 1, infinite; }
.w-ticks { --spin: 220s; animation-direction: normal, reverse; }
.w-zodiac { --spin: 480s; animation-delay: .2s, 0s; }
.w-days { animation-delay: .5s, 0s; }
.w-moon { animation-delay: .8s, 0s; }
.w-orbit { --spin: 36s; animation-delay: 1.2s, 0s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wheel > svg { opacity: 1 !important; } .draw { stroke-dashoffset: 0; } }
.moonline { display: flex; align-items: center; gap: .9rem; margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line-night); max-width: 33rem; }
.moonline svg { flex: none; }
.moonline p { font-size: .95rem; color: var(--soft-night); }
.moonline strong { color: #fff; }
.ph .ph-disc { fill: none; stroke: currentColor; stroke-opacity: .45; }
.ph .ph-lit { fill: currentColor; fill-opacity: .45; }
.ph.is-now .ph-disc { stroke: var(--rose); stroke-opacity: 1; stroke-width: 1.2; }
.ph.is-now .ph-lit { fill: var(--rose); fill-opacity: 1; }
@media (max-width: 56rem) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-bottom: 4rem; }
  .wheel { margin: 0 auto; max-width: 21rem; order: -1; }
}

/* Cifras */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; padding-top: 3.5rem; list-style: none; }
.facts li { text-align: center; padding-inline: .75rem; position: relative; }
.facts li + li::before { content: ''; position: absolute; left: -.75rem; top: .9rem; bottom: .9rem; width: 1px; background: linear-gradient(180deg, rgba(168,72,122,0), rgba(168,72,122,.45), rgba(168,72,122,0)); }
.facts strong { display: block; font-family: var(--display); font-weight: 400; font-size: 2.1rem; line-height: 1.15; }
.facts span { color: var(--soft); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 48rem) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts li + li::before { display: none; } .facts strong { font-size: 1.6rem; } .facts span { font-size: .7rem; letter-spacing: .1em; line-height: 1.5; display: block; margin-top: .3rem; } }

/* Encabezados de sección */
.head { text-align: center; max-width: 42rem; margin: 0 auto 3.5rem; }
.head .spark { display: block; margin: 0 auto 1.1rem; }
.head p { color: var(--soft); margin-top: .9rem; }
.head .more { display: inline-block; margin-top: 1.1rem; }

/* Cartas de producto */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); gap: 3rem 2.5rem; list-style: none; }
.cards[data-n="1"] { max-width: 24rem; margin-inline: auto; }
.cards[data-n="2"] { max-width: 52rem; margin-inline: auto; }
.card a { display: block; color: var(--ink); text-decoration: none; }
.tcard { position: relative; aspect-ratio: 5 / 8; background: var(--white); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); transition: transform .7s cubic-bezier(.2,.7,.2,1); overflow: hidden; }
.card a:hover .tcard { transform: translateY(-10px) rotate(-1deg); }
.tcard::after { content: ''; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.6), rgba(255,255,255,0)); transform: skewX(-18deg); transition: left 1s; pointer-events: none; }
.card a:hover .tcard::after { left: 140%; }
.inner { position: relative; height: 100%; border: 1px solid var(--gold); border-radius: 3px; padding: 1.1rem 1rem; display: flex; flex-direction: column; align-items: center; }
.inner::before { content: ''; position: absolute; inset: 5px; border: 1px solid rgba(201,164,92,.45); border-radius: 2px; pointer-events: none; }
.sym { width: 2.75rem; height: 2.75rem; flex: none; }
.window { position: relative; width: 100%; flex: 1; margin: .9rem 0; border-radius: 999px / 60% 60% 40% 40%; overflow: hidden; background: linear-gradient(180deg, #ddd5f6 0%, #f3e3f0 55%, #fde3d4 100%); }
.window img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.window svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cname { font-family: var(--display); font-size: 1.35rem; line-height: 1.1; text-align: center; }
.alias { font-size: .85rem; font-weight: 600; color: var(--rose-ink); text-align: center; margin-top: .3rem; }
.below { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.25rem; padding-inline: .25rem; }
.price { font-family: var(--body); font-weight: 600; letter-spacing: -.01em; font-size: 1.4rem; line-height: 1; }
.below span:not(.price) { font-size: .875rem; color: var(--soft); text-align: right; }
.card .sum { color: var(--soft); font-size: .97rem; margin-top: .4rem; padding-inline: .25rem; }

/* Tirada de tarot en abanico */
.spread { display: flex; justify-content: center; align-items: flex-end; flex-wrap: wrap; padding-top: 1.25rem; list-style: none; }
.fan { display: block; width: 13rem; height: 19rem; margin: 0 -.9rem; background: var(--white); border-radius: var(--radius); padding: .75rem; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .5s cubic-bezier(.2,.7,.2,1); position: relative; }
.fan .inner { justify-content: space-between; padding: 1.4rem .8rem; text-align: center; }
.spread li:nth-child(1) .fan { transform: rotate(-10deg) translateY(18px); }
.spread li:nth-child(2) .fan { transform: rotate(-3.5deg); }
.spread li:nth-child(3) .fan { transform: rotate(3.5deg); }
.spread li:nth-child(4) .fan { transform: rotate(10deg) translateY(18px); }
.spread li:nth-child(n+5) .fan { transform: rotate(0); }
.fan:hover { transform: translateY(-22px) rotate(0) !important; z-index: 2; color: var(--ink); }
.night .fan { box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 40px -10px rgba(245,176,207,.35); }
.fan b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; padding-inline: .4rem; line-height: 1.1; }
.fan small { font-size: .85rem; color: var(--soft); }
@media (max-width: 56rem) { .fan { margin: .5rem; transform: none !important; width: 10.5rem; height: 15rem; } .fan b { font-size: 1.2rem; } }

/* Pasos como fases lunares */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem; list-style: none; text-align: center; }
.steps-wrap { position: relative; }
.steps-wrap .arc { position: absolute; left: 12%; top: 0; width: 76%; height: 70px; }
.steps li { position: relative; padding-top: .75rem; }
.steps .phase { display: block; margin: 0 auto 1.1rem; }
.steps h3 { font-size: 1.45rem; }
.steps p { color: var(--soft); font-size: .97rem; margin-top: .5rem; }
@media (max-width: 56rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps-wrap .arc { display: none; } }

/* Carta de Melanie */
.letter { position: relative; max-width: 54rem; margin: 0 auto; text-align: center; background: var(--white); border-radius: var(--radius); padding: clamp(2.75rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem); box-shadow: var(--shadow); }
.letter h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.letter p { color: var(--soft); max-width: 37rem; margin-inline: auto; }
.letter h2 + p { margin-top: 1.25rem; }
.sign { font-family: var(--script); font-size: 3.4rem; line-height: 1; color: var(--rose-ink) !important; margin-top: 1.4rem !important; }
.sign svg { display: inline-block; height: clamp(3.6rem, 7vw, 4.6rem); width: auto; max-width: 100%; vertical-align: middle; }
.letter .sign svg, .center .sign svg { margin-inline: auto; }
.rich .sign { text-align: left; }
.letter .const { position: absolute; right: 2.25rem; top: 1.9rem; width: 7.5rem; }
.letter .const2 { position: absolute; left: 2.25rem; bottom: 1.9rem; width: 5.6rem; }
@media (max-width: 40rem) { .letter .const, .letter .const2 { display: none; } }

/* Opiniones */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.75rem; }
.quote { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; }
.quote svg { display: block; margin-bottom: .9rem; }
.quote p { font-family: var(--display); font-size: 1.3rem; line-height: 1.45; }
.quote footer { margin-top: 1.1rem; color: var(--rose-ink); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

/* Bloque final */
.closing { position: relative; color: #fff; border-radius: var(--radius); padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.5rem, 4vw, 3rem); text-align: center; overflow: hidden; }
.closing h2 { position: relative; max-width: 44rem; margin: 0 auto; }
.closing p { position: relative; color: var(--soft-night); max-width: 33rem; margin: 1.1rem auto 0; }
.closing .actions { position: relative; justify-content: center; }

/* Pie */
.site-foot { position: relative; margin-top: calc(var(--section) / 2); background: var(--night); color: var(--soft-night); padding-block: 4.5rem 2.5rem; overflow: hidden; font-size: .95rem; }
.site-foot .grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-foot h2 { font-family: var(--body); font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); margin-bottom: 1rem; }
.site-foot .grid > div h2 { font-family: var(--display); font-size: 1.5rem; letter-spacing: 0; text-transform: none; color: #fff; }
.site-foot ul { list-style: none; display: grid; gap: .5rem; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; color: #fff; }
.site-foot .legal { position: relative; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.16); font-size: .85rem; max-width: 48rem; display: grid; gap: .5rem; }
@media (max-width: 56rem) { .site-foot .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Migas de pan */
.crumbs { position: relative; z-index: 2; font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soft-night); padding-top: .5rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem .55rem; }
.crumbs li + li::before { content: '/'; margin-right: .55rem; opacity: .5; }
.crumbs a { color: var(--soft-night) !important; text-decoration: none; }
.crumbs a:hover { color: #fff !important; }

/* Cabecera de páginas interiores */
.page-head { position: relative; padding-block: 2.5rem 4rem; }
.page-head h1 { max-width: 20ch; }
.page-head.center h1 { margin-inline: auto; }
.page-head .lead { margin-top: 1.25rem; max-width: 40rem; }
.page-head.center .lead { margin-inline: auto; }

/* Ficha de producto */
.product-top { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: 1.5rem 4.5rem; }
.bigcard { width: min(100%, 25rem); margin-inline: auto; aspect-ratio: 5 / 8; background: var(--white); border-radius: var(--radius); padding: 1rem; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,.75), 0 0 60px -10px rgba(245,176,207,.35); animation: float 7s ease-in-out infinite; }
.bigcard .cname { font-size: 1.6rem; }
.buy h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.buy .alias { text-align: left; font-size: 1rem; margin-top: .6rem; }
.buy .lead { margin-top: 1.1rem; }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 1.75rem; }
.buy-row .price { font-size: 2.4rem; }
.night .alias { color: var(--rose); }
.buy-row small { font-family: var(--body); font-size: .8rem; color: var(--soft-night); margin-left: .35rem; }
.facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1.75rem; list-style: none; }
.facts-grid li { background: rgba(255,255,255,.05); border: 1px solid var(--line-night); border-radius: var(--radius); padding: .85rem 1rem; font-size: .95rem; }
.facts-grid b { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); margin-bottom: .15rem; }
.notice { margin-top: 1.25rem; padding: .9rem 1.1rem; border-radius: var(--radius); background: #fff7ec; border: 1px solid #f1d8b0; color: var(--ink); font-size: .95rem; }
.notice.ok { background: #eef8f2; border-color: #bfe0cc; }
.notice.error { background: #fdf0f0; border-color: #f0c4c4; }
@media (max-width: 56rem) {
  .product-top { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .bigcard { width: min(80%, 19rem); }
  .buy .alias { text-align: center; }
  .buy-row { justify-content: center; flex-direction: column; }
  .facts-grid { text-align: left; }
}
.pbody { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(3rem, 6vw, 4.5rem); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 56rem) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.pbody h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 1.25rem; }
.checks { list-style: none; display: grid; gap: .8rem; }
.checks li { display: flex; gap: .8rem; align-items: flex-start; }
.checks svg { flex: none; margin-top: .3rem; }

/* Texto largo */
.rich { max-width: 42rem; }
.rich h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin: 2.5rem 0 1rem; }
.rich h2:first-child { margin-top: 0; }
.rich h3 { margin: 2rem 0 .75rem; }
.rich ul, .rich ol { padding-left: 1.3rem; display: grid; gap: .5rem; margin-block: 1em; }
.rich li::marker { color: var(--rose-ink); }
.rich p + h2, .rich ul + h2 { margin-top: 2.5rem; }

/* Formularios */
.panel { position: relative; background: var(--white); border-radius: var(--radius); padding: clamp(1.75rem, 5vw, 3rem); border: 1px solid var(--gold); max-width: 46rem; }
.panel::before { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(201,164,92,.4); border-radius: 3px; pointer-events: none; }
.panel > * { position: relative; }
.panel h2 { font-size: clamp(1.9rem, 3.2vw, 2.4rem); }
.panel > p { color: var(--soft); margin-top: .5rem; }
.form { display: grid; gap: 1.2rem; margin-top: 1.75rem; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .4rem; }
.field .hint { display: block; font-weight: 400; color: var(--soft); font-size: .88rem; }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #faf8ff; border: 1px solid #d3cae9; border-radius: 4px; padding: .8rem .95rem; }
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--peri); outline-offset: 1px; border-color: var(--peri); }
.field .err { display: block; color: #a12c2c; font-size: .9rem; font-weight: 600; margin-top: .3rem; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; font-size: .95rem; }
.consent input { width: 1.35rem; height: 1.35rem; margin-top: .15rem; accent-color: var(--ink); }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.total .price { font-size: 1.8rem; }
.small { font-size: .88rem; color: var(--soft); }
.hp { position: absolute !important; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* Preguntas frecuentes */
.faq { max-width: 46rem; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: '+'; position: absolute; right: .25rem; top: .8rem; font-family: var(--display); font-size: 1.8rem; color: var(--rose-ink); transition: transform .3s; }
.faq details[open] summary::before { transform: rotate(45deg); }
.faq details p { color: var(--soft); max-width: 40rem; }
.faq details p:last-child { padding-bottom: 1.25rem; }
.faq details p + p { margin-top: .8em; }

/* Lista para elegir */
.choose { list-style: none; max-width: 52rem; margin-inline: auto; }
.choose li { display: grid; grid-template-columns: 1fr auto; gap: .25rem 2rem; align-items: baseline; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.choose li:first-child { border-top: 1px solid var(--line); }
.choose a { font-family: var(--display); font-size: 1.35rem; text-decoration: none; }
@media (max-width: 40rem) { .choose li { grid-template-columns: 1fr; } }

/* Área del cliente y mensajes */
.account { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (max-width: 56rem) { .account { grid-template-columns: minmax(0, 1fr); } }
.box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2rem); }
.box + .box { margin-top: 1.5rem; }
.box h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.status { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 4px; background: var(--lilac); color: var(--ink); }
.status.delivered { background: #e3f3ea; color: #1f5a41; }
.timeline { list-style: none; display: grid; gap: .9rem; margin-top: 1rem; }
.timeline li { display: flex; gap: .8rem; align-items: center; color: var(--soft); }
.timeline li.done { color: var(--ink); font-weight: 600; }
.thread { display: grid; gap: 1rem; }
.msg { border-radius: var(--radius); padding: 1.1rem 1.25rem; background: var(--white); border: 1px solid var(--line); }
.msg.from-melanie { background: #f3efff; border-color: #dcd3f6; }
.msg.delivery { background: var(--white); border: 1px solid var(--gold); box-shadow: var(--shadow); }
.msg header { display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; color: var(--soft); margin-bottom: .5rem; }
.msg header b { color: var(--ink); }
.msg .body p + p { margin-top: .75em; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: .75rem; margin-top: 1rem; }
.photos a { display: block; border-radius: .8rem; overflow: hidden; border: 1px solid var(--line); background: var(--mist); }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.photos-big { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.photos-big figure { margin: 0; }
.photos-big img { aspect-ratio: auto; }
.photos-big figcaption { font-size: .88rem; margin-top: .4rem; }
.box.msg.delivery { padding: clamp(1.4rem, 4vw, 2rem); margin-bottom: 1.5rem; }
.box.msg.delivery .delivery-head { font-size: 2rem; margin: 0; }
.delivery-head { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-size: 1.6rem; margin-bottom: .6rem; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; font-size: .95rem; }
.kv dt { color: var(--soft); }
.kv dd { margin: 0; }
.order-list { list-style: none; display: grid; gap: 1rem; }
.order-list a { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.order-list a:hover { border-color: var(--gold); }
.order-list b { font-family: var(--display); font-weight: 400; font-size: 1.45rem; display: block; }

/* Aviso de la próxima ceremonia en la ficha */
.moon-note { display: flex; gap: 1rem; align-items: center; margin-top: 1.4rem; padding: .95rem 1.15rem; border: 1px solid rgba(245, 176, 207, .35); border-radius: var(--radius); background: rgba(255, 255, 255, .05); font-size: .95rem; color: var(--soft-night); }
.moon-note svg { flex: none; color: #fff; }
.moon-note .eyebrow { margin-bottom: .2rem; font-size: .7rem; }
.moon-note strong { color: #fff; }
@media (max-width: 56rem) { .moon-note { text-align: left; } }

/* Página de luna llena */
.moonline .moonlink { display: inline-block; margin-top: .5rem; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--rose); padding-bottom: 2px; }
.fm-next { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2rem; align-items: center; max-width: 52rem; margin: 0 auto 4.5rem; padding: 2rem clamp(1.25rem, 4vw, 2.5rem); border: 1px solid rgba(245, 176, 207, .35); border-radius: var(--radius); background: rgba(255, 255, 255, .05); }
.fm-moon .ph { color: #fff; filter: drop-shadow(0 0 28px rgba(245, 176, 207, .55)); }
.fm-moon .ph .ph-lit { fill: #f3eefe; fill-opacity: 1; }
.fm-moon .ph .ph-disc { stroke: rgba(255,255,255,.6); }
.fm-next h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.fm-date { font-size: 1.15rem; color: #fff; margin-top: .4rem; }
.fm-meaning { color: var(--soft-night); margin-top: .6rem; }
.fm-cut { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line-night); color: var(--soft-night); font-size: .95rem; }
.fm-cut strong { color: var(--rose); }
@media (max-width: 40rem) { .fm-next { grid-template-columns: 1fr; text-align: center; } .fm-moon { justify-self: center; } }
.fm-steps .ph { display: block; margin: 0 auto 1.1rem; color: var(--ink); }
.fm-steps .ph.is-now .ph-disc { stroke: var(--gold); } .fm-steps .ph.is-now .ph-lit { fill: var(--gold); }
.fm-cal { list-style: none; max-width: 52rem; margin-inline: auto; }
.fm-cal li { display: grid; grid-template-columns: 5.5rem minmax(0, 14rem) minmax(0, 1fr); gap: .3rem 1.5rem; align-items: baseline; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.fm-cal li:first-child { border-top: 1px solid var(--line); }
.fm-cal-date { font-family: var(--display); font-size: 1.35rem; }
.fm-cal .soft { font-size: .92rem; }
@media (max-width: 40rem) { .fm-cal li { grid-template-columns: 5rem minmax(0, 1fr); } .fm-cal li .soft { grid-column: 2; } }

/* Extras en el formulario de pedido */
.extras { border: 0; padding: 0; margin: .25rem 0 0; display: grid; gap: .6rem; min-width: 0; }
.extras legend { font-weight: 700; font-size: .92rem; margin-bottom: .5rem; padding: 0; }
.extras legend .hint { font-weight: 400; color: var(--soft); margin-left: .3rem; }
.extra { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .8rem; align-items: start; padding: .9rem 1rem; border: 1px solid #d9d0ee; border-radius: 4px; background: #fbf9ff; cursor: pointer; transition: border-color .2s, background .2s; }
.extra:hover { border-color: var(--rose-ink); }
.extra:has(input:checked) { border-color: var(--rose-ink); background: #fdf3f8; }
.extra input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--rose-ink); }
.x-body { display: grid; gap: .15rem; font-size: .95rem; }
.x-body span { color: var(--soft); font-size: .88rem; line-height: 1.5; }
.x-price { font-weight: 700; white-space: nowrap; }
.recast { margin: -.1rem 0 .2rem 2.2rem; }
.total-extras { color: var(--soft); font-size: .9rem; }
@media (max-width: 30rem) { .extra { grid-template-columns: auto minmax(0, 1fr); } .x-price { grid-column: 2; } .recast { margin-left: 0; } }

/* Navegación: barra compacta al subir, volver arriba, scroll suave y transiciones */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
}
.minibar { position: fixed; top: 0; left: 0; right: 0; z-index: 40; padding-top: env(safe-area-inset-top, 0px); background: rgba(13, 11, 33, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-night); color: #fff; transform: translateY(-110%); transition: transform .35s ease; }
.minibar.is-on { transform: none; }
.minibar-in { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 3.6rem; }
.minibar .nav a { color: #fff; }
.minibar-cta { flex: none; color: #fff; text-decoration: none; font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: .5rem .85rem; border: 1px solid rgba(245, 176, 207, .55); border-radius: 4px; }
.minibar-cta:hover { color: #fff; background: rgba(255,255,255,.08); }
@media (max-width: 74rem) { .minibar nav { display: none; } }
.to-top { position: fixed; right: max(1rem, env(safe-area-inset-right, 0px)); bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); z-index: 30; width: 2.9rem; height: 2.9rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(245, 176, 207, .6); background: var(--night); color: #fff; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: #1f1848; }

/* Imágenes de anuncio (arco art nouveau) */
.acard { position: relative; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: #2b1d45; box-shadow: 0 1px 0 rgba(31, 26, 61, .05), 0 26px 50px -30px rgba(31, 26, 61, .6); transition: transform .7s cubic-bezier(.2,.7,.2,1), box-shadow .7s; }
.acard::after { content: ''; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.35), rgba(255,255,255,0)); transform: skewX(-18deg); transition: left 1s; pointer-events: none; }
.card a:hover .acard { transform: translateY(-10px); box-shadow: 0 1px 0 rgba(31, 26, 61, .05), 0 40px 60px -30px rgba(31, 26, 61, .7); }
.card a:hover .acard::after { left: 140%; }
.art { display: block; width: 100%; height: 100%; object-fit: cover; }
div.art svg { display: block; width: 100%; height: 100%; }
.card .cname { text-align: left; margin-top: 1.1rem; padding-inline: .25rem; }
.card .alias { text-align: left; padding-inline: .25rem; }
.card .below { margin-top: .6rem; }
.bigcard { width: min(100%, 26rem); aspect-ratio: 4 / 5; padding: 0; border-radius: 8px; overflow: hidden; background: #2b1d45; }
.fan { width: 13.5rem; height: auto; aspect-ratio: 4 / 5; padding: 0; overflow: hidden; background: #2b1d45; border-radius: 6px; }
.fan-cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 56rem) { .fan { width: 10.5rem; height: auto; } }

/* Logotipo: arco art nouveau + nombre */
.brand { gap: .8rem; }
.logo-em { flex: none; display: block; }
.logo-wm { display: grid; justify-items: center; line-height: 1; }
.logo-wm1 { font-family: var(--display); font-size: 1.7rem; letter-spacing: .01em; white-space: nowrap; }
.logo-wm2 { display: flex; align-items: center; gap: .55rem; width: 100%; margin-top: .3rem; font-family: var(--body); font-size: .62rem; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: var(--rose); padding-left: .42em; }
.logo-wm2::before, .logo-wm2::after { content: ''; flex: 1; height: 1px; background: currentColor; opacity: .8; }
.minibar .logo-wm1 { font-size: 1.25rem; }
.minibar .logo-wm2 { font-size: .5rem; margin-top: .2rem; }
@media (max-width: 30rem) { .logo-wm1 { font-size: 1.4rem; } .site-top .logo-em { width: 44px; height: 44px; } }


/* ---------- Ritmo vertical más compacto ---------- */
:root { --section: clamp(3rem, 6vw, 5rem); }
.head { margin-bottom: 2.5rem; }
.page-head { padding-block: 2rem 3.25rem; }
.hero { padding-block: 2rem 4.5rem; }
.product-top { padding-block: 1.25rem 3.5rem; }
.facts { padding-top: 2.75rem; }
.band { margin-top: calc(var(--section) * .9); padding-block: calc(var(--section) * .95); }
.pbody { gap: var(--section); }
.rich h2 { margin: 2rem 0 .8rem; }
.site-foot { margin-top: 0; }


/* ---------- Ficha: texto a la izquierda, pedido fijo a la derecha ---------- */
.pcols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.pmain { display: grid; gap: 2.75rem; min-width: 0; }
.pmain .two-col { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.pmain .rich { max-width: none; }
.porder { position: sticky; top: 5rem; min-width: 0; }
.porder .panel { max-width: none; padding: clamp(1.5rem, 3vw, 2.1rem); }
.porder .panel h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); }
@media (min-width: 64rem) { .pmain .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 56rem) { .pcols { grid-template-columns: minmax(0, 1fr); } .porder { position: static; } }

/* ---------- Móvil: tarjetas de dos en dos ---------- */
@media (max-width: 40rem) {
  .cards, .cards[data-n="1"], .cards[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; max-width: none; }
  .card .cname { font-size: 1.05rem; margin-top: .7rem; }
  .card .alias { font-size: .75rem; }
  .card .below { flex-direction: column; gap: .2rem; margin-top: .4rem; }
  .card .below span:not(.price) { text-align: left; font-size: .75rem; }
  .card .price { font-size: 1.15rem; }
  .card .sum { font-size: .82rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .steps { gap: 1.75rem 1rem; }
  .page-head { padding-block: 1.25rem 2.5rem; }
  .hero { gap: 1.5rem; padding-bottom: 3.5rem; }
}

/* ---------- Fondo de las zonas claras: papel lila con estrellas y halos ---------- */
:root { --paper: #f4eefb; }
body { background: var(--paper); }
main {
  background:
    url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22280%22 height=%22280%22 viewBox=%220 0 280 280%22%3E%3Cg fill=%22%23c9a45c%22 fill-opacity=%22.24%22%3E%3Cpath d=%22M40 30l2.2 6.8L49 39l-6.8 2.2L40 48l-2.2-6.8L31 39l6.8-2.2Z%22/%3E%3Cpath d=%22M210 150l1.6 4.9 4.9 1.6-4.9 1.6-1.6 4.9-1.6-4.9-4.9-1.6 4.9-1.6Z%22/%3E%3Cpath d=%22M120 236l1.2 3.6 3.6 1.2-3.6 1.2-1.2 3.6-1.2-3.6-3.6-1.2 3.6-1.2Z%22/%3E%3C/g%3E%3Cg fill=%22%238f7cd6%22 fill-opacity=%22.28%22%3E%3Ccircle cx=%2296%22 cy=%2270%22 r=%221.6%22/%3E%3Ccircle cx=%22170%22 cy=%2240%22 r=%221.2%22/%3E%3Ccircle cx=%22250%22 cy=%2296%22 r=%221.4%22/%3E%3Ccircle cx=%2220%22 cy=%22150%22 r=%221.2%22/%3E%3Ccircle cx=%2270%22 cy=%22200%22 r=%221.6%22/%3E%3Ccircle cx=%22160%22 cy=%22110%22 r=%221%22/%3E%3Ccircle cx=%22236%22 cy=%22230%22 r=%221.3%22/%3E%3Ccircle cx=%22190%22 cy=%22262%22 r=%221%22/%3E%3C/g%3E%3Cpath d=%22M96 70L124 92L160 110%22 stroke=%22%238f7cd6%22 stroke-opacity=%22.16%22 stroke-width=%22.8%22 fill=%22none%22/%3E%3Cpath d=%22M253 18a9 9 0 1 0 6.5 15.4a7.5 7.5 0 1 1-6.5-15.4Z%22 fill=%22%23b9a6e8%22 fill-opacity=%22.3%22/%3E%3C/svg%3E") 0 0 / 340px 340px,
    radial-gradient(45rem 32rem at 0% 12%, rgba(205, 184, 244, .45), transparent 70%),
    radial-gradient(40rem 30rem at 100% 38%, rgba(243, 194, 214, .38), transparent 70%),
    radial-gradient(45rem 32rem at 5% 72%, rgba(251, 217, 196, .4), transparent 70%),
    radial-gradient(40rem 30rem at 100% 95%, rgba(205, 184, 244, .4), transparent 70%),
    linear-gradient(180deg, #f3edfb 0%, #faf0f5 40%, #f3eefb 75%, #fbf0ea 100%);
}
.band { background: var(--sky); }
.quote, .letter, .panel, .box, .msg, .order-list a { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.faq details { border-color: rgba(168, 72, 122, .18); }
.extra { background: rgba(251, 249, 255, .9); }

/* Tarot "Pick a card" en escritorio: cartas grandes, menos solapadas y con su nombre legible debajo */
@media (min-width: 56.01rem) {
  .spread { flex-wrap: nowrap; gap: 0; padding-top: .5rem; }
  .spread li { display: flex; flex-direction: column; align-items: center; }
  .fan { width: clamp(13rem, 19vw, 17rem); margin: 0 -.35rem; }
  .spread li:nth-child(1) .fan { transform: rotate(-6deg) translateY(14px); }
  .spread li:nth-child(2) .fan { transform: rotate(-2deg); }
  .spread li:nth-child(3) .fan { transform: rotate(2deg); }
  .spread li:nth-child(4) .fan { transform: rotate(6deg) translateY(14px); }
  .fan:hover { transform: translateY(-18px) rotate(0) scale(1.03) !important; z-index: 3; }
  .fan-cap { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: grid; gap: .2rem; justify-items: center; margin-top: 2.1rem; text-align: center; text-decoration: none; color: #fff !important; max-width: 15rem; }
  .spread li:nth-child(2) .fan-cap, .spread li:nth-child(3) .fan-cap { margin-top: 1.25rem; }
  .fan-cap b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; line-height: 1.2; }
  .fan-cap small { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rose); }
  .fan-cap:hover b { text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: .25em; }
}

/* ---------- Directorio de rituales (/spells/) ---------- */
.dir-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 2rem; }
.dir-jump a { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: .5rem .95rem; border: 1px solid rgba(245, 176, 207, .45); border-radius: 99px; color: #fff; }
.dir-jump a:hover { background: rgba(255, 255, 255, .1); border-color: var(--rose); }
.dir { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.75rem); align-items: start; padding-top: 4rem; }
.dir-card { position: relative; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.4rem, 3vw, 2.1rem); border-top: 3px solid var(--gold); scroll-margin-top: 4.5rem; }
.dir-top { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.1rem; }
.dir-ico { flex: none; color: var(--rose-ink); margin-top: .2rem; }
.dir-top h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.dir-top h2 a { color: var(--ink); text-decoration: none; }
.dir-top h2 a:hover { color: var(--peri); }
.dir-top p { color: var(--soft); font-size: .95rem; margin-top: .3rem; }
.dir-list { list-style: none; border-top: 1px solid var(--line); }
.dir-list a { display: flex; align-items: baseline; gap: .6rem; padding: .62rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.dir-list a:hover .dir-name { color: var(--peri); }
.dir-name { font-weight: 500; }
.dir-dots { flex: 1; border-bottom: 1px dotted rgba(201, 164, 92, .7); transform: translateY(-.3em); min-width: 1rem; }
.dir-price { font-family: var(--display); font-size: 1.1rem; color: var(--rose-ink); }
.dir-tag { display: inline-block; vertical-align: .12em; font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .12rem .45rem; border-radius: 99px; margin-left: .25rem; white-space: nowrap; }
.tag-moon { background: #1c1946; color: #f6e4ad; }
.tag-gypsy { background: #5c1029; color: #f6e4ad; }
.dir-more { display: inline-block; margin-top: 1.1rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--rose-ink); }
.dir-more:hover { color: var(--ink); }
.dir-full-moon { border-top-color: #2c2672; }
.dir-full-moon .dir-ico { color: #2c2672; }
.dir-gypsy { border-top-color: #8a1a3a; }
.dir-gypsy .dir-ico { color: #8a1a3a; }
@media (max-width: 56rem) {
  .dir { grid-template-columns: 1fr; padding-top: 2.5rem; }
}

/* "You may also need": 4 en escritorio (una fila), 2 en móvil */
.related .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 1.75rem; }
@media (max-width: 56rem) {
  .related .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; }
  .related .cards > li:nth-child(n+3) { display: none; }
}

/* ---------- Cielo animado (assets/js/sky.js) ---------- */
.sky { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.has-sky > .stars, .has-sky > .nebula, .has-sky > .shoot { display: none; }
.has-sky > *:not(.sky) { position: relative; z-index: 1; }

/* ---------- Colores de texto "Oro viejo": acentos dorados y más contraste ---------- */
:root { --soft-night: #e6e2f2; --glow: #f2cf86; --rose: #f0cc86; --ink: #18122d; --soft: #463f5d; --peri: #7a3584; --rose-ink: #80530c; }
.night .lead { color: #e8e4f3; }
.night .btn:not(.btn-light) { background: #f5b0cf; border-color: #f5b0cf; }
.night .btn-light { border-color: rgba(240, 204, 134, .6); }
.night .btn, .night .ghost { text-shadow: none; }
.night h1, .night h2, .night .lead, .night .eyebrow, .night .crumbs, .night .nav a, .night .head p, .night p { text-shadow: 0 1px 2px rgba(8, 6, 26, .55), 0 0 18px rgba(8, 6, 26, .7); }

/* "Pick a card" en móvil: dos cartas por fila, como el resto de secciones, con su nombre y precio debajo */
@media (max-width: 56rem) {
  .spread { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; align-items: start; padding-top: .5rem; }
  .spread li { display: flex; flex-direction: column; min-width: 0; }
  .spread .fan, .spread li .fan { width: 100%; margin: 0; transform: none !important; }
  .fan-cap { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: grid; gap: .15rem; margin-top: .75rem; text-decoration: none; color: #fff !important; }
  .fan-cap b { font-family: var(--display); font-weight: 400; font-size: 1.1rem; line-height: 1.2; }
  .fan-cap small { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); }
}
