/*
Theme Name:   Trekking Fotografici
Theme URI:    https://www.trekkingfotografici.it/
Description:  Tema a blocchi originale, veloce e pensato per il telefono. Calendario eventi, schede con prenotazione, tour privati, blog.
Author:       Trekking Fotografici
Version: 1.2.22
Requires at least: 6.4
Requires PHP: 7.4
License:      GPL-2.0-or-later
Text Domain:  trekking-fotografici
*/

/* ===== base ===== */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,svg{max-width:100%;height:auto}
a{text-underline-offset:.18em}
:focus-visible{outline:3px solid var(--wp--preset--color--sunrise);outline-offset:3px;border-radius:4px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.wp-site-blocks>*{margin-block-start:0}
.wp-block-post-content>*:where(:not(.alignfull):not(.alignwide)){max-width:var(--wp--style--global--content-size);margin-inline:auto}

/* ===== bottoni ===== */
.tf-btn,.wp-block-button__link,.single_add_to_cart_button,.button,button[type=submit]{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:52px;padding:.8rem 1.6rem;border-radius:999px;font:inherit;font-weight:800;line-height:1.2;text-decoration:none;border:2px solid transparent;cursor:pointer;transition:background .15s,color .15s,border-color .15s,transform .15s}
.tf-btn--primary,.single_add_to_cart_button,button[type=submit].tf-btn{background:var(--wp--preset--color--sunrise);color:#fff}
.tf-btn--primary:hover,.single_add_to_cart_button:hover{background:#a34608;color:#fff}
.tf-btn--ghost{background:transparent;color:var(--wp--preset--color--alpine);border-color:currentColor}
.tf-btn--gift{background:var(--wp--preset--color--glacier,#e9f1f6);color:var(--wp--preset--color--alpine,#0c3a5a);border-color:var(--wp--preset--color--alpine,#0c3a5a);display:inline-flex;align-items:center;justify-content:center;gap:.5rem}
.tf-btn--gift:hover{background:var(--wp--preset--color--alpine,#0c3a5a);color:#fff}
.tf-facts a.tf-pdf{color:var(--wp--preset--color--sunrise,#c2570a);font-weight:800}
.tf-btn--ghost:hover{background:var(--wp--preset--color--alpine);border-color:var(--wp--preset--color--alpine);color:#fff}
.tf-icon{flex:none}
.is-style-outline .wp-block-button__link{background:transparent;color:inherit;border-color:currentColor}

/* ===== testata ===== */
.tf-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--wp--preset--color--line)}
.tf-header__in{display:flex;align-items:center;justify-content:space-between;gap:1rem;max-width:1180px;margin:0 auto;padding:.6rem 20px;min-height:64px}
.tf-brand{display:flex;align-items:center;gap:.6rem;color:var(--wp--preset--color--alpine-dark);text-decoration:none;font-weight:900;line-height:1.05;letter-spacing:-.01em}
.tf-brand svg{flex:none;color:var(--wp--preset--color--sunrise)}
.tf-brand small{display:block;font-weight:600;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--wp--preset--color--muted)}
.tf-nav{display:none}
.tf-nav ul,.tf-menu ul{list-style:none;margin:0;padding:0}
.tf-nav a{color:var(--wp--preset--color--ink);text-decoration:none;font-weight:700;padding:.5rem .15rem}
.tf-nav a:hover{color:var(--wp--preset--color--sunrise)}
.tf-header__cta{display:none}
.tf-menu{position:relative}
.tf-menu summary{list-style:none;display:flex;align-items:center;gap:.5rem;min-height:48px;padding:0 .9rem;border:2px solid var(--wp--preset--color--line);border-radius:999px;font-weight:800;cursor:pointer;color:var(--wp--preset--color--alpine-dark)}
.tf-menu summary::-webkit-details-marker{display:none}
.tf-menu[open] summary{border-color:var(--wp--preset--color--alpine)}
.tf-menu__panel{position:absolute;right:0;top:calc(100% + .5rem);width:min(86vw,320px);background:#fff;border:1px solid var(--wp--preset--color--line);border-radius:16px;box-shadow:0 18px 40px rgba(8,42,67,.18);padding:.6rem}
.tf-menu__panel a{display:block;padding:.95rem 1rem;border-radius:10px;color:var(--wp--preset--color--ink);font-weight:700;text-decoration:none}
.tf-menu__panel a:hover{background:var(--wp--preset--color--glacier)}
.tf-menu__panel .tf-btn{margin:.4rem .4rem .2rem;display:flex;color:#fff}
@media (min-width:900px){.tf-nav{display:block}.tf-nav ul{display:flex;gap:1.5rem;align-items:center}.tf-menu{display:none}.tf-header__cta{display:inline-flex;min-height:46px;padding:.55rem 1.2rem}}

/* ===== hero ===== */
.tf-hero{position:relative;overflow:hidden;color:#fff;background:linear-gradient(180deg,#082a43 0%,#0c3a5a 55%,#1d5a7e 100%);padding-block:clamp(3rem,10vw,7rem) clamp(7rem,20vw,11rem)}
.tf-hero::after{content:"";position:absolute;inset:auto 0 -1px 0;height:clamp(90px,22vw,200px);background:url("assets/img/ridge.svg") center bottom/cover no-repeat;pointer-events:none}
.tf-hero>*{position:relative;z-index:1}
.tf-hero h1,.tf-hero h2,.tf-hero p{color:#fff}
.tf-hero h1{font-size:clamp(2.3rem,1.2rem + 5.6vw,4.4rem);letter-spacing:-.025em;max-width:16ch;text-wrap:balance}
.tf-hero__lead{font-size:var(--wp--preset--font-size--medium);max-width:36ch;opacity:.95}
.tf-eyebrow{font-size:.8rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#a84a00}
.tf-hero .tf-eyebrow{color:#ffcf9f!important}
.tf-hero .wp-block-buttons{margin-top:1.6rem;gap:.8rem}
.tf-hero .wp-block-button__link{min-height:54px}
.tf-hero .is-style-outline .wp-block-button__link{color:#fff;border-color:rgba(255,255,255,.7)}
.tf-hero .is-style-outline .wp-block-button__link:hover{background:#fff;color:var(--wp--preset--color--alpine-dark)}

/* ===== sezioni ===== */
.tf-section{padding-block:clamp(2.5rem,6vw,4.5rem)}
.tf-section--alt{background:var(--wp--preset--color--stone)}
.tf-section--blue{background:var(--wp--preset--color--glacier)}
.tf-section--dark{background:var(--wp--preset--color--alpine-dark);color:#fff}
.tf-section--dark :is(h1,h2,h3,p){color:#fff}
.tf-section__head{margin-bottom:1.6rem}
.tf-section__head h2{margin:0 0 .4rem}
.tf-section__head p{margin:0;color:var(--wp--preset--color--muted)}
.tf-steps{display:grid;gap:1rem;counter-reset:s;list-style:none;padding:0;margin:0}
.tf-steps li{counter-increment:s;background:#fff;border:1px solid var(--wp--preset--color--line);border-radius:var(--wp--custom--radius);padding:1.2rem 1.3rem 1.3rem}
.tf-steps li::before{content:counter(s);display:grid;place-items:center;width:2.3rem;height:2.3rem;border-radius:50%;background:var(--wp--preset--color--alpine);color:#fff;font-weight:900;margin-bottom:.6rem}
.tf-steps strong{display:block;font-size:1.15rem;color:var(--wp--preset--color--alpine-dark);margin-bottom:.2rem}
@media (min-width:760px){.tf-steps{grid-template-columns:repeat(3,1fr)}}
.tf-numbers{display:grid;grid-template-columns:repeat(2,1fr);gap:1.2rem;text-align:center}
.tf-numbers b{display:block;font-size:clamp(2rem,6vw,3.2rem);font-weight:900;line-height:1;color:#ffcf9f}
.tf-numbers span{font-size:.95rem;opacity:.9}
@media (min-width:760px){.tf-numbers{grid-template-columns:repeat(4,1fr)}}
.tf-split{display:grid;gap:1.6rem;align-items:center}
@media (min-width:860px){.tf-split{grid-template-columns:1.05fr 1fr;gap:3rem}}

/* ===== calendario e card ===== */
.tf-calendar{margin-block:0}
.tf-month{font-size:1.1rem!important;letter-spacing:.06em;text-transform:uppercase;color:var(--wp--preset--color--muted)!important;margin:2rem 0 .9rem;padding-bottom:.5rem;border-bottom:2px solid var(--wp--preset--color--line)}
.tf-month:first-of-type{margin-top:.5rem}
.tf-grid{display:grid;gap:1.1rem;grid-template-columns:1fr}
@media (min-width:600px){.tf-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:980px){.tf-grid{grid-template-columns:repeat(3,1fr)}}
.tf-chips{display:flex;gap:.5rem;overflow-x:auto;padding:.2rem 0 1rem;margin:0 -20px;padding-inline:20px;scrollbar-width:none}
.tf-chips::-webkit-scrollbar{display:none}
.tf-chip{flex:none;display:inline-flex;align-items:center;min-height:44px;padding:0 1.1rem;border-radius:999px;border:2px solid var(--wp--preset--color--line);background:#fff;color:var(--wp--preset--color--ink);font-weight:800;text-decoration:none;white-space:nowrap}
.tf-chip:hover{border-color:var(--wp--preset--color--alpine)}
.tf-chip.is-active{background:var(--wp--preset--color--alpine);border-color:var(--wp--preset--color--alpine);color:#fff}
.tf-card{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--wp--preset--color--line);border-radius:var(--wp--custom--radius);overflow:hidden;transition:transform .18s,box-shadow .18s}
.tf-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(8,42,67,.14)}
.tf-card.is-past{opacity:.7}
.tf-card__media{position:relative;aspect-ratio:3/2;background:linear-gradient(135deg,#0c3a5a,#1d5a7e)}
.tf-card__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tf-card__ph{position:absolute;inset:0;background:url("assets/img/ridge.svg") center bottom/cover no-repeat,linear-gradient(135deg,#0c3a5a,#1d5a7e)}
.tf-card__kind{position:absolute;left:.7rem;top:.7rem;background:rgba(8,42,67,.86);color:#fff;font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:.3rem .6rem;border-radius:999px}
.tf-card__body{display:flex;flex-direction:column;gap:.45rem;padding:1rem 1.1rem 1.15rem;flex:1}
.tf-card__date{display:flex;align-items:center;gap:.4rem;margin:0;font-weight:800;color:var(--wp--preset--color--sunrise);font-size:.95rem}
.tf-card__date .tf-icon{width:18px;height:18px}
.tf-card__title{margin:0;font-size:1.18rem;line-height:1.25}
.tf-card__title a{color:var(--wp--preset--color--alpine-dark);text-decoration:none}
.tf-card__title a::after{content:"";position:absolute;inset:0}
.tf-card__meta{margin:0;color:var(--wp--preset--color--muted);font-size:.92rem;display:flex;align-items:center;gap:.25rem;flex-wrap:wrap}
.tf-card__foot{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-top:auto;padding-top:.6rem}
.tf-card__price{font-weight:900;color:var(--wp--preset--color--alpine-dark);font-size:1.1rem}
.tf-from{font-weight:600;font-size:.8em;color:var(--wp--preset--color--muted)}
.tf-card__cta{font-weight:800;color:var(--wp--preset--color--sunrise)}
.tf-status{display:inline-block;padding:.28rem .65rem;border-radius:999px;font-size:.8rem;font-weight:800;line-height:1.2;background:#e3f3ea;color:#14532d}
.tf-status--low{background:#fdf0d5;color:#7a4a00}
.tf-status--full{background:#fbe4e4;color:#8a1c1c}
.tf-status--info{background:#e6eef5;color:#0c3a5a}
.tf-status--past{background:#eee;color:#555}
.tf-dots{display:inline-flex;gap:3px;vertical-align:middle;margin-left:.2rem}
.tf-dots i{width:9px;height:9px;border-radius:50%;background:var(--wp--preset--color--line)}
.tf-dots i.is-on{background:var(--wp--preset--color--alpine)}
.tf-empty{background:var(--wp--preset--color--glacier);border-radius:var(--wp--custom--radius);padding:1.6rem;text-align:center}

/* ===== scheda tour ===== */
.tf-product-hero{min-height:clamp(300px,52vw,460px)}
.tf-product-hero .wp-block-cover__inner-container{width:100%;max-width:1180px;margin-inline:auto;padding:0 20px 1.8rem}
.tf-product-hero h1,.tf-product-hero p{color:#fff}
.tf-product-hero h1{font-size:clamp(1.9rem,1rem + 4.2vw,3.4rem);max-width:22ch;margin:.2rem 0 .5rem;text-wrap:balance}
.tf-kicker{display:flex;flex-wrap:wrap;gap:.5rem;margin:0;font-size:.8rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.tf-kicker span{background:rgba(255,255,255,.16);padding:.3rem .7rem;border-radius:999px;backdrop-filter:blur(2px)}
.tf-subtitle{font-size:var(--wp--preset--font-size--medium);max-width:46ch;margin:0;opacity:.96}
.tf-facts-wrap{display:grid;gap:1rem;margin-block:1.4rem}
.tf-facts{display:grid;grid-template-columns:1fr 1fr;gap:.8rem 1rem;margin:0;padding:1.1rem;background:var(--wp--preset--color--stone);border-radius:var(--wp--custom--radius)}
.tf-facts div{min-width:0}
.tf-facts dt{display:flex;align-items:center;gap:.4rem;font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--wp--preset--color--muted)}
.tf-facts dt .tf-icon{width:18px;height:18px;color:var(--wp--preset--color--alpine)}
.tf-facts dd{margin:.15rem 0 0;font-weight:800;color:var(--wp--preset--color--alpine-dark);overflow-wrap:anywhere}
.tf-facts dd small{font-weight:600;color:var(--wp--preset--color--muted)}
.tf-facts__wide{grid-column:1/-1}
.tf-buy{display:grid;gap:.7rem;align-content:start}
.tf-price{margin:0;font-size:1rem;color:var(--wp--preset--color--muted)}
.tf-price__val{font-size:2rem;font-weight:900;color:var(--wp--preset--color--alpine-dark)}
.tf-price__val .woocommerce-Price-amount{font-weight:900}
@media (min-width:860px){.tf-facts-wrap{grid-template-columns:1.6fr 1fr;align-items:stretch}.tf-facts{grid-template-columns:repeat(4,1fr)}.tf-facts__wide{grid-column:1/-1}}
.tf-sections{margin-block:1.5rem}
.tf-sections__h{margin:2rem 0 .8rem}
.tf-prose>*:first-child{margin-top:0}
.tf-prose ul{padding-left:1.2rem}
.tf-prose li{margin:.25rem 0}
.tf-two{display:grid;gap:1.2rem}
@media (min-width:700px){.tf-two{grid-template-columns:1fr 1fr}}
.tf-acc{border:1px solid var(--wp--preset--color--line);border-radius:12px;margin:.7rem 0;background:#fff}
.tf-acc>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.1rem;min-height:56px;font-weight:800;font-size:1.05rem;color:var(--wp--preset--color--alpine-dark)}
.tf-acc>summary::-webkit-details-marker{display:none}
.tf-acc>summary::after{content:"+";font-size:1.5rem;line-height:1;color:var(--wp--preset--color--sunrise);flex:none}
.tf-acc[open]>summary::after{content:"–"}
.tf-acc[open]>summary{border-bottom:1px solid var(--wp--preset--color--line)}
.tf-acc>.tf-prose{padding:.9rem 1.1rem 1.1rem}
.tf-acc--sub>summary{font-size:1rem}
.tf-gallery{display:grid;gap:.6rem;grid-template-columns:1fr 1fr;margin-block:1.5rem}
.tf-gallery figure{margin:0}
.tf-gallery img{width:100%;height:100%;object-fit:cover;border-radius:10px;aspect-ratio:4/3}
@media (min-width:760px){.tf-gallery{grid-template-columns:repeat(3,1fr)}}

/* ===== prenotazione ===== */
.tf-booking{margin-block:2.2rem;padding:1.4rem;border:2px solid var(--wp--preset--color--alpine);border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(8,42,67,.08)}
.tf-booking h2{margin-top:0}
.tf-note{margin:.2rem 0 1rem;color:var(--wp--preset--color--muted)}
.tf-note--small{font-size:.9rem;margin-bottom:0}
.tf-booking__form form.cart{display:grid;gap:1rem}
.tf-booking .variations{width:100%;border:0;border-collapse:collapse}
.tf-booking .variations tr{display:grid;gap:.35rem;margin-bottom:.9rem}
.tf-booking .variations th,.tf-booking .variations td{display:block;padding:0;text-align:left}
.tf-booking .variations label{font-weight:800;color:var(--wp--preset--color--alpine-dark)}
.tf-booking select,.tf-booking input[type=number],.tf-form input,.tf-form select,.tf-form textarea{width:100%;min-height:52px;padding:.7rem .9rem;font:inherit;border:2px solid var(--wp--preset--color--line);border-radius:12px;background:#fff;color:var(--wp--preset--color--ink)}
.tf-booking select:focus,.tf-form :is(input,select,textarea):focus{border-color:var(--wp--preset--color--alpine);outline:none;box-shadow:0 0 0 3px rgba(12,58,90,.2)}
.tf-booking .reset_variations{font-size:.85rem}
.tf-booking .woocommerce-variation-price{font-size:1.5rem;font-weight:900;color:var(--wp--preset--color--alpine-dark);margin:.4rem 0}
.tf-booking .quantity{display:flex}
.tf-booking .quantity input{max-width:110px}
.tf-booking .single_add_to_cart_button{width:100%;min-height:58px;font-size:1.1rem}
.tf-booking .woocommerce-variation-availability p,.tf-booking .stock{margin:.2rem 0;font-weight:700;color:var(--wp--preset--color--muted)}
.tf-booking .wc-deposits-wrapper,.tf-booking .wc-deposits-options-form{margin:.4rem 0}
@media (min-width:760px){.tf-booking{padding:1.8rem 2rem}.tf-booking .single_add_to_cart_button{width:auto;min-width:280px}}

/* ===== contatti e form ===== */
.tf-contact{margin-block:2.2rem;padding:1.4rem;background:var(--wp--preset--color--glacier);border-radius:18px}
.tf-contact h2{margin-top:0}
.tf-form{display:grid;gap:.9rem}
.tf-form__row{display:grid;gap:.35rem}
.tf-form__row label{font-weight:800;font-size:.95rem}
.tf-form__row label span{font-weight:500;color:var(--wp--preset--color--muted)}
.tf-form__check label{display:flex;gap:.7rem;align-items:flex-start;font-size:.92rem;line-height:1.45}
.tf-form__check input{flex:none;width:22px;height:22px;margin-top:.1rem;accent-color:var(--wp--preset--color--alpine)}
.tf-form__about{margin:0;padding:.7rem .9rem;background:#fff;border-radius:10px}
.tf-form .tf-btn{width:100%}
.tf-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.tf-alert{padding:.9rem 1rem;border-radius:12px;font-weight:700;margin:0 0 1rem}
.tf-alert--ok{background:#e3f3ea;color:#14532d}
.tf-alert--err{background:#fbe4e4;color:#8a1c1c}
@media (min-width:760px){.tf-contact{padding:2rem}.tf-form .tf-btn{width:auto}.tf-form{grid-template-columns:1fr 1fr}.tf-form>:not(.tf-form__row:nth-of-type(-n+3)){grid-column:1/-1}}
.tf-contact-grid{display:grid;gap:2rem}
@media (min-width:900px){.tf-contact-grid{grid-template-columns:1fr 1.2fr;gap:3rem;align-items:start}}
.tf-contact-list{list-style:none;padding:0;margin:0;display:grid;gap:.8rem}
.tf-contact-list a{font-weight:800}

/* ===== newsletter ===== */
.tf-newsletter h2{margin-top:0}
.tf-form--inline{grid-template-columns:1fr!important}
.tf-form--inline>*{grid-column:auto!important}

/* ===== barra fissa su telefono ===== */
.tf-sticky{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem 1rem calc(.7rem + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--wp--preset--color--line);box-shadow:0 -8px 24px rgba(8,42,67,.12)}
.tf-sticky__info{display:grid;line-height:1.2}
.tf-sticky__info strong{font-size:1.15rem;color:var(--wp--preset--color--alpine-dark)}
.tf-sticky__info span{font-size:.85rem;color:var(--wp--preset--color--muted)}
.tf-sticky .tf-btn{min-height:48px;padding-inline:1.5rem}
body.single-product{padding-bottom:84px}
@media (min-width:860px){.tf-sticky{display:none}body.single-product{padding-bottom:0}}

/* ===== footer ===== */
.tf-footer{background:var(--wp--preset--color--alpine-dark);color:#dbe6ee;padding-block:3rem 5.5rem}
.tf-footer a{color:#fff}
.tf-footer h2,.tf-footer h3{color:#fff;font-size:1rem;letter-spacing:.08em;text-transform:uppercase}
.tf-footer__grid{display:grid;gap:2rem;max-width:1180px;margin:0 auto;padding-inline:20px}
@media (min-width:760px){.tf-footer__grid{grid-template-columns:1.4fr 1fr 1fr}.tf-footer{padding-bottom:3rem}}
.tf-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
.tf-footer small{display:block;max-width:1180px;margin:2rem auto 0;padding:1.2rem 20px 0;border-top:1px solid rgba(255,255,255,.18);color:#aebfcc;font-size:.82rem}

/* ===== articoli del blog ===== */
.tf-post-list .wp-block-post-template{display:grid;gap:1.4rem;grid-template-columns:1fr;list-style:none;padding:0}
@media (min-width:640px){.tf-post-list .wp-block-post-template{grid-template-columns:repeat(2,1fr)}}
@media (min-width:980px){.tf-post-list .wp-block-post-template{grid-template-columns:repeat(3,1fr)}}
.tf-post-card{border:1px solid var(--wp--preset--color--line);border-radius:var(--wp--custom--radius);overflow:hidden;background:#fff;height:100%}
.tf-post-card .wp-block-post-featured-image{margin:0}
.tf-post-card .wp-block-post-featured-image img{aspect-ratio:3/2;object-fit:cover;width:100%}
.tf-post-card .tf-post-card__body{padding:1rem 1.1rem 1.2rem}
.tf-post-card .wp-block-post-title{font-size:1.15rem;margin:.3rem 0}
.tf-post-card .wp-block-post-title a{color:var(--wp--preset--color--alpine-dark);text-decoration:none}
.wp-block-post-date{font-size:.85rem;color:var(--wp--preset--color--muted)}
.tf-cta-box{background:var(--wp--preset--color--glacier);border-radius:18px;padding:1.4rem;margin-block:2.5rem}
.tf-cta-box h2{margin-top:0;font-size:1.4rem}

/* ===== WooCommerce: carrello e cassa essenziali ===== */
.woocommerce-checkout .tf-header__cta,.woocommerce-cart .tf-header__cta{display:none}
.wc-block-components-button:not(.is-link){background:var(--wp--preset--color--sunrise)!important;color:#fff!important;border-radius:999px!important;min-height:54px;font-weight:800}
.wc-block-components-text-input input,.wc-block-components-select select{min-height:52px}
.tf-three{display:grid;gap:1rem}@media (min-width:760px){.tf-three{grid-template-columns:repeat(3,1fr)}}.tf-three .tf-cta-box{margin:0}.tf-three h3{margin-top:0}

/* ---- Calendario: mobile compatto e pensato per prenotare ---- */
.entry-content>h3[style*="center"],.entry-content>h4[style*="center"]{text-align:left!important}
.entry-content>h3[style*="center"]{font-size:1.15rem;line-height:1.3;margin:.2rem 0 .6rem}
.entry-content>h4[style*="center"]{font-size:1rem;font-weight:600;line-height:1.5;margin:0 0 1rem;color:var(--wp--preset--color--muted)}
@media (min-width:760px){.entry-content>h3[style*="center"],.entry-content>h4[style*="center"]{text-align:center!important}}
.tf-chips{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(6px);padding-top:.6rem;padding-bottom:.6rem;margin-bottom:.4rem}
.tf-card__foot::after{content:"›";margin-left:auto;font-size:1.6rem;line-height:1;font-weight:700;color:var(--wp--preset--color--sunrise)}
.tf-card__foot .tf-card__price{order:2}
@media (max-width:599px){
.tf-grid{gap:.75rem}
.tf-card{flex-direction:row;align-items:stretch;min-height:132px;border-radius:16px}
.tf-card:hover{transform:none}
.tf-card__media{flex:0 0 108px;aspect-ratio:auto}
.tf-card__kind{left:.4rem;top:.4rem;font-size:.62rem;padding:.2rem .45rem}
.tf-card__body{padding:.7rem .8rem;gap:.3rem;min-width:0}
.tf-card__date{font-size:.85rem}
.tf-card__date .tf-icon{width:16px;height:16px}
.tf-card__title{font-size:1rem;line-height:1.25;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.tf-card__meta{font-size:.82rem}
.tf-card__foot{padding-top:.2rem;gap:.4rem}
.tf-status{font-size:.74rem;padding:.2rem .55rem}
.tf-month{margin:1.4rem 0 .7rem;font-size:1rem!important}
}

/* ---- Gallerie di foto nei contenuti ---- */
.gallery{display:grid;gap:.5rem;grid-template-columns:repeat(2,1fr);margin:1.4rem 0}
.gallery.gallery-columns-1{grid-template-columns:1fr}
.gallery .gallery-item{margin:0;width:auto;max-width:none}
.gallery .gallery-icon{line-height:0}
.gallery .gallery-icon a{display:block}
.gallery .gallery-item img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:12px;display:block;border:0}
.gallery .gallery-caption{font-size:.82rem;color:var(--wp--preset--color--muted);margin:.3rem 0 0}
@media (min-width:700px){
.gallery.gallery-columns-3,.gallery.gallery-columns-5,.gallery.gallery-columns-6{grid-template-columns:repeat(3,1fr)}
.gallery.gallery-columns-4,.gallery.gallery-columns-7,.gallery.gallery-columns-8,.gallery.gallery-columns-9{grid-template-columns:repeat(4,1fr)}
.gallery{gap:.7rem}
}

/* ---- Scheda prodotto: desktop e scelta della variante ---- */
@media (min-width:1000px){.tf-product-hero .wp-block-cover__inner-container{padding-left:clamp(48px,5vw,96px)}}
.tf-opts{display:grid;gap:.6rem;grid-template-columns:1fr}
@media (min-width:700px){.tf-opts{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}}
.tf-opt{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%;min-height:56px;padding:.7rem 1rem;font:inherit;font-weight:800;text-align:left;color:var(--wp--preset--color--alpine-dark);background:#fff;border:2px solid var(--wp--preset--color--line);border-radius:14px;cursor:pointer}
.tf-opt:hover{border-color:var(--wp--preset--color--alpine)}
.tf-opt strong{font-size:1.15rem;font-weight:900;white-space:nowrap}
.tf-opt.is-on{border-color:var(--wp--preset--color--alpine);background:#eef4f9;box-shadow:0 0 0 3px rgba(12,58,90,.15)}
.tf-opt:disabled{opacity:.45;cursor:not-allowed}
.tf-opt:focus-visible{outline:3px solid var(--wp--preset--color--sunrise);outline-offset:2px}
.tf-sr{position:absolute!important;width:1px;height:1px;opacity:0;pointer-events:none;overflow:hidden}
.tf-booking .reset_variations{display:none!important}

.tf-opts__hint{margin:0 0 .6rem;font-weight:800;color:var(--wp--preset--color--alpine-dark)}

.tf-qty__hint{margin-top:1rem}

.tf-calendar__more{text-align:center;margin:2.5rem 0 1rem}

.tf-filters{display:grid;grid-template-columns:1fr;gap:.6rem;margin:0 0 1.2rem}
@media (min-width:600px){.tf-filters{grid-template-columns:1fr 1fr;max-width:560px}}
.tf-filters label{display:grid;gap:.25rem;font-size:.85rem;font-weight:800;color:var(--wp--preset--color--alpine-dark)}
.tf-filters select{min-height:48px;padding:.5rem .8rem;font:inherit;font-weight:600;background:#fff;border:2px solid var(--wp--preset--color--line);border-radius:12px}
.tf-filters__empty{font-weight:700}
.tf-calendar [hidden]{display:none!important}

/* card: tutta cliccabile + pulsante evidente */
.tf-card{position:relative;transition:transform .15s ease,box-shadow .15s ease}
.tf-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(12,58,90,.16)}
.tf-card__title a::after{content:"";position:absolute;inset:0;z-index:1}
.tf-card__foot::after{display:none!important}
.tf-card__foot{flex-wrap:wrap}
.tf-card__go{margin-left:auto;display:inline-flex;align-items:center;gap:.35rem;padding:.55rem .95rem;border-radius:999px;background:var(--wp--preset--color--sunrise);color:#fff;font-weight:900;font-size:.92rem;white-space:nowrap}
.tf-card:hover .tf-card__go{filter:brightness(.92)}
.tf-card.is-past .tf-card__go{background:transparent;color:var(--wp--preset--color--sunrise);padding-inline:0}
.tf-card__date{font-size:1rem!important;font-weight:900!important}
.tf-status--low{animation:none}
.tf-lead{max-width:760px;margin:0 auto 1.4rem;text-align:center;font-size:1.15rem;line-height:1.55}
.tf-trust{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem 1.4rem;list-style:none;margin:0 0 1.6rem;padding:0;font-weight:800;font-size:.95rem;color:var(--wp--preset--color--alpine-dark)}
.tf-trust li::before{content:"✓";margin-right:.4rem;color:var(--wp--preset--color--sunrise);font-weight:900}

/* icone social */
.tf-social{display:inline-flex;gap:.6rem;align-items:center;margin-top:.3rem}
.tf-social a{display:inline-block;width:40px;height:40px;font-size:0;line-height:0;background:currentColor;-webkit-mask:var(--ic) center/26px no-repeat;mask:var(--ic) center/26px no-repeat}
.tf-social a:hover{opacity:.8}
.tf-footer .tf-social a{color:#fff}
.tf-contact-list .tf-social a{color:var(--wp--preset--color--alpine)}
.tf-social a[href*="instagram"]{--ic:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='black'/%3E%3C/svg%3E")}
.tf-social a[href*="facebook"]{--ic:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8V6.5c0-.8.4-1.2 1.2-1.2H17V2h-2.6C11.600 2 10 3.700 10 6.300V8H7.500v3.500H10V22h4V11.500h2.800L17.300 8z'/%3E%3C/svg%3E")}
.tf-social a[href*="tiktok"]{--ic:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.500 3c.3 2.300 1.800 3.800 4 4v3.100c-1.500 0-2.900-.5-4-1.300v6.200a5.500 5.500 0 1 1-5.500-5.500c.3 0 .6 0 .9.1v3.200a2.300 2.300 0 1 0 1.400 2.100V3z'/%3E%3C/svg%3E")}
.tf-social a[href*="t.me"]{--ic:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.500 3.500 2.700 10.800c-.8.300-.8 1.300 0 1.600l4.600 1.700 1.800 5.600c.2.600 1 .8 1.400.3l2.600-2.500 4.800 3.500c.6.400 1.400.1 1.600-.6L22.900 4.800c.2-.8-.5-1.600-1.400-1.300zM9 13.600l9.300-5.800-7.400 7z'/%3E%3C/svg%3E")}

/* hero con foto e slideshow */
.tf-hero{min-height:min(88vh,760px)}
.tf-hero__slides{position:absolute!important;inset:0;z-index:0!important}
.tf-hero__slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1.4s ease}
.tf-hero__slide.is-on{opacity:1}
.tf-hero:has(.tf-hero__slides)::before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(6,28,46,.82) 0%,rgba(6,28,46,.55) 55%,rgba(6,28,46,.25) 100%),linear-gradient(180deg,rgba(6,28,46,.35) 0%,rgba(6,28,46,0) 40%,rgba(6,28,46,.6) 100%)}
.tf-hero h1,.tf-hero__lead{text-shadow:0 2px 18px rgba(0,0,0,.45)}
.tf-hero__trust{margin-top:1.2rem;font-size:.95rem;font-weight:700;opacity:.92}
@media (max-width:599px){.tf-hero{min-height:0}.tf-hero:has(.tf-hero__slides)::before{background:linear-gradient(180deg,rgba(6,28,46,.55),rgba(6,28,46,.78))}}

/* recensioni */
.tf-reviews{list-style:none;margin:0;padding:0;display:grid;gap:1rem;grid-template-columns:1fr}
@media (min-width:700px){.tf-reviews{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1000px){.tf-reviews{grid-template-columns:repeat(3,1fr)}}
.tf-review{background:#fff;border:1px solid var(--wp--preset--color--line);border-radius:16px;padding:1.2rem 1.2rem 1rem;display:flex;flex-direction:column;gap:.6rem;margin:0}
.tf-review__stars{margin:0;color:#9a5b00;letter-spacing:.12em;font-size:1.05rem}
.tf-review blockquote{margin:0;padding:0;border:0;font-size:1rem;line-height:1.55;flex:1}
.tf-review__who{margin:0;font-size:.9rem;color:var(--wp--preset--color--muted)}
.tf-review__who strong{color:var(--wp--preset--color--alpine-dark)}
@media (max-width:699px){.tf-reviews--home{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:.8rem;padding-bottom:.6rem;margin-inline:-20px;padding-inline:20px}.tf-reviews--home .tf-review{flex:0 0 84%;scroll-snap-align:start}}
.tf-section--soft{background:#f2f6f9}

/* testata: altezza proporzionata alle foto 3:2, nessuna deformazione (cover) */
.tf-hero{min-height:clamp(520px,44vw,680px)}
.tf-hero__slide{object-position:center 42%}
@media (max-width:599px){.tf-hero__slide{object-position:center 40%}}
@media (min-width:760px){
.tf-hero h1{max-width:22ch;font-size:clamp(2.4rem,1rem + 3.6vw,3.8rem)}
.tf-hero__lead{max-width:52ch}
.tf-hero{padding-block:clamp(3rem,6vw,5rem) clamp(6.5rem,13vw,9rem);min-height:clamp(520px,42vw,640px)}
}
.tf-hero>.tf-hero__slides{max-width:none!important;width:100%!important;margin:0!important;left:0;right:0}

/* banner consensi */
.tf-consent{position:fixed;inset:auto 12px 12px 12px;z-index:10000;max-width:720px;margin-inline:auto;background:#fff;color:var(--wp--preset--color--alpine-dark);border-radius:16px;box-shadow:0 12px 40px rgba(6,28,46,.35);padding:1rem 1.1rem;border:1px solid var(--wp--preset--color--line)}
.tf-consent[hidden]{display:none}
.tf-consent p{margin:0 0 .8rem;font-size:.92rem;line-height:1.45}
.tf-consent__opts{display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;margin:0 0 .8rem;font-size:.92rem}
.tf-consent__opts[hidden]{display:none}
.tf-consent__btns{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.tf-consent__btns .tf-btn{flex:1 1 140px;min-height:46px;justify-content:center}
.tf-consent__more{background:none;border:0;padding:.5rem;font:inherit;font-weight:800;text-decoration:underline;color:var(--wp--preset--color--alpine);cursor:pointer}
@media (max-width:599px){.tf-consent{inset:auto 8px 8px 8px}.tf-sticky,.tf-stickybar{z-index:9000}}

.tf-consent{padding-top:1.5rem}
.tf-consent__x{position:absolute;top:.3rem;right:.5rem;width:44px;height:44px;border:0;background:none;font-size:1.8rem;line-height:1;color:var(--wp--preset--color--alpine-dark);cursor:pointer}
.tf-withdraw{max-width:640px}
.tf-withdraw label{display:block;font-weight:700;margin:.8rem 0 .25rem}
.tf-withdraw input[type=text],.tf-withdraw input[type=email],.tf-withdraw textarea{width:100%;padding:.7rem;border:1px solid var(--wp--preset--color--line);border-radius:10px;font:inherit}
.tf-legal-note{background:#f4f7f9;border-left:4px solid var(--wp--preset--color--alpine);padding:.7rem .9rem;border-radius:8px;font-size:.92rem;margin:0 0 1rem}
.tf-cart-more{margin:0 0 1.2rem;font-weight:600}

/* ===== Chi siamo ===== */
.tf-ab{padding:clamp(2.4rem,6vw,4.2rem) 0}
.tf-ab__in{max-width:1180px;margin:0 auto;padding:0 1.25rem}
.tf-ab--alt{background:var(--wp--preset--color--stone)}
.tf-ab--blue{background:var(--wp--preset--color--glacier)}
.tf-ab--dark{background:var(--wp--preset--color--alpine-dark);color:#fff}
.tf-ab--dark h2,.tf-ab--dark p{color:#fff}
.tf-ab--dark .tf-btn--ghost{color:#fff}
.tf-ab--dark .tf-btn--ghost:hover{background:#fff;color:var(--wp--preset--color--alpine-dark);border-color:#fff}
.tf-ab--intro{padding-top:clamp(2.2rem,5vw,3.6rem)}
.tf-ab__lead{font-size:clamp(1.5rem,3.6vw,2.4rem);line-height:1.25;font-weight:800;color:var(--wp--preset--color--alpine-dark);margin:.2rem 0 1rem;max-width:34ch}
.tf-ab__sub{font-size:clamp(1.05rem,2vw,1.3rem);color:var(--wp--preset--color--muted);max-width:60ch;margin:0}
.tf-ab__facts{list-style:none;padding:0;margin:2rem 0 0;display:grid;gap:1rem}
.tf-ab__facts li{border-left:4px solid var(--wp--preset--color--alpine);padding:.2rem 0 .2rem 1rem}
.tf-ab__facts b{display:block;font-size:1.6rem;font-weight:900;color:var(--wp--preset--color--alpine-dark);line-height:1.1}
.tf-ab__facts span{color:var(--wp--preset--color--muted)}
@media (min-width:760px){.tf-ab__facts{grid-template-columns:repeat(3,1fr);gap:2rem}}
.tf-ab__split{display:grid;gap:2rem;align-items:start}
@media (min-width:900px){.tf-ab__split{grid-template-columns:1.2fr 1fr;gap:3.5rem}}
.tf-ab__quote{margin:0;background:var(--wp--preset--color--alpine-dark);color:#fff;border-radius:var(--wp--custom--radius);padding:1.8rem 1.6rem}
.tf-ab__quote p{font-size:clamp(1.3rem,2.6vw,1.7rem);font-weight:800;line-height:1.3;margin:0 0 1rem;color:#fff}
.tf-ab__quote footer{font-size:1rem;opacity:.9;line-height:1.55}
.tf-ab__cards{display:grid;gap:1rem}
@media (min-width:760px){.tf-ab__cards{grid-template-columns:repeat(3,1fr)}}
.tf-ab__card{background:#fff;border:1px solid var(--wp--preset--color--line);border-radius:var(--wp--custom--radius);padding:1.3rem 1.4rem 1.5rem}
.tf-ab__card h3{margin:.2rem 0 .4rem;font-size:1.2rem;color:var(--wp--preset--color--alpine-dark)}
.tf-ab__card p{margin:0;color:var(--wp--preset--color--muted)}
.tf-ab__n{display:grid;place-items:center;width:2.3rem;height:2.3rem;border-radius:50%;background:var(--wp--preset--color--alpine);color:#fff;font-weight:900}
.tf-ab__lists{display:grid;gap:1.6rem}
@media (min-width:760px){.tf-ab__lists{grid-template-columns:1fr 1fr;gap:3rem}}
.tf-ab__lists h3{margin:0 0 .7rem;font-size:1.1rem;color:var(--wp--preset--color--alpine-dark)}
.tf-ab__tags{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.5rem}
.tf-ab__tags li{background:#fff;border:1px solid var(--wp--preset--color--line);border-radius:999px;padding:.45rem .9rem;font-weight:700;font-size:.95rem}
.tf-ab__cta{margin:1.8rem 0 0}
.tf-ab__team{display:grid;gap:1.4rem}
@media (min-width:900px){.tf-ab__team{grid-template-columns:repeat(3,1fr)}.tf-ab__team--small{grid-template-columns:repeat(2,1fr)}}
.tf-person{background:#fff;border:1px solid var(--wp--preset--color--line);border-radius:var(--wp--custom--radius);overflow:hidden;display:flex;flex-direction:column}
.tf-person img{width:100%;aspect-ratio:4/3;object-fit:cover;object-position:center 25%;display:block;background:var(--wp--preset--color--glacier)}
.tf-person--s img{aspect-ratio:16/10}
.tf-person__body{padding:1.2rem 1.3rem 1.5rem}
.tf-person__body h3{margin:0;font-size:1.35rem;color:var(--wp--preset--color--alpine-dark)}
.tf-person__role{margin:.15rem 0 .8rem;font-weight:800;color:#a84a00;font-size:.95rem}
.tf-person__body p{margin:0 0 .7rem}
.tf-more summary{cursor:pointer;font-weight:800;color:var(--wp--preset--color--alpine);padding:.3rem 0;min-height:44px;display:flex;align-items:center}
.tf-more[open] summary{margin-bottom:.4rem}
.tf-person__link{margin:.6rem 0 0!important;font-weight:700}
.tf-ab__agency{margin-top:2rem;background:#fff;border:1px solid var(--wp--preset--color--line);border-radius:var(--wp--custom--radius);padding:1.4rem;display:grid;gap:1.2rem;align-items:center}
.tf-ab__agency img{max-width:200px;height:auto;margin:0 auto;display:block}
.tf-ab__agency h3{margin:0 0 .5rem;color:var(--wp--preset--color--alpine-dark)}
@media (min-width:860px){.tf-ab__agency{grid-template-columns:220px 1fr;gap:2rem;padding:1.8rem}}
.tf-ab__end{text-align:center}
.tf-ab__end h2{margin:0 0 .5rem}
.tf-ab__end p{margin:0 auto 1.2rem;max-width:46ch}
.tf-ab__btns{display:flex;gap:.8rem;justify-content:center;flex-wrap:wrap}

/* contenuti del vecchio sito: [tabs] */
.tf-tabs{display:grid;gap:1rem;margin:1.2rem 0}
.tf-tab{background:var(--wp--preset--color--stone);border-left:4px solid var(--wp--preset--color--alpine);border-radius:0 var(--wp--custom--radius) var(--wp--custom--radius) 0;padding:1rem 1.2rem}
.tf-tab__t{margin:0 0 .4rem;font-size:1.1rem;color:var(--wp--preset--color--alpine-dark)}
.tf-tab p:last-child{margin-bottom:0}

/* carrello nel menu (compare solo se ci sono posti nel carrello) */
.tf-cartbtn{display:inline-flex;align-items:center;gap:.45rem;margin-left:auto;padding:.5rem .9rem;border-radius:999px;background:#fff;border:2px solid var(--wp--preset--color--ink,#0c3a5a);color:var(--wp--preset--color--ink,#0c3a5a);font-weight:700;text-decoration:none;line-height:1;min-height:44px}
.tf-cartbtn:hover{background:var(--wp--preset--color--ink,#0c3a5a);color:#fff}
.tf-cartbtn__n{display:inline-flex;align-items:center;justify-content:center;min-width:1.5rem;height:1.5rem;padding:0 .35rem;border-radius:999px;background:var(--wp--preset--color--sunrise,#f2a65a);color:#1c2b36;font-size:.85rem}
.tf-cartbtn__t{display:none}
@media (min-width:600px){.tf-cartbtn__t{display:inline}}
@media (min-width:900px){.tf-cartbtn{margin-left:.25rem}}
.woocommerce-cart .tf-cartbtn,.woocommerce-checkout .tf-cartbtn{display:none}
.tf-recall{margin:.5rem 0 1rem}.tf-recall__note{font-size:.92rem;color:#4f5d68;margin:0}
.tf-nav a,.tf-header__cta,.tf-brand small{white-space:nowrap}
.tf-cartbtn,.tf-cartbtn svg{flex:none}
@media (min-width:900px) and (max-width:1279px){.tf-cartbtn__t{display:none}.tf-nav ul{gap:1rem}.tf-brand small{display:none}}
@media (min-width:900px) and (max-width:1139px){.tf-header__in:has(.tf-cartbtn) .tf-header__cta{display:none}}
@media (max-width:599px){.tf-header__in:has(.tf-cartbtn) .tf-brand small{display:none}}

/* Logo 2026 */
.tf-logo{display:block;max-width:100%;height:auto}
.tf-header .tf-logo{width:190px}
@media (max-width:599px){.tf-header .tf-logo{width:160px}}
@media (min-width:1360px){.tf-header .tf-logo{width:260px}}
.tf-footer .tf-brand--sq{display:block;margin-bottom:1rem}
.tf-footer .tf-logo{width:280px;max-width:100%}

/* Carrello */
.woocommerce-cart-form__contents{border:0!important;border-collapse:separate}
.woocommerce-cart-form__contents td{vertical-align:middle}
.woocommerce-cart-form__contents .product-thumbnail img{width:84px;height:auto;border-radius:10px;display:block}
.woocommerce-cart-form__contents .product-name a{text-decoration:none;font-weight:800;color:var(--wp--preset--color--alpine,#0c3a5a)}
.woocommerce-cart-form__contents .product-name .variation{margin:.35rem 0 0;font-size:.88rem;color:#4f5d68;display:grid;grid-template-columns:auto 1fr;gap:.1rem .5rem}
.woocommerce-cart-form__contents .product-name .variation dt{font-weight:700}
.woocommerce-cart-form__contents .product-name .variation dd,.woocommerce-cart-form__contents .product-name .variation dd p{margin:0}
.woocommerce-cart-form__contents .quantity input{width:4.2rem;padding:.5rem;border:1px solid #bfc7cd;border-radius:8px;font:inherit;text-align:center}
@media (max-width:767px){
.woocommerce-cart-form__contents,.woocommerce-cart-form__contents tbody{display:block;width:100%}
.woocommerce-cart-form__contents thead{display:none}
.woocommerce-cart-form__contents tr.cart_item{display:grid;grid-template-columns:84px 1fr auto;gap:.15rem .9rem;align-items:start;position:relative;padding:1rem .2rem 1.1rem;border-bottom:1px solid #ddd7cd}
.woocommerce-cart-form__contents tr.cart_item td{display:block;border:0!important;padding:0!important;text-align:left!important;width:auto!important}
.woocommerce-cart-form__contents td::before{content:none!important}
.woocommerce-cart-form__contents td.product-thumbnail{grid-column:1;grid-row:1/4}
.woocommerce-cart-form__contents td.product-name{grid-column:2/4;padding-right:2rem!important}
.woocommerce-cart-form__contents td.product-price{display:none}
.woocommerce-cart-form__contents td.product-quantity{grid-column:2;grid-row:2;margin-top:.5rem}
.woocommerce-cart-form__contents td.product-subtotal{grid-column:3;grid-row:2;align-self:end;text-align:right!important;font-weight:800;font-size:1.05rem}
.woocommerce-cart-form__contents td.product-remove{position:absolute;top:.8rem;right:.2rem;width:auto}
.woocommerce-cart-form__contents td.actions{display:block;padding:1rem 0 0!important}
.woocommerce-cart-form__contents .coupon{display:grid;gap:.6rem;margin-bottom:.8rem}
.woocommerce-cart-form__contents .coupon input,.woocommerce-cart-form__contents .coupon button,.woocommerce-cart-form__contents button[name=update_cart]{width:100%;box-sizing:border-box}
.cart-collaterals .cart_totals{width:100%!important;float:none!important}
}

/* Copertina fotografica sulle pagine con immagine in evidenza */
.tf-band--photo{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:flex-end;min-height:clamp(230px,38vw,380px)}
.tf-band--photo>*{position:relative;width:100%}
.tf-band--photo .tf-band__img{position:absolute;inset:0;width:100%;height:100%;max-width:none!important;margin:0!important;object-fit:cover;z-index:-2}
.tf-band--photo::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(8,42,67,.25) 0%,rgba(8,42,67,.78) 100%)}
.tf-band--photo h1{color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.35)}
.tf-persuade{max-width:860px;margin-inline:auto}
.tf-persuade ul{max-width:760px}
.tf-persuade h2{margin-bottom:.6rem}
.tf-persuade ul{list-style:none;padding:0;margin:1rem 0;display:grid;gap:.55rem}
.tf-persuade li{padding-left:1.7rem;position:relative}
.tf-persuade li::before{content:"✓";position:absolute;left:0;color:var(--wp--preset--color--sunrise,#c2570a);font-weight:800}

/* Pagine larghe (Regala, Tour privati, Esperienze): i blocchi occupano 1100px, i testi lunghi restano leggibili */
.tf-wide .wp-block-post-content>:where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width:1100px}
.tf-wide .wp-block-post-content>:is(p,ul.wp-block-list,ol.wp-block-list){max-width:860px;margin-left:max(0px,calc((100% - 1100px)/2))!important;margin-right:auto!important}
.tf-wide .tf-persuade{max-width:1100px}
.tf-wide .tf-persuade>:is(p,ul){max-width:860px}

/* Vantaggi in colonne (pagine di vendita) */
.tf-benefits{list-style:none;margin:1.6rem 0;padding:0;display:grid;gap:1rem}
.tf-benefits li{background:var(--wp--preset--color--glacier,#e9f1f6);border-radius:14px;padding:1.1rem 1.2rem;display:grid;gap:.35rem}
.tf-benefits strong{color:var(--wp--preset--color--alpine,#0c3a5a);font-size:1.05rem}
.tf-benefits span{color:#33414c}
@media (min-width:860px){.tf-benefits{grid-template-columns:repeat(3,1fr)}}
.tf-wide .wp-block-post-content>.tf-grid{max-width:1100px}
@media (min-width:860px){.tf-benefits.tf-benefits--two{grid-template-columns:repeat(2,1fr)}}

/* Galleria nelle pagine larghe: un po' di respiro */
.tf-wide .wp-block-gallery{margin-block:1.4rem;--wp--style--gallery-gap-default:.7rem}
.tf-wide .wp-block-gallery.has-nested-images figure.wp-block-image img{border-radius:10px}
@media (min-width:860px){.tf-wide .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image){width:calc(25% - var(--wp--style--unstable-gallery-gap,.7rem))}}

/* Scheda "Chi ti accompagna": foto compatta (affiancata al testo su desktop) */
.tf-wide .tf-person img{aspect-ratio:4/3;max-height:340px;object-position:center 20%}
@media(min-width:860px){
.tf-wide .tf-person{flex-direction:row;align-items:stretch}
.tf-wide .tf-person>img{flex:0 0 300px;width:300px;max-height:none;height:auto;aspect-ratio:auto;min-height:100%}
.tf-wide .tf-person__body{flex:1;padding:1.6rem 1.8rem}
}

/* Home: sezione "Regala" con foto e testo bianco */
.tf-band--cta{min-height:clamp(280px,34vw,360px);align-items:center}
.tf-band--cta::before{background:linear-gradient(90deg,rgba(8,42,67,.9) 0%,rgba(8,42,67,.72) 55%,rgba(8,42,67,.45) 100%)!important}
.tf-band--cta h2,.tf-band--cta p{color:#fff!important;text-shadow:0 2px 14px rgba(0,0,0,.4)}
@media(max-width:699px){.tf-band--cta::before{background:linear-gradient(180deg,rgba(8,42,67,.8),rgba(8,42,67,.88))!important}}

/* Slideshow home: lo scurimento deve stare sopra le foto e sotto i testi */
.tf-hero:has(.tf-hero__slides)::before{z-index:1}
.tf-hero>*:not(.tf-hero__slides){position:relative;z-index:2}
@media (max-width:599px){.tf-hero:has(.tf-hero__slides)::before{background:linear-gradient(180deg,rgba(6,28,46,.6),rgba(6,28,46,.85))}}

/* Carrello: solo icona; lingua nel footer */
.tf-cartbtn__t{display:none!important}
.tf-footer__lang{margin:.9rem 0 0}
.tf-footer__lang .tfl-sw{margin:0}
.tf-footer__lang .tfl-sw a{color:#fff;opacity:.75;border:1px solid rgba(255,255,255,.3)}
.tf-footer__lang .tfl-sw a[aria-current]{background:#fff;color:#0c3a5a;opacity:1}
