[hidden]{display:none!important}.account-feedback{padding:14px 18px;border:1px solid #b99050;border-radius:14px;background:#fff5dc;color:#44331c;scroll-margin:30px}.field-error{display:block;color:#942f25;margin-top:4px}.account-panel input[aria-invalid=true]{border:2px solid #a43d30}.password-toggle{display:block!important;width:auto!important;min-height:36px!important;padding:6px 12px!important;margin:6px 0 12px!important;font-size:.85rem!important}.registration-progress{font-weight:700;color:#866331}.reg-step>button,.verification-card>button{margin:12px 8px 12px 0}.address-assist{margin:-6px 0 20px}.address-note,.address-assist>a{font-size:.8rem;color:#675b4b}.address-assist button{display:block;width:100%;text-align:left;margin:5px 0;padding:10px!important}.personal-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:20px 0 28px}.personal-nav a,.personal-shortcuts a{padding:14px 10px;text-decoration:none;color:#493923;border:1px solid #ddcbae;border-radius:16px;background:linear-gradient(135deg,#fffdf9cc,#eadbc180);box-shadow:inset 0 1px 0 white;font-size:.88rem}.personal-nav a span{display:block;color:#a47a39;font-size:1.6rem}.personal-nav a[aria-current]{background:#f1dfbd;border:2px solid #aa7c39;font-weight:700}.personal-welcome h2{margin-bottom:4px}.personal-welcome p{margin-top:0}.personal-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.is-signed-in .account-intro{display:none}.is-signed-in .account-layout{display:block;max-width:1050px;margin:auto}.personal-view{min-width:0}.personal-view #customer-wallet{margin:0}.personal-view #customer-wallet>img{display:block;max-width:260px;width:80%;height:auto;margin:auto}.personal-view h2{font-size:1.65rem}.personal-view article{padding:18px;border:1px solid #ddcbae;border-radius:18px;margin:16px 0;background:#fffaf2}.personal-view button{margin:6px}.account-panel form label{scroll-margin:25px}.account-panel .address-assist p{font-size:.85rem}.registration-password p{font-size:.88rem}.personal-view p{line-height:1.6}.state-badge{display:inline-block;background:#f4e5ca;padding:5px 12px;border-radius:20px;font-weight:700}.purchase-review{border:1px solid #b38a47;border-radius:16px;padding:18px;background:#fff7e7}.account-panel input,.account-panel select{font-size:16px}.account-panel:has(#registration) .welcome-terms{font-size:.88rem;line-height:1.5}.is-signed-in .account-panel{padding:26px}.personal-view .customer-wallet{padding:0;border:0}.personal-view details{margin:18px 0}.account-page .account-intro h1{font-size:clamp(2rem,4vw,3.2rem)}
@media(max-width:600px){.account-page .account-layout{padding:16px}.account-page .account-intro{padding:0 6px}.account-page .account-intro h1{margin:12px 0}.account-page .account-jewel{display:none}.account-page .account-panel,.is-signed-in .account-panel{padding:18px}.personal-nav{grid-template-columns:repeat(2,1fr);gap:7px;margin:14px 0}.personal-nav a{padding:10px;display:flex;align-items:center;gap:9px}.personal-nav a span{font-size:1.25rem}.personal-welcome h2{font-size:1.8rem}.is-signed-in .personal-nav{order:2}.personal-view article{padding:13px}.account-page .header-journal{display:none}.account-page .account-intro>p{font-size:.94rem}.is-signed-in .personal-welcome{margin-bottom:10px}}
.is-signed-in .header{min-height:70px;padding:10px 24px}.is-signed-in .header .header-journal,.is-signed-in .header #site-nav,.is-signed-in .header .menu-toggle{display:none!important}.is-signed-in .header .brand-logo{width:95px;height:auto}.personal-welcome{position:relative;padding-right:64px}.quick-exit{position:absolute;right:0;top:0;padding:8px 12px!important;min-height:36px!important}.personal-nav .crystal-icon{width:40px;height:40px;flex-shrink:0;display:inline-block;font-size:inherit}.personal-view #customer-wallet>img{max-width:220px}.personal-nav a{display:flex;align-items:center;gap:8px}.account-feedback:empty{display:none}.personal-welcome .account-feedback{font-size:.85rem;padding:8px}.address-assist button{white-space:normal;line-height:1.4}.personal-view h2{margin-top:12px}
.personal-welcome .quick-exit{width:auto!important;max-width:64px!important;margin:0!important}.personal-welcome #greeting{color:#382e23!important;font-size:1.7rem;line-height:1.2}.personal-welcome #profile-email{overflow-wrap:anywhere;font-size:.88rem}
.account-page .account-jewel{display:none}.welcome-terms>strong{font-size:1.05rem}.welcome-terms>p{margin:8px 0}.welcome-terms details{margin-top:8px}.welcome-terms details p{font-size:.82rem}
/* Personal area: compact navigation and touch-friendly sections. */
.account-page *, .account-page *::before,.account-page *::after{box-sizing:border-box}
.personal-view{overflow-wrap:anywhere}.personal-view>h2{margin:22px 0 16px}.personal-view button{max-width:100%;margin:8px 0}.account-panel summary{min-height:44px;line-height:1.4}.account-panel a:focus-visible,.account-panel summary:focus-visible{outline:3px solid #9c6728;outline-offset:3px}
.account-panel .category-switcher{margin:14px 0 22px;border:1px solid #dccaaa;border-radius:18px;background:linear-gradient(125deg,#fffc,#efe3cd80);padding:0 14px}.category-switcher>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;list-style:none;font-size:.9rem}.category-switcher>summary::-webkit-details-marker{display:none}.category-switcher>summary strong{font-size:.78rem;color:#795523;white-space:nowrap}.category-switcher>summary strong::after{content:''}.category-switcher[open]>summary strong::after{content:''}.category-switcher .personal-nav{margin:0 0 14px}.personal-nav a{min-height:60px;line-height:1.3;text-decoration:none}.personal-nav a[aria-current]{box-shadow:inset 0 0 0 1px #aa7c39;border-width:1px}.personal-nav-home a[href='area-atelier.html']{background:linear-gradient(135deg,#fff5da,#e9c58b70);border-color:#b38a47}
.atelier-entry{padding:24px;border:1px solid #d9c298;border-radius:24px;background:radial-gradient(ellipse at top,#fffdf6,#eddfc4a0);text-align:center}.atelier-entry>.crystal-icon{display:block;width:130px;height:130px;margin:0 auto 10px}.atelier-entry h3{font-family:"Guadagni Serif",Georgia,serif;font-size:1.9rem;line-height:1.15;font-weight:400;margin:12px 0}.atelier-entry .eyebrow{font-size:.7rem;letter-spacing:.14em}.atelier-entry>a{display:block;margin:18px 0}.personal-cta{padding:15px 18px;min-height:48px;text-decoration:none!important;border:1px solid #b99254;border-radius:16px;background:linear-gradient(125deg,#fff8e9,#e5c798);color:#422e15;font-weight:700}.atelier-entry #atelier-requirement{font-size:.84rem;color:#6e5a3d;margin-bottom:0}
.personal-view #customer-packages>h2{font-size:1.1rem;color:#775a30}.personal-offer>img{width:88px!important;margin:0 auto 12px!important}.personal-offer h3{font-size:1.3rem;margin:12px 0}.personal-offer>p{margin:10px 0}.personal-catalog{margin-top:30px;padding-top:22px;border-top:1px solid #ddcbae}.personal-view .account-security h2{font-size:1.15rem}.personal-view .account-delete{border-color:#c79582}.personal-view .account-delete summary{color:#8b392c}.personal-view #torte-salvate svg{max-width:100%;height:auto}.personal-view img{max-width:100%}.account-panel .account-interests label{min-height:44px}.account-panel .password-toggle,.quick-exit{min-height:44px!important}
@media(min-width:761px){.personal-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.personal-catalog>h3,.personal-catalog>a{grid-column:1/-1}.personal-catalog article{margin:0}.personal-catalog button{margin-top:auto}.personal-offer{display:flex;flex-direction:column}}
@media(max-width:600px){.is-signed-in .account-layout{padding:12px;margin:4px auto 30px}.is-signed-in .account-panel{padding:18px 14px;border-radius:24px}.is-signed-in .header{padding:8px 18px;min-height:62px}.personal-welcome #greeting{font-size:1.45rem}.personal-welcome #profile-email{font-size:.8rem}.personal-welcome{padding-right:60px}.personal-view>h2{font-size:1.45rem}.category-switcher .personal-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.personal-nav a{font-size:.82rem;padding:10px 8px;gap:6px}.personal-nav .crystal-icon{width:34px;height:34px}.atelier-entry{padding:18px 14px}.personal-view .state-badge{font-size:.87rem}.account-panel fieldset{min-width:0}.account-panel input:not([type=checkbox]),.account-panel select{font-size:16px}.account-panel dialog{max-width:calc(100vw - 24px);max-height:85dvh;overflow:auto}.personal-view #customer-packages button{margin:8px 0}}
@media(prefers-reduced-motion:reduce){.account-page *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.personal-view #customer-packages>h2,.personal-view #torte-salvate>h2{display:none}.personal-view #customer-packages>button{width:auto;font-size:.86rem;padding:10px 14px}.personal-view #saved-articles>p{padding:14px;background:#fff9;border:1px solid #ddcbae;border-radius:14px}.personal-view #saved-articles a{line-height:1.5}.personal-view:not([hidden]) #personal-promos:empty::after,.personal-view:not([hidden]) #customer-wallet:empty::after{content:'Caricamento in corso…';display:block;color:#715e45;font-size:.9rem;padding:16px 0}
.personal-view h2,.personal-view h3,.personal-welcome #greeting{letter-spacing:-.025em}.personal-view>p{margin:14px 0}.personal-nav-home{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:600px){.personal-nav-home{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Account entry: keep the fields close to the introduction without hiding notices. */
.account-page #password-login label:has([name=remember]){display:flex;align-items:center;gap:10px;min-height:44px;line-height:1.45}
.account-page #password-login label:has([name=remember]) input{margin:0;flex:0 0 20px;width:20px;height:20px}
.account-page #password-login>p{font-size:.8125rem;line-height:1.5;color:#6c5b46}
.account-page #login-panel>details>summary{display:flex;align-items:center;min-height:48px;padding:10px 0;cursor:pointer}
.account-page #registration .registration-progress{font-size:.875rem;line-height:1.5;margin:10px 0 14px}
.account-page #registration .reg-step>h3{font-size:1.125rem;line-height:1.35;margin:14px 0}
.account-page #registration .registration-password>p{font-size:.875rem;line-height:1.5}
.account-page #registration .account-check{min-height:44px;padding:7px 0}
.account-page #registration .account-check input{margin-top:2px;width:20px;height:20px}
.account-page .account-panel .category-switcher>summary{min-height:50px}
.account-page .account-panel .category-switcher>summary>span{min-width:0;line-height:1.35}
.account-page .account-panel .category-switcher>summary>strong{display:flex;align-items:center;gap:7px}
.account-page .account-panel .category-switcher>summary>strong::after{content:'';width:20px;height:20px;flex:0 0 20px;background:url('/assets/brand/freccia-guadagni.svg') center/contain no-repeat;transform:rotate(90deg)}
.account-page .account-panel .category-switcher[open]>summary>strong::after{transform:rotate(-90deg)}
.account-page .personal-view #customer-wallet .customer-wallet-card>img{display:block;width:80%;max-width:220px;height:auto;margin:0 auto 14px}
.account-page .personal-view .customer-wallet-card>a.state-badge{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:12px 14px;line-height:1.4;text-decoration:none}
.account-page .personal-view .customer-wallet-card>a.state-badge .brand-arrow{flex-shrink:0}

/* The purchase dialog is appended to body, outside the account panel. */
body.account-page>dialog.purchase-review{box-sizing:border-box;width:calc(100% - 32px);max-width:540px;max-height:85vh;max-height:85dvh;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;margin:auto;padding:28px;border:1px solid #c7a46c;border-radius:24px;background:linear-gradient(145deg,#fffdf8,#f5ead8);color:#3e3327;box-shadow:0 24px 75px #34271940,inset 0 1px 0 #fff}
body.account-page>dialog.purchase-review::backdrop{background:#33291f70;backdrop-filter:blur(5px)}
body.account-page>dialog.purchase-review h2{font-size:1.5rem;line-height:1.25;margin:0 0 20px;color:#49331c}
body.account-page>dialog.purchase-review p{font-size:.9375rem;line-height:1.6;overflow-wrap:anywhere;margin:12px 0}
body.account-page>dialog.purchase-review .purchase-review-summary{padding:16px 18px;border:1px solid #e0ceb0;border-radius:16px;background:#fffbf3}
body.account-page>dialog.purchase-review .purchase-review-summary>:first-child{margin-top:0}
body.account-page>dialog.purchase-review .purchase-review-summary>:last-child{margin-bottom:0}
body.account-page>dialog.purchase-review #purchase-review-note{font-size:.875rem;line-height:1.6;color:#67543d;margin:18px 0}
body.account-page>dialog.purchase-review .purchase-review-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:20px}
body.account-page>dialog.purchase-review button{box-sizing:border-box;min-width:0;min-height:48px;width:100%;padding:12px 15px;border:1px solid #cbb593;border-radius:14px;background:#fffcf7;color:#49351e;font:inherit;font-size:.9375rem;line-height:1.4;white-space:normal;cursor:pointer}
body.account-page>dialog.purchase-review button.purchase-confirm{border-color:#b1864e;background:linear-gradient(125deg,#f1dcb7,#dfbc86);font-weight:700;box-shadow:inset 0 1px 0 #fff9}
body.account-page>dialog.purchase-review button:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}
body.account-page>dialog.purchase-review :focus-visible{outline:3px solid #8c5c24;outline-offset:3px}
body.account-page>dialog.purchase-review .purchase-review-error{padding:13px 15px;border:1px solid #be8065;border-radius:12px;background:#fff0e7;color:#7b3826;font-size:.875rem;line-height:1.55}
@media(hover:hover){body.account-page>dialog.purchase-review button:not(:disabled):hover{background:#f1e4ce;border-color:#ac864f}body.account-page>dialog.purchase-review button.purchase-confirm:not(:disabled):hover{background:#dfbd89}}
@media(max-width:760px){
 .account-page.customer-access:not(.is-signed-in) .account-layout,.account-page.customer-registration .account-layout{margin:12px auto 34px;padding:0 14px;gap:14px}
 .account-page.customer-access:not(.is-signed-in) .account-intro,.account-page.customer-registration .account-intro{padding:0 4px}
 .account-page.customer-access:not(.is-signed-in) .account-intro h1,.account-page.customer-registration .account-intro h1{font-size:clamp(1.75rem,7.5vw,2rem);line-height:1.12;margin:8px 0 10px}
 .account-page.customer-access:not(.is-signed-in) .account-intro>p,.account-page.customer-registration .account-intro>p{max-width:none;font-size:.875rem;line-height:1.5;margin:8px 0}
 .account-page.customer-access:not(.is-signed-in) .account-intro>.eyebrow,.account-page.customer-registration .account-intro>.eyebrow{font-size:.6875rem;margin:0 0 6px}
 .account-page.customer-access:not(.is-signed-in) .account-intro>a,.account-page.customer-registration .account-intro>a{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:.875rem;padding:8px 0;line-height:1.4}
 .account-page.customer-access:not(.is-signed-in) .account-panel,.account-page.customer-registration .account-panel{padding:18px 16px;border-radius:24px}
 .account-page #login-panel>h2,.account-page.customer-registration .account-panel>h2{font-size:1.5rem;margin:8px 0 10px}
 .account-page #login-panel>p{font-size:.875rem;line-height:1.5;margin:8px 0 12px}
 .account-page #login-panel .account-entry{gap:8px;margin-bottom:10px}
 .account-page #login-panel .account-entry a{min-height:44px;padding:9px 10px;font-size:.875rem;line-height:1.4}
 .account-page #login-panel .entry-benefit{font-size:.8125rem;line-height:1.5;margin:8px 0 12px}
 .account-page #password-login label,.account-page #password-request label,.account-page #password-reset label,.account-page #registration label{gap:6px;margin:12px 0;font-size:.875rem}
 .account-page :is(#password-login,#password-request,#password-reset,#registration) input:not([type=checkbox]),.account-page #registration select{min-height:48px;padding:11px 12px;border-radius:12px}
 .account-page #password-login .password-toggle,.account-page #password-reset .password-toggle,.account-page #registration .password-toggle{margin:0 0 8px auto!important;padding:8px 11px!important;min-height:44px!important;font-size:.8125rem!important}
 .account-page #password-login label:has([name=remember]){margin:4px 0}
 .account-page #password-login>p{margin:2px 0 12px}
 .account-page #registration fieldset{margin:18px 0}
 .account-page #registration .account-interests{gap:7px}
 .account-page #registration .account-interests label{margin:0;padding:9px 10px}
 .account-page #registration .reg-step>button{margin:10px 0 0;min-height:48px}
 .account-page.customer-registration .account-panel>.eyebrow{font-size:.6875rem;margin:0 0 7px}
 .account-page.customer-registration .welcome-terms{padding:14px;border:1px solid #dec9a7;border-radius:14px;background:#fff8e9;margin:12px 0 16px}
 .account-page .account-panel .category-switcher{margin:12px 0 18px;padding:0 12px}
 .account-page .account-panel .category-switcher>summary{padding:11px 0;gap:8px}
 .account-page .account-panel .category-switcher>summary>strong{font-size:.75rem;gap:5px}
}
@media(max-width:480px){body.account-page>dialog.purchase-review{width:calc(100% - 24px);padding:21px 18px;border-radius:22px}body.account-page>dialog.purchase-review h2{font-size:1.375rem;margin-bottom:16px}body.account-page>dialog.purchase-review .purchase-review-summary{padding:14px}body.account-page>dialog.purchase-review .purchase-review-actions{grid-template-columns:1fr;gap:8px;margin-top:17px}}
@media(prefers-reduced-motion:reduce){body.account-page>dialog.purchase-review,body.account-page>dialog.purchase-review *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Give the memories invitation button its own layout space on small screens. */
.account-page .personal-view .memories-home-entry>.personal-cta{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;margin-top:16px;line-height:1.4}
.account-page .personal-view .memories-home-entry>.personal-cta .brand-arrow{flex-shrink:0}
