/*
Theme Name: ePRICE Verticali
Theme URI: https://home-verticali.eprice.it/vertical/
Author: TechMedia Group
Description: Tema per i verticali ePRICE (Emporio HOME). Prodotti live da Typesense ePRICE con cache lato server. Template fissi a 3 livelli: home1 (home verticale), home2 (Arredamento), home3 (Divani e Poltrone). Header e footer statici di eprice.it, come Magazine e Marketplace.
Version: 1.2.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: eprice-verticali
*/

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:#fff;color:#1F2329;font-family:-apple-system,system-ui,Inter,Roboto,'Helvetica Neue',Arial,sans-serif;-webkit-font-smoothing:antialiased}
img{max-width:100%}
a{color:#1F2329}
a:hover{color:#000}
button{font-family:inherit}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- Header ePRICE (copia statica) ---------- */
.ep-header{background:#2B3139;color:#fff;width:100%}
.ep-header__top{display:flex;align-items:center;gap:24px;padding:18px 24px;flex-wrap:wrap}
.ep-header__logo{display:flex;flex:0 0 auto}
.ep-search{display:flex;flex:1 1 380px;max-width:760px;height:40px;margin:0 auto 0 0;border-radius:3px;overflow:hidden;background:#fff;position:relative}
.ep-search__mic{display:flex;align-items:center;padding:0 0 0 12px}
.ep-search input{flex:1;min-width:0;border:0;outline:none;font-size:14px;padding:10px 12px;color:#000;background:#fff;font-family:inherit}
.ep-search button{width:80px;border:0;background:#FDBF14;display:flex;align-items:center;justify-content:center;cursor:pointer}
.ep-header__user{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.ep-header__account{display:flex;align-items:center;gap:10px;padding:8px 10px;font-size:16px;font-weight:600}
.ep-header__account a,.ep-header a.ep-header__icon{color:#fff;text-decoration:none}
.ep-header__icon{display:flex;padding:8px}
.ep-nav{display:flex;align-items:center;background:#000;min-height:35px;padding:0 16px}
.ep-nav__all{display:flex;align-items:center;gap:10px;padding:8px 24px 8px 8px;color:#fff!important;font-size:14px;text-decoration:none;border-right:1px solid #3A4048;flex:0 0 auto}
.ep-nav__list{display:flex;gap:28px;padding:0 24px;overflow:hidden;white-space:nowrap;flex:1 1 auto;min-width:0}
.ep-nav__list a{color:#fff;font-size:14px;text-decoration:none;padding:8px 0}
.ep-nav__offers{display:flex;align-items:center;gap:6px;background:#FDBF14;color:#2B3139!important;font-size:13px;font-weight:700;text-decoration:none;padding:5px 14px;border-radius:999px;flex:0 0 auto}

/* ---------- Footer ePRICE (copia statica) ---------- */
.ep-footer{background:#2B3139;color:#fff;width:100%}
.ep-footer a{color:#fff;text-decoration:none}
.ep-footer__inner{max-width:1280px;margin:0 auto;padding:24px 24px 28px;display:flex;flex-direction:column;gap:24px}
.ep-footer__row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.ep-footer__row--top{padding-bottom:20px;border-bottom:1px solid #424952}
.ep-footer__row--app{padding:18px 0;border-top:1px solid #424952;border-bottom:1px solid #424952}
.ep-footer__social{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ep-footer__label{font-size:14px;font-weight:600}
.ep-footer__pill{font-size:13px;border:1px solid #5A616B;border-radius:999px;padding:6px 12px}
.ep-footer__btn{font-size:13px;font-weight:600;border:1px solid #8A9099;border-radius:6px;padding:8px 14px}
.ep-footer__cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:24px}
.ep-footer__cols ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.ep-footer__cols a{font-size:14px}
.ep-footer__reviews{display:flex;align-items:center;gap:10px}
.ep-footer__score{font-size:20px;font-weight:800}
.ep-footer__stars{display:flex;gap:2px}
.ep-footer__muted{font-size:14px;color:#C9CDD2}
.ep-footer__pay{display:flex;gap:8px;flex-wrap:wrap}
.ep-footer__pay span{background:#fff;color:#2B3139;font-size:12px;font-weight:700;border-radius:4px;padding:6px 10px}
.ep-footer__legal{display:flex;flex-direction:column;gap:8px;font-size:12px;line-height:1.6;color:#C9CDD2}
.ep-footer__legal p{margin:0}
.ep-footer__legal a{color:#C9CDD2;text-decoration:underline}

/* ---------- Layout verticale ---------- */
.epv-main{max-width:1440px;margin:0 auto;font-family:'Figtree',-apple-system,system-ui,sans-serif;display:flex;flex-direction:column}
.epv-wrap{padding:28px 40px 56px;display:flex;flex-direction:column;gap:34px}
.epv-wrap--home{padding:0 48px 40px;gap:36px}
.epv-hero{display:block}
.epv-hero img{display:block;width:100%;height:auto}
.epv-banner{display:block;border-radius:10px;overflow:hidden}
.epv-banner img{display:block;width:100%;height:auto}
.epv-crumbs{font-size:14px;display:flex;align-items:center;gap:10px;padding:14px 40px;flex-wrap:wrap}
.epv-crumbs a{text-decoration:none}
.epv-section{display:flex;flex-direction:column;gap:14px}
.epv-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.epv-head--end{align-items:flex-end}
.epv-head__titles{display:flex;flex-direction:column;gap:4px}
.epv-h2{margin:0;font-size:28px;font-weight:700}
.epv-h2--caps{font-size:22px;font-weight:800;text-transform:uppercase;letter-spacing:.01em;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.epv-h2--xl{font-size:30px;color:#1F2D44}
.epv-sub{font-size:16px;color:#3C4A5C}
.epv-more{font-size:14px;font-weight:600;text-decoration:none}
.epv-more--light{font-size:15px;font-weight:500;color:#1F2D44}
.epv-badge-sponsor{font-size:12px;font-weight:700;letter-spacing:.04em;background:#FDE7A6;color:#6B4E00;border-radius:999px;padding:4px 12px}
.epv-grid{display:grid;gap:16px}

/* Carousel (statico, frecce decorative) */
.epv-carousel{position:relative;display:flex;align-items:center}
.epv-carousel__track{flex:1 1 auto;min-width:0;display:grid;gap:18px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.epv-arrow{position:absolute;z-index:2;width:48px;height:48px;border-radius:50%;border:0;background:#fff;box-shadow:0 2px 10px rgba(20,24,30,.18);display:flex;align-items:center;justify-content:center;cursor:pointer}
.epv-arrow--prev{left:-22px}
.epv-arrow--next{right:-22px}
.epv-arrow--plain{background:transparent;box-shadow:none;width:44px;height:44px}
.epv-arrow--plain.epv-arrow--prev{left:-44px}
.epv-arrow--plain.epv-arrow--next{right:-44px}

/* Cuore preferiti */
.epv-fav{position:absolute;top:8px;right:8px;width:40px;height:40px;border:0;background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer}

/* Prezzi */
.epv-price{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;white-space:nowrap}
.epv-price__now{font-size:20px;font-weight:700}
.epv-price__old{font-size:13px;color:#6B7280;text-decoration:line-through}
.epv-price__disc{background:#FDC22E;font-size:12px;font-weight:700;padding:2px 6px;border-radius:3px}
.epv-price__disc--red{background:none;color:#D61F2C;font-size:15px;margin-left:auto;padding:0}

/* Stelle */
.epv-stars{display:flex;align-items:center;gap:6px;font-size:13px;color:#6B7280}
.epv-stars__bar{position:relative;display:inline-block;font-size:15px;letter-spacing:1px;color:#D9DCE0}
.epv-stars__fill{position:absolute;left:0;top:0;overflow:hidden;white-space:nowrap;color:#F5B400}

/* ---------- home1: Home verticale ---------- */
.epv-brands-row{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));align-items:center;padding-bottom:22px;border-bottom:1px solid #ECEDEF}
.epv-brands-row a{display:flex;align-items:center;justify-content:center;height:64px}
.epv-brands-row img{max-height:52px;object-fit:contain}
.epv-worlds{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px}
.epv-world{display:flex;flex-direction:column;background:#F5F6F7;border-radius:6px;overflow:hidden;text-decoration:none;color:#1F2D44}
.epv-world img{display:block;width:100%;height:210px;object-fit:cover}
.epv-world__body{display:flex;flex-direction:column;gap:8px;padding:16px 16px 18px;flex:1 1 auto}
.epv-world__title{font-size:15px;font-weight:800;text-transform:uppercase;letter-spacing:.02em}
.epv-world__text{font-size:13px;line-height:1.45;color:#5B6472;min-height:38px}
.epv-world__arrow{font-size:20px;font-weight:600;margin-top:4px}
.epv-offer{position:relative;display:flex;flex-direction:column;gap:4px;background:#fff;border:1px solid #ECEDEF;border-radius:8px;padding:16px 18px 18px;box-shadow:0 1px 3px rgba(20,24,30,.05);text-decoration:none}
.epv-offer img{width:100%;height:190px;object-fit:contain}
.epv-offer__brand{font-size:17px;font-weight:700;margin-top:12px}
.epv-offer__name{font-size:15px;line-height:1.35;color:#3C4A5C;min-height:40px}
.epv-offer .epv-price{margin-top:10px;align-items:baseline;gap:8px}
.epv-offer .epv-price__now{font-size:20px;font-weight:800}
.epv-bestrank{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.epv-rankcard{position:relative;display:flex;gap:14px;align-items:center;background:#fff;border:1px solid #ECEDEF;border-radius:8px;padding:18px 14px 14px;text-decoration:none;color:#1F2329;box-shadow:0 1px 3px rgba(20,24,30,.05)}
.epv-rankcard__n{position:absolute;top:8px;left:8px;width:26px;height:26px;border-radius:50%;background:#FDC22E;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800}
.epv-rankcard img{width:104px;height:110px;object-fit:contain;flex:0 0 auto}
.epv-rankcard__body{display:flex;flex-direction:column;gap:4px;min-width:0}
.epv-rankcard__brand{font-size:15px;font-weight:700}
.epv-rankcard__name{font-size:14px;line-height:1.35;color:#3C4A5C}
.epv-rankcard__price{font-size:19px;font-weight:800;margin-top:8px}
.epv-rankcard__rev{font-size:13px;color:#4B5563}
.epv-advice{background:#F6F7F8;padding:26px 48px 32px;display:flex;flex-direction:column;gap:16px}
.epv-advice .epv-h2{font-size:26px;font-weight:800;color:#1F3B6E}
.epv-advice__more{font-size:14px;font-weight:600;color:#1F3B6E}
.epv-advice__grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.epv-advcard{display:flex;flex-direction:column;background:#fff;border-radius:6px;overflow:hidden;text-decoration:none;color:#1F2329;box-shadow:0 1px 3px rgba(20,24,30,.06)}
.epv-advcard img{display:block;width:100%;height:128px;object-fit:cover}
.epv-advcard__body{display:flex;flex-direction:column;gap:4px;padding:12px 14px 14px}
.epv-advcard__title{font-size:14px;font-weight:700;line-height:1.3}
.epv-advcard__text{font-size:13px;color:#5B6472}
.epv-advcard__cta{font-size:13px;font-weight:600;margin-top:8px}
.epv-promo-wrap{padding:28px 48px 0}
.epv-promo{background:#141B2D;border-radius:8px;padding:22px 40px;display:flex;align-items:center;gap:40px;flex-wrap:wrap;color:#fff}
.epv-promo__title{display:flex;flex-direction:column;font-size:36px;font-weight:800;line-height:1.05;letter-spacing:.01em}
.epv-promo__title span{color:#FDC22E}
.epv-promo__text{font-size:22px;line-height:1.35;flex:1 1 260px}
.epv-promo__cta{background:#FDC22E;color:#1F2329!important;font-size:15px;font-weight:800;text-decoration:none;padding:14px 36px;border-radius:4px;letter-spacing:.02em}
.epv-services{margin:16px 48px 36px;padding:18px 40px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px;align-items:center;border-radius:8px;background:#fff;box-shadow:0 1px 4px rgba(20,24,30,.06)}
.epv-services div{display:flex;align-items:center;gap:16px;font-size:15px;line-height:1.4;color:#3C4A5C}

/* ---------- home2: Arredamento ---------- */
.epv-brandtiles{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}
.epv-brandtiles a{display:flex;align-items:center;justify-content:center;height:96px;background:#fff;border:1px solid #ECEDEF;border-radius:10px;box-shadow:0 1px 4px rgba(20,24,30,.06)}
.epv-brandtiles img{max-width:82%;max-height:64px;object-fit:contain}
.epv-cattiles{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:18px}
.epv-cattile{display:flex;flex-direction:column;align-items:center;gap:14px;height:218px;padding:14px 10px 18px;background:#F4F4F5;border-radius:10px;text-decoration:none;color:#1F2329;box-shadow:0 1px 3px rgba(20,24,30,.05)}
.epv-cattile img{width:100%;height:126px;object-fit:contain;mix-blend-mode:multiply}
.epv-cattile span{font-size:16px;font-weight:600;line-height:1.25;text-align:center;flex:1 1 auto;display:flex;align-items:center}
.epv-photo{display:block;border-radius:8px;overflow:hidden}
.epv-photo img{display:block;width:100%;height:186px;object-fit:cover}
.epv-card{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid #ECEDEF;border-radius:8px;overflow:hidden;box-shadow:0 1px 4px rgba(20,24,30,.06)}
.epv-card__img{display:flex;justify-content:center;background:#F6F6F6;padding:14px 18px}
.epv-card__img img{width:100%;height:170px;object-fit:contain;mix-blend-mode:multiply}
.epv-card__body{display:flex;flex-direction:column;gap:8px;padding:14px 16px 16px}
.epv-card__name{font-size:15px;text-decoration:none}
.epv-card .epv-price__now{font-size:18px}
.epv-tips{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
.epv-tip{position:relative;display:block;height:284px;border-radius:8px;overflow:hidden;text-decoration:none;background:#3A332D}
.epv-tip img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center}
.epv-tip::after{content:"";position:absolute;left:0;right:0;bottom:0;height:120px;background:linear-gradient(180deg,rgba(36,30,26,0) 0%,rgba(36,30,26,.82) 45%,rgba(36,30,26,.92) 100%)}
.epv-tip__text{position:absolute;z-index:1;left:18px;right:14px;bottom:18px;display:flex;flex-direction:column;gap:6px;color:#fff}
.epv-tip__title{font-size:21px;font-weight:700;line-height:1.2}
.epv-tip__sub{font-size:15px}

/* ---------- home3: Divani e Poltrone ---------- */
.epv-split{display:grid;grid-template-columns:repeat(auto-fit,minmax(420px,1fr));gap:20px}
.epv-split a{display:block;border-radius:8px;overflow:hidden}
.epv-split img{display:block;width:100%;height:auto}
.epv-listing{display:flex;gap:32px;align-items:flex-start;flex-wrap:wrap}
.epv-filters{flex:0 0 236px;border-right:1px solid #ECEDEF;padding-right:24px}
.epv-filters h2{margin:0 0 18px;font-size:20px;font-weight:700}
.epv-filters fieldset{border:0;border-bottom:1px solid #ECEDEF;margin:0 0 18px;padding:0 0 16px;display:flex;flex-direction:column;gap:12px}
.epv-filters legend{display:flex;justify-content:space-between;align-items:center;width:100%;padding:0;margin-bottom:12px;font-size:17px;font-weight:700}
.epv-filters label{display:flex;align-items:center;gap:12px;font-size:15px;cursor:pointer}
.epv-filters input[type=checkbox]{width:20px;height:20px;margin:0;accent-color:#1F2329}
.epv-swatches{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.epv-swatch{width:28px;height:28px;border-radius:50%;border:1px solid #D9DCE0;cursor:pointer;padding:0;font-size:16px;line-height:1;color:#1F2329;background:#fff}
.epv-filters__more{display:flex;align-items:center;gap:6px;margin:0 auto;border:0;background:transparent;font-size:15px;font-weight:600;text-decoration:underline;cursor:pointer;padding:10px}
.epv-results{flex:1 1 640px;min-width:0;display:flex;flex-direction:column;gap:18px}
.epv-results__h{margin:0;font-size:28px;font-weight:700;display:flex;align-items:baseline;gap:12px}
.epv-results__count{font-size:15px;font-weight:500;color:#3C4A5C}
.epv-sort{display:flex;align-items:center;gap:6px;font-size:15px;font-weight:600}
.epv-sort select{border:0;background:transparent;font-family:inherit;font-size:15px;font-weight:700;color:#1F2329;cursor:pointer}
.epv-results__grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px}
.epv-pcard{position:relative;display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid #ECEDEF;border-radius:8px;padding:14px 16px 18px;box-shadow:0 1px 4px rgba(20,24,30,.06)}
.epv-pcard__img{display:block;margin-top:30px}
.epv-pcard__img img{display:block;width:100%;height:190px;object-fit:contain}
.epv-pcard__name{font-size:15px;line-height:1.35;text-decoration:none;min-height:40px}
.epv-pcard .epv-price__disc{margin-left:auto}
.epv-pcard .epv-price__now{font-size:19px}
.epv-deals{display:flex;gap:24px;align-items:center;flex-wrap:wrap;background:linear-gradient(90deg,#FBEDE6 0%,#FDF4EA 100%);border-radius:10px;padding:24px 32px 24px 28px}
.epv-deals__intro{flex:0 0 260px;display:flex;flex-direction:column;gap:14px}
.epv-deals__intro h2{margin:0;font-family:'Source Serif 4',Georgia,serif;font-size:40px;font-weight:700;line-height:1.1}
.epv-deals__intro p{margin:0;font-size:17px;line-height:1.4}
.epv-btn-yellow{align-self:flex-start;margin-top:10px;background:#FDC22E;color:#1F2329!important;font-size:15px;font-weight:700;text-decoration:none;padding:12px 22px;border-radius:999px}
.epv-deals .epv-carousel{flex:1 1 600px;min-width:0}
.epv-deals .epv-carousel__track{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
.epv-deal{position:relative;display:flex;flex-direction:column;gap:8px;background:#FFFBF8;border-radius:8px;padding:14px 18px 20px;text-decoration:none;color:#1F2329;box-shadow:0 1px 4px rgba(20,24,30,.07)}
.epv-deal__disc{position:absolute;top:10px;left:10px;background:#FDC22E;font-size:14px;font-weight:800;padding:3px 8px;border-radius:4px}
.epv-deal img{width:100%;height:170px;object-fit:contain;mix-blend-mode:multiply;margin-top:18px}
.epv-deal__name{font-size:15px;font-weight:600;line-height:1.35;min-height:40px;padding:0 12px}
.epv-deal .epv-price{padding:0 12px;align-items:baseline}

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .epv-wrap,.epv-wrap--home{padding-left:16px;padding-right:16px}
  .epv-crumbs{padding:12px 16px}
  .epv-advice{padding:22px 16px}
  .epv-promo-wrap{padding:22px 16px 0}
  .epv-services{margin:16px}
  .epv-promo{padding:20px;gap:20px}
  .epv-arrow{display:none}
  .epv-split{grid-template-columns:1fr}
  .epv-filters{flex:1 1 100%;border-right:0;padding-right:0}
  .epv-deals__intro{flex:1 1 100%}
  .ep-nav__list{display:none}
}

/* ======================================================================
   v1.1 — prodotti live da Typesense, hero e banner con testo HTML
   ====================================================================== */

/* Titoli prodotto su 2 righe */
.epv-clamp{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}
.epv-offer__name,.epv-card__name,.epv-pcard__name,.epv-deal__name{min-height:2.7em;line-height:1.35;text-decoration:none}
.epv-rankcard__name{line-height:1.35}
.epv-stars--empty{min-height:18px}
.epv-offer__img{display:block}
.epv-offer__img img,.epv-card__img img,.epv-pcard__img img,.epv-deal img,.epv-rankcard img{background:#fff}
.epv-card__img{background:#fff}
.epv-card__img img{mix-blend-mode:normal}
.epv-deal img{mix-blend-mode:normal;background:transparent}

/* Hero: foto + testo HTML + badge sponsor */
.epv-hero2{position:relative;height:clamp(320px,29vw,440px);overflow:hidden;background:#3A2E25;color:#fff;font-family:'Figtree',-apple-system,system-ui,sans-serif}
.epv-hero2__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% center}
.epv-hero2::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(22,18,14,.78) 0%,rgba(22,18,14,.55) 30%,rgba(22,18,14,.12) 55%,rgba(22,18,14,0) 70%)}
.epv-hero2__cover{position:absolute;inset:0;z-index:2}
.epv-hero2__content{position:relative;z-index:3;height:100%;max-width:640px;padding:0 0 0 clamp(20px,4vw,64px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;pointer-events:none}
.epv-hero2__content a{pointer-events:auto}
.epv-hero2__eyebrow{font-size:clamp(14px,1.5vw,22px);font-weight:700;letter-spacing:.16em}
.epv-hero2__title{margin:0;font-size:clamp(40px,5vw,72px);font-weight:800;line-height:1.02;letter-spacing:-.01em}
.epv-hero2--home .epv-hero2__title{font-size:clamp(52px,7vw,104px);font-weight:700;letter-spacing:.01em}
.epv-hero2__title--serif{font-family:'Source Serif 4',Georgia,serif;font-weight:700}
.epv-hero2__accent{margin:.15em 0 0;font-size:clamp(22px,2.6vw,38px);font-weight:700;color:#FDC22E;line-height:1.2}
.epv-hero2__text{margin:.7em 0 0;font-size:clamp(16px,1.6vw,22px);line-height:1.35}
.epv-hero2--home .epv-hero2__text{font-size:clamp(18px,1.9vw,27px)}
.epv-hero2__cta{margin-top:clamp(18px,2vw,30px);display:inline-flex;align-items:center;gap:10px;background:#FDC22E;color:#1F2329!important;font-size:16px;font-weight:700;text-decoration:none;padding:13px 24px;border-radius:999px}
.epv-hero2--home .epv-hero2__cta{border-radius:6px}
.epv-hero2__cta:hover{background:#FFD24F}
.epv-hero2__badge{position:absolute;z-index:3;right:clamp(16px,2.5vw,40px);bottom:clamp(16px,2.2vw,32px);background:#fff;color:#1F2329!important;border-radius:12px;padding:14px 22px 16px;display:flex;flex-direction:column;gap:2px;min-width:170px;text-decoration:none;box-shadow:0 4px 18px rgba(0,0,0,.18)}
.epv-hero2__badge-label{font-size:12px;font-weight:600;color:#3C4A5C}
.epv-hero2__badge strong{font-size:clamp(28px,2.8vw,40px);font-weight:800;letter-spacing:-.02em;line-height:1.05}
.epv-hero2__badge-claim{font-size:15px}

/* Banner sponsor Molteni&C */
.epv-sponsor{position:relative;display:flex;align-items:stretch;min-height:218px;border-radius:10px;overflow:hidden;background:linear-gradient(90deg,#EFEBE6 0%,#E8E1D9 55%,#E3DBD2 100%);font-family:'Figtree',-apple-system,system-ui,sans-serif}
.epv-sponsor__cover{position:absolute;inset:0;z-index:1}
.epv-sponsor__brand,.epv-sponsor__text{position:relative;z-index:2;pointer-events:none}
.epv-sponsor__text a{pointer-events:auto}
.epv-sponsor__brand{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:0 32px 0 44px;margin:40px 0;border-right:1px solid rgba(31,35,41,.25)}
.epv-sponsor__brand span{font-size:15px;font-weight:600}
.epv-sponsor__brand strong{font-family:'Source Serif 4',Georgia,serif;font-size:46px;font-weight:600;letter-spacing:-.01em;line-height:1}
.epv-sponsor__text{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:6px;padding:0 32px}
.epv-sponsor__text h2{margin:0;font-size:30px;font-weight:800}
.epv-sponsor__text p{margin:0;font-size:16px;font-weight:500}
.epv-sponsor__text .epv-btn-yellow{margin-top:12px}
.epv-sponsor__img{margin-left:auto;width:47%;object-fit:cover;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 12%);mask-image:linear-gradient(90deg,transparent 0,#000 12%)}

/* Riquadri Divani / Poltrone */
.epv-split .epv-tile{position:relative;display:flex;align-items:center;min-height:240px;border-radius:8px;overflow:hidden;text-decoration:none;color:#111}
.epv-tile--sofa{background:#F2E9E2}
.epv-tile--chair{background:#E0E5EB}
.epv-split .epv-tile img{width:56%;height:auto;max-height:300px;object-fit:contain;object-position:left bottom;flex:0 0 auto}
.epv-tile__text{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:24px 24px 24px 8px}
.epv-tile__title{font-family:'Source Serif 4',Georgia,serif;font-size:40px;font-weight:700;line-height:1}
.epv-tile__sub{font-size:19px;line-height:1.3}
.epv-tile__btn{margin-top:14px;background:#111;color:#fff;font-size:16px;font-weight:700;padding:12px 22px;border-radius:999px}

/* Immagini cliccabili */
.epv-tip,.epv-advcard,.epv-world,.epv-cattile,.epv-photo,.epv-tile,.epv-brandtiles a,.epv-brands-row a{cursor:pointer;transition:transform .15s ease, box-shadow .15s ease}
.epv-world:hover,.epv-cattile:hover,.epv-advcard:hover,.epv-tile:hover,.epv-brandtiles a:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(20,24,30,.10)}

@media (max-width:900px){
  .epv-hero2{height:auto;min-height:420px}
  .epv-hero2::before{background:linear-gradient(0deg,rgba(22,18,14,.85) 0%,rgba(22,18,14,.55) 55%,rgba(22,18,14,.15) 100%)}
  .epv-hero2__content{justify-content:flex-end;padding:120px 20px 24px;max-width:none}
  .epv-hero2__badge{top:16px;bottom:auto;right:16px;padding:10px 14px;min-width:0}
  .epv-hero2__badge strong{font-size:24px}
  .epv-sponsor{flex-direction:column}
  .epv-sponsor__brand{border-right:0;margin:24px 0 0;padding:0 20px}
  .epv-sponsor__text{padding:12px 20px 20px}
  .epv-sponsor__img{width:100%;height:200px;-webkit-mask-image:none;mask-image:none}
  .epv-split .epv-tile{flex-direction:column;align-items:flex-start}
  .epv-split .epv-tile img{width:100%;max-height:220px}
  .epv-tile__text{padding:0 20px 22px}
}

/* ======================================================================
   v1.2 — verticale PET
   ====================================================================== */
.epv-hero2--long .epv-hero2__title{font-size:clamp(36px,4vw,58px)}
.epv-hero2--long .epv-hero2__content{max-width:720px}
.epv-hero2__title{white-space:normal}
.epv-brandtiles img{mix-blend-mode:multiply}

/* Categorie con foto */
.epv-phototiles{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.epv-phototile{position:relative;display:block;height:224px;border-radius:10px;overflow:hidden;text-decoration:none;background:#3A2E25}
.epv-phototile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top}
.epv-phototile::after{content:"";position:absolute;left:0;right:0;bottom:0;height:80px;background:linear-gradient(180deg,rgba(28,22,18,0) 0%,rgba(28,22,18,.9) 45%,rgba(28,22,18,.96) 100%)}
.epv-phototile>span{position:absolute;z-index:1;left:16px;right:12px;bottom:16px;color:#fff;font-size:17px;font-weight:600}

/* Banner sponsor con testo HTML */
.epv-bnr2{position:relative;display:flex;align-items:center;min-height:240px;border-radius:10px;overflow:hidden;font-family:'Figtree',-apple-system,system-ui,sans-serif;color:#fff}
.epv-bnr2__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.epv-bnr2::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none}
.epv-bnr2--dark::before{background:linear-gradient(90deg,rgba(10,12,8,.85) 0%,rgba(10,12,8,.55) 28%,rgba(10,12,8,0) 45%,rgba(10,12,8,0) 55%,rgba(10,12,8,.55) 100%)}
.epv-bnr2--light{color:#1F2329}
.epv-bnr2--light::before{background:linear-gradient(90deg,rgba(255,255,255,.75) 0%,rgba(255,255,255,.4) 28%,rgba(255,255,255,0) 40%)}
.epv-bnr2--purple::before{background:linear-gradient(90deg,rgba(120,20,120,.55) 0%,rgba(120,20,120,0) 45%)}
.epv-bnr2__cover{position:absolute;inset:0;z-index:2}
.epv-bnr2__content,.epv-bnr2__features,.epv-bnr2__claim,.epv-bnr2__offer{position:relative;z-index:3;pointer-events:none}
.epv-bnr2__content a{pointer-events:auto}
.epv-bnr2__content{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:28px 40px;max-width:520px}
.epv-bnr2__brand{font-size:30px;font-weight:800;letter-spacing:.02em;line-height:1}
.epv-bnr2__brand small{display:block;font-family:'Source Serif 4',Georgia,serif;font-size:44px;font-weight:600;letter-spacing:0;margin-top:4px}
.epv-bnr2--light .epv-bnr2__brand{color:#3B8F22;font-size:52px;letter-spacing:-.02em}
.epv-bnr2--purple .epv-bnr2__brand{font-size:56px;letter-spacing:-.02em}
.epv-bnr2__title{margin:4px 0 0;font-family:'Source Serif 4',Georgia,serif;font-size:28px;font-weight:600;line-height:1.2}
.epv-bnr2--light .epv-bnr2__title,.epv-bnr2--purple .epv-bnr2__title{font-family:inherit;font-weight:800;font-size:30px}
.epv-bnr2__text{margin:0;font-size:16px}
.epv-bnr2__cta{margin-top:10px;display:inline-flex;align-items:center;gap:8px;background:#fff;color:#1F2329!important;font-size:15px;font-weight:700;text-decoration:none;padding:12px 22px;border-radius:999px}
.epv-bnr2--light .epv-bnr2__cta,.epv-bnr2--purple .epv-bnr2__cta{background:#FDC22E}
.epv-bnr2__features{list-style:none;margin:0 0 0 auto;padding:0 24px;display:flex;flex-direction:column;gap:12px;font-size:16px;font-weight:600}
.epv-bnr2--light .epv-bnr2__features{flex-direction:row;gap:36px;color:#fff;padding:0 56px;text-align:center}
.epv-bnr2__features span{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:1.5px solid currentColor;border-radius:50%;font-size:13px;margin-right:8px}
.epv-bnr2__claim{margin:0 40px 0 24px;font-family:'Caveat','Segoe Script','Bradley Hand',cursive;font-style:italic;font-size:24px;line-height:1.25;transform:rotate(-8deg);max-width:260px}
.epv-bnr2__offer{margin:0 56px 0 auto;background:#FDC22E;color:#6B1470;font-size:34px;font-weight:900;line-height:1;padding:14px 22px;transform:rotate(-8deg);border-radius:6px;text-align:center}

/* Più venduti + consigli (pet1) */
.epv-pet-split{display:flex;flex-wrap:wrap;gap:20px;align-items:stretch}
.epv-petbest{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}
.epv-petcard{position:relative;display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid #ECEDEF;border-radius:10px;padding:14px;box-shadow:0 1px 3px rgba(20,24,30,.05)}
.epv-petcard__n{position:absolute;top:10px;left:10px;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:800;background:#EEEFF1;z-index:1}
.epv-petcard__n.is-first{background:#FDC22E}
.epv-petcard__img{display:block;margin-top:28px}
.epv-petcard__img img{width:100%;height:150px;object-fit:contain}
.epv-petcard__brand{font-size:16px;font-weight:600;margin-top:6px}
.epv-petcard__name{font-size:14px;line-height:1.35;color:#5B6472;min-height:2.7em;text-decoration:none}
.epv-petcard__foot{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:10px}
.epv-petcard__price{font-size:20px;font-weight:700;white-space:nowrap}
.epv-petcard__cart{width:40px;height:40px;border-radius:6px;background:#FDC22E;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.epv-tiplist{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;gap:14px;background:#F7F7F8;border-radius:12px;padding:16px 16px 20px}
.epv-tiprow{display:flex;gap:18px;align-items:center;text-decoration:none;color:#1F2329;background:#fff;border-radius:10px;overflow:hidden;padding-right:12px}
.epv-tiprow img{width:190px;height:124px;object-fit:cover;border-radius:10px;flex:0 0 auto}
.epv-tiprow__body{display:flex;flex-direction:column;gap:4px;min-width:0}
.epv-tiprow__tag{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.epv-tiprow__title{font-family:'Source Serif 4',Georgia,serif;font-size:17px;font-weight:700;line-height:1.2}
.epv-tiprow__text{font-size:13px;line-height:1.35;color:#4B5563}
.epv-tiprow__cta{align-self:flex-start;margin-top:6px;background:#0F1724;color:#fff;font-size:13px;font-weight:600;padding:6px 14px;border-radius:999px}
.epv-petservices{background:#F4F4F5;padding:22px 48px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-top:8px}
.epv-petservices__list{display:flex;gap:40px;flex-wrap:wrap;align-items:center}
.epv-petservices__list span{display:flex;align-items:center;gap:14px;font-size:14px;line-height:1.4;color:#3C4A5C}
.epv-petservices__logo{height:64px;width:auto;mix-blend-mode:multiply}

/* pet2 */
.epv-duo{display:flex;flex-wrap:wrap;background:#FFF6E9;border-radius:12px;padding:16px 0}
.epv-duo__item{flex:1 1 480px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 34px;text-decoration:none;color:#1F2329}
.epv-duo__item+.epv-duo__item{border-left:1px solid #D9D3C8}
.epv-duo__text{display:flex;flex-direction:column;gap:10px}
.epv-duo__title{font-size:22px;font-weight:700}
.epv-duo__sub{font-size:16px;line-height:1.45}
.epv-duo__more{font-size:16px;font-weight:700;text-decoration:underline;text-underline-offset:3px;margin-top:6px}
.epv-duo__item img{width:220px;height:170px;object-fit:contain;mix-blend-mode:multiply}
.epv-brandcircles{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:16px;justify-items:center}
.epv-brandcircles a{width:128px;height:128px;border-radius:50%;background:#fff;box-shadow:0 2px 10px rgba(20,24,30,.10);display:flex;align-items:center;justify-content:center;overflow:hidden}
.epv-brandcircles img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.epv-btn-cart{margin-top:10px;background:#FDC22E;color:#1F2329!important;font-size:15px;font-weight:700;text-align:center;text-decoration:none;padding:11px 10px;border-radius:999px}
.epv-pcard .epv-petcard__brand{margin-top:0}

/* pet3 */
.epv-types{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}
.epv-type{display:flex;justify-content:space-between;align-items:stretch;min-height:194px;background:#FFF6E9;border-radius:10px;padding:22px 0 0 22px;text-decoration:none;color:#1F2329;overflow:hidden;box-shadow:0 1px 3px rgba(20,24,30,.05)}
.epv-type__text{display:flex;flex-direction:column;gap:10px;padding-bottom:22px}
.epv-type__title{font-size:24px;font-weight:700}
.epv-type__sub{font-size:16px;line-height:1.4}
.epv-type__go{font-size:22px;font-weight:700}
.epv-type img{width:54%;max-width:190px;object-fit:contain;object-position:right bottom;align-self:flex-end;mix-blend-mode:multiply}

@media (max-width:900px){
  .epv-bnr2{flex-direction:column;align-items:flex-start;min-height:0}
  .epv-bnr2::before{background:linear-gradient(0deg,rgba(10,12,8,.8),rgba(10,12,8,.2))!important}
  .epv-bnr2--light{color:#fff}
  .epv-bnr2__content{padding:120px 20px 20px}
  .epv-bnr2__features,.epv-bnr2__claim,.epv-bnr2__offer{display:none}
  .epv-duo__item+.epv-duo__item{border-left:0;border-top:1px solid #D9D3C8}
  .epv-duo__item{padding:16px 20px}
  .epv-duo__item img{width:120px;height:110px}
  .epv-tiprow img{width:120px;height:100px}
  .epv-petservices{padding:20px 16px}
}
.epv-btn-cart{margin-top:auto}
.epv-pcard .epv-stars{margin-bottom:10px}

/* v1.2.1 — menu a 9 voci */
.ep-nav__list{justify-content:space-between;gap:20px}
