.tpf-wrap{--tpf-green:#244b35;--tpf-green-dark:#193726;--tpf-gold:#c9821c;--tpf-ink:#1e2d24;--tpf-muted:#68716b;--tpf-line:#ddd9d0;--tpf-soft:#f7f5ef;--tpf-white:#fff;margin:24px 0;color:var(--tpf-ink)}
.tpf-filter-launcher{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 20px;border:1px solid var(--tpf-line);border-radius:16px;background:var(--tpf-white);box-shadow:0 4px 18px rgba(25,55,38,.04)}
.tpf-filter-launcher-copy{display:flex;flex-direction:column;gap:3px}.tpf-filter-launcher-copy>strong{font-size:20px;line-height:1.2}.tpf-filter-launcher-copy>span{color:var(--tpf-muted);font-size:14px}.tpf-active-summary{margin-top:5px;font-size:13px;font-weight:700;color:var(--tpf-green)}
.tpf-filter-toggle,.tpf-submit,.tpf-card-button{appearance:none;border:0;border-radius:11px;background:var(--tpf-green);color:#fff;text-decoration:none!important;font-weight:700;cursor:pointer;transition:transform .15s ease,background .15s ease,box-shadow .15s ease}.tpf-filter-toggle{padding:12px 18px;white-space:nowrap}.tpf-filter-toggle:hover,.tpf-submit:hover,.tpf-card-button:hover{background:var(--tpf-green-dark);color:#fff;transform:translateY(-1px)}
.tpf-filter-panel[hidden]{display:none!important}.tpf-filter-panel{margin-top:12px}.tpf-form{padding:20px;border:1px solid var(--tpf-line);border-radius:16px;background:var(--tpf-white);box-shadow:0 8px 24px rgba(25,55,38,.05)}
.tpf-main-grid,.tpf-spec-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.tpf-field{display:flex;flex-direction:column;gap:6px}.tpf-field>span,.tpf-specs-title{font-weight:700}.tpf-field select,.tpf-field input{min-height:44px;padding:9px 11px;border:1px solid #cbc9c2;border-radius:9px;background:#fff;color:var(--tpf-ink)}.tpf-field select:focus,.tpf-field input:focus{outline:2px solid rgba(36,75,53,.16);border-color:var(--tpf-green)}
.tpf-specs-title{margin-top:20px;margin-bottom:4px}.tpf-specs-note{margin-bottom:12px;color:var(--tpf-muted);font-size:14px}.tpf-range{display:grid;grid-template-columns:1fr 1fr;gap:6px}.tpf-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:18px}.tpf-submit{padding:12px 19px}.tpf-show-all,.tpf-reset{font-weight:700;text-decoration:none}.tpf-show-all{color:var(--tpf-green)}.tpf-reset{color:var(--tpf-muted)}.tpf-filter-close{margin-left:auto;border:0;background:transparent;color:var(--tpf-muted);font-weight:700;cursor:pointer;padding:10px}
.tpf-empty-state,.tpf-no-results{margin-top:18px;padding:18px 20px;border-radius:14px;background:var(--tpf-soft);border:1px solid #e8e3d8;display:flex;flex-direction:column;gap:3px}.tpf-empty-state span,.tpf-no-results{color:var(--tpf-muted)}
.tpf-results-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:26px 0 14px;font-size:16px}.tpf-results-head strong{font-size:20px}.tpf-filter-toggle-inline{padding:9px 14px;font-size:13px}
.tpf-results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:stretch}.tpf-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--tpf-line);border-radius:18px;overflow:hidden;background:var(--tpf-white);box-shadow:0 4px 14px rgba(25,55,38,.025);transition:transform .18s ease,box-shadow .18s ease}.tpf-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(25,55,38,.08)}
.tpf-thumb{display:block;aspect-ratio:1.22/1;background:#eef0ed;padding:16px;overflow:hidden}.tpf-thumb img{width:100%;height:100%;object-fit:contain;display:block}.tpf-thumb-placeholder{display:flex;height:100%;align-items:center;justify-content:center;color:#8b918c;font-size:13px}
.tpf-card-body{display:flex;flex-direction:column;flex:1;padding:17px 18px 18px}.tpf-card-eyebrow{font-size:11px;line-height:1.2;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--tpf-green);margin-bottom:7px}.tpf-card h3{font-size:17px;line-height:1.28;margin:0 0 10px;color:var(--tpf-ink)}.tpf-card h3 a{color:inherit;text-decoration:none}.tpf-card h3 a:hover{text-decoration:underline}
.tpf-card-meta{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12.5px;color:var(--tpf-muted);margin-bottom:10px}.tpf-card-meta b,.tpf-card-compat b{color:var(--tpf-ink)}.tpf-card-compat{font-size:13px;line-height:1.45;color:var(--tpf-muted);margin-bottom:12px}.tpf-card-specs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}.tpf-card-specs span{display:inline-flex;padding:5px 8px;border-radius:999px;background:var(--tpf-soft);border:1px solid #e7e2d8;font-size:11.5px;line-height:1.2;color:#475249}
.tpf-price{margin-top:auto;padding-top:8px;margin-bottom:14px;font-size:22px;font-weight:800;color:var(--tpf-gold)}.tpf-price del{font-size:13px;color:#888}.tpf-card-button{display:block;text-align:center;padding:11px 13px;font-size:13px}
/* WooCommerce product tab */
.tpf-product-specs{max-width:980px}.tpf-pdp-classification{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}.tpf-pdp-classification>div{padding:13px 14px;border:1px solid var(--tpf-line);border-radius:12px;background:var(--tpf-soft);display:flex;flex-direction:column;gap:2px}.tpf-pdp-classification span,.tpf-pdp-compat span{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--tpf-muted);font-weight:700}.tpf-pdp-classification strong,.tpf-pdp-compat strong{font-size:14px;color:var(--tpf-ink)}.tpf-pdp-compat{display:flex;flex-direction:column;gap:3px;margin-bottom:18px;padding:14px 16px;border-left:4px solid var(--tpf-green);background:var(--tpf-soft);border-radius:0 10px 10px 0}
.tpf-pdp-section{margin-top:20px}.tpf-pdp-section h3,.tpf-pdp-notes h3{margin:0 0 10px;font-size:18px}.tpf-pdp-table{border:1px solid var(--tpf-line);border-radius:12px;overflow:hidden}.tpf-pdp-row{display:grid;grid-template-columns:minmax(180px,35%) 1fr;gap:16px;padding:11px 14px;border-bottom:1px solid var(--tpf-line)}.tpf-pdp-row:last-child{border-bottom:0}.tpf-pdp-row:nth-child(odd){background:#faf9f6}.tpf-pdp-row span{color:var(--tpf-muted)}.tpf-pdp-row strong{font-weight:700;color:var(--tpf-ink)}.tpf-pdp-notes{margin-top:20px;padding:16px;border-radius:12px;background:var(--tpf-soft)}
@media(max-width:1050px){.tpf-results{grid-template-columns:repeat(3,minmax(0,1fr))}.tpf-main-grid,.tpf-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.tpf-filter-launcher{align-items:flex-start;flex-direction:column}.tpf-filter-toggle{width:100%}.tpf-results{grid-template-columns:repeat(2,minmax(0,1fr))}.tpf-pdp-classification{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.tpf-main-grid,.tpf-spec-grid,.tpf-results,.tpf-pdp-classification{grid-template-columns:1fr}.tpf-actions{align-items:stretch;flex-direction:column}.tpf-actions>*{width:100%;text-align:center}.tpf-filter-close{margin-left:0}.tpf-results-head{align-items:flex-start}.tpf-pdp-row{grid-template-columns:1fr;gap:4px}}
/* Shortcode prodotti per categoria */
.tpf-category-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 16px}.tpf-category-heading h2{margin:0;color:var(--tpf-ink)}.tpf-category-heading span{font-size:13px;color:var(--tpf-muted)}
.tpf-results.tpf-cols-1{grid-template-columns:minmax(0,1fr)}
.tpf-results.tpf-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.tpf-results.tpf-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.tpf-results.tpf-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1050px){.tpf-results.tpf-cols-4,.tpf-results.tpf-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.tpf-results.tpf-cols-4,.tpf-results.tpf-cols-3,.tpf-results.tpf-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.tpf-results.tpf-cols-4,.tpf-results.tpf-cols-3,.tpf-results.tpf-cols-2,.tpf-results.tpf-cols-1{grid-template-columns:1fr}.tpf-category-heading{align-items:flex-start;flex-direction:column}}

/* =========================================================
   v0.3.0 — Categorie, Marche, Shop e PDP unificati
   ========================================================= */
.tpf-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 18px}
.tpf-section-heading h2{margin:2px 0 0;font-size:clamp(24px,2.3vw,34px);line-height:1.12;color:var(--tpf-ink)}
.tpf-section-kicker,.tpf-pdp-kicker{display:block;font-size:11px;line-height:1.2;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:var(--tpf-green)}
.tpf-term-grid{display:grid;gap:16px;align-items:stretch}
.tpf-term-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tpf-term-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.tpf-term-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.tpf-term-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.tpf-term-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}
.tpf-term-card{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--tpf-line);border-radius:18px;background:#fff;color:var(--tpf-ink)!important;text-decoration:none!important;box-shadow:0 4px 18px rgba(25,55,38,.035);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.tpf-term-card:hover{transform:translateY(-3px);border-color:#cbd7ce;box-shadow:0 12px 30px rgba(25,55,38,.09)}
.tpf-term-media{display:flex;align-items:center;justify-content:center;aspect-ratio:1.35/1;padding:18px;background:linear-gradient(145deg,#f3f5f1,#eaeee9);overflow:hidden}
.tpf-term-card-category .tpf-term-media{aspect-ratio:1.18/1}.tpf-term-card-brand .tpf-term-media{aspect-ratio:1.7/1;background:#f7f8f6}
.tpf-term-image{width:100%;height:100%;object-fit:contain;display:block;transition:transform .2s ease}.tpf-term-card:hover .tpf-term-image{transform:scale(1.025)}
.tpf-term-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:14px;background:#fff;border:1px solid #e3e7e2;color:var(--tpf-green)}
.tpf-term-placeholder b{font-size:clamp(28px,3.5vw,54px);letter-spacing:-.04em}
.tpf-term-content{position:relative;display:flex;flex-direction:column;gap:4px;padding:15px 42px 16px 16px;min-height:76px}
.tpf-term-content strong{font-size:15px;line-height:1.25;color:var(--tpf-ink)}.tpf-term-content small{font-size:12px;color:var(--tpf-muted)}
.tpf-term-arrow{position:absolute;right:15px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--tpf-soft);color:var(--tpf-green);font-weight:800;transition:background .15s ease,color .15s ease}
.tpf-term-card:hover .tpf-term-arrow{background:var(--tpf-green);color:#fff}

/* Shop / archivi WooCommerce: stessa card del filtro */
body.tpf-product-archive .woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px!important;margin:22px 0 30px!important;padding:0!important}
body.tpf-product-archive .woocommerce ul.products::before,body.tpf-product-archive .woocommerce ul.products::after{display:none!important}
body.tpf-product-archive .woocommerce ul.products li.product{float:none!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;list-style:none!important}
body.tpf-product-archive .woocommerce ul.products li.product .tpf-card{height:100%;margin:0}
body.tpf-product-archive .woocommerce-products-header{margin:10px 0 26px}
body.tpf-product-archive .woocommerce-products-header__title.page-title{font-size:clamp(32px,4vw,52px);line-height:1.05;color:var(--tpf-ink);letter-spacing:-.035em;margin-bottom:10px}
body.tpf-product-archive .woocommerce-result-count{color:var(--tpf-muted);font-size:13px;margin-top:12px}
body.tpf-product-archive .woocommerce-ordering select{border:1px solid var(--tpf-line);border-radius:10px;min-height:42px;padding:8px 36px 8px 12px;background:#fff;color:var(--tpf-ink)}
body.tpf-product-archive .woocommerce nav.woocommerce-pagination ul{border:0;display:flex;gap:7px}
body.tpf-product-archive .woocommerce nav.woocommerce-pagination ul li{border:0}.tpf-product-archive .woocommerce nav.woocommerce-pagination ul li a,.tpf-product-archive .woocommerce nav.woocommerce-pagination ul li span{display:flex;align-items:center;justify-content:center;min-width:38px;height:38px;border:1px solid var(--tpf-line);border-radius:9px;background:#fff;color:var(--tpf-ink)}
body.tpf-product-archive .woocommerce nav.woocommerce-pagination ul li span.current{background:var(--tpf-green);border-color:var(--tpf-green);color:#fff}

/* Singola scheda prodotto — styling complessivo */
body.tpf-single-product .woocommerce div.product{color:var(--tpf-ink)}
body.tpf-single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper{border-radius:24px;overflow:hidden;background:linear-gradient(145deg,#f1f3ef,#e7ebe6);border:1px solid var(--tpf-line)}
body.tpf-single-product .woocommerce div.product div.images .woocommerce-product-gallery__image{padding:26px;box-sizing:border-box}
body.tpf-single-product .woocommerce div.product div.images img{border-radius:16px;mix-blend-mode:multiply}
body.tpf-single-product .woocommerce div.product .summary.entry-summary{padding:8px 0 18px}
body.tpf-single-product .woocommerce div.product .product_title{margin:0 0 14px;font-size:clamp(34px,4.4vw,58px);line-height:1.02;letter-spacing:-.045em;color:var(--tpf-ink)}
body.tpf-single-product .woocommerce div.product p.price,body.tpf-single-product .woocommerce div.product span.price{font-size:clamp(26px,3vw,38px);line-height:1.1;font-weight:800;color:var(--tpf-gold);margin:18px 0}
body.tpf-single-product .woocommerce-product-details__short-description{font-size:15px;line-height:1.65;color:#5f6962;margin:0 0 20px}
body.tpf-single-product .woocommerce div.product form.cart{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap;margin:22px 0 18px;padding-top:4px}
body.tpf-single-product .woocommerce div.product form.cart div.quantity{margin:0!important}
body.tpf-single-product .woocommerce div.product form.cart .qty{height:50px;min-width:72px;border:1px solid #cfd5cf;border-radius:11px;padding:8px;background:#fff}
body.tpf-single-product .woocommerce div.product form.cart .button,body.tpf-single-product .woocommerce div.product .single_add_to_cart_button{min-height:50px;border-radius:11px!important;background:var(--tpf-green)!important;color:#fff!important;font-weight:800!important;padding:12px 22px!important;box-shadow:0 5px 14px rgba(36,75,53,.14);transition:transform .15s ease,background .15s ease}
body.tpf-single-product .woocommerce div.product form.cart .button:hover{background:var(--tpf-green-dark)!important;transform:translateY(-1px)}
body.tpf-single-product .product_meta{margin-top:18px;padding-top:16px;border-top:1px solid var(--tpf-line);font-size:12.5px;color:var(--tpf-muted)}

/* Sintesi tecnica vicino al titolo */
.tpf-single-quick{margin:12px 0 18px;padding:16px;border:1px solid var(--tpf-line);border-radius:17px;background:#fbfcfa;box-shadow:0 4px 16px rgba(25,55,38,.025)}
.tpf-single-quick-eyebrow{margin-bottom:10px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--tpf-green)}
.tpf-single-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.tpf-single-quick-grid>div{display:flex;flex-direction:column;gap:2px;padding:10px 11px;border-radius:10px;background:#f1f4ef;border:1px solid #e2e7e1}
.tpf-single-quick-grid span,.tpf-single-quick-compat span{font-size:10px;line-height:1.2;text-transform:uppercase;letter-spacing:.055em;color:var(--tpf-muted);font-weight:800}
.tpf-single-quick-grid strong{font-size:13.5px;color:var(--tpf-ink);overflow-wrap:anywhere}
.tpf-single-quick-compat{display:flex;flex-direction:column;gap:3px;margin-top:9px;padding:11px 12px;border-radius:10px;background:#edf4ee;border-left:3px solid var(--tpf-green)}
.tpf-single-quick-compat strong{font-size:13px;line-height:1.4;color:var(--tpf-ink)}

/* Tabs WooCommerce rese più editoriali */
body.tpf-single-product .woocommerce div.product .woocommerce-tabs{margin-top:58px;padding-top:0}
body.tpf-single-product .woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px!important;padding:0!important;border:0!important}
body.tpf-single-product .woocommerce div.product .woocommerce-tabs ul.tabs::before{display:none!important}
body.tpf-single-product .woocommerce div.product .woocommerce-tabs ul.tabs li{border:1px solid var(--tpf-line)!important;border-radius:999px!important;background:#fff!important;margin:0!important;padding:0!important;box-shadow:none!important}
body.tpf-single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::before,body.tpf-single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none!important}
body.tpf-single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:10px 16px!important;font-size:13px!important;color:var(--tpf-muted)!important;font-weight:750!important}
body.tpf-single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--tpf-green)!important;border-color:var(--tpf-green)!important}
body.tpf-single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:#fff!important}
body.tpf-single-product .woocommerce div.product .woocommerce-tabs .panel{margin:0!important;padding:0!important}
body.tpf-single-product .woocommerce div.product .woocommerce-tabs .panel>h2:first-child{font-size:clamp(25px,3vw,38px);letter-spacing:-.025em;color:var(--tpf-ink)}

/* Specifiche tecniche PDP — nuovo layout */
.tpf-product-specs-pro{max-width:none!important;padding:2px 0 12px}
.tpf-pdp-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,340px);gap:20px;align-items:stretch;margin-bottom:20px}
.tpf-pdp-hero-copy{padding:22px 0}.tpf-pdp-hero-copy h2{margin:4px 0 8px;font-size:clamp(27px,3vw,40px);line-height:1.08;letter-spacing:-.03em;color:var(--tpf-ink)}.tpf-pdp-hero-copy p{max-width:700px;margin:0;color:var(--tpf-muted);font-size:14.5px;line-height:1.6}
.tpf-pdp-oem-box{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:20px 22px;border-radius:18px;background:var(--tpf-green);color:#fff;box-shadow:0 8px 20px rgba(36,75,53,.14)}
.tpf-pdp-oem-box span{font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;opacity:.72}.tpf-pdp-oem-box strong{font-size:clamp(20px,2.4vw,30px);line-height:1.15;overflow-wrap:anywhere}.tpf-pdp-oem-box small{font-size:11px;opacity:.72}
.tpf-product-specs-pro .tpf-pdp-classification{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px}
.tpf-product-specs-pro .tpf-pdp-classification-card{position:relative;overflow:hidden;padding:16px 16px 17px;border:1px solid var(--tpf-line);border-radius:14px;background:#fff;box-shadow:0 3px 12px rgba(25,55,38,.025)}
.tpf-product-specs-pro .tpf-pdp-classification-card::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--tpf-green);opacity:.75}
.tpf-product-specs-pro .tpf-pdp-classification-card span{display:block;margin-bottom:5px;font-size:10px;font-weight:800;letter-spacing:.075em;text-transform:uppercase;color:var(--tpf-muted)}
.tpf-product-specs-pro .tpf-pdp-classification-card strong{font-size:15px;line-height:1.28;color:var(--tpf-ink)}
.tpf-product-specs-pro .tpf-pdp-compat{display:grid;grid-template-columns:42px 1fr;gap:13px;align-items:center;margin:0 0 26px;padding:15px 17px;border:1px solid #d5e3d7;border-left:0!important;border-radius:14px!important;background:#f0f6f1!important}
.tpf-pdp-compat-icon{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:var(--tpf-green);color:#fff;font-size:17px;font-weight:900}
.tpf-product-specs-pro .tpf-pdp-compat>div:last-child{display:flex;flex-direction:column;gap:2px}.tpf-product-specs-pro .tpf-pdp-compat span{font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--tpf-green)}.tpf-product-specs-pro .tpf-pdp-compat strong{font-size:14px;line-height:1.35;color:var(--tpf-ink)}.tpf-product-specs-pro .tpf-pdp-compat small{font-size:11px;color:var(--tpf-muted)}
.tpf-product-specs-pro .tpf-pdp-section{margin:30px 0 0}.tpf-pdp-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:11px}.tpf-pdp-section-head h3{margin:0 0 3px!important;font-size:20px!important;color:var(--tpf-ink)}.tpf-pdp-section-head p{margin:0;color:var(--tpf-muted);font-size:12.5px}.tpf-pdp-section-head>span{white-space:nowrap;padding:5px 8px;border-radius:999px;background:var(--tpf-soft);font-size:10.5px;font-weight:800;color:var(--tpf-muted)}
.tpf-pdp-data-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.tpf-pdp-data-card{display:flex;flex-direction:column;gap:5px;min-width:0;padding:14px 15px;border:1px solid var(--tpf-line);border-radius:12px;background:#fff;box-shadow:0 2px 9px rgba(25,55,38,.02)}
.tpf-pdp-data-card span{font-size:10px;line-height:1.2;text-transform:uppercase;letter-spacing:.065em;font-weight:800;color:var(--tpf-muted)}.tpf-pdp-data-card strong{font-size:14px;line-height:1.35;color:var(--tpf-ink);overflow-wrap:anywhere}
.tpf-product-specs-pro .tpf-pdp-notes{margin-top:26px;padding:17px 18px;border:1px solid #e4dfd3;border-radius:14px;background:#faf8f2}
.tpf-pdp-notes-head{display:flex;align-items:center;gap:8px;margin-bottom:8px}.tpf-pdp-notes-head>span{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:var(--tpf-gold);color:#fff;font-weight:800}.tpf-pdp-notes-head h3{margin:0!important;font-size:16px!important}.tpf-product-specs-pro .tpf-pdp-notes p{margin:0;color:#62645e;font-size:13px;line-height:1.55}

@media(max-width:1100px){
  .tpf-term-cols-6,.tpf-term-cols-5{grid-template-columns:repeat(4,minmax(0,1fr))}
  body.tpf-product-archive .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tpf-pdp-data-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:780px){
  .tpf-term-cols-6,.tpf-term-cols-5,.tpf-term-cols-4,.tpf-term-cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.tpf-product-archive .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tpf-pdp-hero{grid-template-columns:1fr}.tpf-pdp-hero-copy{padding-bottom:0}
  .tpf-product-specs-pro .tpf-pdp-classification{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:540px){
  .tpf-term-cols-6,.tpf-term-cols-5,.tpf-term-cols-4,.tpf-term-cols-3,.tpf-term-cols-2{grid-template-columns:1fr}
  body.tpf-product-archive .woocommerce ul.products{grid-template-columns:1fr}
  .tpf-single-quick-grid,.tpf-pdp-data-grid,.tpf-product-specs-pro .tpf-pdp-classification{grid-template-columns:1fr}
  .tpf-pdp-section-head{align-items:flex-start;flex-direction:column;gap:7px}
  body.tpf-single-product .woocommerce div.product form.cart{align-items:stretch}
  body.tpf-single-product .woocommerce div.product form.cart .quantity,body.tpf-single-product .woocommerce div.product form.cart .button{width:100%}
}

/* =========================================================
   v0.3.1 — Slider homepage + loop Shop senza duplicazioni
   ========================================================= */
.tpf-slider{position:relative;--tpf-slider-cols:4}
.tpf-slider-nav{display:flex;justify-content:flex-end;gap:8px;margin:0 0 10px}
.tpf-slider-prev,.tpf-slider-next{appearance:none;display:inline-flex;align-items:center;justify-content:center;width:39px;height:39px;padding:0;border:1px solid var(--tpf-line);border-radius:50%;background:#fff;color:var(--tpf-green);font-size:24px;line-height:1;font-weight:500;cursor:pointer;box-shadow:0 3px 12px rgba(25,55,38,.035);transition:background .15s ease,color .15s ease,border-color .15s ease,transform .15s ease}
.tpf-slider-prev:hover,.tpf-slider-next:hover{background:var(--tpf-green);border-color:var(--tpf-green);color:#fff;transform:translateY(-1px)}
.tpf-slider-prev:disabled,.tpf-slider-next:disabled{opacity:.3;cursor:default;transform:none;background:#fff;color:var(--tpf-muted);border-color:var(--tpf-line)}
.tpf-slider-viewport{overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px 2px 14px;margin:0 -2px}
.tpf-slider-viewport::-webkit-scrollbar{display:none}
.tpf-slider .tpf-slider-track{display:flex!important;grid-template-columns:none!important;gap:16px!important;align-items:stretch;width:max-content;min-width:100%}
.tpf-slider .tpf-slider-track>.tpf-term-card,.tpf-slider .tpf-slider-track>.tpf-card{flex:0 0 calc((100vw - 32px - (16px * (var(--tpf-slider-cols) - 1))) / var(--tpf-slider-cols));width:calc((100vw - 32px - (16px * (var(--tpf-slider-cols) - 1))) / var(--tpf-slider-cols));scroll-snap-align:start}
/* Nei container reali usa la larghezza del viewport slider, non quella della pagina. */
@supports (width: 1cqw){
  .tpf-slider-viewport{container-type:inline-size}
  .tpf-slider .tpf-slider-track>.tpf-term-card,.tpf-slider .tpf-slider-track>.tpf-card{flex-basis:calc((100cqw - (16px * (var(--tpf-slider-cols) - 1))) / var(--tpf-slider-cols));width:calc((100cqw - (16px * (var(--tpf-slider-cols) - 1))) / var(--tpf-slider-cols))}
}
.tpf-product-slider .tpf-slider-track{gap:20px!important}
.tpf-product-slider .tpf-slider-track>.tpf-card{flex-basis:calc((100cqw - (20px * (var(--tpf-slider-cols) - 1))) / var(--tpf-slider-cols));width:calc((100cqw - (20px * (var(--tpf-slider-cols) - 1))) / var(--tpf-slider-cols))}

/* Il tema non deve più stampare/mostrare una seconda scheda sotto TPF. */
body.tpf-product-archive .woocommerce ul.products li.product{display:block!important;overflow:visible!important}
body.tpf-product-archive .woocommerce ul.products li.product>.tpf-card{display:flex!important}
body.tpf-product-archive .woocommerce ul.products li.product>*:not(.tpf-card){display:none!important}
body.tpf-product-archive .woocommerce ul.products li.product .tpf-card *{box-sizing:border-box}
body.tpf-product-archive .woocommerce ul.products li.product .tpf-thumb{margin:0!important}
body.tpf-product-archive .woocommerce ul.products li.product .tpf-thumb img{display:block!important;width:100%!important;height:100%!important;margin:0!important;object-fit:contain!important;box-shadow:none!important}
body.tpf-product-archive .woocommerce ul.products li.product .tpf-card h3{padding:0!important}
body.tpf-product-archive .woocommerce ul.products li.product .tpf-card h3::before{display:none!important}
body.tpf-product-archive .woocommerce ul.products li.product .tpf-price{display:block!important}
body.tpf-product-archive .woocommerce ul.products li.product .tpf-card-button{display:block!important;width:100%!important;margin:0!important;color:#fff!important;background:var(--tpf-green)!important;border-radius:11px!important;text-align:center!important}
body.tpf-product-archive .woocommerce ul.products li.product .tpf-card-button:hover{background:var(--tpf-green-dark)!important;color:#fff!important}

@media(max-width:1050px){
  .tpf-term-slider{--tpf-slider-cols:4!important}
  .tpf-product-slider{--tpf-slider-cols:3!important}
}
@media(max-width:760px){
  .tpf-term-slider,.tpf-product-slider{--tpf-slider-cols:2!important}
  .tpf-slider-nav{margin-bottom:8px}
}
@media(max-width:520px){
  .tpf-term-slider,.tpf-product-slider{--tpf-slider-cols:1.12!important}
  .tpf-slider .tpf-slider-track>.tpf-term-card,.tpf-slider .tpf-slider-track>.tpf-card{flex-basis:82vw;width:82vw}
  .tpf-slider-prev,.tpf-slider-next{width:36px;height:36px;font-size:21px}
}

/* Catalogo pubblico TVH 0.4.0 */
.tpf-price-request{font-weight:800;color:#203b2b}
.tpf-catalog-status{margin:16px 0 22px;padding:16px 18px;border:1px solid #e4dfd3;border-radius:16px;background:#f7f6f1;display:grid;grid-template-columns:1fr 1.6fr;gap:12px 18px;align-items:center}
.tpf-catalog-status>div{display:flex;flex-direction:column;gap:2px}
.tpf-catalog-status span{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#68736c;font-weight:700}
.tpf-catalog-status strong{font-size:16px;color:#173623}
.tpf-catalog-status>a{grid-column:1/-1;font-weight:700;color:#235c3a;text-decoration:none}
.tpf-source-note{margin-top:24px;padding:16px 18px;background:#f7f6f1;border-left:4px solid #2a5d3b;border-radius:8px}
.tpf-source-note p:last-child{margin-bottom:0}
@media(max-width:640px){.tpf-catalog-status{grid-template-columns:1fr}}
