/* tequila.css — Páginas de cada tequila (/shop/blanco, /shop/reposado, /shop/anejo), 30-oct-2026.
   Se carga después de home8.css (menú, pie, botones, papel crema, banda de la luna).
   Cada página tiene su color (--c, en <body>): Blanco plata, Reposado dorado, Añejo cobre, como la ficha de la botella.
   La cursiva es Hurricane (elegida por el equipo el 30-oct-2026; antes Allison, la letra de firma del menú "Signature Cocktails");
   se usa solo en nombres (tequila, cócteles) y en el eslogan. El resto sigue en Montserrat + Raleway. */

:root { --f-script: 'Hurricane', cursive; --tan: #a0723f; }
.script { font-family: var(--f-script); font-weight: 400; letter-spacing: 0; }

/* ---------- tequila: foto a sangre a la derecha, nombre en cursiva ---------- */
.tqp-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; min-height: 100svh; background-color: #070606; background-image: var(--grain); overflow: hidden; }
.tqp-hero::before { content: ''; position: absolute; left: -12%; top: 50%; width: min(70vw, 900px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none;
    background: radial-gradient(circle, color-mix(in srgb, var(--c) 15%, transparent), transparent 64%); }
.tqp-hero-photo { position: relative; grid-column: 2; grid-row: 1; overflow: hidden; }
.tqp-hero-photo picture { position: absolute; inset: 0; display: block; animation: ll-hero-img 2.4s var(--ease) both; }   /* la foto no estira la fila: se ajusta a la pantalla */
.tqp-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--foco, 50% 50%); }
.tqp-hero-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, #070606 0%, rgba(7, 6, 6, 0) 16%), linear-gradient(180deg, rgba(7, 6, 6, .6) 0%, rgba(7, 6, 6, 0) 14%); }
.tqp-hero-copy { position: relative; z-index: 2; grid-column: 1; grid-row: 1; align-self: center; padding: 100px clamp(28px, 4vw, 64px) 40px max(24px, calc((100vw - 1200px) / 2)); }
/* la luna de la etiqueta, tenue, detrás del nombre */
.tqp-hero-copy::before { content: ''; position: absolute; right: 2%; top: 22%; width: min(440px, 36vw); aspect-ratio: 1; pointer-events: none;
    background: url('/assets/img/web/luna-clara.png') center / contain no-repeat; opacity: .05; animation: ll-spin 240s linear infinite; }
.tqp-hero-copy > * { position: relative; animation: ll-up 1s var(--ease) both; }
.tqp-hero-copy > *:nth-child(2) { animation-delay: .08s; }
.tqp-hero-copy > *:nth-child(3) { animation-delay: .16s; }
.tqp-hero-copy > *:nth-child(4) { animation-delay: .24s; }
.tqp-hero-copy > *:nth-child(5) { animation-delay: .32s; }
.tqp-hero-copy > *:nth-child(n+6) { animation-delay: .4s; }

.tqp-switch { display: flex; gap: 26px; margin: 0 0 28px; }
.tqp-switch a { font: 600 .86rem/1 var(--f-title); color: var(--dim); padding: 0 0 9px; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.tqp-switch a:hover { color: #fff; }
.tqp-switch a.on { color: #fff; border-color: var(--c); }

.tqp-name { font: 400 clamp(5.6rem, min(9vw, 15vh), 9.6rem)/.78 var(--f-script); color: var(--c); margin: 4px 0 0 -.06em; letter-spacing: 0; text-shadow: 0 0 60px color-mix(in srgb, var(--c) 18%, transparent); }
.tqp-age { display: flex; align-items: center; gap: 14px; font: 600 .92rem/1 var(--f-title); color: #e2dccf; margin: 22px 0 0; }
.tqp-age i { width: 30px; height: 1px; background: var(--c); }
.tqp-abv { font: 600 .8rem/1.3 var(--f-title); color: var(--muted); letter-spacing: .3px; margin: 10px 0 0; }   /* graduación (TikTok la pide en la página) */
.tqp-desc { font-size: clamp(1.05rem, 1.3vw, 1.18rem); color: #cbc5ba; max-width: 30rem; margin: 18px 0 16px; }
.tqp .tq-notes li { border-color: color-mix(in srgb, var(--c) 34%, #24221e); }

.tqp-buy { max-width: 470px; margin-top: 4px; padding: 18px 22px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(12, 11, 10, .72); }
.tqp-soon { color: var(--muted); margin: 0; }
.tqp-soon strong { display: block; font: 700 1rem/1.3 var(--f-title); color: #fff; margin-bottom: 6px; }
.tqp-soon a { color: var(--c); text-decoration: underline; text-underline-offset: 3px; }
.tqp-hint { margin: 12px 0 0; color: var(--gold); font-size: .82rem; }
.tqp-hint a { color: var(--gold); text-decoration: underline; }
.tqp-legal { color: #7b766d; font-size: .78rem; line-height: 1.6; margin: 14px 0 0; }
.tqp-legal a { color: #aaa397; text-decoration: underline; text-underline-offset: 2px; }
/* botón "Comprar" propio (puente al checkout de Flaviar, 9-nov-2026): precio, cantidad y botón en el color del tequila */
.tqp-price { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; }
.tqp-price b { font: 800 1.75rem/1 var(--f-title); color: #fff; }
.tqp-price span { font: 600 .74rem/1 var(--f-title); color: var(--muted); letter-spacing: .4px; }
.tqp-cart { display: flex; gap: 10px; }
.tqp-qty { display: inline-flex; align-items: stretch; border: 1px solid rgba(255, 255, 255, .22); }
.tqp-qty button { width: 42px; padding: 0; background: transparent; border: 0; color: #fff; font: 600 1.15rem/1 var(--f-title); cursor: pointer; transition: color .2s; }
.tqp-qty button:hover { color: var(--c); }
.tqp-qty input { width: 36px; padding: 0; text-align: center; background: transparent; border: 0; color: #fff; font: 700 .98rem/1 var(--f-title); -moz-appearance: textfield; appearance: textfield; }
.tqp-qty input::-webkit-outer-spin-button, .tqp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tqp-qty input:focus { outline: 1px solid var(--c); outline-offset: -1px; }
.tqp-cart .btn { flex: 1; background: var(--c); border-color: var(--c); color: #0a0a0a; }
.tqp-cart .btn:hover { background: transparent; color: var(--c); }
.tqp-cart .btn:disabled { cursor: not-allowed; background: transparent; border-color: #3a3730; color: var(--muted); }
.tqp-pay { margin: 12px 0 0; color: #b9b3a8; font-size: .86rem; line-height: 1.5; }
.tqp-jump { display: flex; gap: 28px; margin-top: 22px; }
.tqp-jump .link-arrow { color: var(--c); }
.tqp-jump .link-arrow:hover i { transform: translateY(3px); }

/* ---------- fotos: mosaico a su proporción real (nada se recorta) ---------- */
.tqp-fotos { background-color: #060505; background-image: var(--grain); }
.tqp-h2 .script { font-size: 1.9em; color: var(--c); line-height: 0; margin-right: .06em; vertical-align: -.12em; }
.tqp-fotos .sec-head { margin-bottom: 44px; }
.tqp-mosaic { columns: 3 280px; column-gap: 14px; }
.tqp-mosaic a { display: block; position: relative; break-inside: avoid; margin: 0 0 14px; overflow: hidden; background: #111; cursor: zoom-in; }
.tqp-mosaic img { width: 100%; height: auto; }
.tqp-mosaic a.reveal.in figure img { transition: transform 1.2s var(--ease), filter .6s, clip-path 1.3s var(--ease); }
.tqp-mosaic a.reveal.in:hover figure img { transform: scale(1.04); filter: saturate(1.08); }
.tqp-mosaic a::after { content: ''; position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; opacity: 0; transition: opacity .3s;
    background: rgba(6, 6, 6, .6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.6'%3E%3Cpath d='M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7'/%3E%3C/svg%3E") center / 16px no-repeat; }
.tqp-mosaic a:hover::after, .tqp-mosaic a:focus-visible::after { opacity: 1; }

/* visor de fotos */
.visor { padding: 0; border: 0; background: transparent; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; overflow: hidden; }
.visor::backdrop { background: rgba(4, 4, 4, .95); }
.visor img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: min(92vw, 1100px); max-height: 88vh; object-fit: contain; }
.visor button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(10, 10, 10, .6); color: #fff; display: grid; place-items: center; cursor: pointer; transition: border-color .25s; }
.visor button:hover { border-color: var(--c); }
.visor svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.visor-x { top: 18px; right: 18px; }
.visor-prev, .visor-next { top: 50%; transform: translateY(-50%); }
.visor-prev { left: 18px; }
.visor-next { right: 18px; }

/* ---------- cócteles: papel crema como el menú oficial ---------- */
.tqp-mix { padding: clamp(90px, 11vw, 140px) 0; }
.tqp-mix-head { text-align: center; max-width: 640px; margin: 0 auto clamp(44px, 6vw, 72px); }
.tqp-mix-head .spark { display: block; width: 20px; height: 20px; margin: 0 auto 4px; }
.tqp-sig { font: 400 clamp(4.2rem, 9vw, 6.6rem)/.95 var(--f-script); color: var(--tan); margin: 0; }
.tqp-mix-h { font: 800 clamp(1.9rem, 3.6vw, 2.8rem)/1 var(--f-title); letter-spacing: -.4px; color: var(--ink); margin: -4px 0 0; }
.tqp-mix-lead { color: #5d564c; margin: 18px auto 0; max-width: 30rem; }
.tqp-mix-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 5vw, 72px); }
.tqp-drink { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(16px, 2.4vw, 30px); align-items: center; }
.tqp-drink-photo img { width: 100%; height: auto; mix-blend-mode: multiply;
    -webkit-mask-image: radial-gradient(ellipse 70% 66% at 50% 54%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 70% 66% at 50% 54%, #000 60%, transparent 100%); }
.tqp-drink-name { font: 400 clamp(3.6rem, 5.4vw, 4.8rem)/.85 var(--f-script); color: var(--tan); margin: 0 0 16px; }
.tqp-recipe { list-style: none; margin: 0; padding: 0; }
.tqp-recipe li { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(29, 25, 21, .12); font-size: .96rem; line-height: 1.4; color: #3a342c; }
.tqp-recipe li:first-child { border-top: 1px solid rgba(29, 25, 21, .12); }
.tqp-recipe b { font: 700 .82rem/1.7 var(--f-title); color: #8a6a32; text-align: right; }
.tqp-garnish { margin: 14px 0 0; color: #6a6257; font-size: .9rem; }
.tqp-solo .tqp-drink-photo { border-radius: 300px 300px 0 0; overflow: hidden; aspect-ratio: 3 / 4; }
.tqp-solo .tqp-drink-photo picture { display: block; height: 100%; }
.tqp-solo .tqp-drink-photo img { height: 100%; object-fit: cover; mix-blend-mode: normal; -webkit-mask-image: none; mask-image: none; }
.tqp-solo-p { color: #4f483f; margin: 0 0 18px; max-width: 22rem; }
.tqp-mix-cta { justify-content: center; align-items: center; gap: 28px; margin-top: clamp(50px, 6vw, 70px); }
.btn-ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-ink:hover { background: transparent; color: var(--ink); }

/* ---------- eslogan en la banda de la luna ---------- */
.tqp-moon::before { background: radial-gradient(circle, color-mix(in srgb, var(--c) 13%, transparent), transparent 62%); }
.tqp-slogan { font: 400 clamp(3.2rem, 7.4vw, 6.2rem)/1 var(--f-script); color: #f4efe6; margin: 26px 0 0; max-width: 16ch; }

/* ---------- los otros tequilas ---------- */
.tqp-otros { background-color: #070606; background-image: var(--grain); }
.tqp-otros-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.tqp-otro { position: relative; display: grid; grid-template-columns: 44% 1fr; align-items: center; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.tqp-otro::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: var(--c); z-index: 1; }
.tqp-otro:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); transform: translateY(-4px); }
.tqp-otro figure { aspect-ratio: 4 / 5; overflow: hidden; }
.tqp-otro picture { display: block; height: 100%; }
.tqp-otro figure img { width: 100%; height: 100%; object-fit: cover; }
.tqp-otro-body { display: block; padding: 24px clamp(20px, 2.6vw, 34px); }
.tqp-otro-name { display: block; font: 400 clamp(3.8rem, 5.4vw, 5rem)/.8 var(--f-script); color: var(--c); }
.tqp-otro-age { display: block; font: 600 .84rem/1 var(--f-title); color: #e2dccf; margin-top: 16px; }
.tqp-otro-desc { display: block; color: var(--muted); font-size: .94rem; margin-top: 10px; }
.tqp-otro .link-arrow { margin-top: 22px; color: var(--c); }

/* ---------- celular ---------- */
@media (max-width: 899px) {
    .tqp-hero { display: block; min-height: 0; }
    .tqp-hero::before { top: 62%; left: -30%; width: 120vw; }
    /* foto completa arriba y el texto empieza debajo (nada encima del producto) */
    .tqp-hero-photo { aspect-ratio: 4 / 5; margin-top: 64px; }
    .tqp-hero-photo::after { background: linear-gradient(0deg, #070606 0%, rgba(7, 6, 6, 0) 18%); }
    .tqp-hero-copy { padding: 6px 16px 56px; }
    .tqp-hero-copy::before { top: -4%; right: -10%; width: 72vw; }
    .tqp-switch { margin-bottom: 28px; }
    .tqp-name { font-size: clamp(5.6rem, 27vw, 7.6rem); }
    .tqp-mosaic { columns: 2; column-gap: 8px; }
    .tqp-mosaic a { margin-bottom: 8px; }
    .tqp-mosaic a::after { display: none; }
    .tqp-mix-grid { grid-template-columns: 1fr; }
    .tqp-otros-grid { grid-template-columns: 1fr; }
    .visor-prev, .visor-next { top: auto; bottom: 22px; transform: none; }
    .visor-prev { left: calc(50% - 60px); }
    .visor-next { right: calc(50% - 60px); }
}
@media (max-width: 520px) {
    .tqp-drink { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px; }
    .tqp-drink-name { font-size: 3.4rem; margin-bottom: 10px; }
    .tqp-recipe li { grid-template-columns: 50px 1fr; gap: 8px; font-size: .88rem; padding: 6px 0; }
    .tqp-recipe b { font-size: .74rem; }
    .tqp-otro { grid-template-columns: 40% 1fr; }
    .tqp-otro-name { font-size: 3.6rem; }
    .tqp-otro-desc { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .tqp-hero-copy > *, .tqp-hero-photo picture, .tqp-hero-copy::before { animation: none; }
}
