/*
Theme Name: Integra Child
Template: astra
Author: Integra
Version: 1.3
Description: Tema figlio di Astra — e-commerce integratori Integra. Palette arancione #FF6A2C. Header con ricerca, carosello offerte, layout negozio con sidebar, schede prodotto unificate. Responsive desktop/mobile.
Text Domain: integra-child
*/

/* =========================================================================
 *  TOKEN + BASE  (scope .integra-home su tutte le pagine Integra)
 * ====================================================================== */
:root{
  --brand:#FF6A2C; --brand-deep:#C2410C; --brand-soft:#FFF1E9;
  --ink:#1E1611; --muted:#7A6A61; --sale:#E0341D;
  --line:#F0E7E1; --bg:#FFFFFF; --card:#FFFFFF;
  --shadow:0 8px 26px rgba(30,22,17,.10); --radius:18px;
}
.integra-home *{box-sizing:border-box}
.integra-home{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.45;-webkit-font-smoothing:antialiased}
.integra-home a{color:inherit;text-decoration:none}
.integra-home .wrap{max-width:1180px;margin:0 auto;padding:0 20px}
.integra-home .promo{background:var(--ink);color:#fff;font-size:12px;letter-spacing:.06em;text-align:center;padding:9px 12px;text-transform:uppercase}

/* =========================================================================
 *  HEADER  (topbar con ricerca in evidenza + riga menu)
 * ====================================================================== */
.integra-home header.site{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.integra-home .logo{font-weight:800;font-size:23px;letter-spacing:-.02em;margin-right:auto}
.integra-home .logo b{color:var(--brand)}
.integra-home .icons{display:flex;gap:16px;align-items:center;font-size:20px}
.integra-home .icons a{cursor:pointer;position:relative}
.integra-home .hamb{display:none;font-size:22px;cursor:pointer;background:none;border:0;padding:0;color:inherit;line-height:1}

.integra-home .topbar{display:flex;align-items:center;gap:20px;height:72px}
.integra-home .hsearch{flex:1;display:flex;align-items:center;gap:10px;background:#fff;border:1.5px solid var(--line);border-radius:999px;padding:11px 18px;max-width:640px;margin:0 auto}
.integra-home .hsearch:focus-within{border-color:var(--brand)}
.integra-home .hsearch input{border:0;outline:0;font-size:15px;flex:1;background:transparent}
.integra-home .hsearch .ic{color:var(--brand-deep);font-size:17px}

.integra-home .navrow{border-top:1px solid var(--line)}
.integra-home .navrow .wrap{display:flex;align-items:center;height:46px}
.integra-home .topnav{display:flex;gap:26px;font-weight:600;font-size:14.5px;color:#33413d}
.integra-home .topnav a:hover{color:var(--brand-deep)}
.integra-home .topnav a.hot{color:var(--sale)}

/* Carrello: contatore */
.integra-home .carticon .cc{position:absolute;top:-8px;right:-10px;background:var(--brand);color:#fff;font-size:11px;font-weight:800;line-height:1;min-width:17px;height:17px;border-radius:9px;display:flex;align-items:center;justify-content:center;padding:0 4px}

/* =========================================================================
 *  HERO CAROSELLO OFFERTE
 * ====================================================================== */
.integra-home .hero-carousel{position:relative;overflow:hidden;border-bottom:1px solid var(--line)}
.integra-home .slides{display:flex;transition:transform .5s ease}
.integra-home .slide{min-width:100%}
.integra-home .slide .inner{max-width:1180px;margin:0 auto;padding:34px 20px;min-height:330px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.integra-home .slide .txt{max-width:540px}
.integra-home .slide .eyebrow{display:inline-block;background:#fff;color:var(--brand-deep);font-weight:800;font-size:12px;letter-spacing:.08em;text-transform:uppercase;padding:6px 12px;border-radius:999px;margin-bottom:14px}
.integra-home .slide h2{font-size:clamp(26px,4vw,44px);line-height:1.05;letter-spacing:-.02em;margin:0 0 12px;color:var(--ink)}
.integra-home .slide p{font-size:16px;color:#4a3e37;margin:0 0 20px}
.integra-home .slide .cta{display:inline-flex;align-items:center;gap:8px;background:var(--brand);color:#fff;font-weight:800;padding:13px 24px;border-radius:12px;font-size:15px}
.integra-home .slide .cta:hover{background:var(--brand-deep)}
.integra-home .slide .pic{flex:0 0 300px;max-width:38%;display:flex;align-items:center;justify-content:center}
.integra-home .slide .pic img{max-width:100%;max-height:260px;object-fit:contain;filter:drop-shadow(0 20px 30px rgba(0,0,0,.18))}
.integra-home .slide.s1{background:linear-gradient(120deg,var(--brand-soft),#fff)}
.integra-home .slide.s2{background:linear-gradient(120deg,#FFE7D6,#FFF6EF)}
.integra-home .slide.s3{background:linear-gradient(120deg,#1E1611,#3A2A20)}
.integra-home .slide.s3 h2,.integra-home .slide.s3 p{color:#fff}
.integra-home .slide.s3 .eyebrow{background:var(--brand);color:#fff}
.integra-home .car-arrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;padding:0;border-radius:50%;background:rgba(255,255,255,.92);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:20px;color:var(--ink);z-index:3;box-shadow:var(--shadow)}
.integra-home .car-arrow:hover{color:var(--brand-deep)}
.integra-home .car-arrow.prev{left:16px}
.integra-home .car-arrow.next{right:16px}
.integra-home .dots{position:absolute;bottom:16px;left:0;right:0;display:flex;justify-content:center;gap:8px;z-index:3}
.integra-home .dots button{width:9px;height:9px;border-radius:50%;border:0;background:rgba(30,22,17,.28);cursor:pointer;padding:0;transition:.2s}
.integra-home .dots button.on{background:var(--brand);width:22px;border-radius:5px}

/* Hero statica (fallback, se il carosello è vuoto) */
.integra-home .hero{background:linear-gradient(180deg,var(--brand-soft),#fff);padding:46px 0 26px}
.integra-home .hero h1{font-size:clamp(28px,4.4vw,46px);line-height:1.05;letter-spacing:-.02em;margin-bottom:14px}
.integra-home .hero p.sub{color:var(--muted);font-size:16px;margin-bottom:22px;max-width:560px}
.integra-home .search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:14px 18px;box-shadow:var(--shadow);max-width:620px}
.integra-home .search input{border:0;outline:0;font-size:16px;flex:1;background:transparent}
.integra-home .search .ic{color:var(--brand-deep);font-size:18px}
.integra-home .goalcta{display:inline-flex;align-items:center;gap:8px;margin-top:16px;color:var(--brand-deep);font-weight:600;font-size:15px}

/* =========================================================================
 *  BARRA VANTAGGI (USP)
 * ====================================================================== */
.integra-home .usp{border-bottom:1px solid var(--line);background:#fff}
.integra-home .usp .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding:16px 20px}
.integra-home .usp .u{display:flex;align-items:center;gap:12px}
.integra-home .usp .u .i{width:38px;height:38px;border-radius:10px;background:var(--brand-soft);color:var(--brand-deep);display:flex;align-items:center;justify-content:center;font-size:18px;flex:0 0 auto}
.integra-home .usp .u b{display:block;font-size:13.5px}
.integra-home .usp .u span{font-size:12px;color:var(--muted)}

/* =========================================================================
 *  SEZIONI HOME (titoli, obiettivi, marche)
 * ====================================================================== */
.integra-home section{padding:34px 0}
.integra-home .sec-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:18px}
.integra-home .sec-head h2{font-size:22px;letter-spacing:-.01em}
.integra-home .sec-head a{color:var(--brand-deep);font-weight:600;font-size:14px}
.integra-home .sec-sub{color:var(--muted);font-size:14px;line-height:1.55;margin:-6px 0 16px;max-width:680px}

.integra-home .goals{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.integra-home .goal{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:20px;transition:.18s;cursor:pointer}
.integra-home .goal:hover{border-color:var(--brand);box-shadow:var(--shadow);transform:translateY(-2px)}
.integra-home .goal .g-ic{width:42px;height:42px;border-radius:12px;background:var(--brand-soft);display:flex;align-items:center;justify-content:center;font-size:20px;color:var(--brand-deep);margin-bottom:12px}
.integra-home .goal h3{font-size:17px;margin-bottom:2px}
.integra-home .goal span{color:var(--muted);font-size:13px}

.integra-home .brands{display:flex;flex-wrap:wrap;gap:12px}
.integra-home .brand{border:1px solid var(--line);border-radius:12px;padding:14px 22px;font-weight:700;letter-spacing:.04em;color:#33413d;background:#fff;font-size:14px}
.integra-home .brand.more{background:var(--brand-soft);color:var(--brand-deep);border-color:var(--brand)}

/* =========================================================================
 *  GRIGLIA + SCHEDA PRODOTTO (unica, riusata Home/negozio/categoria)
 * ====================================================================== */
.integra-home .grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.integra-home .grid.g3{grid-template-columns:repeat(3,1fr)}
/* Varianti colonne per lo shortcode [integra_products] (solo desktop; sotto 1000px vale la griglia responsive) */
@media(min-width:1001px){
  .integra-home .grid.g2{grid-template-columns:repeat(2,1fr)}
  .integra-home .grid.g4{grid-template-columns:repeat(4,1fr)}
  .integra-home .grid.g5{grid-template-columns:repeat(5,1fr)}
  .integra-home .grid.g6{grid-template-columns:repeat(6,1fr)}
}
.integra-home .card{position:relative;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:14px;transition:.18s;display:block}
.integra-home .card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.integra-home .badge{position:absolute;top:12px;left:12px;background:var(--ink);color:#fff;font-size:11px;font-weight:700;letter-spacing:.05em;padding:4px 8px;border-radius:8px;z-index:2}
.integra-home .badge.sale{background:var(--sale)}
.integra-home .badge.house{background:var(--brand-deep)}
.integra-home .card .wish{position:absolute;top:11px;right:12px;font-size:18px;color:var(--muted);cursor:pointer;line-height:1;z-index:2}
.integra-home .card .wish:hover{color:var(--sale)}
.integra-home .thumb{background:#fff;border-radius:12px;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;margin-bottom:12px;overflow:hidden}
.integra-home .thumb img{width:92%;height:92%;object-fit:contain}
.integra-home .brandname{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.integra-home .ptags{display:flex;gap:6px;margin-bottom:6px;min-height:18px;flex-wrap:wrap}
.integra-home .ptag{font-size:10px;font-weight:800;letter-spacing:.02em;padding:3px 7px;border-radius:6px;color:#fff;text-transform:uppercase}
.integra-home .ptag.veg{background:#3FA34D}
.integra-home .ptag.bio{background:#6B8E23}
.integra-home .ptag.new{background:var(--brand)}
.integra-home .pname{font-size:14px;font-weight:600;margin:2px 0 6px;min-height:38px}
.integra-home .stars{color:#F5B301;font-size:13px;margin-bottom:8px}
.integra-home .stars span{color:var(--muted)}
.integra-home .priceRow{display:flex;align-items:center;justify-content:space-between}
.integra-home .price{font-weight:800;font-size:17px}
.integra-home .add{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:var(--brand);color:#fff;border:0;font-size:20px;font-weight:700;cursor:pointer;line-height:1;text-decoration:none}
.integra-home .add:hover{background:var(--brand-deep);color:#fff}

.integra-home .note{background:var(--brand-soft);border:1px dashed var(--brand);border-radius:14px;padding:16px 18px;color:#33413d;font-size:13px;margin:26px 0 0}

/* =========================================================================
 *  RECENSIONI / LOYALTY / NEWSLETTER (home)
 * ====================================================================== */
.integra-home .reviews{background:var(--brand-soft)}
.integra-home .rev-head{text-align:center;margin-bottom:22px}
.integra-home .rev-head h2{font-size:22px;margin:0 0 6px}
.integra-home .rev-head .tp{color:#00b67a;font-weight:800;font-size:14px}
.integra-home .rev-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.integra-home .rev{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px}
.integra-home .rev .rs{color:#F5B301;margin-bottom:8px}
.integra-home .rev p{font-size:14px;color:#4a3e37;margin:0 0 10px;line-height:1.55}
.integra-home .rev .who{font-size:12px;color:var(--muted);font-weight:600}

.integra-home .loyalty{background:linear-gradient(120deg,#1E1611,#3A2A20);border-radius:var(--radius);padding:26px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#fff;flex-wrap:wrap}
.integra-home .loyalty h3{font-size:22px;margin:0 0 6px}
.integra-home .loyalty p{margin:0;color:#d9c8be;font-size:14px}
.integra-home .loyalty .pts{background:var(--brand);color:#fff;font-weight:800;border-radius:12px;padding:13px 22px;font-size:15px;white-space:nowrap}

.integra-home .news{background:var(--brand);color:#fff;border-radius:var(--radius);padding:32px 28px;text-align:center}
.integra-home .news h3{font-size:24px;margin:0 0 6px}
.integra-home .news p{margin:0 0 18px;opacity:.95}
.integra-home .news form{display:flex;gap:10px;max-width:480px;margin:0 auto}
.integra-home .news input{flex:1;border:0;border-radius:12px;padding:14px 16px;font-size:15px}
.integra-home .news .sub{background:var(--ink);color:#fff;border:0;border-radius:12px;padding:14px 22px;font-weight:800;cursor:pointer}

/* =========================================================================
 *  BREADCRUMB + LAYOUT CATEGORIA (sidebar + main)
 * ====================================================================== */
.integra-home .crumbs{font-size:13px;color:var(--muted);padding:14px 0 2px}
.integra-home .crumbs a{color:var(--muted)}
.integra-home .crumbs a:hover{color:var(--brand-deep)}
.integra-home .crumbs b{color:var(--ink)}

.integra-home .cat-layout{display:grid;grid-template-columns:250px 1fr;gap:30px;padding:10px 0 46px}
.integra-home .side-box{border:1px solid var(--line);border-radius:14px;margin-bottom:18px;background:#fff;overflow:hidden}
.integra-home .side-title{font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.06em;padding:14px 18px 12px;border-bottom:1px solid var(--line);color:var(--ink)}
.integra-home details.side-cat{border-bottom:1px solid var(--line)}
.integra-home details.side-cat:last-child{border-bottom:0}
.integra-home details.side-cat>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:12px 18px;font-size:14px;font-weight:600}
.integra-home details.side-cat>summary::-webkit-details-marker{display:none}
.integra-home details.side-cat>summary .chev{color:var(--muted);font-size:12px;transition:.15s}
.integra-home details.side-cat.active>summary{color:var(--brand-deep)}
.integra-home details.side-cat[open]>summary .chev{transform:rotate(180deg);color:var(--brand-deep)}
.integra-home .sub-list{list-style:none;margin:0;padding:0 0 8px}
.integra-home .sub-list a{display:block;padding:8px 18px 8px 30px;font-size:13.5px;color:var(--muted)}
.integra-home .sub-list a:hover,.integra-home .sub-list a.on{color:var(--brand-deep);background:var(--brand-soft)}
/* Filtro marca: link elenco (stile checkbox list) */
.integra-home .side-check{display:flex;flex-direction:column;padding:6px 0 10px}
.integra-home .side-check label{display:flex;align-items:center;gap:9px;padding:7px 18px;font-size:14px;color:#33413d;cursor:pointer}
.integra-home .side-check input{accent-color:var(--brand);width:16px;height:16px}
.integra-home .side-check label:hover{background:var(--brand-soft)}
.integra-home .brandrow{display:block;padding:8px 18px;font-size:14px;color:#33413d}
.integra-home .brandrow:hover{color:var(--brand-deep);background:var(--brand-soft)}

/* Sottocategorie */
.integra-home .cat-title{font-size:30px;letter-spacing:-.02em;margin:2px 0 18px}
.integra-home .subcats{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin:0 0 26px}
.integra-home .subcat{text-align:center}
.integra-home .subcat .sc-img{aspect-ratio:1/1;border-radius:14px;overflow:hidden;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;margin-bottom:9px;transition:.18s}
.integra-home .subcat:hover .sc-img{border-color:var(--brand);box-shadow:var(--shadow);transform:translateY(-2px)}
.integra-home .subcat .sc-img img{width:90%;height:90%;object-fit:contain}
.integra-home .subcat span{font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:#33413d;line-height:1.25;display:block}

/* Testo SEO categoria */
.integra-home .cat-desc{color:#4a3e37;font-size:15px;line-height:1.62;max-width:900px;margin-bottom:6px}
.integra-home .cat-desc p{margin:0 0 12px}
.integra-home .cat-desc .kw{color:var(--brand-deep);font-weight:600}
.integra-home .cat-desc h2{font-size:19px;margin:18px 0 8px;letter-spacing:-.01em}
.integra-home .cat-desc h3{font-size:16px;margin:14px 0 6px}
.integra-home .rel-cats{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:24px 0 8px;padding-top:18px;border-top:1px solid var(--line)}
.integra-home .rel-cats-label{font-size:13px;font-weight:700;color:var(--muted)}
.integra-home .rel-cats a{border:1px solid var(--line);border-radius:999px;padding:7px 14px;font-size:13px;font-weight:600;color:#33413d;background:#fff}
.integra-home .rel-cats a:hover{border-color:var(--brand);color:var(--brand-deep)}
.integra-home .cat-desc .more{color:var(--brand-deep);font-weight:700;cursor:pointer}

/* Toolbar (ordinamento / conteggio) */
.integra-home .toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:16px 0 22px;flex-wrap:wrap}
.integra-home .result-count{color:var(--muted);font-size:13px}
.integra-home .tools-right{display:flex;gap:10px;align-items:center}
.integra-home .sel{border:1px solid var(--line);border-radius:10px;padding:10px 14px;font-size:14px;background:#fff;color:#33413d;cursor:pointer}

/* =========================================================================
 *  FAQ CATEGORIA
 * ====================================================================== */
.integra-home .faq{border-top:1px solid var(--line);margin-top:40px;padding-top:10px}
.integra-home .faq h2{font-size:23px;margin:22px 0 16px;letter-spacing:-.01em}
.integra-home details.faq-item{border:1px solid var(--line);border-radius:12px;margin-bottom:10px;background:#fff}
.integra-home details.faq-item>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 18px;font-weight:600;font-size:15px}
.integra-home details.faq-item>summary::-webkit-details-marker{display:none}
.integra-home details.faq-item>summary .q-ic{flex:0 0 auto;width:24px;height:24px;border-radius:50%;background:var(--brand-soft);color:var(--brand-deep);display:flex;align-items:center;justify-content:center;font-weight:800;transition:.18s}
.integra-home details.faq-item[open]{border-color:var(--brand)}
.integra-home details.faq-item[open]>summary .q-ic{background:var(--brand);color:#fff;transform:rotate(45deg)}
.integra-home details.faq-item .a{padding:0 18px 16px;color:var(--muted);font-size:14.5px;line-height:1.62}

/* =========================================================================
 *  SCHEDA PRODOTTO (PDP) — stili condivisi con il template WooCommerce
 * ====================================================================== */
.integra-home .pdp-layout{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:12px 0 20px}
.integra-home .gallery .main{aspect-ratio:1/1;background:#fff;border:1px solid var(--line);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;overflow:hidden}
.integra-home .gallery .main img{width:80%;height:80%;object-fit:contain}
.integra-home .gallery .thumbs{display:flex;gap:10px;margin-top:12px}
.integra-home .gallery .thumbs .t{width:72px;height:72px;border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center;cursor:pointer;background:#fff}
.integra-home .gallery .thumbs .t.on{border-color:var(--brand)}
.integra-home .gallery .thumbs .t img{width:80%;height:80%;object-fit:contain}
.integra-home .pdp-info .brandname{margin-bottom:6px}
.integra-home .pdp-info h1{font-size:28px;letter-spacing:-.01em;line-height:1.15;margin:0 0 10px}
.integra-home .pdp-info .stars{margin-bottom:14px}
.integra-home .price-big{font-weight:800;font-size:30px}
.integra-home .price-big .old{color:var(--muted);text-decoration:line-through;font-size:18px;font-weight:600;margin-left:10px}
.integra-home .price-big .save{background:var(--sale);color:#fff;font-size:12px;font-weight:700;border-radius:8px;padding:3px 8px;margin-left:10px;vertical-align:middle}
.integra-home .short{color:var(--muted);font-size:15px;line-height:1.6;margin:14px 0 4px;max-width:520px}
.integra-home .flavors{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.integra-home .flavors .f{border:1px solid var(--line);border-radius:10px;padding:8px 14px;font-size:13px;font-weight:600;cursor:pointer}
.integra-home .flavors .f.on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-deep)}
.integra-home .buyrow{display:flex;gap:12px;align-items:stretch;margin:18px 0 10px}
.integra-home .qty{display:flex;align-items:center;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.integra-home .qty button{width:44px;border:0;background:#fff;font-size:20px;cursor:pointer;color:var(--ink)}
.integra-home .qty input{width:46px;text-align:center;border:0;outline:0;font-size:16px;font-weight:700}
.integra-home .buy{background:var(--brand);color:#fff;border:0;border-radius:12px;padding:14px 26px;font-weight:800;font-size:16px;cursor:pointer;flex:1}
.integra-home .buy:hover{background:var(--brand-deep)}
.integra-home .ship-note{display:flex;gap:10px;align-items:center;background:var(--brand-soft);border-radius:12px;padding:12px 14px;font-size:13px;color:#33413d;margin-top:6px}
.integra-home .trust{display:flex;gap:20px;flex-wrap:wrap;margin-top:16px;color:var(--muted);font-size:13px}
.integra-home .pdp-acc{margin:8px 0 0}
.integra-home details.acc{border-top:1px solid var(--line)}
.integra-home details.acc:last-child{border-bottom:1px solid var(--line)}
.integra-home details.acc>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:16px 2px;font-weight:700;font-size:15px}
.integra-home details.acc>summary::-webkit-details-marker{display:none}
.integra-home details.acc>summary .q-ic{color:var(--brand-deep);font-size:18px;transition:.15s}
.integra-home details.acc[open]>summary .q-ic{transform:rotate(45deg)}
.integra-home details.acc .a{padding:0 2px 16px;color:var(--muted);font-size:14.5px;line-height:1.62}

/* =========================================================================
 *  FOOTER RICCO
 * ====================================================================== */
.integra-home .foot{background:var(--ink);color:#cbb9ad;margin-top:44px}
.integra-home .foot .cols{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:28px;padding:42px 20px}
.integra-home .foot h4{color:#fff;font-size:14px;margin:0 0 12px}
.integra-home .foot a{display:block;color:#cbb9ad;font-size:13.5px;padding:5px 0}
.integra-home .foot a:hover{color:#fff}
.integra-home .foot .flogo{font-weight:800;font-size:22px;color:#fff;margin-bottom:10px}
.integra-home .foot .flogo b{color:var(--brand)}
.integra-home .foot .fabout{font-size:13px;line-height:1.6;max-width:320px}
.integra-home .foot .pay{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.integra-home .foot .pay span{background:#2a2019;border:1px solid #3a2e25;border-radius:6px;padding:5px 9px;font-size:11px;color:#e7d9cf}
.integra-home .foot .fbar{border-top:1px solid #2a2019;padding:16px 20px;font-size:12px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}

/* =========================================================================
 *  TABBAR MOBILE (barra inferiore globale)
 * ====================================================================== */
.integra-tabbar{display:none;position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--line);justify-content:space-around;padding:8px 0;z-index:9999}
.integra-tabbar a{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;color:var(--muted);text-decoration:none}
.integra-tabbar a .t-ic{font-size:18px}
.integra-tabbar a.active{color:var(--brand-deep)}

/* =========================================================================
 *  INTEGRAZIONE ASTRA + WOOCOMMERCE
 *  - Nasconde header/footer di Astra (li sostituisce il chrome Integra).
 *  - Neutralizza il container Astra sulle pagine negozio (lo controlla .wrap).
 *  - Griglia negozio a 3 colonne dentro il layout con sidebar.
 *  - Branding pulsanti/prezzi WooCommerce con la palette arancione.
 * ====================================================================== */
#masthead,.site-header,#colophon,.site-footer,.ast-mobile-header-wrap{display:none !important}

/* Il container Astra è flex-column: lo riporto a block così il nostro .wrap si CENTRA (margin:auto) */
.woocommerce #content .ast-container,
.woocommerce-page #content .ast-container{display:block !important;max-width:100% !important;padding-left:0 !important;padding-right:0 !important}
.woocommerce #primary,.woocommerce-page #primary{max-width:100% !important;width:100% !important;padding:0 !important;margin:0 !important;float:none !important}
.integra-shop .wrap{margin-left:auto !important;margin-right:auto !important}

/* Griglia negozio con schede Integra — !important per battere la specificità di Astra (.ast-container .woocommerce ul.products) */
.integra-shop ul.products{display:grid !important;width:100% !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:16px !important;margin:0 !important;padding:0 !important;list-style:none}
.integra-shop ul.products::before,.integra-shop ul.products::after{content:none !important;display:none !important}
.integra-shop ul.products li.product{width:auto !important;margin:0 !important;float:none !important;list-style:none;padding:0}
.integra-shop ul.products li.product::before{display:none}
/* Prodotti correlati (PDP, senza sidebar): 4 colonne a tutta larghezza */
.integra-home .integra-pdp .related.products ul.products{grid-template-columns:repeat(4,1fr) !important}
/* La colonna info della PDP non deve prendere il width:46%/float di WooCommerce */
.integra-home .pdp-info{width:auto !important;float:none !important}
.integra-home .gallery .woocommerce-product-gallery{float:none !important}

/* Titolo pagina negozio/archivio → stile cat-title */
.integra-shop .woocommerce-products-header__title,
.integra-shop h1.entry-title,
.integra-shop .woocommerce-products-header{margin:2px 0 14px}
.integra-shop .woocommerce-products-header__title,
.integra-shop h1.entry-title{font-size:30px;letter-spacing:-.02em}

/* Breadcrumb WooCommerce → stile crumbs */
.integra-shop .woocommerce-breadcrumb{font-size:13px;color:var(--muted);margin:0 0 6px}
.integra-shop .woocommerce-breadcrumb a{color:var(--muted)}
.integra-shop .woocommerce-breadcrumb a:hover{color:var(--brand-deep)}

/* Ordinamento + conteggio risultati → stile toolbar */
.integra-shop .woocommerce-result-count{color:var(--muted);font-size:13px}
.integra-shop .woocommerce-ordering select,
.integra-shop select.orderby{border:1px solid var(--line);border-radius:10px;padding:9px 12px;font-size:14px;background:#fff;color:#33413d}

/* Branding pulsanti / prezzi WooCommerce */
.woocommerce .button,.woocommerce a.button,.woocommerce button.button,.woocommerce #respond input#submit,
.woocommerce-page .button,.woocommerce-page a.button{background:var(--brand) !important;color:#fff !important;border-radius:10px !important;font-weight:700}
.woocommerce .button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--brand-deep) !important}
.woocommerce span.price,.woocommerce div.product p.price,.woocommerce ul.products li.product .price{color:var(--ink) !important;font-weight:800}
.woocommerce .woocommerce-message,.woocommerce .woocommerce-info,.woocommerce .woocommerce-noreviews{border-top-color:var(--brand) !important}
.woocommerce .star-rating span{color:#F5B301}

/* ---- PDP: componenti nativi WooCommerce mappati al look del blueprint ---- */
.integra-home .integra-pdp .pdp-layout{margin-top:8px}
.integra-home .gallery{position:relative}
.integra-home .gallery .onsale{position:absolute;top:12px;left:12px;background:var(--sale);color:#fff;font-size:12px;font-weight:800;border-radius:8px;padding:4px 10px;margin:0;min-height:0;min-width:0;line-height:1.4;z-index:2}
.integra-home .gallery .woocommerce-product-gallery{width:100% !important;margin:0}
.integra-home .gallery .woocommerce-product-gallery__wrapper{margin:0}
.integra-home .gallery .woocommerce-product-gallery__image a{display:block;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.integra-home .pdp-info h1.product_title{font-size:28px;letter-spacing:-.01em;line-height:1.15;margin:0 0 10px}
.integra-home .pdp-info .woocommerce-product-rating{margin:0 0 14px;display:flex;align-items:center;gap:8px}
.integra-home .pdp-info .woocommerce-product-rating .woocommerce-review-link{color:var(--muted);font-size:13px}
.integra-home .pdp-info p.price{font-weight:800;font-size:30px;color:var(--ink);margin:0 0 4px}
.integra-home .pdp-info p.price del{color:var(--muted);font-weight:600;font-size:18px;margin-left:8px;opacity:1}
.integra-home .pdp-info p.price ins{text-decoration:none;background:transparent}
.integra-home .pdp-info .woocommerce-product-details__short-description{color:var(--muted);font-size:15px;line-height:1.6;margin:6px 0 4px;max-width:520px}
.integra-home .pdp-info form.cart{display:flex;gap:12px;align-items:stretch;margin:18px 0 10px;flex-wrap:wrap}
.integra-home .pdp-info form.cart .quantity{display:flex;align-items:center;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.integra-home .pdp-info form.cart .quantity input.qty{width:64px;text-align:center;border:0;outline:0;font-size:16px;font-weight:700;padding:12px 4px;background:#fff}
.integra-home .pdp-info form.cart button.single_add_to_cart_button{background:var(--brand) !important;color:#fff !important;border:0 !important;border-radius:12px !important;padding:14px 26px !important;font-weight:800;font-size:16px;cursor:pointer;flex:1}
.integra-home .pdp-info form.cart button.single_add_to_cart_button:hover{background:var(--brand-deep) !important}
.integra-home .pdp-info .variations select{border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:14px;background:#fff;margin:4px 0}
.integra-home .integra-pdp .related.products{border-top:1px solid var(--line);margin-top:36px;padding-top:8px}
.integra-home .integra-pdp .related.products>h2{font-size:22px;letter-spacing:-.01em;margin:22px 0 16px}
.integra-home .pdp-info .stars-empty{color:#d9cfc7}
.integra-home .pdp-info .stars-empty span{color:var(--muted);font-size:13px}
.integra-home .pdp-info .price-big{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:2px 0 4px}
.integra-home .pdp-info .price-big p.price{margin:0}
.integra-home .pdp-info .price-big .save{background:var(--sale);color:#fff;font-size:12px;font-weight:800;border-radius:8px;padding:4px 9px}
.integra-home .pdp-info .flavors-label{font-size:13px;font-weight:700;color:var(--ink);margin:14px 0 6px}

/* ---- Cross-sell al checkout ("Completa il tuo ordine") ---- */
.checkout-xsell{margin:18px 0 24px;padding:16px 0;border-top:1px solid var(--line, #F0E7E1)}
.checkout-xsell h3{font-size:16px;margin:0 0 12px;color:#1E1611}
.checkout-xsell .xsell-list{display:flex;flex-direction:column;gap:10px}
.checkout-xsell .xsell{display:flex;align-items:center;gap:12px}
.checkout-xsell .xs-thumb{flex:0 0 auto;width:54px;height:54px;border:1px solid #F0E7E1;border-radius:10px;overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center}
.checkout-xsell .xs-thumb img{width:90%;height:90%;object-fit:contain}
.checkout-xsell .xs-info{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.checkout-xsell .xs-name{font-size:13.5px;font-weight:600;color:#1E1611;line-height:1.3}
.checkout-xsell .xs-price{font-size:13px;font-weight:800;color:#1E1611}
.checkout-xsell .xs-add{flex:0 0 auto;background:#FF6A2C;color:#fff;border-radius:9px;padding:8px 14px;font-weight:800;font-size:13px;white-space:nowrap}
.checkout-xsell .xs-add:hover{background:#C2410C}

/* =========================================================================
 *  RESPONSIVE
 * ====================================================================== */
@media(max-width:1000px){
  .integra-home .grid{grid-template-columns:repeat(2,1fr)}
  .integra-home .grid.g3{grid-template-columns:repeat(2,1fr)}
  .integra-shop ul.products,.integra-home .integra-pdp .related.products ul.products{grid-template-columns:repeat(2,1fr) !important}
}
@media(max-width:900px){
  .integra-home{padding-bottom:74px}
  body.woocommerce,body.woocommerce-page{padding-bottom:74px}
  .integra-home .hamb{display:block}
  .integra-tabbar{display:flex}
  /* Topbar: la ricerca scende a tutta larghezza (resta in evidenza su mobile) */
  .integra-home .topbar{flex-wrap:wrap;height:auto;padding:12px 0}
  .integra-home .hsearch{display:flex;order:5;flex-basis:100%;max-width:none;margin:10px 0 0}
  /* Menu: chiuso di default, l'hamburger lo apre in verticale */
  .integra-home .navrow{display:none}
  .integra-home .navrow.open{display:block}
  .integra-home .navrow.open .wrap{height:auto;flex-direction:column;align-items:stretch;padding:4px 20px 10px}
  .integra-home .navrow .topnav{flex-direction:column;gap:0;width:100%}
  .integra-home .navrow .topnav a{padding:12px 2px;border-bottom:1px solid var(--line)}
  /* Frecce carosello nascoste su mobile (restano i dots): non coprono testo/CTA */
  .integra-home .car-arrow{display:none}
  .integra-home .goals{grid-template-columns:repeat(2,1fr)}
  .integra-home .cat-layout{grid-template-columns:1fr;gap:14px}
  .integra-home .subcats{grid-template-columns:repeat(3,1fr)}
  .integra-home .cat-title{font-size:24px}
  .integra-home .pdp-layout{grid-template-columns:1fr;gap:22px}
  .integra-home .slide .pic{display:none}
  .integra-home .slide .inner{min-height:240px;padding:26px 20px}
  .integra-home .usp .wrap{grid-template-columns:repeat(2,1fr)}
  .integra-home .rev-grid{grid-template-columns:1fr}
  .integra-home .foot .cols{grid-template-columns:1fr 1fr}
  .integra-home .hero h1{font-size:29px}
}
@media(max-width:560px){
  .integra-home .goals{grid-template-columns:repeat(2,1fr)}
  .integra-home .grid{grid-template-columns:repeat(2,1fr)}
  .integra-shop ul.products,.integra-home .integra-pdp .related.products ul.products{grid-template-columns:repeat(2,1fr) !important}
  .integra-home .subcats{grid-template-columns:repeat(2,1fr)}
  .integra-home .usp .wrap{grid-template-columns:1fr}
  .integra-home .news form{flex-direction:column}
  .integra-home .foot .cols{grid-template-columns:1fr}
}

/* =========================================================================
 *  WOW — rifiniture grafiche front-end (tipografia, animazioni, hover)
 *  Additivo: non tocca la struttura, solo l'effetto "premium".
 * ====================================================================== */

/* Tipografia premium: Poppins per i titoli, Inter per il testo */
.integra-home{font-family:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.005em}
.integra-home h1,.integra-home h2,.integra-home h3,.integra-home h4,
.integra-home .logo,.integra-home .flogo,.integra-home .slide h2,.integra-home .hero h1,
.integra-home .price,.integra-home .price-big,.integra-home .pdp-info p.price,
.integra-home .cat-title,.integra-home .woocommerce-products-header__title,
.integra-home h1.product_title,.integra-home .loyalty h3,.integra-home .news h3,
.integra-home .rev-head h2{font-family:'Poppins','Inter',sans-serif}

/* Scroll-reveal — attivo SOLO quando il JS abilita html.integra-reveal (senza JS: contenuto sempre visibile) */
.integra-reveal .integra-home .reveal{opacity:0;transform:translateY(22px);transition:opacity .6s cubic-bezier(.22,.61,.36,1),transform .6s cubic-bezier(.22,.61,.36,1);transition-delay:var(--d,0ms);will-change:opacity,transform}
.integra-reveal .integra-home .reveal.in{opacity:1;transform:none}

/* Card prodotto: hover con lift + zoom morbido dell'immagine */
.integra-home .card{transition:transform .24s cubic-bezier(.22,.61,.36,1),box-shadow .24s cubic-bezier(.22,.61,.36,1)}
.integra-home .card:hover{transform:translateY(-5px);box-shadow:0 18px 42px rgba(30,22,17,.15);border-color:#FFE0CE}
.integra-home .card .thumb{overflow:hidden}
.integra-home .card .thumb img{transition:transform .5s cubic-bezier(.22,.61,.36,1)}
.integra-home .card:hover .thumb img{transform:scale(1.07)}
.integra-home .card .wish{transition:transform .15s,color .15s}
.integra-home .card:hover .wish{transform:scale(1.15)}
.integra-home .badge{box-shadow:0 4px 12px rgba(30,22,17,.18)}

/* Pulsante "+" e CTA: micro-interazioni */
.integra-home .add{transition:background .18s,transform .12s,box-shadow .18s;box-shadow:0 4px 12px rgba(255,106,44,.28)}
.integra-home .add:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(255,106,44,.38)}
.integra-home .add:active{transform:scale(.88)}
.integra-home .slide .cta,.integra-home .buy,.integra-home .news .sub,.integra-home .pts,
.integra-home .pdp-info form.cart button.single_add_to_cart_button{
  background-image:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,0));
  box-shadow:0 8px 22px rgba(255,106,44,.28);transition:transform .18s,box-shadow .18s,background-color .18s}
.integra-home .slide .cta:hover,.integra-home .buy:hover,
.integra-home .pdp-info form.cart button.single_add_to_cart_button:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(194,65,12,.34)}

/* Header sticky che si condensa allo scroll */
.integra-home header.site{transition:box-shadow .25s,background-color .25s}
.integra-home header.site.scrolled{box-shadow:0 6px 24px rgba(30,22,17,.08);background:rgba(255,255,255,.97)}

/* Hero carosello: immagine che "fluttua", gradienti più ricchi */
@media (prefers-reduced-motion: no-preference){
  .integra-home .slide .pic img{animation:integraFloat 5.5s ease-in-out infinite}
  @keyframes integraFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
}
.integra-home .slide.s1{background:radial-gradient(1200px 400px at 80% -20%,rgba(255,106,44,.18),transparent),linear-gradient(120deg,var(--brand-soft),#fff)}
.integra-home .slide.s3{background:radial-gradient(900px 500px at 85% 10%,rgba(255,106,44,.25),transparent),linear-gradient(120deg,#1E1611,#3A2A20)}
.integra-home .dots button.on{box-shadow:0 0 0 3px rgba(255,106,44,.18)}
.integra-home .car-arrow{transition:transform .18s,color .18s,box-shadow .18s}
.integra-home .car-arrow:hover{transform:translateY(-50%) scale(1.08)}

/* USP: icone con gradiente e micro-hover */
.integra-home .usp .u .i{background:linear-gradient(135deg,#FFE7D6,#FFF1E9);box-shadow:inset 0 0 0 1px rgba(255,106,44,.12);transition:transform .2s}
.integra-home .usp .u:hover .i{transform:translateY(-2px) scale(1.06)}

/* Goal card, sottocategorie, recensioni: hover coerente */
.integra-home .goal{transition:transform .22s cubic-bezier(.22,.61,.36,1),box-shadow .22s,border-color .22s}
.integra-home .goal:hover .g-ic{transform:scale(1.08)}
.integra-home .goal .g-ic{transition:transform .22s}
.integra-home .subcat .sc-img{transition:transform .22s,box-shadow .22s,border-color .22s}
.integra-home .rev{transition:transform .22s,box-shadow .22s}
.integra-home .rev:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.integra-home .brand{transition:transform .18s,border-color .18s,color .18s}
.integra-home .brand:hover{transform:translateY(-2px);border-color:var(--brand);color:var(--brand-deep)}

/* Loyalty & Newsletter: profondità + luce */
.integra-home .loyalty{box-shadow:0 20px 50px rgba(30,22,17,.22);position:relative;overflow:hidden}
.integra-home .loyalty::after{content:"";position:absolute;top:-60%;right:-10%;width:340px;height:340px;background:radial-gradient(circle,rgba(255,106,44,.30),transparent 60%);pointer-events:none}
.integra-home .news{box-shadow:0 20px 50px rgba(255,106,44,.28);position:relative;overflow:hidden}
.integra-home .news::after{content:"";position:absolute;bottom:-70%;left:-5%;width:360px;height:360px;background:radial-gradient(circle,rgba(255,255,255,.22),transparent 60%);pointer-events:none}
.integra-home .news h3,.integra-home .news p,.integra-home .news form{position:relative;z-index:1}

/* Sezione titoli: piccola barra-accento sotto gli H2 */
.integra-home .sec-head h2{position:relative;padding-bottom:2px}

/* Rifinitura link CTA header */
.integra-home .navrow .topnav a{transition:color .15s}

/* =========================================================================
 *  WOW 2 — effetti avanzati (da analisi design). Additivo e sicuro.
 * ====================================================================== */

/* Transizioni di pagina "app-native" (Chrome/Edge; Safari: fallback nessuno) */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.28s}

/* Riflesso (shine) che spazza le CTA al hover + press tattile */
.integra-home .slide .cta,.integra-home .buy,.integra-home .news .sub,.integra-home .pts,
.integra-home .pdp-info form.cart button.single_add_to_cart_button{position:relative;overflow:hidden}
.integra-home .slide .cta::after,.integra-home .buy::after,.integra-home .news .sub::after,.integra-home .pts::after,
.integra-home .pdp-info form.cart button.single_add_to_cart_button::after{content:"";position:absolute;top:0;left:-120%;width:60%;height:100%;background:linear-gradient(120deg,transparent,rgba(255,255,255,.45),transparent);transform:skewX(-20deg);pointer-events:none}
.integra-home .slide .cta:hover::after,.integra-home .buy:hover::after,.integra-home .news .sub:hover::after,.integra-home .pts:hover::after,
.integra-home .pdp-info form.cart button.single_add_to_cart_button:hover::after{animation:integraShine .8s ease}
@keyframes integraShine{to{left:130%}}
.integra-home .buy:active,.integra-home .slide .cta:active,
.integra-home .pdp-info form.cart button.single_add_to_cart_button:active{transform:translateY(1px) scale(.98)}

/* Parola chiave in gradiente arancione nei titoli */
.integra-home .hl{background:linear-gradient(100deg,var(--brand),var(--brand-deep));-webkit-background-clip:text;background-clip:text;color:transparent}
.integra-home .price,.integra-home .price-big,.integra-home .pdp-info p.price{font-variant-numeric:tabular-nums}

/* Ricerca header: anello di focus + icona reattiva; focus-visible accessibile */
.integra-home .hsearch{transition:box-shadow .25s,border-color .2s,transform .2s}
.integra-home .hsearch:focus-within{box-shadow:0 0 0 4px rgba(255,106,44,.14);transform:translateY(-1px)}
.integra-home .hsearch .ic{transition:transform .2s,color .2s}
.integra-home .hsearch:focus-within .ic{transform:scale(1.12);color:var(--brand)}
.integra-home :focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:6px}

/* Underline animato sotto le voci di menu */
.integra-home .navrow .topnav a{position:relative}
.integra-home .navrow .topnav a::after{content:"";position:absolute;left:0;bottom:-2px;height:2px;width:0;background:var(--brand);transition:width .2s}
.integra-home .navrow .topnav a:hover::after{width:100%}

/* Header che si CONDENSA allo scroll (desktop): la riga menu collassa */
@media(min-width:901px){
  .integra-home header.site .topbar{transition:height .28s cubic-bezier(.22,.61,.36,1)}
  .integra-home header.site.scrolled .topbar{height:58px}
  .integra-home header.site .navrow{transition:max-height .3s cubic-bezier(.22,.61,.36,1),opacity .25s;max-height:52px;overflow:hidden}
  .integra-home header.site.scrolled .navrow{max-height:0;opacity:0;border-top-color:transparent}
}
