/* Common shell, own identity: shelf labels and two comparable packages. */
:root { --shop-peach: #f4e2d1; --shop-green: #e5eddf; --shop-accent: #9b472b; }
[hidden] { display: none !important; }.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1000px, calc(100% - 64px)); }.site-header { min-height: 82px; }
.shop-intro { padding: 32px 0 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }.shop-intro .eyebrow { color: var(--shop-accent); font-size: 10px; letter-spacing: 1.7px; margin-bottom: 12px; }.shop-intro h1 { font-size: clamp(44px, 5.2vw, 64px); letter-spacing: -2.7px; max-width: none; }.shop-intro .intro-copy { font-size: 14px; margin-top: 12px; color: #5d695a; }
.shop-stamp { display: flex; align-items: center; gap: 12px; transform: rotate(-6deg); }.shop-stamp svg { width: 70px; height: 70px; }.shop-stamp span { font: italic 15px/1.5 Georgia, serif; }
.comparison-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; }.mode-switch { display: flex; gap: 5px; background: #eaeadd; border-radius: 9px; padding: 5px; }.mode-switch button { min-height: 48px; display: flex; gap: 8px; align-items: center; justify-content: center; border: 1px solid transparent; background: transparent; border-radius: 6px; padding: 0 22px; font-size: 14px; font-weight: 600; }.mode-switch svg { width: 25px; height: 28px; }.mode-switch button[aria-pressed=true] { background: var(--ink); color: var(--paper); box-shadow: 0 2px 3px #263e3515; }.mode-switch button:hover:not([aria-pressed=true]) { background: var(--paper); }
.clear-button { padding: 10px 0 10px 8px; border: 0; background: none; font-size: 12px; min-height: 44px; }.clear-button span { padding-left: 7px; font-size: 19px; }.example-label { color: #5d695a; font-size: 11px; margin: 13px 0 16px; min-height: 18px; line-height: 1.6; }
.package-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }.pack-card { min-width: 0; margin: 0; padding: 21px 24px 0; border: 2px solid #d5d8c9; border-radius: 10px; background: var(--paper); position: relative; transition: border-color .15s, background .15s; }.pack-card.is-winner { border-color: #526d4e; background: #fcfdf5; }
.pack-heading { display: flex; gap: 10px; align-items: center; min-height: 36px; }.pack-heading h2 { font-size: 14px; font-weight: 600; margin: 0; }.pack-letter { width: 36px; height: 36px; display: grid; place-items: center; font: 700 21px Georgia, serif; border: 1px solid #cad1bc; border-radius: 50%; background: #ecede1; flex-shrink: 0; }.is-winner .pack-letter { background: var(--ink); color: var(--paper); border-color: var(--ink); }.winner-mark { margin-left: auto; font-size: 11px; background: var(--shop-green); color: #33522f; padding: 6px 9px; border-radius: 20px; white-space: nowrap; font-weight: 650; }
.pack-body { display: flex; gap: 22px; align-items: center; padding: 13px 0 17px; }.product-picture { width: 90px; flex-shrink: 0; text-align: center; }.product-picture svg { width: 74px; height: 84px; display: block; margin: 0 auto; }.product-picture>span { display: block; font-size: 11px; font-weight: 600; margin-top: 3px; overflow-wrap: anywhere; }.price-field { min-width: 0; flex: 1; }.price-field label { font-size: 12px; color: #606b59; margin-bottom: 6px; }
.price-entry { display: flex; align-items: center; gap: 7px; border-bottom: 2px solid #bbc6ad; padding-bottom: 5px; }.price-entry>span { font: 400 28px Georgia, serif; color: #606b59; }.price-entry input { width: 100%; min-width: 0; border: 0; border-radius: 3px; background: transparent; color: var(--ink); font: 650 41px/1.3 'Segoe UI', Arial, sans-serif; letter-spacing: -1.6px; padding: 1px 3px; font-variant-numeric: tabular-nums; }.price-entry:focus-within { border-color: var(--orange); }
.quantity-heading { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 7px; }.quantity-heading label { font-size: 12px; margin: 0; }.unit-switch { display: flex; gap: 3px; }.unit-switch button { min-height: 35px; min-width: 41px; padding: 4px 9px; border: 1px solid transparent; border-radius: 5px; background: transparent; font-size: 12px; }.unit-switch button[aria-pressed=true] { background: var(--shop-peach); border-color: #d1ac8e; font-weight: 700; }
.quantity-entry, .count-entry { display: flex; align-items: center; gap: 7px; border: 1px solid #c9d1bd; border-radius: 6px; background: #fff; min-width: 0; }.quantity-entry input { flex: 1; width: 100%; min-width: 0; min-height: 49px; font-size: 24px; font-weight: 600; color: var(--ink); border: 0; background: transparent; padding: 6px 12px; font-variant-numeric: tabular-nums; }.quantity-unit { padding-right: 13px; font-size: 13px; color: #5c6956; }
.quick-formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 9px; }.quick-formats button, .count-presets button { min-height: 40px; border: 1px solid #d5dacb; background: #f4f4eb; border-radius: 5px; font-size: 12px; padding: 5px; }.quick-formats button:hover, .count-presets button:hover { background: var(--shop-peach); border-color: #d1ac8e; }.quick-formats button[aria-pressed=true] { background: var(--shop-peach); border-color: #c49b7a; font-weight: 700; }
.multipack { margin-top: 14px; }.multipack-toggle { display: flex; gap: 8px; align-items: center; min-height: 40px; font-size: 11px; font-weight: 400; margin: 0; cursor: pointer; }.multipack-toggle input { width: 16px; height: 16px; accent-color: var(--ink); margin: 0; }.multipack-toggle>span:last-child { margin-left: auto; font-size: 20px; }.multipack-controls { padding-bottom: 13px; }.multipack-controls>label { font-size: 11px; margin: 5px 0 8px; }
.count-entry input { min-width: 0; width: 100%; flex: 1; border: 0; text-align: center; padding: 7px 2px; color: var(--ink); background: transparent; font-size: 21px; font-weight: 600; min-height: 44px; }.step-button, .wheel-toggle { min-width: 42px; height: 44px; border: 0; background: #eaeedf; border-radius: 4px; font-size: 22px; padding: 0 9px; touch-action: manipulation; }.wheel-toggle { background: var(--shop-peach); color: #7f3d26; }.step-button:active { background: #d0dac2; }.count-presets { display: flex; gap: 6px; margin-top: 8px; }.count-presets button { flex: 1; }
.pack-rate { border-top: 1px dashed #c7ceba; margin-top: 10px; padding: 13px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; }.pack-rate span { font-size: 11px; color: #58664f; }.pack-rate strong { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; max-width: 100%; }.input-error { font-size: 11px; line-height: 1.5; color: #a13a25; margin: 7px 0 0; }.input-error:empty { display: none; }input[aria-invalid=true] { box-shadow: inset 0 -2px #a13a25; }
.choice-result { display: flex; align-items: center; gap: 20px; background: var(--shop-peach); border: 1px solid #dbb79b; border-radius: 9px; padding: 21px 25px; margin-top: 20px; }.choice-letter { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font: 700 38px Georgia, serif; color: var(--paper); background: var(--ink); flex-shrink: 0; }.choice-copy { min-width: 0; }.choice-eyebrow { font-size: 8px; letter-spacing: 1.5px; color: #78472f; margin: 0 0 6px; font-weight: 700; }.choice-copy h2 { font: 400 31px/1.2 Georgia, serif; letter-spacing: -.8px; margin: 0; }.choice-copy>p:last-child { margin: 7px 0 0; font-size: 12px; line-height: 1.6; }
.choice-saving { margin-left: auto; padding-left: 25px; border-left: 1px solid #cba78c; text-align: right; flex-shrink: 0; max-width: 36%; }.choice-saving strong { display: block; font-size: 30px; line-height: 1.2; font-weight: 650; letter-spacing: -1px; overflow-wrap: anywhere; }.choice-saving span { display: block; font-size: 12px; margin-top: 7px; }.choice-result[data-state=waiting] { background: #eaece1; border-color: #cdd3c0; }.choice-result[data-state=waiting] .choice-letter { background: #71806c; }.result-explanation { font-size: 10px; color: #5d695a; margin: 10px 2px 0; line-height: 1.7; }
.ad-top { min-height: 74px; margin: 27px 0 24px; }.ad-bottom { min-height: 90px; margin-top: 24px; }.shop-guide { border-block: 1px solid var(--line); }.shop-guide summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 13px; font-weight: 600; padding: 14px 0; list-style: none; }.shop-guide summary::-webkit-details-marker { display: none; }.shop-guide summary>span { font-size: 24px; font-weight: 400; }.shop-guide[open] summary>span { transform: rotate(45deg); }.guide-content { max-width: 760px; padding: 0 0 15px; }.guide-content p { font-size: 12px; line-height: 1.8; margin: 12px 0; color: #53624d; }
.wheel-popover { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; }.wheel-backdrop { position: absolute; inset: 0; background: #1a30276b; }.wheel-sheet { position: relative; width: min(380px, calc(100% - 32px)); padding: 24px; background: var(--paper); border-radius: 15px; box-shadow: 0 18px 70px #14251e40; }.wheel-header { display: flex; gap: 15px; justify-content: space-between; align-items: start; }.wheel-header h2 { font: 400 28px Georgia, serif; margin: 0; }.wheel-header p { font-size: 12px; color: #5d695a; margin: 8px 0 0; }.wheel-close { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: none; font-size: 25px; flex-shrink: 0; }
.wheel-frame { position: relative; margin: 22px auto 12px; width: 180px; height: 220px; }.wheel-selection { position: absolute; top: 88px; left: 0; right: 0; height: 44px; background: var(--shop-peach); border-block: 1px solid #c69c7c; pointer-events: none; }.number-wheel { position: relative; height: 220px; overflow-y: auto; overscroll-behavior: contain; scroll-snap-type: y mandatory; scrollbar-width: none; padding-block: 88px; -webkit-overflow-scrolling: touch; mask-image: linear-gradient(transparent, #000 32%, #000 68%, transparent); }.number-wheel::-webkit-scrollbar { display: none; }.wheel-option { display: block; width: 100%; height: 44px; padding: 0; scroll-snap-align: center; border: 0; background: none; font-size: 24px; color: #738067; line-height: 44px; }.wheel-option[aria-selected=true] { color: var(--ink); font-weight: 700; font-size: 30px; }.wheel-hint { font-size: 11px; text-align: center; color: #5d695a; line-height: 1.6; }.wheel-done { width: 100%; min-height: 48px; background: var(--ink); color: var(--paper); border: 0; border-radius: 6px; font-size: 15px; font-weight: 600; margin-top: 8px; }
@media (max-width: 760px) {
 .wrap { width: calc(100% - 36px); }.shop-stamp { display: none; }.shop-intro h1 { font-size: 51px; }.shop-intro { padding-block: 27px 24px; }.pack-card { padding: 16px 16px 0; }.package-grid { gap: 12px; }.pack-heading h2 { font-size: 12px; }.winner-mark { font-size: 10px; padding: 5px 7px; }.pack-body { gap: 10px; }.product-picture { width: 65px; }.product-picture svg { width: 59px; height: 72px; }.price-entry input { font-size: 34px; }.price-entry>span { font-size: 23px; }.choice-copy h2 { font-size: 27px; }.choice-saving { padding-left: 16px; }.choice-saving strong { font-size: 26px; }.choice-letter { width: 50px; height: 50px; font-size: 30px; }.choice-result { padding: 18px; gap: 15px; }
}
@media (max-width: 520px) {
 .wrap { width: calc(100% - 28px); }.site-header { min-height: 68px; }.brand { font-size: 28px; }.brand img { width: 30px; height: 30px; }.header-link { font-size: 11px; min-height: 44px; }.shop-intro { padding: 24px 0 20px; }.shop-intro .eyebrow { font-size: 8px; letter-spacing: 1.2px; margin-bottom: 9px; }.shop-intro h1 { font-size: 42px; letter-spacing: -1.8px; }.shop-intro .intro-copy { font-size: 12px; line-height: 1.7; max-width: 310px; margin-top: 10px; }.comparison-toolbar { gap: 7px; }.mode-switch { gap: 2px; padding: 3px; }.mode-switch button { padding: 0 10px; min-height: 44px; font-size: 12px; gap: 5px; }.mode-switch svg { width: 19px; height: 23px; }.clear-button { font-size: 0; padding-left: 7px; }.clear-button span { font-size: 26px; }.clear-button:before { content: 'Svuota'; font-size: 11px; }.example-label { font-size: 10px; margin-block: 11px 12px; }.pack-card { padding: 12px 11px 0; border-radius: 8px; }.package-grid { gap: 9px; }
 .pack-heading { flex-wrap: wrap; gap: 5px; }.pack-heading h2 { font-size: 11px; }.pack-letter { width: 27px; height: 27px; font-size: 17px; }.winner-mark { position: absolute; top: -11px; right: 8px; border: 1px solid #526d4e; font-size: 9px; padding: 4px 7px; }.pack-body { flex-direction: column; gap: 4px; padding: 10px 0 16px; }.product-picture { display: flex; align-items: center; justify-content: center; gap: 3px; width: 100%; }.product-picture svg { width: 47px; height: 58px; margin: 0; }.product-picture>span { font-size: 11px; max-width: 65px; margin: 0; }.price-field { width: 100%; }.price-field label { font-size: 10px; margin-bottom: 2px; }.price-entry { gap: 4px; padding-bottom: 3px; }.price-entry input { font-size: 33px; letter-spacing: -1.2px; padding: 0 2px; min-height: 44px; }.price-entry>span { font-size: 22px; }.quantity-heading { gap: 3px; }.quantity-heading label { font-size: 11px; }.unit-switch { gap: 2px; }.unit-switch button { min-width: 31px; min-height: 36px; font-size: 11px; padding: 3px 6px; }.quantity-entry { gap: 1px; }.quantity-entry input { font-size: 21px; padding: 6px 7px; min-height: 44px; }.quantity-unit { padding-right: 9px; font-size: 12px; }.quick-formats { grid-template-columns: repeat(2, 1fr); gap: 5px; margin-top: 7px; }.quick-formats button { min-height: 37px; font-size: 11px; padding: 4px 2px; }.multipack { margin-top: 7px; }.multipack-toggle { gap: 5px; font-size: 10px; min-height: 43px; }.multipack-toggle>span:last-child { display: none; }.multipack-toggle input { width: 15px; height: 15px; flex-shrink: 0; }.pack-rate { padding-block: 11px; margin-top: 6px; display: grid; gap: 4px; }.pack-rate span { font-size: 10px; }.pack-rate strong { font-size: 14px; }.step-button, .wheel-toggle { min-width: 30px; padding: 0 5px; font-size: 19px; }.count-entry { gap: 2px; }.count-entry input { font-size: 18px; }.count-presets { gap: 3px; }.count-presets button { font-size: 11px; padding: 3px; min-height: 35px; }.input-error { font-size: 10px; }
 .quantity-entry:has(.piece-step:not([hidden])) .quantity-unit { display: none; }.quantity-entry:has(.piece-step:not([hidden])) input { text-align: center; padding-inline: 0; font-size: 20px; }.choice-result { padding: 16px 13px; gap: 11px; margin-top: 14px; flex-wrap: wrap; }.choice-letter { width: 43px; height: 43px; font-size: 27px; }.choice-copy { flex: 1; }.choice-copy h2 { font-size: 24px; letter-spacing: -.5px; }.choice-eyebrow { font-size: 7px; letter-spacing: 1px; }.choice-copy>p:last-child { font-size: 11px; margin-top: 6px; }.choice-saving { margin: 1px 0 0 54px; padding: 9px 0 0; border-left: 0; border-top: 1px solid #cba78c; text-align: left; max-width: 100%; display: flex; align-items: baseline; gap: 7px; }.choice-saving strong { font-size: 24px; }.choice-saving span { font-size: 11px; margin: 0; }.result-explanation { font-size: 9px; }.ad-top { margin-top: 22px; min-height: 62px; }.site-footer { margin-top: 22px; }.site-footer .footer-note { font-size: 11px; }.wheel-sheet { padding: 20px; }
}
@media (max-width: 350px) { .shop-intro h1 { font-size: 37px; }.mode-switch button { padding-inline: 8px; }.mode-switch svg { display: none; }.price-entry input { font-size: 28px; }.pack-heading h2 { font-size: 10px; }.pack-card { padding-inline: 8px; }.choice-copy h2 { font-size: 22px; } }
.multipack { margin: 0; }.multipack-controls { padding-bottom: 10px; }.multipack-controls>label { margin-top: 0; }.count-entry { max-width: 100%; }.count-entry input { text-align: left; padding-left: 12px; }
.pack-card[data-multiple=true] .pack-total { display: block; }.pack-rate { margin-top: 14px; }
.brand { letter-spacing: -1.5px; }.site-header .brand { font-size: 31px; }.site-header .brand img { width: 32px; height: 32px; }
@media (max-width: 520px) {
 .shop-intro { padding-block: 20px 18px; }.shop-intro .eyebrow { display: none; }.shop-intro .intro-copy { margin-top: 8px; }
 .pack-body { flex-direction: row; gap: 7px; padding-block: 12px; }.product-picture { display: block; width: 44px; }.product-picture svg { width: 43px; height: 53px; }.product-picture>span { font-size: 9px; max-width: 44px; margin-top: 3px; }.price-field { width: auto; }.price-entry input { font-size: 29px; }.price-entry>span { font-size: 19px; }
 .choice-copy { flex: 1 1 calc(100% - 54px); }.choice-saving { flex: 0 0 calc(100% - 54px); max-width: calc(100% - 54px); }.choice-saving strong { font-size: 25px; }.choice-saving span { max-width: 160px; line-height: 1.5; }
 .pack-card[data-multiple=false] .pack-total { display: none; }.site-header { min-height: 64px; }.shop-intro { padding-block: 14px; }.choice-result { padding-block: 13px; }
 .site-header .brand { font-size: 26px; gap: 6px; letter-spacing: -1px; }.site-header .brand img { width: 27px; height: 27px; }.header-link { font-size: 0; gap: 0; }.help-icon { font-size: 14px; width: 23px; height: 23px; }
 .multipack-controls>label { font-size: 10px; }.count-entry input { font-size: 20px; min-height: 42px; }.multipack-controls { padding-bottom: 9px; }.pack-body { padding-bottom: 12px; }.quantity-heading label { font-size: 10px; }.quantity-entry input { font-size: 20px; }
}

/* The answer occupies its own row; the page scrolls above it at every width. */
html { height: 100%; overflow: hidden; scroll-padding: 0; }
body { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100vh; height: var(--keyboard-height, 100dvh); min-height: 0; overflow: hidden; padding: 0; }
.page-scroll { grid-row: 1; min-height: 0; min-width: 0; overflow-y: auto; overscroll-behavior-y: contain; scroll-padding-block: 14px; padding-bottom: 16px; -webkit-overflow-scrolling: touch; }
.choice-result { grid-row: 2; position: static; width: 100%; margin: 0; padding: 10px max(32px, calc((100% - 1000px) / 2)) calc(10px + env(safe-area-inset-bottom)); border-radius: 0; border-width: 1px 0 0; min-height: 78px; box-shadow: 0 -2px 10px #263e3510; }
.choice-result .choice-eyebrow { display: none; }
.choice-result .choice-letter { width: 48px; height: 48px; font-size: 30px; }
.choice-copy h2 { font-size: 30px; }
.desktop-step { display: none; min-width: 42px; min-height: 44px; border: 0; border-radius: 4px; background: var(--sage); color: var(--ink); font-size: 24px; touch-action: manipulation; }
@media (hover: hover) and (pointer: fine) {
 .wheel-toggle { display: none; }.desktop-step { display: block; }
}
@media (max-width: 520px) {
 .choice-result .choice-letter { width: 36px; height: 36px; font-size: 24px; }.choice-copy { flex: 1 1 0; }.choice-eyebrow { display: none; }.choice-copy h2 { font-size: 22px; white-space: nowrap; }.choice-copy>p:last-child { font-size: 10px; margin-top: 4px; line-height: 1.4; }
 .choice-saving { flex: 0 0 auto; display: block; margin: 0 0 0 auto; padding: 0 0 0 10px; border-top: 0; border-left: 1px solid #cba78c; text-align: right; max-width: 100px; }.choice-saving strong { font-size: 24px; }.choice-saving span { font-size: 8px; line-height: 1.3; max-width: 90px; margin-top: 3px; }
 .desktop-step { min-width: 30px; padding: 0 5px; font-size: 20px; }
}
@media (max-width: 350px) { .choice-copy h2 { font-size: 19px; }.choice-saving strong { font-size: 21px; }.choice-saving { max-width: 82px; }.choice-result .choice-letter { width: 31px; height: 31px; font-size: 21px; } }

.comparison-toolbar { margin-bottom: 18px; }
.shop-stamp svg { transform-origin: 78% 50%; }
.shop-stamp:hover svg { animation: price-tag-sway .6s ease-in-out; }
@keyframes price-tag-sway { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } 82% { transform: rotate(-4deg); } }
.choice-copy>p:last-child { font-size: 14px; }

/* Compact answer row for narrow screens. */
@media (max-width: 760px) {
 .choice-result { min-height: 64px; padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); gap: 10px; flex-wrap: nowrap; }
 .choice-result .choice-letter { width: 30px; height: 30px; font-size: 22px; }
 .choice-copy { flex: 1 1 0; }.choice-copy h2 { font-size: 20px; line-height: 1.15; white-space: nowrap; }
 .choice-copy>p:last-child { font-size: 11px; line-height: 1.35; margin-top: 4px; }
 .choice-saving { flex: 0 0 auto; display: block; margin: 0; padding-left: 12px; border-top: 0; border-left: 1px solid #cba78c; max-width: 100px; text-align: right; }
 .choice-saving strong { font-size: 23px; }.choice-saving span { font-size: 10px; margin-top: 2px; line-height: 1.2; }
 .comparison-toolbar { margin-bottom: 15px; }
}
@media (max-width: 350px) { .choice-result { padding-inline: 10px; gap: 8px; }.choice-result .choice-letter { display: none; }.choice-copy h2 { font-size: 19px; }.choice-copy>p:last-child { font-size: 10px; }.choice-saving strong { font-size: 21px; } }
