:root{--paper:#faf9f6;--ink:#231f20;--wine:#b61b21;--green:#231f20;--muted:#625b58;--line:#dedbd4;--white:#fff;--soft:#e6e5e1;--gold:#a0903b}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a:hover{color:var(--wine)}.demo-bar{background:var(--green);color:#eef0e8;padding:8px 5%;font-size:10px;font-weight:700;letter-spacing:.09em}.demo-bar span{font-weight:400;letter-spacing:.01em}header{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:22px 5%;border-bottom:1px solid var(--line);background:var(--paper);position:sticky;top:0;z-index:10}.brand{display:flex;gap:12px;align-items:center;font-weight:750;font-size:13px;letter-spacing:.08em}.brand small{display:block;font-size:9px;color:var(--muted);letter-spacing:.14em;margin-top:3px}.mark{display:block;flex:none;width:48px;height:48px;object-fit:contain;border-radius:50%}.navlinks{display:flex;gap:24px;align-items:center;font-size:13px}.navlinks a.active{color:var(--wine);border-bottom:1px solid var(--wine)}.btn,.ghost{border:0;display:inline-flex;gap:10px;align-items:center;justify-content:center;padding:12px 19px;border-radius:7px;background:var(--wine);color:white;font-size:13px;font-weight:650}.btn:hover{background:#891419;color:white}.ghost{background:transparent;border:1px solid #bec2b5;color:var(--ink)}.ghost:hover{background:var(--soft)}.tiny{padding:7px 12px;font-size:12px}.full{width:100%}.link{border:0;background:none;color:var(--wine);padding:0;font-weight:650;font-size:13px;cursor:pointer}.eyebrow{font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--wine);font-weight:750;margin:0 0 16px}h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:1.1;margin:0 0 20px;letter-spacing:-.035em}h1{font-size:clamp(36px,4.5vw,66px)}h2{font-size:35px}h3{font-size:24px}p{margin:0 0 20px}.muted,small{color:var(--muted)}.page{max-width:1330px;margin:auto;padding:48px 5% 70px}.page-title{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:32px}.page-title h1{font-size:46px;margin-bottom:10px}.hero{max-width:1330px;margin:auto;padding:80px 5%;display:grid;grid-template-columns:1.05fr 1fr;gap:65px;align-items:center}.hero h1 em{color:var(--wine);font-weight:400}.hero .lead{font-size:17px;max-width:520px;color:#62665d}.actions{display:flex;gap:13px;flex-wrap:wrap;align-items:center;margin:28px 0}.hero-art{background:var(--green);padding:38px;border-radius:14px;position:relative;overflow:hidden;color:#f1efe4}.hero-art:before{content:"C";position:absolute;right:-28px;top:-65px;font:390px Georgia;opacity:.06}.hero-art>div{position:relative}.hero-art h2{font-size:35px}.preview-row{display:flex;justify-content:space-between;padding:15px 0;border-bottom:1px solid #ffffff26;gap:14px}.preview-row small{color:#aebeb0}.preview-note{margin-top:23px;font-size:11px;color:#c5d0c6}.stat-row{display:flex;gap:36px;padding:20px 0;color:var(--muted);font-size:12px}.stat-row b{display:block;color:var(--ink);font-size:20px}.home-section{padding:58px 5%;max-width:1330px;margin:auto;border-top:1px solid var(--line)}.three{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.home-feature{padding:25px 0}.home-feature>span{color:var(--wine);font-size:11px;letter-spacing:.1em}.home-feature h3{margin:18px 0}.home-feature p{color:var(--muted);font-size:14px}.auth-wrap{max-width:900px;margin:45px auto;display:grid;grid-template-columns:.7fr 1fr;background:var(--white);border:1px solid var(--line);border-radius:12px;overflow:hidden}.auth-aside{background:var(--green);padding:38px;color:white}.auth-aside p{color:#c1ccbf;font-size:14px}.auth-form{padding:36px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600}.field.wide{grid-column:1/-1}.field input,.field select,.field textarea,.search{padding:12px 13px;border:1px solid #d4d7cc;background:#fffdf8;border-radius:6px;color:var(--ink);min-width:0;width:100%}.field textarea{min-height:130px;resize:vertical;font-weight:400}.field small{font-size:11px;font-weight:400}.check{display:flex;gap:9px;font-size:12px;align-items:start;margin:20px 0}.check input{margin-top:4px}.note{background:#eaece2;color:#455441;padding:13px 16px;border-radius:6px;font-size:12px;margin:20px 0;border:1px solid #d9dfcf}.note.warn{background:#f5eadc;border-color:#e8d3b7;color:#79512c}.note.error{background:#f8e8e7;border-color:#e1b5b5;color:#8c2833}.note p:last-child{margin:0}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.summary-card{padding:22px;border:1px solid var(--line);background:var(--white);border-radius:8px}.summary-card strong{display:block;font:33px Georgia;margin:8px 0}.summary-card small{font-size:12px}.dashboard-banner{background:var(--green);color:white;border-radius:10px;padding:35px;display:flex;align-items:center;justify-content:space-between;gap:25px}.dashboard-banner h2{margin-bottom:10px}.dashboard-banner p{color:#c1cec0;max-width:590px;margin:0}.dashboard-banner .ghost{color:white;border-color:#93a58e}.catalog-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:26px 0}.catalog-tabs button{border:1px solid #cbd0c2;border-radius:100px;background:none;padding:10px 17px;font-size:12px}.catalog-tabs button.active{background:var(--green);color:white;border-color:var(--green)}.filters{display:grid;grid-template-columns:1fr 160px 180px;gap:12px;margin-bottom:20px}.filters select{padding:11px;border:1px solid #cbd0c2;border-radius:6px;background:var(--white);font-size:12px}.catalog-meta{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);margin-bottom:22px}.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.product{background:var(--white);border:1px solid var(--line);border-radius:10px;overflow:hidden;display:flex;flex-direction:column}.bottle-stage{background:#e9e9df;position:relative;height:176px;display:flex;align-items:center;justify-content:center}.bottle-stage.orange{background:#ece2d0}.bottle-stage.red{background:#ece2e3}.bottle-stage.rose{background:#f0e5df}.bottle-stage.sparkling{background:#e2e7df}.bottle-stage svg{height:155px;filter:drop-shadow(7px 7px 5px #23241b20)}.bottle-stage>span{position:absolute;left:16px;top:16px;font-size:10px;text-transform:uppercase;letter-spacing:.1em}.bottle-stage small{position:absolute;right:14px;bottom:10px;font-size:9px}.product-copy{padding:21px;display:flex;flex-direction:column;flex:1}.producer{font-size:10px;color:var(--wine);font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}.product h3{font-size:24px;margin-bottom:10px}.product-detail{font-size:11px;color:var(--muted);margin-bottom:12px}.product-copy p{font-size:12px;color:#5f665c;margin-bottom:16px}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}.price{font:24px Georgia}.price small{display:block;font:10px system-ui;color:var(--muted)}.tag{font-size:10px;background:#e9eadd;padding:4px 8px;border-radius:4px;display:inline-block;margin-bottom:10px}.empty{text-align:center;background:var(--white);border:1px dashed #c8ccbf;border-radius:10px;padding:45px;grid-column:1/-1}.empty h2{font-size:29px}.checkout-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:28px}.panel{background:var(--white);border:1px solid var(--line);border-radius:10px;padding:27px;margin-bottom:22px}.panel h2{font-size:28px}.sticky{position:sticky;top:110px;align-self:start}.cart-row{display:grid;grid-template-columns:1fr auto auto;gap:25px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}.cart-row h3{font-size:21px;margin:0 0 5px}.qty{display:flex;gap:9px;align-items:center}.qty button{width:29px;height:30px;border:1px solid #c9cdbe;background:transparent;border-radius:5px}.qty input{width:54px;padding:5px;border:1px solid #c9cdbe;border-radius:4px;text-align:center;background:transparent}.totals>div{display:flex;justify-content:space-between;gap:15px;margin:12px 0;font-size:13px}.totals .total{font-size:22px;border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.payment{border:1px solid var(--line);border-radius:7px;margin:10px 0;padding:14px;display:flex;gap:11px;align-items:start}.payment:has(input:checked){background:#eceee4;border-color:#94a183}.payment small{display:block;font-size:11px;margin-top:3px}.payment input{margin-top:4px}.result-head{padding:24px;background:#e5e9dd;border-radius:8px;margin:28px 0}.result-head h3{margin-bottom:10px}.result-head p{margin:0;font-size:13px}.recommendations .product{position:relative}.why{font-size:11px;margin-bottom:16px!important;color:#586449!important}.steps-label{display:flex;gap:18px;font-size:11px;margin-bottom:30px;color:var(--muted)}.steps-label b{color:var(--wine)}.upload{display:block;padding:30px;border:1px dashed #9aa28e;border-radius:9px;background:#edf0e6;text-align:center;cursor:pointer}.upload strong{display:block;font:25px Georgia;margin-bottom:8px}.upload small{display:block;margin:7px 0}.upload input{max-width:100%;margin-top:10px;font-size:12px}.menu-results{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:25px}.pair{border:1px solid var(--line);background:var(--white);border-radius:9px;padding:23px}.pair h3{font-size:24px}.pair ul{padding-left:17px;font-size:13px}.pair li{margin-bottom:14px}.order{padding:23px;background:var(--white);border:1px solid var(--line);border-radius:8px;margin-bottom:16px}.order-top{display:flex;justify-content:space-between;gap:15px}.order h3{font-size:23px;margin-bottom:8px}.order small{font-size:11px}.order details{margin-top:16px}.order summary{cursor:pointer;font-size:12px;color:var(--wine)}.order li{font-size:13px;margin:7px 0}.success{max-width:700px;margin:30px auto;text-align:center}.success .symbol{height:65px;width:65px;border-radius:50%;display:grid;place-items:center;background:#e1e8d9;color:var(--green);font-size:32px;margin:0 auto 25px}.success h1{font-size:44px}.success .panel{text-align:left}.account-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:25px}.danger{color:#8e2430;border-color:#a77575}.text-right{text-align:right}footer{padding:27px 5%;border-top:1px solid var(--line);display:flex;gap:25px;justify-content:space-between;font-size:10px;letter-spacing:.08em;color:var(--muted)}dialog{width:min(550px,92vw);background:var(--white);border:1px solid var(--line);border-radius:12px;padding:35px;color:var(--ink)}dialog::backdrop{background:#1b241d99;backdrop-filter:blur(3px)}dialog .close{position:absolute;right:15px;top:9px;border:none;background:none;font-size:26px;color:var(--muted)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--green);color:white;border-radius:7px;padding:13px 23px;box-shadow:0 8px 30px #0002;font-size:13px;z-index:25;display:none;max-width:90vw;width:max-content}#toast.show{display:block}.split-title{display:flex;justify-content:space-between;align-items:center;margin:42px 0 24px}.split-title h2{margin:0}.pill{border:1px solid #cad2bd;font-size:10px;padding:6px 10px;border-radius:30px;white-space:nowrap}.spaced{margin-top:24px}.print-only{display:none}@media(max-width:1050px){.navlinks{gap:13px;font-size:12px}.products{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{gap:30px}.checkout-layout{grid-template-columns:1.2fr 1fr}}@media(max-width:760px){header{flex-wrap:wrap;padding:14px 5%;gap:14px;position:relative}#topnav{order:3;width:100%;overflow:auto}.navlinks{justify-content:space-between;white-space:nowrap;gap:18px}.demo-bar span{display:block;margin-top:3px}.hero{grid-template-columns:1fr;padding:44px 5%;gap:28px}.hero-art{padding:28px}.hero h1{font-size:45px}.page{padding:32px 5%}.page-title{align-items:start;flex-direction:column}.page-title h1{font-size:37px}.three,.auth-wrap,.checkout-layout,.account-grid,.menu-results{grid-template-columns:1fr}.auth-wrap{margin:25px 5%}.auth-aside{padding:27px}.auth-aside h2{font-size:28px}.auth-form{padding:25px}.summary-grid{gap:9px}.summary-card{padding:14px}.summary-card strong{font-size:25px}.summary-card small{font-size:10px}.dashboard-banner{padding:25px;flex-direction:column;align-items:start}.filters{grid-template-columns:1fr 1fr}.filters .search{grid-column:1/-1}.products{gap:13px}.product-copy{padding:15px}.product h3{font-size:21px}.product-bottom{align-items:start;flex-direction:column}.product-bottom .btn{width:100%}.bottle-stage{height:148px}.bottle-stage svg{height:130px}.bottle-stage>span{font-size:8px;left:10px;top:10px}.sticky{position:static}.cart-row{gap:12px;grid-template-columns:1fr auto}.cart-row>.text-right{grid-column:1/-1;display:flex;justify-content:space-between}.panel{padding:21px}.fields{gap:14px}.catalog-meta{flex-direction:column}.order-top{flex-wrap:wrap}footer{flex-wrap:wrap;justify-content:start}.stat-row{gap:20px}.price{font-size:22px}.page-title .actions{margin:0}}@media(max-width:380px){.products,.fields{grid-template-columns:1fr}.brand{font-size:11px}.btn{padding:11px 13px}.product-bottom{flex-direction:row}.summary-grid{grid-template-columns:1fr}.summary-card strong{display:inline;margin-left:15px}.field.wide{grid-column:auto}}@media print{header,footer,.demo-bar,.actions,.btn,.ghost{display:none!important}.page{padding:0}.panel{border:0}.print-only{display:block}}
/* Presentazione e percorso di assaggio */
.marketing-hero{padding-top:72px;padding-bottom:65px;gap:60px}.marketing-hero h1{font-size:clamp(42px,5.4vw,76px);line-height:1.04}.marketing-hero .lead{font-size:16px;line-height:1.7}.hero-promise{border-left:2px solid var(--wine);padding-left:19px;max-width:450px;margin-top:33px}.hero-promise span{display:block;font-size:12px;color:var(--muted)}.hero-promise b{display:block;font-size:15px;font-weight:550;margin:5px 0 10px}.hero-promise small{font-size:10px;line-height:1.5;display:block}.tasting-art{background:var(--green);padding:35px 35px 20px;color:#f5f0e5;border-radius:160px 160px 12px 12px;min-height:490px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:end}.tasting-art:before{content:'';position:absolute;inset:50px;border:1px solid #c6c9ac22;border-radius:50% 50% 0 0}.art-kicker{position:relative;text-align:center;font-size:9px;letter-spacing:.17em;margin-top:18px;color:#c5d0bf}.tasting-bottles{display:flex;align-items:end;justify-content:center;gap:0;position:relative;margin:30px 0 20px;isolation:isolate}.tasting-bottles svg{height:260px;width:32%;filter:drop-shadow(10px 10px 8px #0003)}.tasting-bottles svg:nth-child(2){height:305px;margin:0 -15px;z-index:1}.tasting-caption{display:flex;justify-content:space-between;align-items:center;position:relative;font:26px/1.2 Georgia;gap:10px}.art-seal{border:1px solid #bcbfa0;border-radius:50%;width:75px;height:75px;display:flex;flex-direction:column;align-items:center;justify-content:center;font:29px Georgia;flex-shrink:0}.art-seal small{font:8px system-ui;letter-spacing:.13em;color:#cdd3bb}.art-bottom{display:flex;justify-content:space-between;border-top:1px solid #fff2;padding-top:17px;margin-top:23px;font-size:9px;letter-spacing:.08em;color:#b7c4af}.belief-strip{padding:43px 5%;text-align:center;background:#e9e7dc}.belief-strip p{font-size:15px;color:var(--muted);margin-bottom:8px}.belief-strip strong{font:32px Georgia;color:var(--wine)}.benefits-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px 38px;margin-top:38px}.benefits-grid article{padding:20px 0;border-top:1px solid var(--line)}.benefits-grid article>span{font-size:10px;color:var(--wine);letter-spacing:.1em}.benefits-grid h3{font-size:27px;margin:16px 0}.benefits-grid p{font-size:13px;color:var(--muted);line-height:1.7}.discovery-section{background:var(--green);color:#f2ede2;padding:65px max(5%,calc((100vw - 1197px)/2));display:grid;grid-template-columns:1fr 1fr;gap:70px}.discovery-section .eyebrow{color:#c1cdb9}.discovery-section h2{font-size:48px}.discovery-section>div>p{font-size:15px;max-width:410px;color:#c2cbbb;line-height:1.7}.discovery-section .btn{background:#f0ebdf;color:var(--green);margin-top:15px}.discovery-steps article{display:flex;gap:20px;padding:22px 0;border-bottom:1px solid #ffffff22}.discovery-steps article>span{font:26px Georgia;color:#b9c7ae}.discovery-steps h3{font-size:24px;margin-bottom:10px}.discovery-steps p{font-size:12px;line-height:1.7;color:#c2cbbb;margin-bottom:0}.professional-section{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding-top:70px;padding-bottom:70px}.professional-section h2{font-size:43px}.professional-section>div>p{max-width:510px;line-height:1.7;font-size:14px}.professional-section aside{padding:30px;border:1px solid var(--line);border-radius:8px;align-self:center;background:var(--white)}.professional-section ul,.tasting-list{padding-left:19px;font-size:14px;line-height:1.7}.professional-section li,.tasting-list li{margin-bottom:13px}.professional-section aside small{font-size:11px;display:block;margin-top:25px}.faq-section{max-width:950px}.faq-section details{padding:20px 0;border-bottom:1px solid var(--line)}.faq-section summary{font-size:15px;font-weight:550;cursor:pointer}.faq-section details p{margin:14px 0 0;color:var(--muted);font-size:13px;line-height:1.7}.final-cta{text-align:center;padding:80px 5%;background:#e9e7dc}.final-cta h2{font-size:47px}.final-cta p{color:var(--muted);font-size:14px}.final-cta small{display:block;font-size:10px;margin-top:19px}.welcome-intro{text-align:center;max-width:640px;margin:5px auto 36px}.welcome-intro h1 em{color:var(--wine);font-weight:400}.welcome-options{display:grid;grid-template-columns:1fr 1fr;gap:25px;max-width:900px;margin:auto}.welcome-options .panel{padding:33px;display:flex;flex-direction:column;align-items:start}.welcome-options h2{margin:15px 0 20px;font-size:35px}.welcome-options p{color:var(--muted);font-size:14px;line-height:1.7;flex:1}.discovery-banner{border:1px solid #c2ccb7;background:#e6eadb;padding:27px 30px;border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:25px}.discovery-banner h3{margin-bottom:10px}.discovery-banner p{font-size:13px;margin-bottom:8px;max-width:580px;color:#56624d}.discovery-banner small{font-size:11px}.discovery-banner .actions{margin:0;flex-shrink:0;flex-direction:column}.sample-products{grid-template-columns:repeat(2,minmax(0,1fr))}.sample-summary h2{font-size:30px}.selection-progress{height:5px;background:#dde2d5;border-radius:6px;overflow:hidden;margin:20px 0}.selection-progress span{height:100%;display:block;background:var(--wine);transition:width .2s}.chosen-samples{list-style:none;padding:0;margin:20px 0}.chosen-samples li{display:flex;gap:12px;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line);font-size:12px}.chosen-samples small{display:block;font-size:10px;margin-top:3px}.chosen-samples button{font-size:18px}.sample-credit{padding:16px;background:#e5eadb;margin:20px 0;border-radius:6px;text-align:center}.sample-credit small{font-size:9px;letter-spacing:.1em}.sample-credit strong{display:block;font:31px Georgia;margin:5px 0;color:var(--green)}.sample-credit span{font-size:11px}.credit-line{color:var(--green)}.sample-summary .total{font-size:20px}.sample-summary small{font-size:10px}
@media(max-width:1100px){.marketing-hero{gap:32px}.navlinks{gap:13px;font-size:11px}.sample-summary{padding:20px}.discovery-banner .actions{flex-shrink:1}.professional-section{gap:40px}}
@media(max-width:760px){.marketing-hero{padding-top:38px;padding-bottom:35px;gap:35px}.marketing-hero h1{font-size:48px}.tasting-art{min-height:410px;padding:25px;border-radius:120px 120px 10px 10px}.tasting-bottles svg{height:210px}.tasting-bottles svg:nth-child(2){height:245px}.tasting-caption{font-size:23px}.art-seal{width:65px;height:65px}.benefits-grid{grid-template-columns:1fr 1fr;gap:10px 22px}.benefits-grid h3{font-size:24px}.discovery-section,.professional-section{grid-template-columns:1fr;gap:30px;padding:43px 5%}.discovery-section h2,.professional-section h2{font-size:38px}.belief-strip strong{font-size:28px}.welcome-options{grid-template-columns:1fr;gap:8px}.welcome-options .panel{padding:27px}.discovery-banner{flex-direction:column;align-items:start;padding:23px}.discovery-banner .actions{flex-direction:row}.sample-summary{grid-row:1;position:static}.sample-summary .chosen-samples{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.sample-summary .totals{max-width:400px;margin:auto}.sample-credit{max-width:400px;margin:20px auto}.sample-summary #sample-checkout{max-width:400px;margin:auto;display:flex}.final-cta h2{font-size:37px}.final-cta{padding:55px 5%}.professional-section aside{padding:25px}}
@media(max-width:420px){.benefits-grid{grid-template-columns:1fr}.marketing-hero h1{font-size:41px}.tasting-caption{font-size:21px}.discovery-banner .actions{flex-direction:column;align-items:start}.sample-products{grid-template-columns:1fr 1fr}.sample-products .product-copy{padding:12px}.sample-products h3{font-size:19px}.sample-products .price{font-size:20px}}
@media(min-width:761px) and (max-width:1100px){header{flex-wrap:wrap}#topnav{order:3;width:100%;overflow:auto}.navlinks{justify-content:flex-start;white-space:nowrap;gap:25px}.sample-products .product-bottom{flex-direction:column;align-items:start}.sample-products .product-bottom .btn,.sample-products .product-bottom .ghost{width:100%}}

.package-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:32px}.package-grid .panel{display:flex;flex-direction:column;margin:0}.package-grid ul{padding-left:20px;flex:1;line-height:1.65}.package-grid li{margin-bottom:10px}.package-price{display:block;margin:12px 0;font-size:17px}.package-featured{border:2px solid var(--wine)}.package-grid small{display:block;margin-top:18px;line-height:1.6}.page .packages-section{padding-top:20px}.package-grid h3{font-size:26px}@media(max-width:1000px){.package-grid{grid-template-columns:1fr}.package-grid .panel{padding:24px}}

.task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.task-card{display:flex;flex-direction:column;padding:28px;border:1px solid var(--line);border-radius:12px;background:var(--white);min-width:0}.task-card p{color:var(--muted);flex:1}.task-card b{color:var(--wine)}.task-card:hover{border-color:var(--wine);box-shadow:0 4px 16px #00000008}.task-card h2{font-size:30px}.task-number{color:var(--wine);margin-bottom:16px}.primary-task{border:2px solid var(--wine)}.quick-links{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:26px 0}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.route-back{max-width:1330px;margin:auto;padding:24px 5% 0}.route-back+.page{padding-top:24px}.account-actions{display:flex;align-items:center;gap:14px}.account-menu{position:relative;font-size:13px}.account-menu summary{cursor:pointer;padding:12px 8px;white-space:nowrap}.account-menu>div{position:absolute;right:0;top:100%;min-width:200px;background:var(--white);border:1px solid var(--line);padding:10px;border-radius:8px;box-shadow:0 8px 30px #0002;z-index:30}.account-menu a{display:block;padding:12px}.sample-chosen,.sample-conditions{margin:15px 0}.sample-chosen summary,.sample-conditions summary,.package-grid summary{cursor:pointer;font-weight:600;color:var(--wine);font-size:14px}.package-grid .btn,.package-grid .ghost{margin-top:auto}.package-grid details{margin-bottom:20px}.package-grid ul{flex:initial}.sample-summary h2{font-size:28px}.sample-summary .totals{margin:16px 0}.sample-credit{padding:14px!important;margin:16px 0!important}.sample-credit strong{font-size:28px!important}.steps-label a{color:var(--wine)}#account-nav{display:flex;align-items:center;gap:15px}.skip-link{position:fixed;top:-100px;left:15px;padding:12px;background:white;z-index:100}.skip-link:focus{top:10px}#mobile-nav{display:none}#toast a{color:white;text-decoration:underline;margin-left:12px}.navlinks a{padding:10px 0}.btn,.ghost{min-height:44px}summary{min-height:40px;padding-top:8px;padding-bottom:8px}header{gap:16px}.navlinks{gap:20px}
@media(max-width:1100px){.task-grid{gap:14px}.task-card{padding:23px}.navlinks{font-size:13px}}
@media(max-width:760px){body{padding-bottom:72px}header{position:sticky;top:0;padding:12px 5%;gap:8px;background:var(--paper)}.brand{font-size:11px}.brand .mark{width:36px;height:36px}.brand small{font-size:8px}#account-nav{gap:10px}.account-actions>.ghost{display:none}.account-menu summary{font-size:12px}#topnav{overflow:visible}.navlinks{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;font-size:12px;text-align:center;white-space:normal}.navlinks a{border-radius:5px;padding:8px 5px}.navlinks a.active{background:var(--soft);border-bottom:0}.task-grid,.help-grid{grid-template-columns:1fr}.task-card{padding:22px}.task-card h2,.task-card h3{font-size:27px;margin-bottom:12px}.task-card p{margin-bottom:15px}.page-title h1{font-size:34px}.marketing-hero h1{font-size:40px}.hero .lead{font-size:16px}.tasting-art{min-height:330px}.tasting-bottles svg{height:160px}.tasting-bottles svg:nth-child(2){height:190px}.hero{padding-top:30px}.task-grid .task-card{min-height:0}.quick-links{display:grid;grid-template-columns:1fr 1fr}.quick-links .ghost{font-size:12px;padding:10px}.help-grid .task-card{padding:25px}.sample-summary{grid-row:auto!important}.sample-summary .totals{display:none}.sample-summary .sample-credit{display:none}.sample-summary .sample-chosen[open]~.totals{display:block}.sample-summary #sample-checkout{max-width:100%;margin:0}.sample-summary{padding:20px;position:static}.sample-summary .chosen-samples{display:block}.sample-summary>a.link{margin-top:14px!important}.sample-conditions{margin-bottom:0}.fields{grid-template-columns:1fr}.field.wide{grid-column:auto}.field input,.field select,.field textarea,.search{font-size:16px;min-height:46px}.products{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.catalog-tabs button{font-size:12px;padding:10px}.catalog-meta{font-size:12px}.page .package-grid{gap:16px}#mobile-nav:not(:empty){display:block;position:fixed;bottom:0;left:0;right:0;background:var(--white);border-top:1px solid var(--line);z-index:20;padding:8px 6px calc(8px + env(safe-area-inset-bottom))}#mobile-nav nav{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}#mobile-nav a{display:flex;align-items:center;justify-content:center;min-height:44px;font-size:12px;font-weight:650;border-radius:6px}#mobile-nav a[aria-current]{background:var(--soft);color:var(--wine)}#toast{bottom:85px;max-width:92vw;font-size:12px;padding:12px 15px}.route-back{padding-top:18px}.steps-label{font-size:11px;gap:12px;flex-wrap:wrap}}
@media(max-width:380px){.brand>span:last-child{font-size:10px}.products{grid-template-columns:1fr}.quick-links{grid-template-columns:1fr}#account-nav .btn{font-size:11px;padding:8px}.sample-products{grid-template-columns:1fr}}

.sample-total-mobile{display:none}@media(max-width:760px){.sample-total-mobile{display:block;margin:16px 0;font-size:15px}.sample-total-mobile small{display:block;font-size:12px;margin-top:5px}.mobile-sample-progress{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:0 10px 8px;border-bottom:1px solid var(--line);margin-bottom:5px;font-size:13px}.mobile-sample-progress small{font-size:11px}.sample-summary .sample-chosen[open]~.totals{display:none}.sample-summary .chosen-samples{max-height:230px;overflow:auto}.sample-summary .sample-conditions{font-size:12px}body:has(.mobile-sample-progress){padding-bottom:130px}body:has(.mobile-sample-progress) #toast{bottom:145px}}

.catalog-photo{height:240px;background:#fff;position:relative;overflow:hidden;padding:30px 12px 22px;display:flex;align-items:center;justify-content:center}.catalog-photo img{width:100%;height:100%;object-fit:contain;display:block}.catalog-photo.producer-photo{padding:30px 0 22px}.producer-photo img{object-fit:cover}.catalog-photo>span,.catalog-photo>small{z-index:1;background:#fffdf8e8;padding:4px 7px}.catalog-photo>small{font-size:10px;position:absolute;bottom:3px;right:6px}.catalog-teaser{font-size:12px;color:var(--muted);line-height:1.5}.detail-photo{height:260px;margin:20px 0;display:flex;align-items:center;justify-content:center;background:white;border-radius:8px;overflow:hidden}.detail-photo img{width:100%;height:100%;object-fit:contain}.detail-photo.detail-producer img{object-fit:cover}.catalog-description{font-size:14px;line-height:1.7;white-space:pre-line}.catalog-more{grid-column:1/-1;text-align:center;padding:25px}.catalog-more small{display:block;margin-top:12px}.catalog-extra-filters{margin-bottom:22px}.catalog-extra-filters summary{color:var(--wine);cursor:pointer;font-size:14px}.catalog-extra-filters .filters{grid-template-columns:1fr 1fr;margin:12px 0}.catalog-extra-filters select{padding:12px;min-width:0;max-width:100%;border:1px solid var(--line);background:var(--white);border-radius:6px}@media(max-width:760px){.catalog-photo{height:200px}.catalog-teaser{display:none}.catalog-extra-filters .filters{grid-template-columns:1fr}.catalog-extra-filters select{font-size:16px}.sample-products .catalog-photo{height:180px}.detail-photo{height:230px}}

.sample-mode{border:0;padding:0;margin:22px 0}.sample-mode legend{font-weight:600;margin-bottom:10px}.sample-mode .payment{margin-bottom:8px}.sample-summary .chosen-samples{padding-left:0;list-style:none}.sample-summary .chosen-samples li{padding:10px 0;border-bottom:1px solid var(--line,#ddd)}

body > header { border-bottom: 2px solid var(--gold); }
.marketing-hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.marketing-hero .actions .link { flex-basis: 100%; padding-block: 8px; }
.home-partners {
  min-width: 0;
  border-top: 3px solid var(--gold);
  padding-top: 14px;
}
.home-partners h2 { font-size: clamp(21px, 2.1vw, 29px); margin-bottom: 12px; }
.partner-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
  padding: 0;
}
.partner-grid a {
  display: grid;
  place-items: center;
  min-height: 44px;
  aspect-ratio: 1.18;
  padding: 3px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.partner-grid a:hover, .partner-grid a:focus-visible {
  border-color: var(--wine);
  box-shadow: 0 0 0 1px var(--wine);
}
.partner-grid img { display: block; width: 100%; height: 100%; object-fit: contain; min-height: 0; }
@media (min-width: 761px) { .marketing-hero { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
@media (max-width: 940px) { .partner-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 380px) { .partner-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.home-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 200px);
  align-items: center;
  gap: clamp(18px, 6vw, 85px);
  border-top: 1px solid var(--line);
}
.home-story p { max-width: 55ch; }
.home-portrait { margin: 0; }
.home-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 5px;
}
.home-portrait figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; }
@media (max-width: 520px) {
  .home-story { grid-template-columns: 1fr; }
  .home-portrait { width: min(50%, 165px); }
}

.press-preview { border-top: 1px solid var(--line); padding-top: 16px; }
.press-preview-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 10px; }
.press-preview h2 { font-size: 23px; margin: 0; }
.press-preview ul { list-style: none; margin: 0; padding: 0; display: grid; }
.press-preview li { grid-area: 1 / 1; display: flex; min-width: 0; }
.press-preview li[hidden] { display: flex; visibility: hidden; }
.press-preview li a { display: block; width: 100%; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.press-preview li a:hover strong, .press-preview li a:focus-visible strong { color: var(--wine); text-decoration: underline; }
.press-preview li small { display: block; color: var(--muted); font-size: 12px; }
.press-preview li strong { display: block; margin-top: 4px; font-size: 16px; line-height: 1.3; }
.press-preview li p { margin: 6px 0 0; font-size: 13px; line-height: 1.45; }
.press-preview-controls { display: flex; gap: 6px; margin-top: 5px; }
.press-preview-controls button { min-width: 44px; min-height: 44px; padding: 0 9px; color: var(--ink); border: 1px solid transparent; background: transparent; border-radius: 5px; cursor: pointer; }
.press-preview-controls button:hover, .press-preview-controls button:focus-visible { border-color: var(--line); color: var(--wine); }
.catalog-promotion { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.catalog-section-intro { margin: 20px 0; }
.catalog-section-intro h2 { margin-bottom: 6px; }

#mobile-menu { display: none; }

@media screen and (max-width: 760px) {
  body {
    --mobile-bottom: calc(61px + env(safe-area-inset-bottom));
    padding-bottom: var(--mobile-bottom);
  }
  body:has(#mobile-nav.has-sample-progress) { --mobile-bottom: calc(115px + env(safe-area-inset-bottom)); }
  header {
    position: sticky;
    flex-wrap: nowrap;
    padding: calc(6px + env(safe-area-inset-top)) max(12px, env(safe-area-inset-right))
      6px max(12px, env(safe-area-inset-left));
  }
  .demo-bar {
    padding-top: calc(8px + env(safe-area-inset-top));
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  .page, .marketing-hero {
    padding-left: max(5%, env(safe-area-inset-left));
    padding-right: max(5%, env(safe-area-inset-right));
  }
  #topnav { display: none; }
  #account-nav { margin-left: auto; gap: 4px; }
  #account-nav > a, .account-menu summary, #mobile-menu summary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 6px 8px;
    white-space: nowrap;
  }
  #mobile-menu { display: block; position: relative; }
  #mobile-menu summary { cursor: pointer; font-size: 13px; font-weight: 650; }
  #mobile-menu nav {
    position: absolute;
    right: 0;
    top: 100%;
    width: min(230px, 85vw);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 8px 24px #0002;
  }
  #mobile-menu .navlinks { grid-template-columns: 1fr; text-align: left; }
  #mobile-menu a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; }
  #mobile-nav:not(:empty) {
    padding-right: max(8px, env(safe-area-inset-right));
    padding-left: max(8px, env(safe-area-inset-left));
  }
  #mobile-nav a { text-align: center; }
  .page:has(#catalog-grid) .page-title { gap: 8px; margin-bottom: 12px; }
  .page:has(#catalog-grid) .page-title p { margin-bottom: 0; }
  .page:has(#catalog-grid) .filters { margin-bottom: 8px; }
  .page:has(#catalog-grid) .catalog-extra-filters { margin-bottom: 8px; }
  .page:has(#catalog-grid) .catalog-meta { gap: 4px; margin-bottom: 12px; }
  .catalog-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
    margin: 18px 0;
  }
  .catalog-tabs button { flex: 0 0 auto; min-height: 44px; padding-inline: 13px; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .filters > * { width: 100%; min-width: 0; min-height: 44px; font-size: 16px; }
  
  
  .catalog-extra-filters summary { padding-block: 12px; }
  #catalog-grid { gap: 10px; }
  #catalog-grid .catalog-photo { height: clamp(132px, 38vw, 195px); }
  #catalog-grid .product-copy { min-width: 0; padding: 10px; overflow-wrap: anywhere; }
  #catalog-grid .product h3 { font-size: clamp(17px, 4.5vw, 21px); }
  #catalog-grid .product-bottom { flex-direction: column; align-items: stretch; }
  .product-bottom :is(button, a.btn, a.ghost), .checkout-layout :is(.btn, [data-remove]) {
    min-height: 44px;
  }
  .cart-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .cart-row h3 { overflow-wrap: anywhere; }
  .cart-row > .text-right { grid-column: 1 / -1; align-items: center; }
  .qty { gap: 4px; }
  .qty button { width: 44px; height: 44px; }
  .qty input { width: 48px; min-height: 44px; font-size: 16px; }
  #modal { max-height: min(88vh, 88dvh); padding: 42px 18px 18px; overflow-y: auto; }
  #modal .close { min-width: 44px; min-height: 44px; right: 4px; top: 1px; }
  #modal :is(input, select, textarea) { font-size: 16px; }
  #toast { bottom: calc(var(--mobile-bottom) + 12px); }
}

.catalog-page {
  --catalog-ivory: #fffdf7;
  --catalog-line: #dbd1c2;
  --catalog-red: #841f2d;
  --catalog-deep: #3e1720;
  --catalog-gold: #eecb9e;
  --catalog-serif: Georgia, "Times New Roman", serif;
}
.catalog-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  min-height: 330px;
  color: #fff4e6;
  background: linear-gradient(90deg, #10100f 0%, #10100fd9 22%, #10100f70 46%, transparent 77%),
    #10100f url("/assets/vigna-borgogna-storica.webp") 58% center / cover no-repeat;
}
.catalog-hero.has-feature { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.catalog-hero-copy { align-self: center; padding: 37px clamp(22px, 5vw, 68px); }
.catalog-hero .eyebrow { color: var(--catalog-gold); }
.catalog-hero h1 { font: clamp(46px, 6vw, 89px)/.91 var(--catalog-serif); letter-spacing: -.055em; margin: 12px 0 15px; }
.catalog-hero h1 em { color: var(--catalog-gold); }
.catalog-hero p { color: #f2ded1; max-width: 38ch; margin: 0; }
.catalog-hero-copy button {
  margin-top: 18px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #eecb9e88;
  background: transparent;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
}
.catalog-hero-copy button:hover { background: #ffffff20; }
.catalog-hero-copy button span { margin-left: 8px; }
.catalog-feature-panel {
  position: relative;
  display: grid;
  align-self: center;
  margin: 18px;
  min-width: 0;
}
.catalog-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 330px;
  padding: 45px 16px 10px;
  gap: 4px;
  border: 0;
  background: var(--wine-photo-bg, #f0e6d3);
  color: var(--catalog-deep);
  text-align: center;
}
.catalog-feature img { display: block; width: 100%; height: 158px; flex: 0 1 158px; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.catalog-feature .product-photo-lamine { height: 158px; }
.catalog-feature .product-photo-lamine img { height: 100%; }
.catalog-feature-extra { display: grid; }
.catalog-feature-toggle {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  padding: 0;
  background: #fff4;
  border: 1px solid #6b272a80;
  border-radius: 50%;
  color: #6b272a;
  font-size: 12px;
}
.catalog-feature-toggle:hover { background: #fff8; }
.catalog-feature strong { font: 22px/1.05 var(--catalog-serif); }
.catalog-feature small { color: var(--muted); }
.catalog-feature-stamp {
  position: absolute;
  top: 13px;
  left: 13px;
  border: 1px solid var(--catalog-red);
  color: var(--catalog-red);
  padding: 5px 8px;
  font-size: 9px;
  letter-spacing: .12em;
  font-weight: 800;
  text-transform: uppercase;
}
.catalog-page .catalog-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 29px 0 18px;
  padding: 0;
  border: 1px solid var(--catalog-line);
}
.catalog-page .catalog-tabs button {
  border: 0;
  border-inline-end: 1px solid var(--catalog-line);
  border-radius: 0;
  min-height: 56px;
  padding: 10px 13px;
  text-align: left;
  font-weight: 700;
}
.catalog-page .catalog-tabs button:last-child { border-inline-end: 0; }
.catalog-page .catalog-tabs button span {
  display: block;
  color: var(--catalog-red);
  font-size: 9px;
  letter-spacing: .14em;
  margin-bottom: 3px;
}
.catalog-page .catalog-tabs .active { background: var(--catalog-red); color: white; }
.catalog-page .catalog-tabs .active span { color: #f6d6c2; }
.catalog-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 14px; scroll-margin-top: 110px; }
.catalog-heading-row h2 { margin: 0; font: 35px/1 var(--catalog-serif); letter-spacing: -.04em; }
.catalog-page .filters { margin-bottom: 8px; }
.catalog-page .filters :is(input,select) { background: var(--catalog-ivory); border-color: var(--catalog-line); }
.catalog-styles { display: flex; gap: 7px; overflow-x: auto; padding: 6px 2px; }
.catalog-styles button { flex: 0 0 auto; min-height: 44px; border: 1px solid var(--catalog-line); border-radius: 50px; background: transparent; padding: 0 13px; font-size: 13px; }
.catalog-styles button[aria-pressed=true] { color: white; background: var(--ink); }
.catalog-page .catalog-extra-filters { margin-bottom: 10px; }
.catalog-page .catalog-meta { margin-bottom: 12px; }
.catalog-page #catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.catalog-page .product { border-radius: 0; background: var(--catalog-ivory); border-color: var(--catalog-line); }
.catalog-page .catalog-photo { background: var(--wine-photo-bg, #eee6d9); height: 221px; }
[data-wine-kind="red"] { --wine-photo-bg: #e7c4c3; }
[data-wine-kind="white"] { --wine-photo-bg: #f4e8b9; }
[data-wine-kind="rose"] { --wine-photo-bg: #e9cdd5; }
[data-wine-kind="sparkling"] { --wine-photo-bg: #d6e7ef; }
[data-wine-kind="orange"] { --wine-photo-bg: #e4b5a2; }
.catalog-photo[data-wine-kind], .detail-photo[data-wine-kind] {
  background: var(--wine-photo-bg, #eee6d9);
}
.catalog-photo[data-wine-kind]:not(.producer-photo) img,
.detail-photo[data-wine-kind]:not(.detail-producer) img { mix-blend-mode: multiply; }
.catalog-page .product-copy { padding: 13px; }
.catalog-page .product h3 { font: 24px/1.08 var(--catalog-serif); letter-spacing: -.025em; }
.catalog-page .product .producer { color: var(--catalog-red); }
.catalog-page .product [data-detail] { min-height: 44px; }
.catalog-page .product-copy > [data-detail] { border-top: 1px solid var(--catalog-line); }
@media (max-width: 1000px) {
  .catalog-page #catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .catalog-page #catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .catalog-page #catalog-grid .product h3 { font-size: 19px; }
  .catalog-page #catalog-grid .catalog-photo { height: clamp(122px, 38vw, 185px); }
  .catalog-page #catalog-grid .product-copy { padding: 9px; }
  .catalog-page .catalog-tabs { display: flex; overflow: auto; margin: 13px 0; }
  .catalog-page .catalog-tabs button { flex: 0 0 auto; min-height: 46px; padding: 7px 10px; font-size: 11px; }
  .catalog-heading-row { scroll-margin-top: calc(66px + env(safe-area-inset-top)); }
  .catalog-heading-row h2 { font-size: 29px; }
}
@media (max-width: 620px) {
  .catalog-hero { min-height: 0; }
  .catalog-hero.has-feature { grid-template-columns: minmax(0, 1fr) 105px; }
  .catalog-hero-copy { padding: 18px 7px 18px 14px; }
  .catalog-hero .eyebrow { font-size: 8px; letter-spacing: .12em; }
  .catalog-hero h1 { font-size: clamp(33px, 10.6vw, 58px); margin: 10px 0 9px; }
  .catalog-hero p { font-size: 12px; }
  .catalog-hero-copy button { margin-top: 8px; padding-inline: 7px; font-size: 11px; }
  .catalog-feature-panel { margin: 8px 8px 8px 0; }
  .catalog-feature { height: 255px; padding: 32px 5px 6px; gap: 3px; }
  .catalog-feature img { height: 107px; flex-basis: 107px; }
  .catalog-feature .product-photo-lamine { height: 107px; }
  .catalog-feature-toggle { top: 4px; right: 4px; width: 24px; height: 24px; font-size: 9px; }
  .catalog-feature strong { font-size: 14px; }
  .catalog-feature small { font-size: 9px; }
  .catalog-feature-stamp { top: 8px; left: 5px; max-width: calc(100% - 30px); font-size: 7px; padding: 2px 3px; }
}

.catalog-glass-promo {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 44px;
  gap: 16px;
  align-items: center;
  width: 100%;
  margin-top: 14px;
  padding: 14px 22px;
  border: 1px solid #ddc496;
  color: var(--catalog-deep);
  background: #f4e8ca;
  text-align: left;
}
.catalog-glass-promo:hover { background: #f1e1ba; }
.catalog-glass-icon { width: 54px; height: 68px; color: var(--catalog-red); }
.catalog-glass-promo .eyebrow { display: block; color: var(--catalog-red); }
.catalog-glass-promo strong { display: block; margin: 4px 0; font: clamp(25px, 4vw, 38px)/1 var(--catalog-serif); }
.catalog-glass-promo small { display: block; color: #584234; line-height: 1.45; }
.catalog-glass-arrow { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #c5a57b; border-radius: 50%; font-size: 19px; }
.catalog-page .catalog-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.catalog-glass-price-note { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.catalog-page .product-copy .why { border-inline-start: 2px solid var(--catalog-red); padding-inline-start: 8px; color: var(--catalog-deep); }
#catalog-cart-banner:not(:empty) {
  position:fixed;
  right:22px;
  bottom:20px;
  z-index:19;
  width:max-content;
  max-width:calc(100vw - 44px);
}
.catalog-cart-link {
  display:block;
  padding:7px;
  border:1px solid #a15a57;
  border-radius:12px;
  background:#3e1720;
  color:#fff4e6;
  box-shadow:0 6px 20px #231f204d;
}
.catalog-cart-link:focus-visible { outline:3px solid #a0903b; outline-offset:3px; }
.catalog-cart-summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:4px 6px;
  font-size:13px;
}
.catalog-cart-summary strong { color:#ffdfb5; white-space:nowrap; }
#catalog-cart-banner .cart-targets {
  grid-template-columns:repeat(auto-fit,minmax(0,1fr));
  gap:5px;
  margin:3px 0 0;
}
#catalog-cart-banner .cart-target {
  gap:4px;
  min-width:0;
  padding:7px;
  border-width:1px;
  border-radius:8px;
  box-shadow:none;
}
#catalog-cart-banner .cart-target-head { gap:3px 5px; flex-wrap:wrap; }
#catalog-cart-banner .cart-target-head h2,
#catalog-cart-banner .cart-target-head b { font-size:11px; }
#catalog-cart-banner .cart-target-head b { padding:1px 4px; }
#catalog-cart-banner .cart-target-result { font-size:14px; }
#catalog-cart-banner progress { height:5px; }
#catalog-cart-banner .cart-target-caption b { font-size:10px; }
#catalog-cart-banner .cart-target-caption span { display:none; }
body:has(#catalog-cart-banner:not(:empty)) #toast { right:12px; left:auto; bottom:68px; transform:none; }
body:has(#catalog-cart-banner .cart-target) #toast { bottom:174px; }
@media (max-width:760px) {
  .catalog-glass-promo { grid-template-columns:35px minmax(0,1fr) 34px; gap:10px; padding:12px; }
  .catalog-glass-icon { width:34px; height:48px; }
  .catalog-glass-arrow { width:34px; height:34px; }
  #catalog-cart-banner:not(:empty) {
    bottom:var(--mobile-bottom);
    right:max(8px,env(safe-area-inset-right));
    left:max(8px,env(safe-area-inset-left));
    z-index:21;
    width:auto;
    max-width:none;
  }
  body:has(#catalog-cart-banner:not(:empty)) { padding-bottom:calc(var(--mobile-bottom) + 48px); }
  body:has(#catalog-cart-banner:not(:empty)) #toast { bottom:calc(var(--mobile-bottom) + 48px); }
  body:has(#catalog-cart-banner .cart-target) { padding-bottom:calc(var(--mobile-bottom) + 150px); }
  body:has(#catalog-cart-banner .cart-target) #toast { bottom:calc(var(--mobile-bottom) + 150px); }
  #catalog-cart-banner .cart-target-result { font-size:12px; }
}

.glass-offer {
  margin: 0 0 14px;
  padding: 12px 16px;
  border-inline-start: 3px solid var(--catalog-red);
  background: #f4e8ca;
  color: var(--catalog-deep);
}
.glass-offer strong { font: 21px/1.15 var(--catalog-serif); }
.glass-offer p { margin: 5px 0 0; font-size: 12px; }
.catalog-page .product-bottom-glass { flex-direction: column; align-items: stretch; }
.glass-pricing {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1px;
  border: 1px solid var(--catalog-line);
  background: var(--catalog-line);
}
.glass-pricing > div { padding: 6px; background: var(--catalog-ivory); }
.glass-pricing small, .glass-pricing strong { display: block; }
.glass-pricing small { color: var(--muted); font-size: 11px; line-height: 1.25; }
.glass-pricing strong { font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.glass-pricing .glass-pricing-promo { background: #f4e8ca; color: var(--catalog-red); }

.catalog-showcases { position:relative; display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:14px; margin-top:14px; padding:5px 4px 12px; scrollbar-width:thin; }
.catalog-showcases .catalog-glass-promo {
  position:relative; overflow:hidden; margin:0; min-height:160px; flex:0 0 42%; scroll-snap-align:start;
  grid-template-columns:40px minmax(0,1fr); gap:10px; padding:16px 14px;
}
.catalog-showcases .catalog-glass-icon { width:38px; height:62px; }
.catalog-showcases .catalog-glass-promo strong { font-size:clamp(23px,2.5vw,35px); }
.catalog-showcases .catalog-best-promo {
  background: repeating-linear-gradient(150deg,#4a202800 0 22px,#eecb9e18 23px 24px),#4a2028;
  color:#fff3df; border-color:#783846;
}
.catalog-showcases .catalog-best-promo :is(.eyebrow,.catalog-glass-icon,small) { color:#f1d6b5; }
.catalog-showcases .catalog-reserve-promo {
  background: radial-gradient(ellipse at 20% 95%,#b5c9c388,transparent 55%),#e4ece6;
  color:#183a35; border-color:#a7beb4;
}
.catalog-showcases .catalog-reserve-promo :is(.eyebrow,.catalog-glass-icon,small) { color:#315c53; }
.catalog-page .catalog-tabs { grid-template-columns:repeat(8,minmax(0,1fr)); }
.catalog-page .reservation-stamp {
  color:#315c53; background:repeating-linear-gradient(145deg,#e4ece6 0 14px,#d5e1da 15px 16px);
}
.reservation-stamp strong { border:1px solid currentColor; border-radius:50%; padding:16px; font:28px var(--catalog-serif); }
@media(max-width:760px){
  .catalog-showcases .catalog-glass-promo { flex:0 0 84%; min-height:127px; scroll-snap-align:start; }
}

.producer-story { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:32px; margin-bottom:40px; align-items:center; }
.producer-story h1 { font:clamp(34px,4.6vw,62px)/1 var(--catalog-serif); letter-spacing:-.035em; margin:14px 0 18px; }
.producer-intro { font-size:17px; line-height:1.65; margin-bottom:12px; }
.producer-story small { display:block; font-size:11px; color:var(--muted); }
.producer-story .link { display:block; margin-top:18px; }
.producer-photos { display:grid; grid-template-columns:1.3fr 1fr; gap:10px; align-items:start; }
.producer-photos figure { min-width:0; margin:0; }
.producer-photos figure+figure { margin-top:38px; }
.producer-photos img { display:block; width:100%; height:280px; object-fit:cover; background:#eee6d9; }
.producer-photos .producer-bottle img { object-fit:contain; padding:15px; }
.producer-photos figcaption { font-size:10px; line-height:1.4; color:var(--muted); margin-top:6px; }
.producer-related { margin-top:44px; border-top:1px solid var(--catalog-line); padding-top:28px; }
.producer-related h2 { font-size:30px; }
.producer-related p { font-size:12px; color:var(--muted); margin:8px 0 0; }
.producer-recommendations { display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x proximity; padding-bottom:12px; }
.producer-recommendations>.product { flex:0 0 calc((100% - 42px)/4); scroll-snap-align:start; }
@media(max-width:900px){
  .producer-story { grid-template-columns:1fr; gap:20px; }
  .producer-recommendations>.product { flex-basis:calc((100% - 28px)/3); }
}
@media(max-width:600px){
  .producer-story { margin-bottom:25px; }
  .producer-intro { font-size:15px; }
  .producer-photos img { height:210px; }
  .producer-photos figure+figure { margin-top:22px; }
  .producer-recommendations>.product { flex-basis:72%; }
}

.producer-page .producer-heading {
  position:static; display:block; padding:0; margin:0 0 22px;
  border:0; background:transparent; z-index:auto;
}
.producer-heading h1 {
  font:clamp(38px,5vw,74px)/.98 var(--catalog-serif);
  letter-spacing:-.045em; margin:12px 0 0;
}
.producer-portrait-layout { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr); gap:28px; align-items:start; }
.producer-main-photo { margin:0; min-width:0; }
.producer-main-photo img { display:block; width:100%; height:auto; }
.producer-main-photo figcaption,.producer-second-photo figcaption { color:var(--muted); font-size:10px; margin-top:7px; }
.producer-fact-panel { padding:22px; border:1px solid var(--catalog-line); background:#eee6d9; }
.producer-fact-panel dl { margin:14px 0 0; }
.producer-fact-panel dl>div { border-top:1px solid #cdbfaf; padding:13px 0; }
.producer-fact-panel dt { color:var(--catalog-deep); margin-bottom:5px; }
.producer-fact-panel dt strong { font-size:14px; font-weight:800; }
.producer-fact-panel dd { margin:0; color:#584f46; font-size:13px; line-height:1.5; }
.producer-editorial { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(180px,.65fr); gap:40px; align-items:center; margin:32px 0 40px; }
.producer-editorial h2 { margin:9px 0 16px; font:36px/1 var(--catalog-serif); letter-spacing:-.035em; }
.producer-editorial small { color:var(--muted); display:block; font-size:11px; }
.producer-editorial .link { display:inline-block; min-height:44px; padding-top:15px; }
.producer-second-photo { margin:0; }
.producer-second-photo img { display:block; width:100%; height:260px; object-fit:cover; }
.producer-second-photo.producer-bottle img { object-fit:contain; padding:18px; background:#eee6d9; }

.catalog-main-filters { grid-template-columns:repeat(3,minmax(0,1fr)); }
.catalog-discovery { margin:20px 0 24px; }
.collection-choices { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:9px 0; }
.collection-choice {
  position:relative; text-align:left; border:1px solid #c8cebf; background:#e7edda;
  padding:15px 32px 17px 16px; min-height:145px; overflow:hidden;
}
.collection-choice>span { display:block; font:italic 30px/1 var(--catalog-serif); opacity:.5; margin-bottom:10px; }
.collection-choice strong { display:block; font:27px/1.03 var(--catalog-serif); letter-spacing:-.025em; }
.collection-choice small { display:block; margin-top:8px; font-size:11px; line-height:1.45; }
.collection-choice>b { position:absolute; right:12px; top:12px; }
.collection-light { background:#eed9d6; border-color:#d1b0ad; color:#541f2a; }
.collection-structured { background:#4c2633; border-color:#6e3c4d; color:#fff2dc; }
.collection-choice[aria-pressed=true] { outline:2px solid var(--catalog-red); outline-offset:2px; }
@media(max-width:900px){
  .catalog-main-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .producer-portrait-layout { grid-template-columns:minmax(0,1.2fr) minmax(220px,1fr); gap:18px; }
}
@media(max-width:620px){
  .producer-page .producer-heading { margin-bottom:18px; }
  .producer-portrait-layout { grid-template-columns:1fr; gap:18px; }
  .producer-fact-panel { padding:16px; }
  .producer-fact-panel dl { display:grid; grid-template-columns:1fr 1fr; gap:0 16px; }
  .producer-editorial { grid-template-columns:1fr; gap:20px; margin:24px 0 30px; }
  .producer-second-photo { max-width:290px; width:100%; margin:auto; }
  .producer-editorial h2 { font-size:30px; }
  .collection-choices { display:flex; overflow-x:auto; padding:3px 3px 8px; scroll-snap-type:x proximity; }
  .collection-choice { flex:0 0 min(75vw,280px); scroll-snap-align:start; min-height:145px; }
  .collection-choice strong { font-size:25px; }
}

/* Five editorial collections, one continuous responsive rail. */
.collection-choices { position:relative; display:flex; overflow-x:auto; gap:14px; scroll-snap-type:x mandatory; scroll-behavior:smooth; padding:5px 4px 12px; scrollbar-width:thin; }
.collection-choice { flex:0 0 calc((100% - 28px)/3); scroll-snap-align:start; min-height:185px; }
.collection-sea { background:#d6e8e7; border-color:#9bbfbc; color:#204f54; }
.collection-macerati { background:#f4d4ae; border-color:#ce985e; color:#713e15; }
.producer-reference,.producer-source { display:block; font-size:11px; margin-top:8px; }
.producer-reference { color:#776659; }
.producer-source { text-decoration:underline; }
.producer-territory-tags { display:flex; flex-wrap:wrap; gap:10px; margin:22px 0; }
.producer-territory-tags>span { flex:1 1 260px; padding:15px 18px; background:#e0ece9; border-left:3px solid #658e8b; font-size:12px; line-height:1.5; }
.producer-territory-tags strong { display:block; color:#204f54; margin-bottom:4px; }
.route-back button { border:0; background:none; cursor:pointer; font:inherit; padding:8px 0; }
@media(max-width:900px){.collection-choice{flex-basis:calc((100% - 14px)/2);}}
@media(max-width:620px){.collection-choice{flex-basis:84%;min-height:180px;}}
@media(prefers-reduced-motion:reduce){.collection-choices{scroll-behavior:auto;}}

.collection-structured small { color:#f2e0d2; }

/* The logo palette gives actions and order progress distinct roles. */
.catalog-hero-copy button { background:#d10a11; border-color:#d10a11; color:#fff; }
.catalog-hero-copy button:hover { background:#ab0810; }
.catalog-feature-prices { color:#1d1d1b !important; font-size:11px; line-height:1.4; }
.catalog-feature-note { line-height:1.35; }
.catalog-paths { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:12px 0 20px; }
.catalog-paths>a,.catalog-paths>button { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:50px; padding:10px 14px; border:1px solid #d7cdb9; border-radius:0; background:#f8f5ed; color:#1d1d1b; font-size:13px; font-weight:700; text-align:left; text-decoration:none; }
.catalog-paths small { display:block; font-weight:400; margin-top:3px; }
.catalog-paths>a:hover,.catalog-paths>button:hover { border-color:#af9d51; background:#f1e9d6; }
.cart-goal { padding:16px; margin:0 0 18px; background:#f5efdd; border:1px solid #d7c599; color:#1d1d1b; }
.cart-goal h3 { margin:7px 0; font:23px/1.12 var(--catalog-serif); }
.cart-goal p { margin:4px 0 8px; font-size:12px; }
.cart-goal progress { width:100%; height:8px; accent-color:#af9d51; }
.cart-goal-options { margin-top:10px; font-size:13px; }
.cart-goal-options summary,.glass-margin summary { cursor:pointer; font-weight:700; }
.cart-pick { display:flex; justify-content:space-between; gap:10px; align-items:center; border-top:1px solid #d7c599; margin-top:9px; padding-top:9px; }
.cart-pick small { display:block; }
.cart-pick button { flex:none; }
.glass-margin { margin:12px 0 18px; }
.glass-margin .fields { margin-top:12px; }
@media(max-width:620px){
  .catalog-paths { grid-template-columns:1fr; }
  .catalog-paths>a,.catalog-paths>button { min-height:44px; }
  .catalog-hero.has-feature { grid-template-columns:minmax(0,1fr) minmax(125px,40%); }
  .catalog-feature .catalog-feature-prices { font-size:10px; }
}

/* La foto di Lamine mostra bottiglia intera ed etichetta ingrandita affiancate. */
.product-photo-lamine {
  position: relative;
  height: 100%;
  aspect-ratio: 8 / 25;
  overflow: hidden;
  flex: none;
}
.product-photo-lamine img {
  position: absolute;
  inset: 0 auto 0 0;
  width: 312.5%;
  height: 100%;
  max-width: none;
  object-fit: fill;
}

.cart-targets {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));
  gap:12px;
  margin:0 0 24px;
}
.goal-red,.from-goal-red { --goal-red:#a31632; }
.goal-yellow,.from-goal-yellow { --goal-yellow:#ffe13b; }
.goal-green,.from-goal-green { --goal-green:#087442; }
.goal-gold,.from-goal-gold { --goal-gold:#f7b51b; }
.goal-red { --goal-bg:var(--goal-red); --goal-fg:#fff; }
.goal-yellow { --goal-bg:var(--goal-yellow); --goal-fg:#2a2100; }
.goal-green { --goal-bg:var(--goal-green); --goal-fg:#fff; }
.goal-gold { --goal-bg:var(--goal-gold); --goal-fg:#241500; }
.cart-goal.cart-target {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:0;
  padding:clamp(15px,2.4vw,24px);
  border:2px solid currentColor;
  border-radius:15px;
  background-color:var(--goal-bg);
  color:var(--goal-fg);
  box-shadow:0 6px 18px color-mix(in srgb,var(--goal-bg) 40%,transparent);
}
.cart-target-head,.cart-target-caption { display:flex; align-items:baseline; gap:6px 12px; justify-content:space-between; }
.cart-target-head h2 { margin:0; font:800 15px/1.25 system-ui,sans-serif; }
.cart-target-head b {
  padding:3px 8px;
  border:1px solid currentColor;
  border-radius:100px;
  font:800 14px/1.25 system-ui,sans-serif;
  font-variant-numeric:tabular-nums;
}
.cart-target-result { flex:1; font:750 clamp(23px,3vw,34px)/1.13 var(--catalog-serif); }
.cart-goal.cart-target progress {
  display:block;
  width:100%;
  height:9px;
  border:0;
  border-radius:10px;
  appearance:none;
  overflow:hidden;
  background:color-mix(in srgb,var(--goal-fg) 25%,transparent);
  accent-color:var(--goal-fg);
}
.cart-target progress::-webkit-progress-bar { background:transparent; }
.cart-target progress::-webkit-progress-value { background:var(--goal-fg); border-radius:10px; }
.cart-target progress::-moz-progress-bar { background:var(--goal-fg); border-radius:10px; }
.cart-target-caption { flex-wrap:wrap; font-size:11px; }
.cart-target-caption b { font-size:12px; }
.cart-target.from-goal-red { --goal-from:var(--goal-red); }
.cart-target.from-goal-yellow { --goal-from:var(--goal-yellow); }
.cart-target.from-goal-green { --goal-from:var(--goal-green); }
.cart-target.from-goal-gold { --goal-from:var(--goal-gold); }
.cart-target[class*="from-goal-"] { animation:cart-goal-color .32s ease-out; }
@keyframes cart-goal-color {
  from { background-color:var(--goal-from); }
  to { background-color:var(--goal-bg); }
}

/* Brief bursts stay behind the labels. */
.cart-fireworks { position:absolute; inset:0; z-index:-1; pointer-events:none; }
.cart-fireworks i {
  --spark:#fff;
  position:absolute;
  top:16%;
  left:78%;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--spark);
  box-shadow:0 -38px var(--spark),23px -30px #9143d1,38px -9px #fff8af,
    35px 17px #ee456b,18px 35px #fff,0 41px #9143d1,-23px 32px #fff8af,
    -38px 12px #ee456b,-36px -15px #fff,-20px -32px #9143d1;
  opacity:0;
  animation:cart-fireworks .95s ease-out .04s 2;
}
.cart-fireworks i:nth-child(2) { top:52%; left:11%; --spark:#db3472; animation-delay:.2s; }
.cart-fireworks i:nth-child(3) { top:77%; left:62%; --spark:#7434a3; animation-delay:.38s; }
@keyframes cart-fireworks {
  0% { transform:scale(.1) rotate(-18deg); opacity:0; }
  15% { opacity:.9; }
  100% { transform:scale(1.48) rotate(12deg); opacity:0; }
}
@media(prefers-reduced-motion:reduce){
  .cart-target[class*="from-goal-"],.cart-fireworks i { animation:none; }
}

.client-data-paste { padding: .85rem; margin: 0 0 1rem; border: 1px solid var(--line); border-radius: 8px; }
.client-data-paste summary { cursor: pointer; font-weight: 700; padding-block: .65rem; }
.client-data-paste .field { margin: .5rem 0 .75rem; }
.client-data-paste textarea { min-height: 7rem; font-size: 16px; }
.client-data-paste [role="status"] { margin: .6rem 0 0; }
.client-data-paste [role="status"]:empty { display: none; }
.client-import-result { scroll-margin-top: 5rem; }
.client-import-review { font-size: .9rem; }
.client-import-review[hidden] { display: none; }
.field [data-client-imported] { background: #eef3e9; border-color: #75926e; }

@media (max-width: 760px) {
  .client-data-paste button, .client-import-review { min-height: 44px; }
  #auth-form:has(.client-data-paste) :is(input:not([type="checkbox"]), select, textarea) { font-size: 16px; }
}
@media (max-width: 380px) {
  body:has(.client-data-paste) > header .brand > span:last-child { display: none; }
}

body > header:has(#catalog-search-dock:not([hidden])) {
  position:sticky;
  top:0;
  z-index:25;
  flex-wrap:wrap;
  column-gap:16px;
  row-gap:8px;
  padding-block:8px;
}
#catalog-search-dock {
  flex:0 0 100%;
  order:5;
  min-width:0;
}
.catalog-search-bar {
  position:relative;
  width:min(100%,820px);
  margin:auto;
}
.catalog-search-controls {
  display:flex;
  background:#fff;
  border:2px solid #731c2b;
  border-radius:9px;
}
.catalog-search-controls:focus-within {
  outline:2px solid #a0903b;
  outline-offset:2px;
}
#catalog-search {
  flex:1;
  min-width:0;
  padding:9px 12px;
  border:0;
  border-radius:7px 0 0 7px;
  background:#fff;
  color:#231f20;
  font-size:16px;
  outline:none;
}
.catalog-search-controls button {
  border:0;
  border-radius:0 6px 6px 0;
  padding:8px 16px;
  background:#731c2b;
  color:#fff;
  font-weight:750;
  cursor:pointer;
}
#catalog-search-options {
  position:absolute;
  inset:calc(100% + 5px) 0 auto;
  max-height:min(44dvh,360px);
  overflow:auto;
  overscroll-behavior:contain;
  border:1px solid #731c2b;
  border-radius:9px;
  background:#fff;
  box-shadow:0 12px 32px #231f2033;
}
#catalog-search-options button {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(85px,42%);
  align-items:center;
  gap:4px 14px;
  width:100%;
  padding:10px 12px;
  border:0;
  border-bottom:1px solid #e6e5e1;
  background:transparent;
  color:#231f20;
  text-align:left;
  overflow-wrap:anywhere;
  cursor:pointer;
}
#catalog-search-options button:last-child { border-bottom:0; }
#catalog-search-options button:hover,
#catalog-search-options button[aria-selected="true"] { background:#f4e3e8; color:#631927; }
#catalog-search-options small { text-align:right; color:#625b58; }
#catalog-results h2 { scroll-margin-top:150px; }
@media(max-width:760px){
  body > header:has(#catalog-search-dock:not([hidden])) {
    column-gap:7px;
    padding-top:calc(5px + env(safe-area-inset-top));
  }
  .catalog-search-controls button { padding-inline:10px; }
  #catalog-results h2 { scroll-margin-top:125px; }
}


.ca-direct-price {
  display:block;
  margin-top:5px;
  color:#632434;
  font-size:12px;
  line-height:1.35;
}
.ca-direct-price span { display:block; }
.ca-direct-status { margin-bottom:14px; }

.product-bottom:has(.ca-direct-price) .price { flex:1; }

.search-wine-photo { display:block; }
.search-wine-name:hover, .search-wine-name:focus-visible {
  color:var(--catalog-red);
  text-decoration:underline;
}
.search-producer-link { display:inline-block; align-self:flex-start; margin-top:15px; font-size:12px; }

.sample-workspace {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(285px,355px);
  align-items:stretch;
  gap:16px;
  height:clamp(270px,calc(100dvh - 162px),750px);
  margin-bottom:20px;
}
.sample-pane {
  display:flex;
  min-width:0;
  min-height:0;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
}
.sample-pane-head {
  flex:none;
  padding:13px 16px;
  border-bottom:1px solid var(--line);
  background:#f4efea;
}
.sample-pane-head h2 { margin:0; font:750 17px/1.3 system-ui,sans-serif; }
.sample-pane-head p { margin:4px 0 0; color:var(--muted); font-size:12px; }
.sample-pane-scroll {
  flex:1;
  min-height:0;
  overflow:auto;
  overscroll-behavior-y:contain;
  scrollbar-gutter:stable;
  padding:14px;
}
.sample-pane-scroll:focus-visible { outline:2px solid #731c2b; outline-offset:-3px; }
.sample-pane-scroll .sample-products { gap:12px; }
.sample-pane-scroll .chosen-samples {
  display:block;
  max-height:none;
  overflow:visible;
}
.sample-pane-scroll.sample-summary .totals,
.sample-pane-scroll.sample-summary .sample-credit { display:block; }
.sample-pane-scroll .sample-total-mobile { display:none; }
.sample-pane-switch { display:none; }
.sample-search-result {
  display:flex;
  justify-content:space-between;
  gap:8px;
  margin-bottom:12px;
  font-size:13px;
}
.sample-products .product:focus { outline:2px solid #731c2b; outline-offset:-3px; }
@media(max-width:760px){
  .sample-workspace {
    display:flex;
    flex-direction:column;
    gap:8px;
    height:clamp(215px,calc(100dvh - var(--mobile-bottom) - 112px),680px);
  }
  .sample-pane { flex:1; }
  .sample-workspace[data-pane="wines"] #sample-order-pane,
  .sample-workspace[data-pane="order"] #sample-wines-pane { display:none; }
  .sample-pane-switch {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
  }
  .sample-pane-switch button {
    min-height:44px;
    border:1px solid #731c2b;
    border-radius:8px;
    background:#fff;
    color:#731c2b;
    font-weight:750;
  }
  .sample-pane-switch button[aria-pressed="true"] { background:#731c2b; color:#fff; }
  .sample-pane-head { padding:8px 12px; }
  .sample-pane-scroll { padding:10px; }
}

.sample-wines-head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px 10px; }
.sample-wines-head select { max-width:100%; min-height:40px; border:1px solid var(--line); border-radius:6px; background:#fff; }


.home-producers { min-width:0; align-self:start; }
.home-bottles {
  --bottle-height:clamp(93px,10vw,142px);
  display:grid;
  grid-template-columns:repeat(17,minmax(40px,1fr));
  align-items:end;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scroll-snap-type:x proximity;
  scrollbar-width:thin;
  list-style:none;
  margin:0 0 6px;
  padding:5px 0 8px;
}
.home-bottles li { min-width:0; scroll-snap-align:start; }
.home-bottles a {
  display:flex;
  justify-content:center;
  align-items:flex-end;
  height:var(--bottle-height);
  overflow:hidden;
  mix-blend-mode:multiply;
  border-radius:4px;
}
.home-bottles a:focus-visible { outline:2px solid var(--wine); outline-offset:-2px; }
.home-bottles img {
  display:block;
  width:auto;
  max-width:none;
  height:100%;
  transition:transform .2s ease;
}
.home-bottles a:hover img { transform:translateY(-3px); }
@media(max-width:760px){
  .home-bottles { --bottle-height:120px; grid-template-columns:repeat(17,46px); }
}
@media(prefers-reduced-motion:reduce){
  .home-bottles img { transition:none; }
}


.catalog-feature[data-feature-promo] {
  gap:10px;
  padding-inline:clamp(8px,2vw,25px);
  border:1px solid #c79c57;
  color:#fff3dc;
  background:radial-gradient(ellipse at 50% 50%,#8e3436,#50171d 78%);
}
.catalog-feature[data-feature-promo] .catalog-feature-stamp { color:inherit; border-color:currentColor; }
.catalog-feature[data-feature-promo] .catalog-feature-promo-value {
  font:700 clamp(43px,8vw,104px)/.95 var(--catalog-serif);
  letter-spacing:-.07em;
}
.catalog-feature-promo-copy { font-size:14px; line-height:1.35; }
.catalog-feature:focus-visible { outline:2px solid #d9ab59; outline-offset:3px; }
@media(max-width:760px) {
  .catalog-feature-promo-copy { font-size:11px; }
}

.catalog-feature-cta { color: #6b272a; font-weight: 800; font-size: 12px; margin-top: 3px; }
.catalog-feature:hover .catalog-feature-cta { text-decoration: underline; }
.wine-watch-actions { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; }
.wine-watch-actions button { text-align: left; font-size: 12px; }
.wine-watch-actions button[aria-pressed="true"] { font-weight: 700; }
.catalog-wine-photo { display: block; }
.glass-margin-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 10px; }
.glass-margin-results div { padding: 12px; background: #f8f5ed; }
.glass-margin-results dd { margin: 4px 0 0; font-weight: 750; }
#glass-margin { scroll-margin-top: 150px; }
@media (max-width: 620px) {
  .catalog-feature-cta { font-size: 10px; }
}

.checkout-page { max-width: 1160px; }
.checkout-heading h1 {
  margin: 0 0 14px;
  font-size: clamp(31px, 4vw, 48px);
}
.checkout-page .steps-label { margin-bottom: 22px; }
.checkout-flow {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  row-gap: 16px;
}
.checkout-fields { grid-area: 1 / 1 / 3 / 2; min-width: 0; }
.checkout-order-summary { grid-area: 1 / 2; min-width: 0; }
.checkout-fields > .panel { border-radius: 14px; }
.checkout-fields .panel h2 { margin-bottom: 10px; }
.checkout-fields .field { min-width: 0; }
.checkout-fields .field input,
.checkout-fields .field textarea,
.checkout-fields .field select { border-radius: 9px; min-height: 46px; }
.checkout-fields .field input[readonly] { background: var(--paper); }
.checkout-order-summary {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.checkout-order-summary > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  padding: 17px 20px;
  min-height: 62px;
  border-radius: 13px;
  background: #f2eee7;
  color: var(--wine);
  cursor: pointer;
  font-weight: 650;
}
.checkout-order-summary > summary::-webkit-details-marker { display: none; }
.checkout-order-summary > summary > span::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 0 3px 9px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkout-order-summary[open] > summary { border-radius: 13px 13px 0 0; }
.checkout-order-summary[open] > summary > span::after { transform: rotate(225deg); margin-bottom: 0; }
.checkout-order-summary > summary strong {
  flex: none;
  color: var(--ink);
  font-size: clamp(17px, 2.5vw, 23px);
  font-variant-numeric: tabular-nums;
}
.checkout-summary-body { padding: 4px 20px 20px; }
.checkout-summary-items { margin: 0; padding: 0; list-style: none; }
.checkout-summary-items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.checkout-summary-items li:last-child { margin-bottom: 14px; }
.checkout-summary-items small { display: block; color: var(--muted); }
.checkout-summary-items li > span:last-child { flex: none; }
.checkout-actions { grid-area: 2 / 2; min-width: 0; }
.checkout-actions > small { display: block; margin-top: 12px; }
.checkout-submit-bar .btn { min-height: 48px; }
.checkout-payment-options { display: grid; gap: 8px; margin: 10px 0 18px; }
.checkout-payment-options .payment {
  align-items: center;
  margin: 0;
  border-radius: 10px;
  cursor: pointer;
}
.checkout-payment-options .payment input { margin: 0; flex: none; accent-color: var(--wine); }
.checkout-payment-options .payment:has(input:checked) { background: #f7edef; border-color: var(--wine); }
.checkout-payment-options .payment:has(input:disabled) { color: var(--muted); cursor: default; }
.checkout-payment-options small { font-size: 13px; }
.checkout-stripe {
  margin-inline-start: auto;
  padding: 3px 8px;
  border-radius: 5px;
  color: #40328c;
  background: #eeeafd;
  font-size: 12px;
  font-weight: 750;
}
@media (max-width: 760px) {
  .checkout-flow { grid-template: none / minmax(0, 1fr); gap: 14px; }
  .checkout-order-summary, .checkout-fields, .checkout-actions { grid-area: auto; }
  .checkout-fields > .panel { padding: 16px; margin-bottom: 14px; }
  .checkout-fields > .panel:last-child { margin-bottom: 0; }
  .checkout-order-summary > summary, .checkout-summary-body { padding-inline: 15px; }
  .checkout-fields .field input,
  .checkout-fields .field textarea,
  .checkout-fields .field select { font-size: 16px; }
}

.checkout-mobile-total { display: none; }
.checkout-billing > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  cursor: pointer;
}
.checkout-billing > summary::-webkit-details-marker { display: none; }
.checkout-billing > summary > h2 { margin: 0; }
.checkout-billing-edit { color: var(--wine); font-size: 14px; font-weight: 650; }
.checkout-billing[open] .checkout-billing-edit { display: none; }
.checkout-billing[open] > summary { margin-bottom: 9px; }
.checkout-billing[open] > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-inline-end: 4px;
  border: solid var(--wine);
  border-width: 2px 0 0 2px;
  transform: rotate(45deg);
}

@media (max-width: 760px) {
  body:has(.checkout-flow) {
    --mobile-bottom: calc(94px + env(safe-area-inset-bottom));
  }
  body:has(.checkout-flow) #mobile-nav { display: none; }
  body:has(.checkout-flow) #toast { bottom: calc(var(--mobile-bottom) + 8px); }
  .checkout-page {
    padding-top: 16px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  .checkout-page .steps-label { align-items: center; margin-bottom: 10px; }
  .checkout-page .steps-label a { display: inline-flex; align-items: center; min-height: 44px; }
  .checkout-heading h1 { margin-bottom: 2px; }
  .checkout-fields > .panel { padding: 14px; }
  .checkout-fields .panel h2 { font-size: 23px; }
  .checkout-fields .checkout-billing h2 { margin-bottom: 0; }
  .checkout-fields .fields { gap: 10px; }
  .checkout-fields .field { margin: 0; font-size: 14px; }
  .checkout-fields :is(.field input, .field select, .field textarea) {
    scroll-margin-top: calc(90px + env(safe-area-inset-top));
    scroll-margin-bottom: calc(var(--mobile-bottom) + 18px);
  }
  .checkout-fields :is(.ghost.tiny, details > summary, .check) { min-height: 44px; }
  .checkout-fields details:not(.checkout-billing) > summary { padding-block: 11px; }
  .checkout-fields .check { align-items: center; margin: 12px 0; font-size: 14px; }
  .checkout-fields .check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--wine); }
  .checkout-payment-options .payment { min-height: 62px; padding: 11px; }
  .checkout-payment-options .payment input { width: 20px; height: 20px; }
  .checkout-payment-options .payment > span { min-width: 0; }
  .checkout-order-summary > summary strong { flex-shrink: 1; text-align: end; }
  .checkout-submit-bar {
    position: fixed;
    z-index: 20;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: minmax(88px, auto) minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
    border-top: 1px solid var(--line);
    background: var(--white);
  }
  .checkout-mobile-total { display: grid; line-height: 1.2; gap: 3px; }
  .checkout-mobile-total strong { font-size: 16px; font-variant-numeric: tabular-nums; }
  .checkout-submit-bar .btn { min-width: 0; padding: 8px; white-space: normal; }
  .checkout-flow:has(:is(.field input:not([readonly]), .field textarea, .field select):focus) .checkout-submit-bar {
    position: static;
    padding-inline: 0;
    background: transparent;
  }
}

.account-menu [data-menu-logout]{display:block;width:100%;padding:12px;text-align:left;border-top:1px solid var(--line)}
.cart-selection-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.cart-select-check{display:inline-flex;align-items:center;gap:8px;min-height:36px;font-size:.875rem;cursor:pointer}
.cart-select-check input{inline-size:18px;block-size:18px;margin:0;accent-color:var(--wine)}
.cart-row .cart-select-check{margin-bottom:4px}
#cart-remove-selected:disabled{opacity:.5;cursor:default}

#topnav .navlinks { font-size:14px; }

.catalog-showcases [aria-pressed="true"] { box-shadow:inset 0 -4px currentColor; }
.catalog-section-label {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
.producer-glass-gallery {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  align-self:stretch;
}
.producer-glass-gallery figure {
  display:grid;
  place-items:center;
  background:#3f403e;
  margin:0;
  min-width:0;
}
.producer-glass-gallery img {
  display:block;
  width:100%;
  max-height:clamp(300px,40vw,460px);
  object-fit:contain;
}
@media(max-width:760px) {
  #mobile-menu .navlinks,#mobile-nav a { font-size:13px; }
  .producer-glass-gallery img { max-height:230px; }
}

@media (max-width: 760px) {
  .auth-wrap :is(input:not([type=checkbox]):not([type=radio]), select, textarea),
  .checkout-flow :is(input:not([type=checkbox]):not([type=radio]), select, textarea),
  #catalog-search { font-size: 16px; }
  .auth-wrap :is(button, .btn), .checkout-payment-options > label,
  .checkout-flow select[name^="supplier:"], #modal .close { min-height: 44px; }
  .checkout-payment-options .payment { padding-block: 10px; }
  .checkout-payment-options .payment > * { min-width: 0; }
  .checkout-summary-items li > :first-child { min-width: 0; overflow-wrap: anywhere; }
  .checkout-order-summary > summary strong { white-space: nowrap; }
  #modal { max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
}
@media (max-width: 375px) {
  .checkout-fields > .panel { padding-inline: 12px; }
  .checkout-fields .fields { grid-template-columns: minmax(0, 1fr); }
  .checkout-fields .fields .field { grid-column: auto; }
  .checkout-payment-options .checkout-stripe { padding-inline: 5px; }
  #account-nav > a, #mobile-menu summary { padding-inline: 5px; }
}

.catalog-showcases .catalog-month-promo {
  background: radial-gradient(ellipse at 15% 95%, #caa97545, transparent 65%), #f2e6d4;
  border-color: #cdb48c;
  color: #51371f;
}
.catalog-showcases .catalog-month-promo :is(.catalog-glass-icon, small) { color: #654728; }

.catalog-showcases [data-tab] {
  background-image: linear-gradient(90deg, var(--vineyard-tint), var(--vineyard-fade)), var(--vineyard-map);
  background-size: cover;
  background-position: center;
}
.catalog-showcases [data-tab="glass"] {
  --vineyard-map: url("/assets/vigna-topografica-calice.webp");
  --vineyard-tint: #f6e9cbf2;
  --vineyard-fade: #f6e9cba0;
}
.catalog-showcases [data-tab="best"] {
  --vineyard-map: url("/assets/vigna-topografica-venduti.webp");
  --vineyard-tint: #4a2028f2;
  --vineyard-fade: #4a2028b8;
}
.catalog-showcases [data-tab="meteore"] {
  --vineyard-map: url("/assets/vigna-topografica-meteore.webp");
  --vineyard-tint: #e4ece6f5;
  --vineyard-fade: #e4ece6a5;
}
.catalog-showcases [data-tab="weekly"] {
  --vineyard-map: url("/assets/vigna-topografica-mese.webp");
  --vineyard-tint: #f2e6d4f5;
  --vineyard-fade: #f2e6d4a5;
}

.glass-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: center;
  padding: 0;
  overflow: hidden;
}
.glass-offer img { display: block; width: 100%; height: 100%; max-height: 18rem; object-fit: cover; }
.glass-offer > div { padding: clamp(16px, 3vw, 32px); }
.glass-offer strong { display: block; margin: .35rem 0 .65rem; font-size: clamp(25px, 3vw, 42px); }
.glass-offer p { font-size: 14px; }

.customer-cart-layout { grid-template-columns: minmax(0, 3fr) minmax(17rem, 1fr); gap: clamp(12px, 2vw, 26px); }
.customer-cart-lines { min-width: 0; padding: clamp(10px, 1.5vw, 20px); }
.customer-cart-invoice { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.customer-cart-invoice + .customer-cart-invoice { margin-top: 1rem; }
.customer-cart-table { width: 100%; border-collapse: collapse; text-align: left; }
.customer-cart-table caption { padding: .85rem 1rem; background: #f6efe4; text-align: left; }
.customer-cart-table caption strong { display: block; font-size: 1.2rem; }
.customer-cart-table caption small { color: var(--muted); }
.customer-cart-table :is(th, td) { padding: .8rem .65rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.customer-cart-table thead th { color: var(--muted); font-size: .75rem; }
.customer-cart-table tbody th[scope="row"] { font-weight: 400; overflow-wrap: anywhere; }
.customer-cart-producer th { background: #f6f6f4; font-size: .875rem; }
.customer-cart-table th small, .customer-cart-price small { display: block; color: var(--muted); }
.customer-cart-table :is(.note, p) { margin: .3rem 0 0; font-size: .8rem; }
.customer-cart-table .qty { gap: .2rem; }
.customer-cart-table .qty input { width: 3.4rem; padding-inline: .15rem; }
.customer-cart-price, .customer-cart-line-total { white-space: nowrap; font-variant-numeric: tabular-nums; }
.customer-cart-line-total { text-align: right; }
.customer-cart-line-total button { display: block; margin: .25rem 0 0 auto; font-size: .75rem; }
.customer-cart-table thead th:last-child { text-align: right; }

@media (max-width: 1000px) {
  .customer-cart-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .glass-offer { grid-template-columns: 1fr; }
  .glass-offer img { max-height: 14rem; }
  .customer-cart-table :is(th, td) { padding: .6rem .35rem; }
  .customer-cart-table .qty { flex-wrap: wrap; justify-content: center; max-width: 6rem; }
  .customer-cart-table .qty input { width: 100%; order: -1; font-size: 16px; }
  .customer-cart-table tbody strong { font-size: .85rem; }
}

.collection-choices .collection-choice {
  background-image: linear-gradient(90deg, var(--vineyard-tint), var(--vineyard-fade)), var(--vineyard-map);
  background-size: cover;
  background-position: center;
}
.collection-fresh {
  --vineyard-map: url("/assets/vigna-topografica-minerali.webp");
  --vineyard-tint: #e7eddaf5;
  --vineyard-fade: #e7edda9c;
}
.collection-light {
  --vineyard-map: url("/assets/vigna-topografica-beverini.webp");
  --vineyard-tint: #eed9d6f5;
  --vineyard-fade: #eed9d69c;
}
.collection-structured {
  --vineyard-map: url("/assets/vigna-topografica-struttura.webp");
  --vineyard-tint: #4c2633f5;
  --vineyard-fade: #4c2633b8;
}
.catalog-feature[data-feature-promo="mescita"] {
  background: linear-gradient(90deg, #50171df7, #50171da1), url("/assets/mescita-10-piu-1.webp") center / cover;
}
.collection-sea {
  --vineyard-map: url("/assets/vigna-topografica-mare.webp");
  --vineyard-tint: #e1ebe9f5;
  --vineyard-fade: #e1ebe99c;
}
.collection-macerati {
  --vineyard-map: url("/assets/vigna-topografica-macerati.webp");
  --vineyard-tint: #f1ddbcf5;
  --vineyard-fade: #f1ddbc9c;
}

#producer-directory {
  max-width: 1360px;
  --directory-ink: #201631;
  --directory-line: #e2dee8;
}
.producer-directory-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .6rem 1.5rem;
  padding: clamp(1.15rem, 3vw, 2.25rem);
  background: var(--directory-ink);
  color: #fff;
  border-inline-end: clamp(8px, 2vw, 24px) solid #d9f65e;
}
.producer-directory-heading h1 {
  margin: 0;
  font: 780 clamp(2rem, 4.5vw, 4.25rem)/1 system-ui, sans-serif;
  letter-spacing: -.055em;
}
.producer-directory-heading p { margin: 0; color: #eae2fa; font-weight: 600; }
.producer-directory-heading p span { margin-inline: .3rem; color: #d9f65e; }
.producer-country-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--directory-line);
}
.producer-country-nav a {
  display: grid;
  place-items: center;
  min-height: 36px;
  padding: .3rem .65rem;
  background: #eeebf4;
  color: var(--directory-ink);
  font-size: .85rem;
  font-weight: 700;
}
.producer-country-nav a:is(:hover, :focus-visible) { background: var(--directory-ink); color: #fff; }
.producer-country { min-width: 0; scroll-margin-top: 7rem; }
#producer-directory > .producer-country, .producer-country-grid { margin-top: clamp(.9rem, 2vw, 1.5rem); }
.producer-country-heading {
  padding: .45rem .75rem;
  background: #2f2350;
  color: #fff;
}
.producer-country-heading h2 {
  margin: 0;
  font: 750 clamp(1.12rem, 2vw, 1.55rem)/1.2 system-ui, sans-serif;
  letter-spacing: -.025em;
}
.producer-country[data-country="Francia"] > .producer-country-heading { background: #2547b8; }
.producer-country[data-country="Spagna"] > .producer-country-heading { background: #cde95a; color: #191f0b; }
.producer-country-grid, .producer-zone-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem;
}
.producer-zone-grid { margin-top: .55rem; align-items: start; }
.producer-zone-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.producer-zone, .producer-country-grid > .producer-country {
  background: #fff;
  border: 1px solid var(--directory-line);
}
.producer-zone-heading {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 54px;
  padding: .35rem .5rem;
  background: #f1eef6;
  color: var(--directory-ink);
}
.producer-zone-heading img { display: block; flex: none; width: 44px; height: 44px; }
.producer-zone h3 { margin: 0; font: 750 1rem/1.15 system-ui, sans-serif; }
.producer-directory-list { margin: 0; padding: 0; list-style: none; }
.producer-directory-list li + li { border-top: 1px solid #efedf1; }
.producer-directory-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .45rem;
  min-height: 38px;
  padding: .38rem .55rem;
  color: var(--directory-ink);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.producer-directory-list a:is(:hover, :focus-visible) { background: #eaf1ff; color: #183a9d; }
.producer-directory-list strong { font-size: .875rem; font-weight: 650; }
.producer-directory-list small { display: block; margin-top: .12rem; color: #645d70; font-size: .72rem; }
.producer-directory-arrow {
  flex: none;
  width: .43rem;
  height: .43rem;
  margin-inline-end: .15rem;
  border-top: 1.5px solid #2547b8;
  border-right: 1.5px solid #2547b8;
  transform: rotate(45deg);
}
.producer-country-grid > .producer-country > .producer-country-heading { background: #e9e2f6; color: var(--directory-ink); }
.producer-country-grid > .producer-country:nth-child(3n+1) > .producer-country-heading { background: #dbe9ff; }
.producer-country-grid > .producer-country:nth-child(3n+2) > .producer-country-heading { background: #e8f0c3; }
@media (min-width: 881px) {
  .producer-country[data-country="Italia"] .producer-zone-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .producer-country[data-country="Italia"] .producer-directory-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .producer-country[data-country="Italia"] .producer-directory-list li { border-top: 1px solid #efedf1; }
  .producer-country[data-country="Italia"] .producer-directory-list li:nth-child(even) { border-inline-start: 1px solid #efedf1; }
  .producer-country[data-country="Italia"] .producer-directory-list a { height: 100%; }
}
@media (max-width: 880px) {
  .producer-country-grid, .producer-zone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .producer-zone-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .producer-directory-list a, .producer-country-nav a { min-height: 44px; }
  .producer-zone-heading { gap: .4rem; }
  .producer-zone-heading img { width: 34px; height: 34px; }
}

@media (min-width: 1101px) {
  #topnav .navlinks { flex-wrap: wrap; gap: .45rem clamp(.6rem, 1vw, 1rem); }
}
