.account-page .account-layout{max-width:1160px;margin:60px auto 90px;padding:0 30px;display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}.account-intro h1,.account-policy h1{font-size:clamp(42px,5vw,70px);line-height:1.06;letter-spacing:-2px;margin:24px 0}.account-intro h1 em,.account-policy h1 em{color:#94662f}.account-intro p{max-width:440px;line-height:1.8}.account-panel{background:linear-gradient(125deg,#fffffff0,#fff6);border:1px solid white;border-radius:30px;padding:32px;box-shadow:0 25px 60px #80602b18,inset 0 1px 3px white;backdrop-filter:blur(20px)}.account-panel h2{font-size:27px;margin:12px 0 20px}.account-panel label{display:grid;gap:8px;margin:20px 0;font-size:14px}.account-panel input:not([type=checkbox]){width:100%;min-width:0;border:1px solid #cbbb9f;border-radius:12px;padding:14px;font:inherit;background:#fff9;color:#392d22}.account-panel fieldset{border:0;padding:0;margin:26px 0}.account-panel legend{font-size:14px}.account-panel small{font-size:11px;color:#735f45}.account-interests{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.account-panel .account-interests label{display:flex;align-items:center;gap:7px;margin:0;border:1px solid #dfd0b5;padding:10px;border-radius:16px;background:#fffa}.account-panel .account-check{display:flex;align-items:start;gap:10px;font-size:13px;line-height:1.6}.account-panel input[type=checkbox]{accent-color:#986728;width:18px;height:18px;flex-shrink:0}.account-panel button{width:100%;min-height:48px;padding:15px 18px;border-radius:16px;border:1px solid #fff;background:linear-gradient(120deg,#fff,#e8cd9fac);box-shadow:inset 0 1px 3px #fff,0 5px 15px #88622b19;color:#49351b;font:inherit;cursor:pointer}.account-panel button:hover{background:#f2dfbd}.account-panel button:disabled{opacity:.6;cursor:wait}.account-panel .secondary{margin-top:12px;background:linear-gradient(130deg,#fffa,#fff4)}.account-note{font-size:12px;line-height:1.7;color:#715e45}.account-panel a,.account-intro a{text-decoration:underline;text-underline-offset:4px}.account-jewel{font:160px "Guadagni Serif",Georgia;color:#a97638;text-shadow:2px 3px 0 #fff,8px 15px 20px #b18d5366;line-height:1;margin:20px 0}.account-delete{border-top:1px solid #dccbb0;margin-top:25px;padding-top:22px;font-size:13px}.account-delete summary{cursor:pointer}.account-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.account-policy{grid-column:1/-1;max-width:850px;margin:auto}.account-policy p{line-height:1.8}.account-policy h2{margin-top:35px}.account-page [hidden]{display:none!important}#account-result{line-height:1.7;font-size:14px;overflow-wrap:anywhere}#profile-email{overflow-wrap:anywhere}.account-panel :focus-visible{outline:3px solid #9c6728;outline-offset:3px}@media(max-width:760px){.account-page .account-layout{grid-template-columns:1fr;margin:25px auto 45px;padding:0 18px;gap:25px}.account-panel{padding:25px 20px}.account-jewel{display:none}.account-intro h1{font-size:44px}.account-intro p{font-size:15px}.account-policy h1{font-size:38px}}

.account-success{padding:22px;margin:0 0 26px;border:1px solid #a5bba0;border-radius:18px;background:linear-gradient(120deg,#f7fff4,#edf5e9);color:#304e2c;scroll-margin-top:110px}.account-success strong{display:block;font-size:24px}.account-success strong::before{content:"✓ ";}.account-success p{margin:10px 0 0;line-height:1.6}#account-result:empty{display:none}

/* Redemption is completed by staff; the personal QR is always the clear next action. */
.customer-redemption-guide{padding:19px;border:1px solid #d8c5a2;border-radius:18px;background:#fffaf2;margin:16px 0 22px}
.customer-redemption-guide h3{font-size:20px;margin:0 0 10px;line-height:1.3}.customer-redemption-guide p{line-height:1.6}
.account-page .redemption-guide-note{font-size:13px;line-height:1.6;color:#6a5944}
.account-page a.redemption-qr-link{display:block;text-align:center;text-decoration:none;min-height:48px;margin:16px 0 10px;padding:13px 16px;border:1px solid #b99254;border-radius:14px;background:linear-gradient(125deg,#fff8e9,#e5c798);color:#422e15;font-weight:700;line-height:1.4}
.account-page a.redemption-qr-link:focus-visible{outline:3px solid #8c5c24;outline-offset:3px}
@media(max-width:600px){.customer-redemption-guide{padding:15px}.customer-redemption-guide h3{font-size:19px}}

.customer-redemption-guide>p{margin:8px 0 12px}.customer-redemption-guide .redemption-qr-link{margin:12px 0 0}
.customer-redemption-guide details.redemption-guide-details{margin:8px 0 0}.redemption-guide-details>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;font-size:13px;color:#6a5944}
.redemption-guide-details>summary:focus-visible{outline:3px solid #8c5c24;outline-offset:3px;border-radius:6px}.redemption-guide-details .redemption-guide-note{margin:4px 0 0}
.redemption-guide-details>summary::after{content:'';display:block;width:20px;height:20px;flex:0 0 20px;margin-left:auto;background:url('/assets/brand/freccia-guadagni.svg') center/contain no-repeat;transform:rotate(90deg)}.redemption-guide-details[open]>summary::after{transform:rotate(-90deg)}

.offer-sharing-progress{margin:18px 0;padding:18px;border:1px solid #dac5a0;border-radius:16px;background:#fbf5e9}.offer-sharing-progress h4{margin:0 0 10px}.offer-sharing-progress progress{display:block;width:100%;height:12px;margin:10px 0 14px;accent-color:#9a6c2e}.offer-sharing-progress .sharing-small{font-size:.9rem;line-height:1.5;color:#66543d}.offer-sharing-progress .sharing-availability{font-weight:600}.offer-sharing-progress .sharing-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.offer-sharing-progress .sharing-actions button{flex:1;min-width:160px;margin:0}.offer-sharing-progress .sharing-copy-field{display:block;max-width:100%;width:100%;min-width:0;margin-top:12px}.sharing-progress-label{font-weight:600}

.offer-sharing-progress .sharing-conditions{margin-top:12px}.offer-sharing-progress .sharing-conditions summary{cursor:pointer;font-weight:600;line-height:1.45}.offer-sharing-progress .sharing-conditions[open] summary{margin-bottom:10px}

/* Customer promotions: usable benefits first, with their price and limits easy to read. */
.account-page .personal-view .customer-promos-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 14px;margin:0 0 15px}
.account-page .personal-view .customer-promos-header h3{margin:0;font-size:1.125rem;line-height:1.35}
.account-page .personal-view .customer-promos-header button{width:auto;min-height:44px;margin:0;padding:10px 14px;font-size:.875rem;border-color:#d5c2a4;background:#fffaf3;box-shadow:none}
.account-page .personal-view .customer-wallet-status{font-size:.8125rem;line-height:1.5;color:#6c5b46;min-width:0;overflow-wrap:anywhere}
.account-page .personal-view .customer-promo-list{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.account-page .personal-view article.customer-promo-card{min-width:0;margin:0;padding:20px;border:1px solid #d9c4a3;border-radius:20px;background:#fffbf4;box-shadow:0 8px 24px #67471c08}
.account-page .personal-view article.customer-promo-card.is-available{border-color:#bc965e;background:linear-gradient(135deg,#fffdf8,#f9efde);box-shadow:inset 0 1px 0 #fff,0 8px 24px #67471c0a}
.account-page .personal-view article.customer-promo-card.is-unavailable,.account-page .personal-view article.customer-promo-card.is-concluded{background:#f8f5ef;border-color:#ddd2c1;box-shadow:none}
.account-page .personal-view .customer-promo-summary{min-width:0}
.account-page .personal-view .customer-promo-summary h3,.account-page .personal-view h3.customer-promo-summary{font-size:1.125rem;line-height:1.35;margin:0 0 12px;color:#493726}
.account-page .personal-view .customer-promo-card>h3{font-size:1.125rem;line-height:1.35;margin:0 0 12px}
.account-page .personal-view .customer-promo-card p{font-size:.9375rem;line-height:1.6;overflow-wrap:anywhere}
.account-page .personal-view .customer-promo-card .customer-promo-price{font-size:1.375rem;line-height:1.35;font-weight:700;color:#6b491f;margin:12px 0}
.account-page .personal-view .customer-promo-meta{display:flex;flex-wrap:wrap;gap:7px 12px;align-items:baseline;font-size:.875rem;line-height:1.55;color:#66533b;margin:10px 0 14px}
.account-page .personal-view .customer-promo-meta p{margin:0;font-size:.875rem}
.account-page .personal-view .customer-promo-meta strong{color:#49331b}
.account-page .personal-view .customer-promo-card .state-badge{font-size:.8125rem;line-height:1.5;padding:5px 10px;white-space:normal}
.account-page .personal-view .customer-promo-card.is-concluded .state-badge{color:#675c4d;background:#eae4da}
.account-page .personal-view details.customer-promo-conditions{border-top:1px solid #e2d4bf;margin:12px 0 0;padding-top:4px}
.account-page .personal-view details.customer-promo-conditions>summary,.account-page .personal-view details.customer-promo-history>summary{display:flex;align-items:center;gap:10px;list-style:none;min-height:48px;padding:10px 0;font-size:.875rem;line-height:1.5;font-weight:600;color:#71512c;cursor:pointer}
.account-page .personal-view details.customer-promo-conditions>summary::-webkit-details-marker,.account-page .personal-view details.customer-promo-history>summary::-webkit-details-marker{display:none}
.account-page .personal-view details.customer-promo-conditions>summary::after,.account-page .personal-view details.customer-promo-history>summary::after{content:'';display:block;width:20px;height:20px;flex:0 0 20px;margin-left:auto;background:url('/assets/brand/freccia-guadagni.svg') center/contain no-repeat;transform:rotate(90deg)}
.account-page .personal-view details.customer-promo-conditions[open]>summary::after,.account-page .personal-view details.customer-promo-history[open]>summary::after{transform:rotate(-90deg)}
.account-page .personal-view details.customer-promo-conditions p{font-size:.875rem;line-height:1.6;margin:8px 0 12px}
.account-page .personal-view details.customer-promo-conditions ul{padding-left:20px;margin:8px 0 12px;font-size:.875rem;line-height:1.6}
.account-page .personal-view details.customer-promo-conditions li{margin:5px 0}
.account-page .personal-view details.customer-promo-history{margin:22px 0 0;border-top:1px solid #d9c9af;padding-top:6px}
.account-page .personal-view details.customer-promo-history>summary{font-size:.9375rem;color:#665642}
.account-page .personal-view details.customer-promo-history[open]>summary{margin-bottom:8px}
.account-page .personal-view .customer-past-promos{display:grid;gap:12px}
.account-page .personal-view .customer-redemption-record{padding:14px 0;border-bottom:1px solid #e2d4bf}
.account-page .personal-view .customer-redemption-record>p{font-size:.875rem;line-height:1.6;margin:0 0 10px}
.account-page .personal-view .customer-redemption-record>button{min-height:44px;margin:0;padding:10px 14px;font-size:.875rem;background:#fffaf3;box-shadow:none}
.account-page .personal-view .customer-promo-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 0;align-items:stretch}
.account-page .personal-view .customer-promo-actions>a,.account-page .personal-view .customer-promo-actions>button{display:flex;align-items:center;justify-content:center;flex:1 1 160px;min-width:0;width:auto;min-height:48px;margin:0;padding:12px 16px;border:1px solid #cbb28c;border-radius:14px;background:#fffaf1;color:#604421;text-align:center;text-decoration:none;font-size:.9375rem;line-height:1.4;white-space:normal;box-shadow:none}
.account-page .personal-view .customer-promo-actions>a.redemption-qr-link{border-color:#b38a50;background:linear-gradient(125deg,#f3e0bd,#e2c18c);color:#422e15;font-weight:700}
.account-page .personal-view .customer-promos-header button:focus-visible,.account-page .personal-view .customer-promo-card :focus-visible,.account-page .personal-view .customer-promo-history>summary:focus-visible{outline:3px solid #8c5c24;outline-offset:3px}
@media(max-width:600px){.account-page .personal-view article.customer-promo-card{padding:16px;border-radius:18px}.account-page .personal-view .customer-promos-header{margin-bottom:12px;gap:8px}.account-page .personal-view .customer-promos-header h3{font-size:1rem}.account-page .personal-view .customer-promo-card .customer-promo-price{font-size:1.25rem}.account-page .personal-view .customer-promo-meta{gap:6px 10px}.account-page .personal-view .customer-promo-actions{gap:8px}.account-page .personal-view .customer-promo-actions>a,.account-page .personal-view .customer-promo-actions>button{flex-basis:100%;padding:12px 14px}.account-page .personal-view details.customer-promo-history{margin-top:18px}}
@media(prefers-reduced-motion:reduce){.account-page .personal-view .customer-promo-card *,.account-page .personal-view .customer-promo-history{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.offer-sharing-progress .sharing-refresh{margin:12px 0 0;padding:10px 14px;font-size:.92rem;min-height:42px}

/* Savings are the focal point; purchase price, remaining uses and conditions stay distinct. */
.account-page .personal-view .customer-savings{padding:20px;margin:12px 0 18px;border:1px solid #ddc49f;border-radius:16px;background:linear-gradient(130deg,#fff9ee,#f4e5cc);color:#4c3924}
.account-page .personal-view .customer-savings .savings-label{margin:0 0 4px;font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#75522c}
.account-page .personal-view .customer-savings .savings-main{margin:0 0 18px;font:normal clamp(2rem,6vw,2.8rem)/1.15 "Guadagni Serif",Georgia,serif;color:#68471e;letter-spacing:-.035em;overflow-wrap:anywhere}
.account-page .personal-view .savings-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin:0}
.account-page .personal-view .savings-pair>div{min-width:0}.account-page .personal-view .savings-pair>div+div{border-left:1px solid #d6bd95;padding-left:12px}
.account-page .personal-view .savings-pair dt{min-height:2.8em;margin:0 0 6px;font-size:.75rem;line-height:1.4;color:#6b553b}
.account-page .personal-view .savings-pair dd{margin:0;font-size:1.2rem;line-height:1.25;font-weight:700;color:#4c351c;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.account-page .personal-view .customer-savings .savings-note{margin:12px 0 0;font-size:.75rem;line-height:1.55;color:#705b40}
.account-page .personal-view .savings-progress{display:block;appearance:none;width:100%;height:5px;border:0;border-radius:5px;overflow:hidden;margin:16px 0 0;background:#e5d5ba;accent-color:#a67436}
.savings-progress::-webkit-progress-bar{background:#e5d5ba}.savings-progress::-webkit-progress-value{background:#a67436}.savings-progress::-moz-progress-bar{background:#a67436}
.account-page .personal-view .is-concluded .customer-savings{background:#f0ebe2;border-color:#d8cbbb}
.account-page .personal-view .customer-benefits-overview{margin:0 0 24px;padding:0;min-width:0}
.account-page .personal-view .customer-benefits-overview h3{margin:0 0 12px;font-size:1.15rem;color:#493726}
.account-page .personal-view a.customer-benefit-peek{position:relative;display:flex;flex-direction:column;align-items:start;gap:4px;padding:16px 44px 16px 16px;border:1px solid #ddc49f;border-radius:16px;margin:10px 0;background:linear-gradient(125deg,#fff9ef,#f2e4cc);text-decoration:none;color:#5b3c1e;overflow-wrap:anywhere}
.customer-benefit-peek .peek-title{font-size:.875rem;line-height:1.4}.customer-benefit-peek .peek-value{font:normal 1.9rem/1.2 "Guadagni Serif",Georgia,serif}.customer-benefit-peek .peek-detail{font-size:.8rem;line-height:1.4}
.account-page .personal-view .customer-benefit-peek small{font-size:.75rem;line-height:1.4;color:#6b553d}.customer-benefit-peek .brand-arrow{position:absolute;right:14px;top:calc(50% - 12px);width:24px;height:24px}
.account-page .personal-view a.savings-all{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;font-size:.875rem;text-underline-offset:4px;color:#68471e}
@media(max-width:600px){.account-page .personal-view .customer-savings{padding:16px}.account-page .personal-view .savings-pair{gap:10px}.account-page .personal-view .savings-pair dd{font-size:1.125rem}.account-page .personal-view .savings-pair>div+div{padding-left:10px}}
