:root {
  --purple: #76278b; --purple-deep: #42104f; --purple-soft: #eee1f1;
  --wine: #a10f24; --red: #c92433; --green: #174c36; --green-light: #2c7953;
  --gold: #d7a735; --cream: #fffaf0; --paper: #fffefa; --ink: #2e2130;
  --muted: #766a77; --line: #eadfe7; --shadow: 0 20px 45px rgba(66,16,79,.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--cream); }
body { margin: 0; color: var(--ink); min-width: 320px; }
button, input, select { font: inherit; }
button, .button, a { -webkit-tap-highlight-color: transparent; }
.christmas-shell {
  min-height: 100vh; position: relative; overflow-x: hidden;
  background: radial-gradient(circle at 8% 15%, rgba(201,36,51,.08) 0 2px, transparent 3px),
    radial-gradient(circle at 84% 9%, rgba(118,39,139,.12) 0 3px, transparent 4px),
    linear-gradient(180deg, #fffdf8 0%, #fff8ed 55%, #f8f0f8 100%);
}
.ambient-snow { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .55; background-image: radial-gradient(circle, white 0 2px, transparent 2.5px), radial-gradient(circle, white 0 1px, transparent 1.5px); background-size: 84px 84px, 51px 51px; background-position: 0 0, 20px 35px; }
.ambient-snow::before, .ambient-snow::after { content: "✦"; position: absolute; color: var(--gold); font-size: 22px; animation: twinkle 3s ease-in-out infinite; }
.ambient-snow::before { top: 12%; left: 4%; }
.ambient-snow::after { top: 26%; right: 4%; animation-delay: 1.4s; }
.site-header, main, .site-footer, .flash { position: relative; z-index: 1; }
.site-header { min-height: 82px; padding: 10px clamp(18px,4vw,64px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: rgba(255,254,250,.92); border-bottom: 1px solid rgba(118,39,139,.12); backdrop-filter: blur(14px); }
.site-header::after { content: "●  ●  ●  ●  ●  ●  ●"; position: absolute; left: 0; right: 0; bottom: -6px; text-align: center; color: var(--red); font-size: 10px; letter-spacing: 38px; text-shadow: 55px 0 var(--green),110px 0 var(--gold),165px 0 var(--purple); overflow: hidden; white-space: nowrap; }
.brand-lockup { display: flex; align-items: center; gap: 14px; color: var(--purple-deep); text-decoration: none; font-family: Georgia,serif; font-weight: 800; }
.brand-logo { width: 82px; height: 58px; object-fit: cover; object-position: center; border-radius: 12px; }
.brand-divider { height: 34px; width: 1px; background: var(--line); }
.brand-event { font-size: 21px; letter-spacing: -.02em; }
.brand-event::before { content: "✦"; color: var(--gold); margin-right: 7px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-link { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 750; padding: 11px 14px; border-radius: 12px; }
.nav-link:hover, .nav-link.active { color: var(--purple); background: var(--purple-soft); }
.locale-switch { display: flex; margin-left: 8px; padding: 3px; border-radius: 12px; border: 1px solid var(--line); background: white; }
.locale-switch a { text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 850; padding: 7px 9px; border-radius: 8px; }
.locale-switch a.selected { color: white; background: var(--purple); }
main { width: min(1440px,calc(100% - 40px)); margin: 0 auto; padding: 28px 0 56px; }
.hero-banner { overflow: hidden; min-height: 190px; display: flex; align-items: center; justify-content: space-between; padding: 30px clamp(26px,5vw,72px); border-radius: 28px; color: white; background: linear-gradient(120deg,var(--purple-deep),var(--purple) 60%,#8e2d88); box-shadow: var(--shadow); position: relative; }
.hero-banner::before { content: ""; position: absolute; width: 340px; height: 340px; right: 8%; top: -180px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255,255,255,.04),0 0 0 76px rgba(255,255,255,.03); }
.hero-banner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 16% 22%,rgba(255,255,255,.16) 0 2px,transparent 2.5px); background-size: 36px 36px; opacity: .4; }
.event-logo-card { flex: 0 0 144px; width: 144px; height: 144px; padding: 6px; position: relative; z-index: 3; overflow: hidden; border: 2px solid rgba(215,167,53,.9); border-radius: 26px; background: #f6eee1; box-shadow: 0 16px 30px rgba(26,5,31,.25), inset 0 0 0 2px rgba(255,255,255,.65); transform: rotate(-2deg); }
.event-logo-card::after { content: "✦"; position: absolute; right: 7px; top: 5px; color: var(--gold); font-size: 18px; text-shadow: 0 2px 3px rgba(66,16,79,.25); }
.event-logo { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 19px; }
.hero-copy { max-width: 650px; position: relative; z-index: 2; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 900; }
.hero-copy h1, .settings-hero h1 { font-family: Georgia,serif; font-size: clamp(42px,5vw,68px); line-height: .95; letter-spacing: -.04em; margin: 10px 0 14px; }
.hero-copy p { max-width: 570px; margin: 0; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.55; }
.hero-scene { position: relative; align-self: stretch; width: 340px; z-index: 2; }
.santa-hat { position: absolute; z-index: 7; right: 128px; top: -4px; width: 83px; height: 70px; background: linear-gradient(135deg,#d82938 0 60%,#a00d20); clip-path: polygon(8% 82%,42% 8%,73% 64%,100% 76%,92% 98%,10% 99%); transform: rotate(-11deg); filter: drop-shadow(0 9px 7px rgba(0,0,0,.2)); }
.santa-hat::before { content: ""; position: absolute; bottom: 0; left: 0; width: 77px; height: 18px; border-radius: 999px; background: #fffaf0; box-shadow: inset 0 -5px 6px #dfd5cc; }
.santa-hat::after { content: ""; position: absolute; right: -4px; top: 42px; width: 23px; height: 23px; border-radius: 50%; background: #fffaf0; box-shadow: inset -4px -4px 6px #dfd5cc; }
.christmas-tree { position: absolute; bottom: 0; width: 0; height: 0; border-left: 70px solid transparent; border-right: 70px solid transparent; border-bottom: 120px solid #1d6848; filter: drop-shadow(0 12px 10px rgba(0,0,0,.18)); }
.christmas-tree::before, .christmas-tree::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 55px solid transparent; border-right: 55px solid transparent; border-bottom: 95px solid #277958; }
.christmas-tree::before { top: 24px; }
.christmas-tree::after { top: 52px; border-left-width: 44px; border-right-width: 44px; border-bottom-width: 76px; border-bottom-color: #359067; }
.christmas-tree span { position: absolute; z-index: 2; top: 16px; left: -10px; color: var(--gold); font-size: 24px; }
.large-tree { right: 30px; bottom: -4px; transform: scale(1.05); }
.small-tree { right: 150px; bottom: 2px; transform: scale(.65); }
.gift { position: absolute; bottom: -2px; z-index: 4; width: 58px; height: 45px; border-radius: 5px; box-shadow: inset 0 -6px 10px rgba(0,0,0,.12); }
.gift::before { content: ""; position: absolute; left: 23px; height: 100%; width: 12px; background: var(--gold); }
.gift::after { content: "✦"; position: absolute; color: var(--gold); font-size: 30px; top: -31px; left: 13px; }
.gift-red { right: 110px; background: var(--red); }
.gift-purple { right: 10px; width: 72px; background: #eee2f0; }
.cashier-layout { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 28px; margin-top: 30px; align-items: start; }
.product-stage, .checkout-panel { background: rgba(255,254,250,.93); border: 1px solid rgba(118,39,139,.1); border-radius: 26px; box-shadow: 0 14px 35px rgba(66,16,79,.07); }
.product-stage { padding: 28px; }
.checkout-panel { padding: 26px; position: sticky; top: 20px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 22px; }
.section-heading h2 { font-family: Georgia,serif; font-size: 28px; margin: 5px 0 0; color: var(--purple-deep); }
.section-heading.compact { margin-bottom: 14px; }
.text-button { border: 0; background: transparent; color: var(--purple); cursor: pointer; font-size: 13px; font-weight: 800; }
.text-button:hover { text-decoration: underline; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.product-card { min-width: 0; border-radius: 22px; padding: 18px; background: white; border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(56,35,54,.07); transition: transform .25s,box-shadow .25s,border-color .25s; overflow: hidden; position: relative; }
.product-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--purple); }
.product-hot-chocolate::before { background: var(--red); }
.product-fishing::before { background: var(--green); }
.product-card.has-selection { transform: translateY(-4px); border-color: rgba(118,39,139,.35); box-shadow: 0 16px 34px rgba(66,16,79,.13); }
.product-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-card-top strong { color: var(--purple-deep); font-size: 16px; }
.product-badge { display: inline-flex; border-radius: 999px; background: var(--purple-soft); color: var(--purple); text-transform: uppercase; font-size: 9px; letter-spacing: .12em; font-weight: 900; padding: 6px 9px; }
.product-visual { height: 190px; display: grid; place-items: center; position: relative; margin: 12px 0 5px; }
.product-info h3 { font-family: Georgia,serif; color: var(--purple-deep); font-size: 22px; margin: 0 0 9px; }
.stock-copy { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); margin: 0 0 4px; }
.stock-copy strong { color: var(--ink); }
.product-info small { color: var(--muted); font-size: 10px; }
.product-info .reserved-copy { display: block; margin-top: 4px; color: #9b6b12; font-weight: 750; }
.quantity-picker { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 8px; margin-top: 16px; padding: 5px; border-radius: 15px; background: #f7f1f7; }
.quantity-picker button { width: 42px; height: 38px; border: 0; border-radius: 11px; color: white; background: var(--purple); cursor: pointer; font-size: 22px; font-weight: 600; box-shadow: inset 0 -3px 0 rgba(0,0,0,.15); transition: transform .15s,opacity .15s; }
.quantity-picker button:first-child { color: var(--purple); background: white; box-shadow: 0 2px 7px rgba(66,16,79,.08); }
.quantity-picker button:hover:not(:disabled) { transform: translateY(-2px); }
.quantity-picker button:disabled { opacity: .3; cursor: not-allowed; }
.quantity-picker output { text-align: center; font-weight: 900; font-size: 17px; }
.thermos { width: 104px; height: 156px; position: relative; filter: drop-shadow(0 14px 10px rgba(80,23,21,.18)); }
.thermos-body { position: absolute; overflow: hidden; bottom: 0; left: 15px; width: 75px; height: 126px; border: 6px solid #f0e4e4; border-radius: 18px 18px 28px 28px; background: linear-gradient(100deg,#fff 0%,#eadedf 45%,#fff 62%,#d6c6c8 100%); box-shadow: inset -9px 0 12px rgba(91,48,52,.15),inset 5px 0 8px white; }
.thermos-cap { position: absolute; left: 24px; top: 8px; width: 57px; height: 28px; border-radius: 7px 7px 3px 3px; background: linear-gradient(#69211f,#3f1212); z-index: 4; box-shadow: inset 0 4px 3px rgba(255,255,255,.16); }
.thermos-handle { position: absolute; width: 42px; height: 72px; right: -10px; top: 48px; border: 9px solid #d8c9ca; border-left: 0; border-radius: 0 24px 24px 0; }
.chocolate-fill { position: absolute; left: 0; right: 0; bottom: 0; min-height: 0; background: linear-gradient(90deg,#512016,#82402c 48%,#4b1b12); transition: height .65s cubic-bezier(.22,.82,.2,1); }
.chocolate-fill::before { content: ""; position: absolute; top: -5px; left: 0; right: 0; height: 10px; border-radius: 50%; background: #9c5a3b; }
.thermos-shine { position: absolute; left: 10px; top: 15px; bottom: 24px; width: 8px; border-radius: 999px; background: rgba(255,255,255,.62); z-index: 3; }
.steam { position: absolute; left: calc(50% - 25px); top: -4px; display: flex; gap: 8px; }
.steam i { width: 6px; height: 32px; border-radius: 50%; border-left: 3px solid rgba(128,99,111,.26); animation: steam 2.3s ease-in-out infinite; }
.steam i:nth-child(2) { animation-delay: .7s; height: 39px; }
.steam i:nth-child(3) { animation-delay: 1.3s; }
.brownie-tray { width: 100%; max-height: 180px; min-height: 112px; overflow: auto; padding: 14px; display: grid; grid-template-columns: repeat(auto-fit,minmax(27px,1fr)); align-content: center; gap: 7px; border-radius: 18px; background: linear-gradient(145deg,#d9c6b4,#ae927c); border: 6px solid #8e6e58; box-shadow: inset 0 0 0 3px #e4d3c1,inset 0 10px 18px rgba(64,32,18,.18),0 10px 16px rgba(83,46,29,.15); }
.brownie-piece { aspect-ratio: 1; border-radius: 5px; position: relative; background: linear-gradient(135deg,#69331e 0%,#3f190f 70%); box-shadow: inset 3px 3px 3px rgba(255,255,255,.09),inset -4px -4px 5px rgba(0,0,0,.28),0 5px 4px rgba(56,24,12,.25); transition: opacity .35s,transform .35s,filter .35s; }
.brownie-piece i::before, .brownie-piece i::after { content: ""; position: absolute; width: 4px; height: 3px; border-radius: 50%; background: #b77a4f; box-shadow: 9px 8px 0 #8c5434,17px 3px 0 #c38b61; top: 7px; left: 6px; }
.stock-piece.is-reserved { opacity: .12; transform: scale(.68) rotate(8deg); filter: grayscale(1); }
.fishing-pond { width: 100%; max-height: 180px; min-height: 130px; overflow: auto; padding: 18px 14px; display: grid; grid-template-columns: repeat(auto-fit,minmax(36px,1fr)); align-content: center; gap: 9px; border-radius: 50% 50% 40% 40% / 28% 28% 20% 20%; background: radial-gradient(ellipse,#7bc8d7,#338fa8 60%,#236b85); box-shadow: inset 0 9px 16px rgba(255,255,255,.32),inset 0 -13px 20px rgba(20,72,92,.35),0 10px 18px rgba(34,99,121,.18); border: 5px solid #d7c39a; }
.prize-fish { width: 34px; height: 20px; justify-self: center; border-radius: 50% 45% 45% 50%; position: relative; background: var(--red); color: var(--red); box-shadow: inset 0 4px 5px rgba(255,255,255,.26),0 4px 5px rgba(16,71,90,.25); transition: opacity .35s,transform .35s,filter .35s; animation: swim 3s ease-in-out infinite alternate; }
.prize-fish::after { content: ""; position: absolute; right: -9px; top: 4px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 11px solid currentColor; }
.prize-fish::before { content: ""; width: 3px; height: 3px; position: absolute; left: 6px; top: 6px; background: #1e1820; border-radius: 50%; }
.prize-fish.fish-1 { background: var(--gold); color: var(--gold); animation-delay: .8s; }
.prize-fish.fish-2 { background: var(--purple); color: var(--purple); animation-delay: 1.5s; }
.visual-empty { font-size: 38px; color: rgba(255,255,255,.75); font-weight: 900; }
.phone-frame { width: 252px; margin: 0 auto; padding: 12px 11px 14px; border-radius: 38px; background: linear-gradient(145deg,#231625,#080509); box-shadow: inset 3px 3px 3px rgba(255,255,255,.15),inset -4px -4px 5px rgba(0,0,0,.8),0 24px 34px rgba(29,11,31,.28); transition: transform .4s,filter .4s; }
.phone-frame.is-locked { filter: saturate(.55); transform: perspective(600px) rotateY(-3deg); }
.phone-speaker { width: 65px; height: 5px; margin: 2px auto 9px; border-radius: 999px; background: #3c313e; }
.phone-screen { min-height: 400px; border-radius: 28px; overflow: hidden; position: relative; background: linear-gradient(160deg,#f7eafa,white 50%,#f6ecde); }
.phone-status { display: flex; justify-content: space-between; padding: 14px 15px 8px; font-size: 8px; font-weight: 800; color: var(--purple); }
.phone-lock { min-height: 350px; padding: 70px 28px 20px; text-align: center; color: var(--muted); }
.phone-lock strong { display: block; font-family: Georgia,serif; color: var(--purple-deep); margin: 15px 0 7px; font-size: 20px; }
.phone-lock p { font-size: 11px; line-height: 1.5; }
.lock-icon { display: grid; place-items: center; margin: auto; width: 62px; height: 62px; border-radius: 20px; background: white; color: var(--purple); font-size: 34px; box-shadow: 0 10px 25px rgba(66,16,79,.13); }
.phone-ready { padding: 12px 17px 18px; }
.cash-checkout-form { display: grid; gap: 0; }
.order-checkout-card { margin-top: 22px; padding: 20px; border: 1px solid #dfd1df; border-radius: 20px; background: linear-gradient(145deg,#fff,#faf3fa); box-shadow: inset 0 1px 0 white,0 9px 22px rgba(66,16,79,.06); }
.order-summary-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.order-summary-heading h3 { margin: 4px 0 0; color: var(--purple-deep); font-family: Georgia,serif; font-size: 23px; }
.order-total { display: grid; justify-items: end; gap: 2px; }
.order-total span { color: var(--muted); font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.order-total strong { color: var(--purple-deep); font-size: 25px; }
.order-cart-lines { min-height: 48px; margin: 15px 0; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.order-cart-lines > div { padding: 9px 11px; border: 1px dashed #d8c8d8; border-radius: 11px; background: white; }
.order-cart-lines > p { grid-column: 1/-1; margin: 0; padding: 14px; color: var(--muted); text-align: center; font-size: 10px; }
.phone-brand { font-size: 9px; letter-spacing: .12em; font-weight: 950; color: var(--purple); }
.phone-ready h3 { font-family: Georgia,serif; color: var(--purple-deep); margin: 7px 0 14px; font-size: 20px; }
.cart-lines { display: grid; gap: 8px; min-height: 80px; }
.cart-lines > div { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 7px; border-bottom: 1px dashed #d9c9d9; font-size: 10px; }
.phone-total { display: flex; justify-content: space-between; align-items: end; margin: 15px 0; }
.phone-total span { font-size: 10px; color: var(--muted); }
.phone-total strong { font-size: 21px; color: var(--purple-deep); }
.order-review-step { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px; padding: 14px; border-radius: 15px; background: #f5edf6; }
.order-review-step p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.confirm-order-button { min-width: 170px; min-height: 40px; border: 0; border-radius: 11px; cursor: pointer; color: white; background: linear-gradient(135deg,var(--purple),var(--purple-deep)); font-size: 10px; font-weight: 900; box-shadow: inset 0 -3px 0 rgba(0,0,0,.15),0 7px 15px rgba(66,16,79,.18); }
.confirm-order-button:disabled { cursor: not-allowed; opacity: .4; box-shadow: none; }
.payment-step { display: grid; padding: 14px; border-radius: 15px; background: #f5edf6; }
.payment-step[hidden] { display: none; }
.confirmed-order { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--green); font-size: 9px; font-weight: 850; }
.confirmed-order button { padding: 0; border: 0; cursor: pointer; color: var(--purple); background: transparent; font-size: 9px; font-weight: 850; text-decoration: underline; }
.order-confirmed .product-card { opacity: .72; }
.order-confirmed .product-card.has-selection { opacity: 1; border-color: var(--green-light); }
.text-button:disabled { cursor: not-allowed; opacity: .4; text-decoration: none; }
.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 4px; margin-bottom: 13px; border-radius: 12px; background: #eee5ef; }
.payment-methods button { padding: 8px 5px; border: 0; border-radius: 9px; cursor: pointer; color: var(--muted); background: transparent; text-align: center; font-size: 9px; font-weight: 850; }
.payment-methods .selected { color: white; background: var(--purple); box-shadow: 0 4px 10px rgba(66,16,79,.18); }
.cash-field { display: grid; gap: 6px; color: var(--muted); font-size: 9px; font-weight: 800; }
.cash-input { display: flex; align-items: center; overflow: hidden; border: 1px solid #d9c9d9; border-radius: 11px; background: white; }
.cash-input b { padding: 0 9px; color: var(--purple); font-size: 10px; }
.cash-input input { width: 100%; min-width: 0; height: 38px; padding: 7px 9px; border: 0; border-left: 1px solid #eadfea; outline: 0; color: var(--ink); background: transparent; font-weight: 800; }
.cash-input:focus-within { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(118,39,139,.1); }
.change-line { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 10px; color: var(--muted); }
.change-line strong { color: var(--green); font-size: 15px; }
.cash-hint { min-height: 28px; margin: 8px 0; font-size: 9px; line-height: 1.4; color: var(--muted); }
.cash-hint.is-ready { color: var(--green); font-weight: 750; }
.confirm-sale-button { width: 100%; min-height: 40px; border: 0; border-radius: 11px; cursor: pointer; color: white; background: linear-gradient(135deg,var(--green-light),var(--green)); font-size: 10px; font-weight: 900; box-shadow: inset 0 -3px 0 rgba(0,0,0,.14),0 6px 14px rgba(23,76,54,.18); }
.confirm-sale-button:disabled { cursor: not-allowed; opacity: .42; filter: grayscale(.5); box-shadow: none; }
.cash-payment-grid { display: grid; grid-template-columns: minmax(180px,1fr) 140px minmax(180px,1fr) auto; gap: 14px; align-items: end; }
.cash-payment-grid[hidden], .pix-payment-choice[hidden] { display: none; }
.cash-payment-grid .change-line { display: grid; align-content: center; justify-items: start; margin: 0; min-height: 40px; }
.cash-payment-grid .cash-hint { align-self: center; margin: 0; }
.cash-payment-grid .confirm-sale-button { min-width: 170px; }
.pix-payment-choice { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; align-items: center; }
.pix-payment-choice p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.generate-pix-button { min-width: 170px; min-height: 40px; padding: 9px 16px; border: 0; border-radius: 11px; cursor: pointer; color: white; background: linear-gradient(135deg,#23a88b,#12725f); font-size: 10px; font-weight: 900; box-shadow: inset 0 -3px 0 rgba(0,0,0,.14),0 7px 15px rgba(18,114,95,.18); }
.pix-page { display: grid; grid-template-columns: minmax(0,1fr) 390px; gap: 30px; align-items: start; }
.pix-order-card, .pix-phone-panel { padding: 30px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,254,250,.95); box-shadow: var(--shadow); }
.pix-order-card h1 { margin: 8px 0 10px; color: var(--purple-deep); font-family: Georgia,serif; font-size: 42px; }
.pix-order-card > p { color: var(--muted); line-height: 1.55; }
.pix-order-lines { display: grid; gap: 8px; margin: 24px 0 15px; }
.pix-order-lines > div { display: flex; justify-content: space-between; gap: 15px; padding: 11px 13px; border-radius: 12px; background: #faf4fa; font-size: 12px; }
.pix-order-total { display: flex; justify-content: space-between; align-items: end; padding-top: 14px; border-top: 1px solid var(--line); }
.pix-order-total span { color: var(--muted); font-size: 11px; }
.pix-order-total strong { color: var(--purple-deep); font-size: 27px; }
.reservation-note { padding: 12px; border-radius: 12px; color: #6d531a !important; background: #fbf0ce; font-size: 10px; }
.pix-back-button { color: var(--purple); border: 1px solid var(--line); }
.pix-phone-panel { text-align: center; }
.pix-phone { width: min(280px,100%); }
.pix-phone-content { min-height: 430px; }
.real-pix-qr { margin: 14px auto 9px; padding: 10px; border-radius: 13px; background: white; box-shadow: 0 8px 20px rgba(35,18,39,.12); }
.real-pix-qr svg { display: block; width: 100%; height: auto; }
.pix-amount { display: block; color: var(--purple-deep); font-size: 20px; }
.pix-phone-content > p { color: var(--muted); font-size: 9px; }
.pix-copy { margin-top: 10px; color: var(--purple); font-size: 9px; }
.pix-copy summary { cursor: pointer; font-weight: 850; }
.pix-copy textarea { width: 100%; height: 54px; margin-top: 6px; padding: 7px; border: 1px solid var(--line); border-radius: 8px; resize: none; font-size: 7px; }
.pix-waiting { display: grid; place-items: center; gap: 9px; min-height: 300px; color: var(--muted); }
.pix-waiting > span { font-size: 38px; color: var(--gold); animation: twinkle 2s infinite; }
.pix-waiting strong { color: var(--purple-deep); }
.pix-waiting p { max-width: 190px; font-size: 9px; line-height: 1.5; }
.pix-live-status { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 18px 0 0; color: var(--muted); font-size: 9px; }
.pix-live-status span { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: twinkle 1.2s infinite; }
.pix-placeholder { min-height: 132px; padding: 18px; display: grid; place-items: center; text-align: center; border-radius: 17px; color: white; background: linear-gradient(145deg,var(--purple),var(--purple-deep)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.pix-placeholder p { margin: 5px 0 0; font-size: 10px; line-height: 1.4; }
.pix-diamond { font-size: 30px; color: var(--gold); }
.phone-home { width: 70px; height: 4px; margin: 10px auto 0; background: #6b606c; border-radius: 999px; }
.payment-note { display: flex; gap: 10px; margin-top: 22px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.payment-note span { color: var(--gold); font-size: 18px; }
.payment-note p { margin: 0; }
.settings-hero { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 32px 40px; border-radius: 26px; background: linear-gradient(120deg,var(--purple-deep),var(--purple)); color: white; box-shadow: var(--shadow); }
.settings-hero h1 { font-size: 42px; margin-bottom: 8px; }
.settings-hero p { margin: 0; color: rgba(255,255,255,.72); }
.settings-grid { display: grid; gap: 22px; margin-top: 26px; }
.settings-card { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: 0 12px 30px rgba(66,16,79,.07); }
.settings-card > header { display: grid; grid-template-columns: 54px 1fr auto; gap: 14px; align-items: center; margin-bottom: 22px; }
.settings-card h2 { font-family: Georgia,serif; color: var(--purple-deep); margin: 4px 0 0; }
.settings-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; background: var(--purple-soft); color: var(--purple); font-size: 24px; box-shadow: inset 0 -4px 7px rgba(66,16,79,.08); }
.settings-icon.hot_chocolate { background: #f7e1df; color: var(--wine); }
.settings-icon.fishing { background: #e0eee7; color: var(--green); }
.status-pill { border-radius: 999px; padding: 7px 10px; font-size: 10px; font-weight: 850; }
.status-pill.on { background: #dbefe5; color: var(--green); }
.status-pill.off { background: #eee8ee; color: var(--muted); }
.settings-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.field-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; grid-column: 1/-1; }
.settings-form label, .stock-form label { display: grid; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 800; }
.settings-form input[type=text], .settings-form input[type=number], .stock-form input, .stock-form select { width: 100%; min-height: 42px; border: 1px solid #ddcedd; border-radius: 11px; padding: 9px 11px; color: var(--ink); background: #fffdff; outline: none; }
.settings-form input:focus, .stock-form input:focus, .stock-form select:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(118,39,139,.1); }
.input-prefix, .input-suffix { display: flex; align-items: center; border: 1px solid #ddcedd; border-radius: 11px; overflow: hidden; background: #f7f1f7; }
.input-prefix input, .input-suffix input { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.input-prefix b, .input-suffix b { padding: 0 11px; color: var(--purple); font-size: 11px; }
.checkbox-field { display: flex !important; align-items: center; gap: 8px !important; }
.checkbox-field input { accent-color: var(--purple); width: 17px; height: 17px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 42px; padding: 9px 16px; border: 0; border-radius: 12px; text-decoration: none; cursor: pointer; font-weight: 850; font-size: 12px; }
.button.primary { color: white; background: var(--purple); }
.button.secondary { color: var(--purple); background: white; }
.settings-form .button { justify-self: end; min-width: 150px; }
.inventory-box { padding-top: 22px; }
.inventory-summary { display: flex; gap: 45px; margin-bottom: 17px; }
.inventory-summary div { display: grid; gap: 3px; }
.inventory-summary span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.inventory-summary strong { color: var(--purple-deep); font-size: 21px; }
.stock-form { display: grid; grid-template-columns: 1fr 1fr 1fr 2fr auto; gap: 12px; align-items: end; padding: 15px; border-radius: 17px; background: #faf6fa; }
.inventory-button { color: white; background: var(--green); white-space: nowrap; }
.movement-history { margin-top: 16px; }
.movement-history summary { cursor: pointer; color: var(--purple); font-size: 12px; font-weight: 850; }
.movement-history ol { list-style: none; padding: 8px 0 0; margin: 0; }
.movement-history li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f1e8f0; font-size: 12px; }
.movement-history small { display: block; color: var(--muted); margin-top: 2px; }
.movement-delta { display: grid; place-items: center; min-width: 50px; padding: 6px; border-radius: 9px; font-weight: 900; }
.movement-delta.positive { color: var(--green); background: #e0f1e7; }
.movement-delta.negative { color: var(--wine); background: #f8e2e4; }
.batch-panel { margin-top: 16px; padding: 15px; border: 1px solid #e3d7e3; border-radius: 17px; background: #fdf9fd; }
.batch-panel summary { cursor: pointer; color: var(--purple); font-size: 12px; font-weight: 850; }
.batch-panel > p { margin: 9px 0 14px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.batch-form { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 11px; align-items: end; }
.batch-form label { display: grid; gap: 6px; color: var(--muted); font-size: 10px; font-weight: 800; }
.batch-form input { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #ddcedd; border-radius: 10px; outline: 0; background: white; }
.batch-form .input-prefix input, .batch-form .input-suffix input { border: 0; border-radius: 0; }
.batch-expense-check { grid-column: 1/-2; }
.batch-button { justify-self: end; color: white; background: var(--purple); }
.batch-list { margin-top: 16px; }
.batch-list h3 { margin: 0 0 8px; color: var(--purple-deep); font-size: 11px; }
.batch-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-top: 1px solid #f0e7ef; }
.batch-list p { display: grid; gap: 2px; margin: 0; }
.batch-list strong { color: var(--ink); font-size: 10px; }
.batch-list small { color: var(--muted); font-size: 8px; }
.batch-list > div > span { color: var(--purple-deep); font-size: 10px; font-weight: 850; white-space: nowrap; }
.fishing-hero { background: linear-gradient(120deg,#123b31,var(--green-light) 58%,var(--purple)); }
.ticket-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 24px; }
.ticket-stats article { display: grid; gap: 5px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 10px 25px rgba(66,16,79,.07); }
.ticket-stats span { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.ticket-stats strong { color: var(--purple-deep); font-family: Georgia,serif; font-size: 34px; }
.ticket-stats .pending { border-top: 4px solid var(--gold); }
.ticket-stats .redeemed { border-top: 4px solid var(--green); }
.ticket-list { display: grid; gap: 13px; margin-top: 20px; }
.fishing-ticket { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 17px 20px; border: 1px solid var(--line); border-radius: 19px; background: white; box-shadow: 0 9px 22px rgba(66,16,79,.06); }
.fishing-ticket.redeemed { opacity: .72; }
.ticket-fish { display: grid; place-items: center; width: 52px; height: 38px; border-radius: 50% 45% 45% 50%; color: white; background: linear-gradient(145deg,var(--red),var(--wine)); filter: drop-shadow(0 6px 5px rgba(101,15,31,.2)); }
.fishing-ticket:nth-child(3n+2) .ticket-fish { background: linear-gradient(145deg,var(--gold),#b47717); }
.fishing-ticket:nth-child(3n) .ticket-fish { background: linear-gradient(145deg,var(--purple),var(--purple-deep)); }
.ticket-identity { display: grid; gap: 3px; }
.ticket-identity > span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; font-weight: 850; }
.ticket-identity strong { color: var(--purple-deep); font-size: 18px; letter-spacing: .04em; }
.ticket-identity small, .ticket-state small { color: var(--muted); font-size: 10px; }
.ticket-state { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.status-pill.waiting { color: #7a5510; background: #f8edcc; }
.status-pill.done { color: var(--green); background: #dbefe5; }
.redeem-button { color: white; background: var(--green); }
.financial-hero { background: linear-gradient(120deg,var(--purple-deep),#5c236a 55%,var(--green)); }
.financial-metrics { display: grid; grid-template-columns: repeat(5,1fr); gap: 15px; margin-top: 24px; }
.financial-metrics article { display: grid; gap: 5px; min-width: 0; padding: 19px; border: 1px solid var(--line); border-top: 4px solid var(--purple); border-radius: 19px; background: white; box-shadow: 0 10px 24px rgba(66,16,79,.07); }
.financial-metrics article:nth-child(2) { border-top-color: var(--wine); }
.financial-metrics article.positive { border-top-color: var(--green); }
.financial-metrics article.negative { border-top-color: var(--red); }
.financial-metrics article.margin-metric { border-top-color: var(--gold); }
.financial-metrics span { color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.financial-metrics strong { overflow: hidden; color: var(--purple-deep); font-family: Georgia,serif; font-size: clamp(22px,2vw,31px); text-overflow: ellipsis; }
.financial-metrics .negative strong { color: var(--wine); }
.financial-metrics small { color: var(--muted); font-size: 9px; line-height: 1.35; }
.financial-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; margin-top: 20px; }
.financial-history-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.finance-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 23px; background: white; box-shadow: 0 12px 30px rgba(66,16,79,.07); }
.expense-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.expense-form label { display: grid; gap: 6px; color: var(--muted); font-size: 10px; font-weight: 800; }
.expense-form .wide { grid-column: 1/-1; }
.expense-form input, .expense-form select, .expense-form textarea { width: 100%; min-height: 41px; padding: 9px 10px; border: 1px solid #ddcedd; border-radius: 10px; outline: 0; color: var(--ink); background: #fffdff; resize: vertical; }
.expense-form input:focus, .expense-form select:focus, .expense-form textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(118,39,139,.1); }
.expense-form .input-prefix input { border: 0; border-radius: 0; box-shadow: none; }
.expense-form .button { grid-column: 1/-1; justify-self: end; min-width: 150px; }
.finance-empty { margin: 15px 0 0; padding: 24px; border-radius: 14px; color: var(--muted); background: #faf6fa; text-align: center; font-size: 12px; }
.performance-list { display: grid; gap: 10px; }
.performance-list > div { display: grid; grid-template-columns: 43px 1fr auto; gap: 11px; align-items: center; padding: 12px; border-radius: 15px; background: #faf6fa; }
.performance-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 13px; color: var(--purple); background: var(--purple-soft); font-size: 20px; }
.performance-icon.hot_chocolate { color: var(--wine); background: #f7e1df; }
.performance-icon.fishing { color: var(--green); background: #e0eee7; }
.performance-list p { display: grid; gap: 2px; margin: 0; }
.performance-list p strong { color: var(--purple-deep); font-size: 12px; }
.performance-list p small { color: var(--muted); font-size: 9px; }
.performance-list > div > b { color: var(--purple-deep); font-size: 13px; }
.finance-table-wrap { overflow-x: auto; }
.finance-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.finance-table th { padding: 8px; color: var(--muted); text-align: left; font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.finance-table td { padding: 10px 8px; border-top: 1px solid #f0e6ef; white-space: nowrap; }
.finance-table td:first-child { display: grid; gap: 2px; }
.finance-table td small { color: var(--muted); font-size: 8px; }
.expense-list { display: grid; gap: 9px; }
.expense-list article { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: 15px; background: #faf6fa; }
.expense-list article > div:first-child { display: grid; gap: 3px; min-width: 0; }
.expense-category { color: var(--purple); font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.expense-list article strong { overflow: hidden; color: var(--purple-deep); font-size: 11px; text-overflow: ellipsis; }
.expense-list article small { overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.expense-value { display: grid; justify-items: end; gap: 5px; }
.expense-value > strong { font-size: 13px !important; }
.expense-value .text-button { padding: 0; font-size: 9px; }
.flash { width: min(800px,calc(100% - 40px)); margin: 16px auto -8px; padding: 12px 16px; border-radius: 13px; font-size: 13px; font-weight: 750; }
.flash.notice { background: #dff1e7; color: var(--green); }
.flash.alert { background: #f7dfe2; color: var(--wine); }
.empty-state { padding: 60px; margin-top: 25px; text-align: center; background: white; border-radius: 24px; border: 1px dashed var(--line); }
.site-footer { display: flex; justify-content: space-between; padding: 22px clamp(20px,5vw,70px); color: #8c7f8d; border-top: 1px solid rgba(118,39,139,.1); font-size: 11px; font-weight: 700; }
.site-footer span:first-child { color: var(--purple); }
.limit-pulse { animation: limit-pulse .45s ease; }
@keyframes twinkle { 50% { opacity: .25; transform: scale(.7) rotate(25deg); } }
@keyframes steam { 0%,100% { opacity: .1; transform: translateY(8px); } 50% { opacity: .6; transform: translateY(-9px) translateX(4px); } }
@keyframes swim { to { transform: translateX(5px) rotate(2deg); } }
@keyframes limit-pulse { 50% { transform: translateX(-4px); border-color: var(--red); } 75% { transform: translateX(4px); } }
@media (max-width:1120px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card:last-child { grid-column: 1/-1; }
  .stock-form { grid-template-columns: repeat(3,1fr); }
  .stock-form .wide { grid-column: span 2; }
  .financial-metrics { grid-template-columns: repeat(2,1fr); }
  .batch-form { grid-template-columns: repeat(2,1fr); }
  .batch-expense-check { grid-column: 1/-1; }
  .cash-payment-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width:850px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .header-actions { width: 100%; overflow-x: auto; }
  .cashier-layout { grid-template-columns: 1fr; }
  .checkout-panel { position: static; }
  .hero-scene { display: none; }
  .event-logo-card { flex-basis: 124px; width: 124px; height: 124px; border-radius: 22px; }
  .phone-frame { width: min(280px,100%); }
  .settings-hero { align-items: flex-start; flex-direction: column; }
  .financial-layout, .financial-history-grid { grid-template-columns: 1fr; }
  .pix-page { grid-template-columns: 1fr; }
}
@media (max-width:620px) {
  main { width: min(100% - 22px,1440px); padding-top: 12px; }
  .brand-event, .brand-divider { display: none; }
  .nav-link { padding: 9px; white-space: nowrap; }
  .hero-banner { min-height: 210px; padding: 24px 20px; border-radius: 21px; gap: 17px; align-items: flex-start; }
  .event-logo-card { flex-basis: 92px; width: 92px; height: 92px; padding: 4px; border-radius: 17px; }
  .event-logo { border-radius: 12px; }
  .hero-copy h1 { font-size: 37px; }
  .hero-copy p { font-size: 14px; }
  .product-stage, .checkout-panel { padding: 18px; border-radius: 21px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card:last-child { grid-column: auto; }
  .settings-card { padding: 17px; }
  .settings-form, .field-pair, .stock-form { grid-template-columns: 1fr; }
  .field-pair, .stock-form .wide { grid-column: auto; }
  .settings-form .button { justify-self: stretch; }
  .inventory-summary { gap: 22px; }
  .ticket-stats { grid-template-columns: 1fr; }
  .fishing-ticket { grid-template-columns: 48px minmax(0,1fr); padding: 15px; }
  .ticket-fish { width: 44px; }
  .ticket-state { grid-column: 1/-1; justify-content: space-between; }
  .financial-metrics { grid-template-columns: 1fr; }
  .finance-card { padding: 17px; }
  .expense-form { grid-template-columns: 1fr; }
  .expense-form .wide, .expense-form .button { grid-column: auto; }
  .expense-form .button { justify-self: stretch; }
  .expense-list article { grid-template-columns: 1fr; }
  .expense-value { grid-template-columns: auto auto; align-items: center; justify-items: start; }
  .batch-form { grid-template-columns: 1fr; }
  .batch-expense-check { grid-column: auto; }
  .batch-button { justify-self: stretch; }
  .order-summary-heading { align-items: flex-start; }
  .order-cart-lines { grid-template-columns: 1fr; }
  .order-review-step, .cash-payment-grid { grid-template-columns: 1fr; }
  .pix-payment-choice { grid-template-columns: 1fr; }
  .confirm-order-button, .cash-payment-grid .confirm-sale-button { width: 100%; min-width: 0; }
  .generate-pix-button { width: 100%; min-width: 0; }
  .pix-order-card, .pix-phone-panel { padding: 18px; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
