/* =============================================================
   Aggiunte del tema WordPress al CSS del prototipo:
   selettore lingua, newsletter, cassa e account WooCommerce.
   ============================================================= */

/* ---------- lingua ---------- */
.lang__opt{background:none;border:0;padding:0;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;cursor:pointer;opacity:.55;transition:opacity .3s}
.lang__opt.is-on{opacity:1;font-weight:700}
.lang__opt:hover{opacity:1}

/* ---------- newsletter ---------- */
.nl{position:relative}
.nl__msg{margin:10px 0 0;min-height:1em;color:var(--mid)}
.nl.is-busy button{opacity:.5;pointer-events:none}

/* ---------- numeri a tre colonne (pagina Vini) ---------- */
.facts--3{grid-template-columns:repeat(3,1fr)}
@media (max-width:700px){.facts--3{grid-template-columns:repeat(2,1fr)}}

/* ---------- carrello: icona bottiglia al posto della parola (16/09) ---------- */
.head__cart{gap:8px}
.head__cart-ico{display:block;width:8px;height:26px;fill:currentColor}
.head__cart-txt{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.head__cart em{opacity:.85}
@media (max-width:700px){.head__right{gap:14px}.head__cart-ico{width:7px;height:23px}}
#checkout[aria-disabled="true"]{opacity:.45;pointer-events:none}

/* ---------- WooCommerce (cassa, ordine ricevuto, account) ---------- */
.wc-page{max-width:1100px}
.wc-page .woocommerce-notices-wrapper:empty{display:none}
.wc-page .woocommerce-error,.wc-page .woocommerce-message,.wc-page .woocommerce-info{list-style:none;margin:0 0 28px;padding:16px 20px;border:1px solid var(--line);background:var(--stone);color:var(--ink);font-size:14.5px;line-height:1.5}
.wc-page .woocommerce-error li{margin:4px 0}
.wc-page form .form-row{display:flex;flex-direction:column;margin:0 0 18px}
.wc-page form .form-row label{font-size:11px;letter-spacing:.11em;text-transform:uppercase;color:var(--soft);margin-bottom:8px;font-weight:500}
.wc-page form .form-row label .required{color:var(--mid);text-decoration:none}
.wc-page form .form-row label .optional{display:none}
.wc-page input[type=text],.wc-page input[type=email],.wc-page input[type=tel],.wc-page input[type=password],.wc-page input[type=number],.wc-page textarea,.wc-page select,.wc-page .select2-container .select2-selection--single{width:100%;box-sizing:border-box;border:0;border-bottom:1px solid var(--line);background:transparent;padding:8px 0;font:inherit;font-size:15px;color:var(--ink);border-radius:0;height:auto;outline:none}
.wc-page input:focus,.wc-page textarea:focus,.wc-page select:focus{border-bottom-color:var(--ink)}
.wc-page .select2-container .select2-selection--single .select2-selection__rendered{padding-left:0;color:var(--ink);line-height:1.5}
.wc-page .select2-container .select2-selection--single .select2-selection__arrow{height:100%}
.wc-page .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,80px)}
.wc-page .col2-set .col-1,.wc-page .col2-set .col-2{width:auto;float:none}
.wc-page #customer_details{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,80px)}
.wc-page #customer_details .col-1,.wc-page #customer_details .col-2{width:auto;float:none}
.wc-page h3,.wc-page h2{font-size:clamp(20px,1.9vw,26px);font-weight:700;letter-spacing:-.02em;line-height:1.15;margin:0 0 22px;text-transform:none}
.wc-page #order_review_heading{margin-top:clamp(40px,5vw,64px)}
.wc-page table.shop_table{width:100%;border-collapse:collapse;border:0;margin:0 0 28px;font-size:14.5px}
.wc-page table.shop_table th,.wc-page table.shop_table td{padding:12px 0;border:0;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.wc-page table.shop_table thead th{font-size:11px;letter-spacing:.11em;text-transform:uppercase;color:var(--soft);font-weight:500}
.wc-page table.shop_table tfoot th{font-size:11px;letter-spacing:.11em;text-transform:uppercase;color:var(--soft);font-weight:500}
.wc-page table.shop_table .product-total,.wc-page table.shop_table td:last-child,.wc-page table.shop_table th:last-child{text-align:right}
.wc-page table.shop_table .order-total td{font-size:20px;font-weight:400}
.wc-page .woocommerce-shipping-methods{list-style:none;margin:0;padding:0}
.wc-page .woocommerce-shipping-methods li{margin:0 0 6px}
.wc-page .woocommerce-shipping-methods label{margin-left:8px}
.wc-page #payment{background:var(--stone);padding:clamp(20px,3vw,32px);margin-top:28px}
.wc-page #payment ul.wc_payment_methods{list-style:none;margin:0;padding:0}
.wc-page #payment li.wc_payment_method{padding:10px 0;border-bottom:1px solid var(--line)}
.wc-page #payment li.wc_payment_method>label{margin-left:8px;font-weight:500}
.wc-page #payment .payment_box{margin:10px 0 0 26px;color:var(--mid);font-size:14px;line-height:1.55}
.wc-page #payment .payment_box p{margin:0 0 .6em}
.wc-page .woocommerce-terms-and-conditions-wrapper{margin:22px 0}
.wc-page .woocommerce-terms-and-conditions-wrapper .form-row{flex-direction:row;align-items:flex-start;gap:10px}
.wc-page .woocommerce-terms-and-conditions-wrapper label{font-size:14px;letter-spacing:0;text-transform:none;color:var(--mid);margin:0}
.wc-page .woocommerce-privacy-policy-text{color:var(--mid);font-size:13.5px;line-height:1.55}
.wc-page .woocommerce-privacy-policy-text a,.wc-page .woocommerce-terms-and-conditions-wrapper a,.wc-page .payment_box a{border-bottom:1px solid var(--line)}
.wc-page button.button,.wc-page .button,.wc-page #place_order{display:inline-flex;align-items:center;justify-content:center;padding:16px 26px;border:1px solid var(--ink);background:var(--ink);color:var(--ivory);font-size:11px;letter-spacing:.11em;text-transform:uppercase;font-weight:500;cursor:pointer;border-radius:0;transition:background .3s,color .3s;line-height:1}
.wc-page button.button:hover,.wc-page .button:hover,.wc-page #place_order:hover{background:transparent;color:var(--ink)}
.wc-page #place_order{width:100%;margin-top:22px}
.wc-page .woocommerce-checkout-review-order{margin-top:0}
.wc-page .woocommerce-order ul.order_details{list-style:none;margin:0 0 28px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:18px;border-top:1px solid var(--line);padding-top:22px}
.wc-page .woocommerce-order ul.order_details li{font-size:11px;letter-spacing:.11em;text-transform:uppercase;color:var(--soft)}
.wc-page .woocommerce-order ul.order_details li strong{display:block;margin-top:8px;font-size:15px;letter-spacing:0;text-transform:none;color:var(--ink);font-weight:400}
.wc-page .woocommerce-thankyou-order-received{font-family:var(--display);font-weight:300;font-size:clamp(18px,1.9vw,24px);line-height:1.38;margin:0 0 28px}
.wc-page .woocommerce-bacs-bank-details h2{margin-top:28px}
.wc-page .wc-bacs-bank-details{list-style:none;padding:0;margin:0 0 28px}
.wc-page .wc-bacs-bank-details li{padding:8px 0;border-bottom:1px solid var(--line);font-size:14.5px}
.wc-page .woocommerce-customer-details address{font-style:normal;line-height:1.7;color:var(--mid)}
.wc-page .woocommerce-MyAccount-navigation ul{list-style:none;margin:0 0 28px;padding:0;display:flex;flex-wrap:wrap;gap:6px 22px;font-size:11px;letter-spacing:.11em;text-transform:uppercase}
.wc-page .woocommerce-MyAccount-navigation a{border-bottom:1px solid transparent}
.wc-page .woocommerce-MyAccount-navigation .is-active a{border-color:var(--ink)}
.wc-page .woocommerce-MyAccount-content{color:var(--mid);line-height:1.6}
.wc-page .woocommerce-form-login,.wc-page .woocommerce-form-register{max-width:420px}
.wc-page .woocommerce-form-login .woocommerce-form-login__rememberme{display:flex;gap:8px;align-items:center;font-size:14px;letter-spacing:0;text-transform:none;color:var(--mid)}
.wc-page .woocommerce-LostPassword,.wc-page .lost_password{font-size:13.5px;margin-top:14px}
.wc-page .blockUI.blockOverlay{background:var(--ivory) !important}
@media (max-width:900px){.wc-page #customer_details,.wc-page .col2-set{grid-template-columns:1fr}}

/* ---------- mappa dei dintorni (Attività): SVG inline animato ---------- */
.figura-mappa{background:#fff;overflow:visible;margin-left:0;margin-right:0}
.figura-mappa svg{display:block;width:100%;height:auto}
/* interattiva: zoom/trascinamento sulla viewBox (main.js «mappa»), luoghi cliccabili, tooltip */
.mappa-wrap{position:relative;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.mappa-wrap.is-zoomed{touch-action:none}
.mappa-wrap.is-drag{cursor:grabbing}
.mappa-wrap svg{cursor:grab}
.mappa .m-hot{cursor:pointer}
.mappa .m-hot text,.mappa .m-hot tspan{fill:#EB5B28;transition:opacity .3s}
.mappa .m-hot:hover text,.mappa .m-hot:focus-visible text{text-decoration:underline}
.mappa .m-hot .m-dot{stroke:#EB5B28;stroke-width:2}
.mappa__ctl{position:absolute;right:10px;top:10px;display:flex;flex-direction:column;gap:4px}
.mappa__ctl button{width:34px;height:34px;border:1px solid var(--line);background:rgba(255,255,255,.92);color:var(--ink);font:inherit;font-size:16px;line-height:1;cursor:pointer;display:grid;place-items:center;transition:background .3s,color .3s}
.mappa__ctl button:hover{background:var(--ink);color:#fff}
.mappa__tip{position:absolute;z-index:2;transform:translate(-50%,calc(-100% - 12px));background:var(--ink);color:#fff;padding:9px 12px 8px;display:flex;flex-direction:column;gap:3px;white-space:nowrap;pointer-events:auto;border:0}
.mappa__tip::after{content:"";position:absolute;left:50%;bottom:-6px;width:10px;height:10px;background:var(--ink);transform:translateX(-50%) rotate(45deg)}
.mappa__tip-n{font-weight:700}
.mappa__tip-cta{opacity:.7}
.mappa__tip:hover .mappa__tip-cta{opacity:1}
.mappa__hint{margin:12px 0 0;color:var(--soft);padding:0 var(--pad) 12px}
@media (max-width:760px){.mappa__ctl{right:8px;top:8px}.mappa__hint{padding:0 12px 12px}.figura-mappa svg{aspect-ratio:4/5;height:auto}}
.mappa .m-label{transition:opacity .8s var(--out)}
.motion .figura-mappa .m-line,.motion .figura-mappa .m-inset{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 2.6s var(--out)}
.motion .figura-mappa .m-inset{transition-delay:.6s}
.motion .figura-mappa .m-river{opacity:0;transition:opacity 1.6s var(--ease) .8s}
.motion .figura-mappa .m-icon{opacity:0;transform:translateY(14px);transition:opacity .9s var(--out),transform 1.1s var(--out);transition-delay:calc(.5s + var(--i,0) * 90ms)}
.motion .figura-mappa .m-label{opacity:0;transition-delay:1.2s}
.motion .figura-mappa .m-dot{transform:scale(0);transform-box:fill-box;transform-origin:center;transition:transform .7s var(--out);transition-delay:1.4s}
.motion .figura-mappa .m-ring{transform:scale(0);transform-box:fill-box;transform-origin:center;transition:transform .9s var(--out);transition-delay:1.9s}
.motion .figura-mappa .m-inset-dot{opacity:0;transition:opacity .6s var(--out) 2.4s}
.motion .figura-mappa.is-in .m-line,.motion .figura-mappa.is-in .m-inset{stroke-dashoffset:0}
.motion .figura-mappa.is-in .m-river{opacity:1}
.motion .figura-mappa.is-in .m-icon{opacity:1;transform:none}
.motion .figura-mappa.is-in .m-label{opacity:1}
.motion .figura-mappa.is-in .m-dot{transform:none}
.motion .figura-mappa.is-in .m-ring{transform:none;animation:mappaPulse 3.2s var(--ease) 2.9s infinite}
.motion .figura-mappa.is-in .m-inset-dot{opacity:1}
@keyframes mappaPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.22)}}
@media (prefers-reduced-motion:reduce){.figura-mappa .m-ring{animation:none !important}}

/* ---------- meteo alla tenuta (home): scheda a tutta larghezza su foto ---------- */
/* staccata dall'hero: margine sopra e ai lati, angoli vivi come le altre figure */
.meteo{position:relative;color:#fff;min-height:clamp(560px,82vh,780px);display:flex;overflow:hidden;background:#2D2A26;margin:0 var(--pad) clamp(40px,5vw,72px)}
.meteo__bg{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;object-position:center 55%}
/* overlay: velo uniforme più gradiente verso il basso, per la leggibilità dei testi */
.meteo::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(20,18,16,.55) 0%,rgba(20,18,16,.42) 45%,rgba(20,18,16,.88) 100%)}
.meteo::after{content:"";position:absolute;inset:0;z-index:1;background:rgba(20,18,16,.12);pointer-events:none}
.meteo__in{z-index:2}
.meteo__in{text-shadow:0 1px 14px rgba(20,18,16,.45)}
.meteo__in{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:space-between;gap:clamp(36px,5vw,72px);width:100%;padding:clamp(44px,6vw,80px) var(--pad) clamp(28px,3vw,40px)}
.meteo__top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px clamp(32px,6vw,96px);align-items:start}
.meteo__main{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.meteo__ico{width:clamp(34px,3.4vw,46px);height:clamp(34px,3.4vw,46px);fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;margin-bottom:6px}
.meteo__cond{font-size:clamp(20px,2.1vw,28px);font-weight:700;letter-spacing:-.02em;line-height:1.1;text-transform:none}
.meteo__place{opacity:.8}
.meteo__temp{font-size:clamp(54px,7.4vw,104px);font-weight:700;letter-spacing:-.045em;line-height:.95;margin-top:10px;font-variant-numeric:tabular-nums}
.meteo__upd{opacity:.6;margin-top:6px}
.meteo__stats{margin:0;display:flex;flex-direction:column;gap:18px;min-width:220px}
.meteo__stats>div{display:flex;flex-direction:column;gap:5px}
.meteo__stats dt{opacity:.65}
.meteo__stats dd{margin:0;font-size:clamp(17px,1.5vw,21px);font-weight:700;letter-spacing:-.01em;text-transform:none;font-variant-numeric:tabular-nums}
.meteo__moon dd{display:flex;align-items:center;gap:12px}
.meteo__moon .moon{width:34px;flex:none}
.meteo .moon__disc{fill:rgba(255,255,255,.14)}
.meteo .moon__lit{fill:#fff}
.meteo .moon__ring{fill:none;stroke:rgba(255,255,255,.45);stroke-width:1}
.meteo__moon dd>span{display:flex;flex-direction:column;gap:2px}
.meteo__moonsub{font-weight:400;font-size:11px;letter-spacing:.06em;text-transform:uppercase;opacity:.7}
.meteo__moonsub:empty{display:none}
.meteo__bottom{display:grid;grid-template-columns:auto minmax(0,1fr);gap:24px clamp(28px,5vw,72px);align-items:end;border-top:1px solid rgba(255,255,255,.28);padding-top:clamp(20px,2.4vw,30px)}
.meteo__now{display:flex;flex-direction:column;gap:6px}
.meteo__day{opacity:.75;text-transform:uppercase}
.meteo__nowtemp{font-size:clamp(30px,3.6vw,48px);font-weight:700;letter-spacing:-.035em;line-height:1;font-variant-numeric:tabular-nums}
.meteo__feels{opacity:.8}.meteo__feels b{font-weight:700;opacity:1}
.meteo__hours{list-style:none;margin:0;padding:0;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;justify-content:flex-end}
.meteo__hours::-webkit-scrollbar{display:none}
.meteo__hours li{flex:0 0 auto;min-width:64px;display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px 8px;border-left:1px solid rgba(255,255,255,.18)}
.meteo__hours li:first-child{border-left:0}
.meteo__hours .h{opacity:.65}
.meteo__hours svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.meteo__hours .t{font-size:16px;font-weight:700;letter-spacing:-.02em;text-transform:none;font-variant-numeric:tabular-nums}
.meteo__hours:empty{display:none}
.meteo__note{margin:0;opacity:.6;max-width:60ch}
.meteo.is-off .meteo__temp,.meteo.is-off .meteo__nowtemp{opacity:.5}
@media (max-width:900px){
  .meteo__top{grid-template-columns:1fr}
  .meteo__stats{display:grid;grid-template-columns:1fr 1fr;gap:16px 20px;min-width:0}
  .meteo__moon{grid-column:1/-1}
  .meteo__bottom{grid-template-columns:1fr}
  .meteo__hours{justify-content:flex-start;margin:0 calc(var(--pad) * -1);padding:0 var(--pad)}
}
