:root {
    --red: #c81945;
    --red-dark: #981232;
    --pink: #f55a8e;
    --sky: #62cfdf;
    --cream: #fff5df;
    --paper: #fffcf6;
    --ink: #21151a;
    --muted: #725f66;
    --line: rgba(33, 21, 26, .13);
    --shadow: 0 24px 70px rgba(109, 25, 53, .16);
    --radius: 28px;
    --font: Inter, Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }

.site-header {
    width: min(1240px, calc(100% - 40px));
    min-height: 92px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    z-index: 10;
}
.firenze-mark {
    --mark-size: 80px;
    width: var(--mark-size);
    height: var(--mark-size);
    flex: 0 0 var(--mark-size);
    border: 2px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    background: var(--red);
    box-shadow: 0 13px 30px rgba(118, 15, 43, .18);
    overflow: hidden;
    padding: 0 calc(var(--mark-size) * .12);
    line-height: .84;
    transform: rotate(-2deg);
}
.firenze-mark span { max-width: 100%; font-size: calc(var(--mark-size) * .12); font-weight: 650; letter-spacing: 0; white-space: nowrap; }
.firenze-mark strong { width: 100%; max-width: 100%; display: block; font-family: Georgia, "Times New Roman", serif; font-size: calc(var(--mark-size) * .2); font-style: italic; letter-spacing: -.08em; line-height: 1; text-align: center; white-space: nowrap; transform: scaleX(.88); transform-origin: center; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand .firenze-mark { --mark-size: 76px; }
.brand-claim {
    padding-left: 14px;
    border-left: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .13em;
    line-height: 1.35;
    text-transform: uppercase;
}
.brand-claim strong { color: var(--red); font-size: 13px; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); font-size: 14px; font-weight: 750; }
.site-nav > a:not(.button):hover { color: var(--red); }
.button {
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid var(--red);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    background: var(--red);
    box-shadow: 0 10px 24px rgba(200, 25, 69, .18);
    cursor: pointer;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(200, 25, 69, .24); }
.button-outline { color: var(--red); background: transparent; box-shadow: none; }
.button-outline:hover { color: #fff; background: var(--red); }
.button-small { min-height: 42px; padding-inline: 18px; }
.button-ghost { border-color: var(--line); color: var(--ink); background: #fff; box-shadow: none; }
.button-danger { border-color: #f1c6ce; color: #a41334; background: #fff2f4; box-shadow: none; }
.button-tv { border-color: #43bfd0; color: #17373d; background: var(--sky); box-shadow: 0 10px 26px rgba(54, 182, 201, .22); }
.button-tv:hover { color: #102d32; background: #7bdfeb; box-shadow: 0 14px 34px rgba(54, 182, 201, .38); }
.tv-button-icon { width: 22px; height: 16px; position: relative; border: 2px solid currentColor; border-radius: 4px; display: inline-block; }
.tv-button-icon::before { content: ""; position: absolute; inset: 3px; border-radius: 1px; background: currentColor; opacity: .18; }
.tv-button-icon::after { content: ""; width: 11px; height: 4px; position: absolute; left: 3px; bottom: -7px; border-top: 2px solid currentColor; border-radius: 50%; }

.hero {
    width: min(1240px, calc(100% - 40px));
    min-height: calc(100vh - 92px);
    margin: 0 auto;
    padding: 54px 0 92px;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: clamp(30px, 6vw, 90px);
}
.eyebrow { margin: 0 0 18px; color: var(--red); font-size: 13px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(56px, 7.3vw, 108px); line-height: .91; letter-spacing: -.065em; }
.hero h1 em { color: var(--red); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.hero-lead { max-width: 620px; margin: 30px 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-note { color: var(--muted); font-size: 14px; font-weight: 700; }
.hero-note i { width: 9px; height: 9px; margin-right: 8px; display: inline-block; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 5px rgba(98, 207, 223, .18); }
.hero-visual { min-height: 610px; position: relative; display: grid; place-items: center; isolation: isolate; }
.hero-visual .sun-disc { width: min(100%, 560px); aspect-ratio: 1; position: absolute; z-index: -2; border-radius: 50%; background: linear-gradient(145deg, #ffd878, #ff9eb1); box-shadow: var(--shadow); }
.hero-visual::after { content: ""; width: 72%; height: 10%; position: absolute; bottom: 9%; z-index: -1; border-radius: 50%; background: rgba(50, 18, 29, .17); filter: blur(22px); }
.hero-visual > img { width: min(88%, 540px); max-height: 590px; object-fit: contain; filter: drop-shadow(0 35px 26px rgba(86, 16, 38, .22)); animation: iceFloat 5.2s ease-in-out infinite; }
.hero-stamp { --mark-size: 138px; position: absolute; top: 4%; right: 1%; transform: rotate(7deg); box-shadow: 0 15px 30px rgba(152, 18, 50, .22); animation: stampPulse 4s ease-in-out infinite; }
.sprinkle { width: 18px; height: 58px; position: absolute; z-index: -1; border-radius: 20px; transform: rotate(45deg); }
.sprinkle-one { left: 1%; top: 22%; background: var(--sky); animation: sprinkleDrift 4.5s ease-in-out infinite; }
.sprinkle-two { right: 5%; bottom: 20%; background: var(--red); transform: rotate(-35deg); animation: sprinkleDrift 5.5s .8s ease-in-out infinite reverse; }
.sprinkle-three { left: 12%; bottom: 10%; background: #ffd05c; transform: rotate(70deg); animation: sprinkleDrift 4.8s 1.3s ease-in-out infinite; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js .reveal-section { opacity: 0; transform: translateY(38px) scale(.985); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.js .reveal-section.is-visible { opacity: 1; transform: translateY(0) scale(1); }
@keyframes iceFloat { 0%, 100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-14px) rotate(-1deg); } }
@keyframes stampPulse { 0%, 100% { transform: rotate(7deg) scale(1); } 50% { transform: rotate(4deg) scale(1.045); } }
@keyframes sprinkleDrift { 0%, 100% { translate: 0 0; } 50% { translate: 8px -13px; } }

.marquee { overflow: hidden; padding: 20px 0; color: #fff; background: var(--red); transform: rotate(-1deg) scale(1.01); }
.marquee div { width: max-content; font-size: clamp(18px, 2vw, 29px); font-weight: 950; letter-spacing: .06em; white-space: nowrap; animation: drift 22s linear infinite; }
.marquee span { margin: 0 26px; color: #ffd66d; }
@keyframes drift { to { transform: translateX(-35%); } }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.story { padding: 150px 0 120px; display: grid; grid-template-columns: 70px 1.2fr .8fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.section-number { color: var(--red); font-weight: 900; }
.story h2 { margin: 0; font-size: clamp(40px, 5vw, 72px); line-height: 1.03; letter-spacing: -.05em; }
.story-text { padding-top: 43px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.story-text p:first-child { margin-top: 0; }
.quality { padding-bottom: 130px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quality-card { min-height: 360px; padding: 34px; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 16px 50px rgba(82, 36, 49, .08); }
.quality-card > span { font-weight: 900; opacity: .7; }
.quality-card h3 { margin: auto 0 14px; font-size: clamp(28px, 3vw, 40px); line-height: 1; letter-spacing: -.04em; }
.quality-card p { margin: 0; line-height: 1.55; }
.quality-card { transition: transform .3s ease, box-shadow .3s ease; }
.quality-card:hover { transform: translateY(-8px) rotate(0); box-shadow: 0 25px 65px rgba(82, 36, 49, .15); }
.quality-pink { color: #fff; background: var(--red); transform: rotate(-1.2deg); }
.quality-cream { background: #ffe6a4; transform: translateY(20px); }
.quality-sky { background: var(--sky); transform: rotate(1.2deg); }
.closing { padding: 90px 30px; border-top: 1px solid var(--line); text-align: center; }
.closing-mark { --mark-size: 180px; margin: 0 auto 26px; }
.closing-claim { margin: 0 0 10px; display: block; color: var(--red); font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 58px); font-style: italic; letter-spacing: -.04em; }
.closing p { margin: 0; color: var(--muted); font-size: 20px; }
.site-footer { padding: 26px max(20px, calc((100% - 1180px) / 2)); display: flex; gap: 28px; color: #e8cfd6; background: var(--ink); font-size: 13px; }
.site-footer span { margin-right: auto; }
.site-footer a:hover { color: #fff; }

/* Acceso y panel */
.auth-page, .admin-page { min-height: 100vh; background: #f7f2ec; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1.08fr .92fr; }
.auth-art { padding: clamp(38px, 6vw, 84px); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: var(--red); }
.auth-art::before, .auth-art::after { content: ""; position: absolute; border-radius: 50%; }
.auth-art::before { width: 500px; height: 500px; top: -220px; right: -160px; background: #f0618e; }
.auth-art::after { width: 360px; height: 360px; bottom: -190px; left: -80px; background: #71d9e6; }
.auth-mark { --mark-size: 172px; position: relative; z-index: 1; border-color: rgba(255, 255, 255, .9); box-shadow: 0 22px 55px rgba(87, 5, 29, .22); }
.auth-art-copy { max-width: 610px; position: relative; z-index: 1; }
.auth-art h1 { margin: 0 0 18px; font-size: clamp(45px, 5vw, 76px); line-height: .98; letter-spacing: -.055em; }
.auth-art p { max-width: 520px; margin: 0; color: #ffe4eb; font-size: 18px; line-height: 1.6; }
.auth-form-wrap { padding: 42px; display: grid; place-items: center; }
.auth-form { width: min(100%, 430px); }
.back-link { display: inline-flex; margin-bottom: 54px; color: var(--muted); font-size: 14px; font-weight: 750; }
.auth-form h2 { margin: 0 0 10px; font-size: 38px; letter-spacing: -.04em; }
.auth-form > p { margin: 0 0 32px; color: var(--muted); line-height: 1.55; }
.field { margin-bottom: 18px; }
.field label { margin: 0 0 8px; display: block; font-size: 13px; font-weight: 850; }
.input, .select {
    width: 100%;
    min-height: 48px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 13px;
    outline: none;
    color: var(--ink);
    background: #fff;
    transition: border .2s, box-shadow .2s;
}
.input:focus, .select:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(200, 25, 69, .1); }
.input[type="file"] { padding: 11px 12px; }
.auth-form .button { width: 100%; margin-top: 8px; }
.form-help { color: var(--muted); font-size: 12px; }
.alert { margin: 0 0 22px; padding: 13px 16px; border-radius: 13px; font-size: 14px; font-weight: 700; }
.alert-error { color: #96112f; background: #ffe3e9; }
.alert-success { color: #166443; background: #dcf6e9; }

.admin-header { min-height: 76px; padding: 0 max(24px, calc((100% - 1240px) / 2)); position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 22px; border-bottom: 1px solid var(--line); background: rgba(255, 252, 246, .94); backdrop-filter: blur(14px); }
.admin-mark { --mark-size: 58px; }
.admin-nav { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 800; }
.admin-main { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 54px 0 90px; }
.admin-title { margin-bottom: 42px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.admin-title h1 { margin: 4px 0 0; font-size: clamp(40px, 5vw, 64px); letter-spacing: -.055em; }
.admin-title p { margin: 0; color: var(--muted); }
.stat-row { margin-bottom: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 35px rgba(60, 27, 37, .05); }
.stat strong { display: block; font-size: 30px; }
.stat span { color: var(--muted); font-size: 13px; }
.admin-section { margin-top: 28px; padding: 28px; border: 1px solid var(--line); border-radius: 25px; background: #fff; box-shadow: 0 14px 50px rgba(60, 27, 37, .055); }
.section-head { margin-bottom: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-head h2 { margin: 0; font-size: 27px; letter-spacing: -.035em; }
.section-head p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.product-editor { display: grid; gap: 12px; }
.product-row { padding: 14px; display: grid; grid-template-columns: 58px minmax(150px, 1.5fr) minmax(120px, .7fr) minmax(120px, .8fr) 92px; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 17px; background: #fffdf9; }
.product-thumb { width: 58px; height: 58px; padding: 4px; border-radius: 14px; object-fit: contain; background: var(--cream); }
.check-line { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 750; }
.check-line input { width: 18px; height: 18px; accent-color: var(--red); }
.form-actions { margin-top: 22px; display: flex; justify-content: flex-end; gap: 12px; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.flavor-list { display: grid; gap: 9px; }
.flavor-row { min-height: 55px; padding: 9px 10px 9px 16px; border: 1px solid var(--line); border-radius: 15px; display: flex; align-items: center; gap: 12px; }
.flavor-row.is-unavailable { background: #f5f1ef; }
.flavor-row.is-unavailable .flavor-name { color: #9a8d91; text-decoration: line-through; }
.flavor-name { margin-right: auto; font-weight: 800; }
.flavor-kind { padding: 5px 8px; border-radius: 99px; color: #176e82; background: #daf6fa; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.switch { width: 47px; height: 27px; position: relative; display: inline-block; }
.switch input { width: 1px; height: 1px; opacity: 0; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #d6ced0; cursor: pointer; transition: .2s; }
.switch span::after { content: ""; width: 21px; height: 21px; position: absolute; top: 3px; left: 3px; border-radius: 50%; background: #fff; box-shadow: 0 2px 7px rgba(0, 0, 0, .18); transition: .2s; }
.switch input:checked + span { background: #23a56f; }
.switch input:checked + span::after { transform: translateX(20px); }
.mini-form { display: inline; }
.icon-button { width: 34px; height: 34px; border: 0; border-radius: 10px; color: #a11231; background: #ffedf1; cursor: pointer; }
.add-form { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 170px 170px auto; gap: 12px; align-items: end; }
.add-form.product-add { grid-template-columns: 1.1fr .7fr .9fr 1fr auto; }
.add-form .field { margin: 0; }

/* Selector y pantallas TV */
.tv-index { min-height: 100vh; padding: 46px; background: radial-gradient(circle at top right, #ffe09b, transparent 33%), var(--paper); }
.tv-index-header { width: min(1180px, 100%); margin: 0 auto 46px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tv-index-mark { --mark-size: 88px; }
.tv-index-brand { display: inline-flex; align-items: center; gap: 14px; }
.tv-index-copy { width: min(1180px, 100%); margin: 0 auto 32px; }
.tv-index-copy h1 { margin: 0; font-size: clamp(42px, 6vw, 76px); letter-spacing: -.055em; }
.tv-index-copy p { color: var(--muted); }
.screen-grid { width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.screen-card { min-height: 330px; padding: 24px; border: 1px solid var(--line); border-radius: 28px; display: flex; flex-direction: column; color: #fff; background: var(--red); box-shadow: var(--shadow); opacity: 0; animation: selectorIn .65s ease-out forwards; transition: transform .2s, box-shadow .2s; }
.screen-card:hover { transform: translateY(-7px); }
.screen-card:nth-child(2) { background: #53374b; }
.screen-card:nth-child(3) { color: var(--ink); background: var(--sky); }
.screen-card:nth-child(2) { animation-delay: 90ms; }
.screen-card:nth-child(3) { animation-delay: 180ms; }
.screen-card small { font-weight: 900; letter-spacing: .15em; text-transform: uppercase; opacity: .75; }
.screen-card h2 { margin: auto 0 8px; font-size: 42px; letter-spacing: -.05em; }
.screen-card p { margin: 0 0 22px; line-height: 1.5; opacity: .78; }
.screen-card span { font-weight: 900; }
@keyframes selectorIn { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }

.tv-screen { width: 100vw; height: 100vh; min-height: 560px; overflow: hidden; color: #fff; background: radial-gradient(circle at 16% 0%, rgba(255,255,255,.09), transparent 27%), linear-gradient(135deg, #a70e35 0%, #c81748 54%, #a30c32 100%); }
.tv-shell { width: 100%; height: 100%; padding: clamp(22px, 2.2vw, 44px); position: relative; isolation: isolate; display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 34%, rgba(64,3,22,.12)); box-shadow: inset 0 0 140px rgba(63,3,21,.16); }
.tv-shell::before { content: ""; width: 50vw; height: 50vw; position: absolute; top: -34vw; right: -10vw; z-index: -1; border-radius: 50%; background: #f35b8e; box-shadow: 0 20px 90px rgba(90,5,31,.2); animation: backdropBreathe 9s ease-in-out infinite; }
.tv-shell::after { content: ""; width: 33vw; height: 33vw; position: absolute; bottom: -24vw; left: 12vw; z-index: -1; border-radius: 50%; background: #65d6e3; box-shadow: 0 -18px 80px rgba(8,91,106,.18); animation: backdropBreathe 11s 1.5s ease-in-out infinite reverse; }
.tv-decor { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.tv-decor::before, .tv-decor::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; box-shadow: 0 0 0 22px rgba(255,255,255,.025); animation: decorPulse 14s ease-in-out infinite; }
.tv-decor::before { width: 19vw; height: 19vw; top: 14%; left: -10vw; }
.tv-decor::after { width: 13vw; height: 13vw; right: -6vw; bottom: 9%; border-color: rgba(255,208,95,.25); animation-delay: -6s; }
.tv-decor i { width: clamp(10px, 1vw, 20px); height: clamp(38px, 4vw, 74px); position: absolute; border-radius: 99px; opacity: .38; filter: drop-shadow(0 5px 8px rgba(66,5,23,.18)); animation: tvSprinkle 8s ease-in-out infinite; }
.tv-decor i:nth-child(1) { top: 18%; left: 4%; background: #ffd05f; transform: rotate(38deg); }
.tv-decor i:nth-child(2) { top: 32%; right: 7%; background: #76e3ed; transform: rotate(-42deg); animation-delay: -2s; }
.tv-decor i:nth-child(3) { bottom: 11%; left: 42%; background: #ff8eb2; transform: rotate(72deg); animation-delay: -4s; }
.tv-decor i:nth-child(4) { bottom: 19%; right: 28%; background: #ffe39a; transform: rotate(18deg); animation-delay: -6s; }
.tv-header { min-height: 10vh; display: flex; align-items: center; gap: 25px; }
.tv-mark { --mark-size: clamp(78px, 7.5vw, 126px); border-color: rgba(255, 255, 255, .8); box-shadow: 0 18px 42px rgba(66, 5, 23, .24); }
.tv-craft { padding-left: clamp(14px, 1.4vw, 26px); border-left: 1px solid rgba(255,255,255,.5); color: rgba(255,255,255,.88); font-size: clamp(13px, 1.15vw, 22px); font-weight: 750; letter-spacing: .13em; line-height: 1.35; text-shadow: 0 2px 10px rgba(0,0,0,.35); text-transform: uppercase; }
.tv-craft strong { color: #fff; font-size: 1.13em; }
.tv-header-copy { margin-left: auto; text-align: right; }
.tv-header-copy small { font-size: clamp(12px, 1vw, 19px); font-weight: 900; letter-spacing: .18em; text-transform: uppercase; opacity: .9; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.tv-header-copy h1 { margin: 2px 0 0; font-size: clamp(30px, 3.1vw, 60px); line-height: 1; letter-spacing: -.045em; text-shadow: 0 3px 14px rgba(0,0,0,.32); }
.fullscreen-button { width: clamp(48px, 3.2vw, 60px); height: clamp(48px, 3.2vw, 60px); flex: 0 0 auto; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; color: #fff; background: rgba(61,8,26,.3); box-shadow: inset 0 1px rgba(255,255,255,.24), 0 10px 26px rgba(66,5,23,.2); backdrop-filter: blur(8px); cursor: pointer; }
.product-grid { min-height: 0; flex: 1; padding-top: 2vh; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.1vw, 22px); align-content: stretch; }
.tv-product { --product-scale: 1.08; --product-offset-y: 0px; min-width: 0; min-height: 0; padding: clamp(10px, 1.2vw, 22px); position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.72); border-radius: clamp(17px, 2vw, 34px); display: flex; flex-direction: column; align-items: center; color: var(--ink); background: linear-gradient(150deg, rgba(255,255,255,.98), rgba(255,242,236,.95)); box-shadow: inset 0 1px rgba(255,255,255,.8), 0 20px 48px rgba(68,4,23,.24); opacity: 0; animation: tvCardIn .7s var(--entry-delay, 0ms) cubic-bezier(.2,.8,.2,1) forwards; }
.tv-product.featured { --product-scale: 1; grid-column: span 2; }
.tv-product.product-id-2, .tv-product.product-id-3 { --product-scale: 1; }
.tv-product img { width: 100%; min-height: 0; flex: 1; object-fit: contain; transform-origin: 50% 68%; filter: drop-shadow(0 14px 16px rgba(88, 25, 43, .16)); animation: productFloat 5s ease-in-out infinite; }
.tv-product.featured img { width: min(72%, 450px); height: 82%; position: absolute; top: 4%; right: 4%; z-index: 1; object-fit: contain; object-position: center; transform-origin: center; animation-name: featuredProductFloat; }
.tv-product:nth-child(2n) img { animation-delay: -1.8s; }
.tv-product-info { width: 100%; position: relative; z-index: 2; display: flex; align-items: flex-start; flex-direction: column; gap: clamp(6px, .7vh, 10px); }
.tv-product.featured .tv-product-info { margin-top: auto; }
.tv-product h2 { margin: 0; font-size: clamp(20px, 1.85vw, 36px); line-height: 1.05; letter-spacing: -.04em; }
.tv-price { color: var(--red); font-size: clamp(24px, 2.25vw, 46px); font-weight: 950; line-height: 1; white-space: nowrap; }
.tv-badge { padding: 9px 14px; position: absolute; top: 12px; left: 12px; z-index: 2; border-radius: 14px; display: inline-flex; align-items: center; flex-direction: column; color: #fff; background: var(--red); font-size: clamp(11px, .8vw, 16px); font-weight: 900; line-height: .95; text-transform: uppercase; box-shadow: 0 9px 22px rgba(156, 9, 45, .25); }
.tv-badge small { font-size: .67em; letter-spacing: .13em; opacity: .76; }
.tv-badge strong { font-size: 1.2em; }
.tv-product.featured .tv-badge { padding: 11px 18px; border-radius: 16px; font-size: clamp(13px, 1vw, 19px); }
.tv-promo { border: 3px solid #ffd45f; background: linear-gradient(145deg, #fffdf5, #fff0bd); box-shadow: 0 0 0 7px rgba(255,212,95,.15), 0 22px 60px rgba(76,9,28,.28); }
.tv-promo::after { content: ""; width: 45%; height: 180%; position: absolute; top: -45%; left: -70%; z-index: 1; background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); transform: rotate(18deg); animation: promoShine 4.2s 1.2s ease-in-out infinite; pointer-events: none; }
.tv-promo .tv-price { padding: 7px 12px; border-radius: 12px; color: #fff; background: var(--red); box-shadow: 0 8px 20px rgba(200,25,69,.22); }
.flavor-grid { min-height: 0; flex: 1; padding-top: 3vh; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: clamp(9px, 1.05vw, 20px); }
.tv-flavor { min-width: 0; padding: 0 clamp(12px, 1vw, 20px); border: 1px solid rgba(255,255,255,.62); border-radius: clamp(13px, 1.4vw, 24px); display: flex; align-items: center; gap: clamp(9px, .7vw, 13px); color: var(--ink); background: linear-gradient(105deg, rgba(255,255,255,.98), rgba(255,242,236,.96)); box-shadow: inset 0 1px rgba(255,255,255,.8), 0 13px 30px rgba(68,4,23,.2); font-size: clamp(25px, 2.35vw, 46px); font-weight: 900; line-height: 1.04; letter-spacing: -.035em; opacity: 0; animation: flavorIn .55s var(--entry-delay, 0ms) ease-out forwards; transition: border-color .35s ease, background .35s ease, box-shadow .35s ease, transform .35s ease; }
.tv-flavor::before { content: ""; width: clamp(8px, .6vw, 12px); aspect-ratio: 1; flex: 0 0 auto; border-radius: 50%; background: #ffd45f; box-shadow: 0 0 0 5px rgba(255,212,95,.12); }
.tv-flavor.unavailable { color: rgba(33,21,26,.42); text-decoration: line-through; background: rgba(33,21,26,.07); }
.tv-flavor.unavailable::before { background: #f36d88; box-shadow: 0 0 0 6px rgba(243,109,136,.11); }
.tv-flavor em { margin-left: auto; font-size: clamp(8px, .7vw, 13px); font-style: normal; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; }
.tv-flavor.is-spotlight:not(.unavailable) { border-color: rgba(225,167,33,.55); background: linear-gradient(105deg, #fff9e4, #ffe9aa); box-shadow: inset 0 1px rgba(255,255,255,.8), 0 0 34px rgba(255,204,77,.2); transform: translateY(-2px); }
.flavor-groups { min-height: 0; flex: 1; padding-top: 2.2vh; display: grid; grid-template-columns: minmax(0, 3fr) minmax(250px, 1fr); gap: clamp(14px, 1.4vw, 28px); }
.flavor-group { min-height: 0; display: flex; flex-direction: column; }
.single-flavor-group { flex: 1; margin-top: 2.2vh; }
.water-group { background: transparent; }
.flavor-group-title { min-height: clamp(48px, 5.8vh, 82px); margin-bottom: clamp(9px, 1vw, 18px); display: flex; align-items: center; gap: 13px; }
.flavor-group-title::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, rgba(255,255,255,.45), transparent); }
.flavor-group-title span { padding: 8px 12px; border-radius: 99px; color: #20151a; background: #ffd45f; font-size: clamp(10px, .8vw, 15px); font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.water-group .flavor-group-title span { background: var(--sky); }
.flavor-group-title strong { color: #fff; font-size: clamp(20px, 1.9vw, 37px); letter-spacing: -.035em; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.grouped-flavor-grid { padding-top: 0; }
.tv2-flavor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cream-flavor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.water-flavor-grid { grid-template-columns: 1fr; }
.water-flavor { border-color: rgba(57,176,193,.28); background: linear-gradient(105deg, #f8feff, #e5f8fa); }
.water-flavor::before { background: var(--sky); box-shadow: 0 0 0 6px rgba(98,207,223,.14); }
.water-flavor.is-spotlight:not(.unavailable) { border-color: rgba(57,176,193,.55); background: linear-gradient(105deg, #e8fafc, #c9f1f5); box-shadow: inset 0 1px rgba(255,255,255,.8), 0 0 34px rgba(98,207,223,.22); }
.tv-empty { margin: auto; text-align: center; }
@keyframes tvCardIn { from { opacity: 0; transform: translateY(28px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes flavorIn { from { opacity: 0; translate: -18px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes productFloat { 0%, 100% { transform: translateY(var(--product-offset-y)) rotate(-1deg) scale(var(--product-scale)); } 50% { transform: translateY(calc(var(--product-offset-y) - 7px)) rotate(1deg) scale(var(--product-scale)); } }
@keyframes featuredProductFloat { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-4px) rotate(1deg); } }
@keyframes promoShine { 0%, 58% { left: -70%; } 82%, 100% { left: 130%; } }
@keyframes backdropBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08) translate(-2%, 2%); } }
@keyframes tvSprinkle { 0%, 100% { translate: 0 0; } 50% { translate: 18px -24px; } }
@keyframes decorPulse { 0%, 100% { opacity: .45; transform: scale(1); } 50% { opacity: .8; transform: scale(1.08) translateY(-8px); } }

@media (max-width: 920px) {
    .site-nav > a:not(.button) { display: none; }
    .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 42px; }
    .hero-visual { min-height: 520px; }
    .story { grid-template-columns: 46px 1fr; }
    .story-text { grid-column: 2; padding-top: 0; }
    .quality { grid-template-columns: 1fr; }
    .quality-card { min-height: 280px; transform: none; }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-art { min-height: 380px; }
    .auth-form-wrap { min-height: 610px; }
    .two-columns, .screen-grid { grid-template-columns: 1fr; }
    .product-row { grid-template-columns: 54px 1fr 1fr; }
    .product-row .product-badge, .product-row .check-line { grid-column: span 1; }
    .add-form, .add-form.product-add { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
    .site-header { width: min(100% - 22px, 1240px); min-height: 74px; gap: 8px; }
    .brand .firenze-mark { --mark-size: 62px; }
    .brand-claim { display: none; }
    .brand-claim strong { font-size: 10px; }
    .site-nav { gap: 6px; }
    .site-nav .button { min-height: 40px; padding-inline: 10px; font-size: 11px; }
    .tv-button-icon { width: 18px; height: 14px; }
    .hero { width: min(100% - 28px, 1240px); padding-bottom: 68px; }
    .hero h1 { font-size: 50px; }
    .hero-visual { min-height: 390px; }
    .hero-stamp { --mark-size: 104px; top: 1%; }
    .story { padding: 100px 0 80px; grid-template-columns: 1fr; }
    .story-text { grid-column: 1; }
    .section-number { display: none; }
    .site-footer { flex-wrap: wrap; }
    .site-footer span { width: 100%; }
    .auth-art { min-height: 330px; padding: 34px 26px; }
    .auth-mark { --mark-size: 128px; }
    .auth-form-wrap { padding: 36px 22px; }
    .admin-header { padding-inline: 18px; }
    .admin-nav a:not(.button) { display: none; }
    .admin-main { width: min(100% - 24px, 1240px); padding-top: 32px; }
    .admin-title { align-items: start; flex-direction: column; }
    .stat-row { grid-template-columns: 1fr; }
    .admin-section { padding: 18px; }
    .product-row { grid-template-columns: 50px 1fr; }
    .product-row > *:not(.product-thumb) { grid-column: 2; }
    .add-form, .add-form.product-add { grid-template-columns: 1fr; }
    .tv-index { padding: 25px 16px; }
    .tv-index-header { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
