
:root{
  --black:#090807;
  --graphite:#161412;
  --white:#fff;
  --cream:#f7f2ea;
  --paper:#fbfaf7;
  --gold:#b8944d;
  --gold2:#d4b36a;
  --muted:#77716a;
  --line:#e7dfd2;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Inter", Arial, sans-serif;
  color:#151515;
  background:var(--paper);
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.topbar{
  background:#050505;
  color:var(--gold2);
  text-align:center;
  font-size:12px;
  letter-spacing:2.8px;
  text-transform:uppercase;
  padding:12px 20px;
}
.header{
  background:rgba(255,255,255,.96);
  position:sticky;
  top:0;
  z-index:10;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.nav{
  max-width:var(--max);
  margin:auto;
  min-height:112px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 24px;
}
.logo{flex-shrink:0;}
.logo img{width:150px;min-width:150px}
.menu{
  display:flex;
  align-items:center;
  gap:24px;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:1.4px;
  font-weight:700;
}
.menu a{transition:.25s}
.menu a:hover{color:var(--gold)}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 28px;
  border:1px solid currentColor;
  text-transform:uppercase;
  letter-spacing:1.8px;
  font-size:12px;
  font-weight:800;
  transition:.25s ease;
}
.btn-gold{
  background:var(--gold);
  color:#fff;
  border-color:var(--gold);
}
.btn-gold:hover{background:#96763a;border-color:#96763a}
.btn-dark{
  color:#fff;
  border-color:rgba(255,255,255,.65);
}
.btn-dark:hover{background:#fff;color:#111}
.mobile-toggle{display:none;background:none;border:0;font-size:28px}

.hero{
  min-height:620px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.48) 45%, rgba(0,0,0,.18) 100%),
    url("../img/hero.jpg") center/cover no-repeat;
  color:#fff;
}
.hero-inner{
  max-width:var(--max);
  margin:auto;
  min-height:620px;
  display:grid;
  grid-template-columns:1fr 260px;
  align-items:center;
  padding:50px 24px;
}
.kicker{
  color:var(--gold2);
  letter-spacing:3px;
  text-transform:uppercase;
  font-size:13px;
  font-weight:800;
  margin-bottom:18px;
}
h1,h2,h3{
  font-family:"Cormorant Garamond", Georgia, serif;
  font-weight:500;
  line-height:.96;
  margin:0;
}
h1{
  font-size:82px;
  max-width:650px;
}
h1 em,h2 em{color:var(--gold2);font-style:italic}
.hero-line{
  width:70px;
  height:4px;
  background:var(--gold);
  margin:30px 0 22px;
}
.hero p{
  max-width:500px;
  font-size:17px;
  line-height:1.7;
  color:rgba(255,255,255,.9);
}
.hero-actions{display:flex;gap:16px;margin-top:28px}
.hero-icons{
  display:grid;
  gap:28px;
  justify-items:center;
}
.hero-icon{
  text-align:center;
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:1.4px;
  font-weight:800;
  color:#fff;
}
.icon-circle{
  width:56px;height:56px;
  border:1px solid rgba(255,255,255,.7);
  border-radius:50%;
  display:grid;
  place-items:center;
  margin:0 auto 10px;
  color:#fff;
  font-size:24px;
}
.section{
  padding:76px 24px;
}
.container{max-width:var(--max);margin:auto}
.story{
  background:linear-gradient(90deg,#fff 0%,#fbf7ef 100%);
}
.story-grid{
  display:grid;
  grid-template-columns:1fr 1.55fr;
  gap:70px;
  align-items:center;
}
.section-title{
  font-size:44px;
  margin-bottom:24px;
}
.text{
  color:#292929;
  line-height:1.8;
  font-size:15px;
}
.values{
  display:grid;
  grid-template-columns:repeat(3,1fr);
}
.value{
  text-align:center;
  padding:20px 36px;
  border-left:1px solid var(--line);
}
.value:first-child{border-left:0}
.value .bigicon{font-size:46px;color:var(--gold);margin-bottom:18px}
.value h3{
  font-family:"Inter",Arial,sans-serif;
  text-transform:uppercase;
  font-size:14px;
  letter-spacing:2px;
  font-weight:900;
  margin-bottom:14px;
}
.value p{color:#625d56;line-height:1.7;font-size:14px}
.brands{
  background:#fff;
}
.brand-grid{
  display:grid;
  grid-template-columns:1fr 2.2fr;
  gap:70px;
  align-items:start;
}
.brand-cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.card{
  min-height:210px;
  border:1px solid var(--line);
  background:#fff;
  padding:34px 22px;
  text-align:center;
  display:flex;
  flex-direction:column;
  justify-content:center;
  transition:.25s ease;
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 45px rgba(0,0,0,.08);
}
.card h3{
  font-size:31px;
  margin-bottom:16px;
}
.card p{
  font-size:14px;
  color:#68625a;
  line-height:1.6;
  min-height:66px;
}
.card span{
  color:var(--gold);
  letter-spacing:2px;
  text-transform:uppercase;
  font-size:12px;
  font-weight:900;
}
.product{
  padding-top:0;
  background:#fff;
}
.product-band{
  min-height:360px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.35)),
    url("../img/product-nodrops.jpg") center/cover no-repeat;
  color:#fff;
  display:flex;
  align-items:center;
  padding:60px 44px;
}
.product-band h2{
  font-size:55px;
  max-width:460px;
}
.product-band p{
  max-width:440px;
  line-height:1.8;
  color:rgba(255,255,255,.9);
}
.service-row{
  background:linear-gradient(90deg,#fff,#f6f1e8);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  padding:28px 24px;
  gap:20px;
}
.service{
  display:flex;
  align-items:center;
  gap:16px;
}
.service b{
  display:block;
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:1px;
}
.service small{color:#645f58}
.service .sicon{font-size:28px;color:var(--gold)}
.quality{
  background:#10100f;
  color:#fff;
  text-align:center;
}
.quality h2{font-size:56px}
.quality p{
  max-width:720px;
  margin:24px auto 0;
  color:rgba(255,255,255,.78);
  line-height:1.9;
}
.contact{
  background:var(--cream);
}
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
}
.form{
  background:#fff;
  border:1px solid var(--line);
  padding:34px;
}
.form input,.form textarea{
  width:100%;
  border:0;
  border-bottom:1px solid var(--line);
  padding:16px 0;
  margin-bottom:14px;
  background:transparent;
  font:inherit;
}
.form textarea{min-height:130px}
.footer{
  background:#050505;
  color:#fff;
  padding:44px 24px;
}
.footer-inner{
  max-width:var(--max);
  margin:auto;
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:center;
}
.footer small{color:#9a9288}

@media (max-width:900px){
  .menu{display:none;position:absolute;left:0;right:0;top:112px;background:#fff;flex-direction:column;padding:28px;gap:22px;border-top:1px solid var(--line)}
  .menu.open{display:flex}
  .mobile-toggle{display:block}
  .hero-inner{grid-template-columns:1fr}
  .hero-icons{display:none}
  h1{font-size:54px}
  .story-grid,.brand-grid,.contact-grid{grid-template-columns:1fr;gap:40px}
  .values,.brand-cards,.service-row{grid-template-columns:1fr}
  .value{border-left:0;border-top:1px solid var(--line)}
  .footer-inner{flex-direction:column;text-align:center}
}


/* Brand product pages */
.product-list{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:40px;
}
.product-card{
  background:#fff;
  border:1px solid var(--line);
  overflow:hidden;
  transition:.25s ease;
}
.product-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 45px rgba(0,0,0,.08);
}
.product-image{
  min-height:250px;
  background:
    linear-gradient(135deg, rgba(0,0,0,.74), rgba(0,0,0,.12)),
    url("../img/product-nodrops.jpg") center/cover no-repeat;
}
.product-body{
  padding:28px;
}
.product-body h3{
  font-size:34px;
  margin-bottom:14px;
}
.product-body p{
  color:#625d56;
  line-height:1.7;
  font-size:14px;
}
.product-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:18px 0 22px;
}
.product-meta span{
  border:1px solid var(--line);
  padding:7px 10px;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:1px;
  color:#6b6258;
}
.brand-hero-small{
  background:
    linear-gradient(90deg, rgba(0,0,0,.84), rgba(0,0,0,.35)),
    url("../img/hero.svg") center/cover no-repeat;
}
.brand-intro{
  max-width:840px;
}
.empty-note{
  border:1px solid var(--line);
  background:#fff;
  padding:32px;
  margin-top:32px;
  color:#625d56;
  line-height:1.8;
}
@media (max-width:900px){
  .product-list{grid-template-columns:1fr}
}


/* Immagini brand personalizzabili - mantiene la struttura precedente */
.brand-matilab-hero { background-image: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.35)), url("../img/brand-matilab-hero.jpg") !important; }
.brand-nodrops-hero { background-image: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.35)), url("../img/brand-nodrops-hero.jpg") !important; }
.brand-imore-hero { background-image: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.35)), url("../img/brand-imore-hero.jpg") !important; }
.brand-altri-hero { background-image: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.35)), url("../img/brand-altri-hero.jpg") !important; }

.product-image.custom-image {
  background-size: cover !important;
  background-position: center !important;
}

@media(max-width:900px){
  .product-image.custom-image { min-height: 240px; }
}
.hero-product-layout{
  display:grid;
  grid-template-columns:1fr 420px;
  gap:60px;
  align-items:center;
}

.hero-product-text h1{
  margin-bottom:18px;
}

.hero-product-image{
  display:flex;
  justify-content:center;
}

.hero-product-image img{
  width:100%;
  max-width:420px;
  display:block;
}

@media(max-width:900px){

  .hero-product-layout{
    grid-template-columns:1fr;
    gap:30px;
  }

  .hero-product-image{
    text-align:center;
  }

  .hero-product-image img{
    max-width:300px;
    margin:auto;
  }
}
.hero-scacco-ricrescita{
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.35)),
    url("../img/scacco-hero.jpg") center/cover no-repeat !important;
}
.hero-qualita-page{
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.35)),
    url("../img/qualita-hero.jpg") center/cover no-repeat !important;
}
.hero-contatti-page{
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.35)),
    url("../img/contatti-hero.jpg") center/cover no-repeat !important;
}
/* SHOP + CARRELLO */
.hero-shop-page{
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.35)),
    url("../img/shop-hero.jpg") center/cover no-repeat !important;
}

.shop-section,
.cart-section{
  background:#f7f3ec;
}

.shop-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.shop-card{
  background:#fff;
  border:1px solid #e7dfd2;
  overflow:hidden;
  transition:.25s;
}

.shop-card:hover{
  transform:translateY(-5px);
  box-shadow:0 20px 50px rgba(0,0,0,.10);
}

.shop-image{
  height:340px;
  background-size:cover;
  background-position:center;
}

.shop-body{
  padding:30px;
}

.shop-category{
  color:#b8944d;
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:12px;
  font-weight:800;
  margin-bottom:14px;
}

.shop-body h2{
  font-family:"Cormorant Garamond", serif;
  font-size:42px;
  margin-bottom:14px;
}

.shop-body p{
  line-height:1.8;
  color:#665f56;
}

.shop-price{
  font-size:28px;
  font-weight:800;
  margin:25px 0;
}

.shop-card .btn{
  width:100%;
}

.cart-layout{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:50px;
  align-items:start;
}

.cart-box,
.checkout-form{
  background:#fff;
  border:1px solid #e7dfd2;
  padding:40px;
}

.cart-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  border-bottom:1px solid #e7dfd2;
  padding:18px 0;
}

.cart-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.cart-actions button{
  width:34px;
  height:34px;
  border:1px solid #ddd;
  background:#fff;
  cursor:pointer;
}

.cart-total{
  font-size:24px;
  margin:28px 0;
}

.empty-cart{
  color:#665f56;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select{
  width:100%;
  border:1px solid #ddd;
  padding:16px;
  margin-bottom:18px;
  font-size:15px;
  background:#fff;
  font-family:inherit;
}

.checkout-form textarea{
  min-height:120px;
}

.checkout-form button{
  width:100%;
}

.checkout-note{
  color:#665f56;
  font-size:13px;
  line-height:1.6;
  margin-top:18px;
}

@media(max-width:1100px){
  .shop-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .cart-layout{
    grid-template-columns:1fr;
  }
}

@media(max-width:768px){
  .shop-grid{
    grid-template-columns:1fr;
  }

  .cart-row{
    display:block;
  }

  .cart-actions{
    margin-top:14px;
  }
}
/* OTTIMIZZAZIONE HERO MOBILE */
@media(max-width:768px){

  .hero{
    min-height:620px !important;
    background-size:cover !important;
    background-position:center center !important;
  }

  .hero-inner{
    min-height:620px !important;
    padding:50px 28px !important;
  }

  .hero h1{
    font-size:54px !important;
    line-height:0.95 !important;
    max-width:100% !important;
  }

  .hero p{
    font-size:18px !important;
    line-height:1.7 !important;
    max-width:100% !important;
  }

}
@media(max-width:768px){

  .hero{
    background-image:
      linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.35)),
      url("../img/hero-mobile.jpg") !important;
    background-position:center top !important;
  }

  .hero-qualita-page{
    background-image:
      linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.35)),
      url("../img/qualita-mobile.jpg") !important;
    background-position:center top !important;
  }

  .hero-shop-page{
    background-image:
      linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.35)),
      url("../img/shop-mobile.jpg") !important;
    background-position:center top !important;
  }

}
.home-reviews-section{
  background:#f7f3ec;
  overflow:hidden;
}

.reviews-slider-wrap{
  position:relative;
  margin-top:45px;
}

.reviews-carousel{
  display:flex;
  gap:28px;
  overflow-x:auto;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  padding:10px 0 30px;
}

.review-mini-card{
  min-width:315px;
  max-width:315px;
  background:#fff;
  border:1px solid #e7dfd2;
  padding:34px;
  scroll-snap-align:start;
  box-shadow:0 18px 45px rgba(0,0,0,.08);
}

.review-mini-card h3{
  font-size:22px;
  margin-bottom:18px;
}

.stars{
  color:#b8944d;
  font-size:22px;
  margin-bottom:22px;
}

.review-mini-card p{
  font-family:"Cormorant Garamond", serif;
  font-size:23px;
  line-height:1.35;
  min-height:95px;
}

.review-mini-card small{
  display:block;
  color:#777;
  margin:18px 0;
}

.review-mini-card strong{
  display:block;
}

.review-mini-card span{
  display:block;
  color:#777;
  margin-bottom:20px;
}

.amazon-btn{
  display:block;
  background:#b8944d;
  color:#fff;
  text-align:center;
  padding:15px 18px;
  text-transform:uppercase;
  letter-spacing:1.5px;
  font-size:12px;
  font-weight:800;
}

.reviews-arrow{
  position:absolute;
  top:45%;
  transform:translateY(-50%);
  width:54px;
  height:54px;
  border-radius:50%;
  border:0;
  background:#fff;
  font-size:42px;
  cursor:pointer;
  z-index:2;
  box-shadow:0 12px 30px rgba(0,0,0,.12);
}

.reviews-arrow.prev{
  left:-25px;
}

.reviews-arrow.next{
  right:-25px;
}

@media(max-width:768px){
  .review-mini-card{
    min-width:82%;
  }

  .reviews-arrow{
    display:none;
  }
}

/* FIX MOBILE HERO - rimuove immagine sfondo su smartphone */
@media(max-width:768px){

  .hero{
    background-image:none !important;
    background:#111 !important;
    min-height:520px !important;
  }

  .hero-inner{
    min-height:520px !important;
  }

  .hero h1{
    font-size:48px !important;
    line-height:1 !important;
  }

}
/* VIDEO PAGE - video completi senza scrollbar interna */

.video-grid,
.videos-grid,
.video-list{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:28px !important;
  align-items:start !important;
}

.video-card,
.video-item{
  width:100% !important;
  height:auto !important;
  overflow:hidden !important;
  max-height:none !important;
}

.video-card *,
.video-item *{
  max-width:100% !important;
  box-sizing:border-box !important;
}

.video-card video,
.video-item video{
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  display:block !important;
  object-fit:contain !important;
  overflow:hidden !important;
}

/* Per iframe TikTok/Reels verticali */
.video-card iframe,
.video-item iframe{
  width:100% !important;
  height:640px !important;
  max-height:none !important;
  border:0 !important;
  display:block !important;
  overflow:hidden !important;
}

/* Se c'è un embed wrapper */
.video-card blockquote,
.video-item blockquote,
.video-card .tiktok-embed,
.video-item .tiktok-embed{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  overflow:hidden !important;
}

/* Nasconde scrollbar interne generate dagli embed */
.video-card{
  scrollbar-width:none !important;
}

.video-card::-webkit-scrollbar,
.video-item::-webkit-scrollbar{
  display:none !important;
}

@media(max-width:1100px){
  .video-grid,
  .videos-grid,
  .video-list{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
}

@media(max-width:768px){
  .video-grid,
  .videos-grid,
  .video-list{
    grid-template-columns:1fr !important;
  }

  .video-card iframe,
  .video-item iframe{
    height:720px !important;
  }
}
/* PRODOTTO IN EVIDENZA - immagine mobile dedicata */
@media(max-width:768px){

  .product-band{
    background:
      linear-gradient(180deg, rgba(0,0,0,.78), rgba(0,0,0,.38)),
      url("../img/scacco-mobile.jpg") center top / contain no-repeat !important;

    background-color:#111 !important;
    min-height:620px !important;
    align-items:flex-end !important;
    padding:360px 26px 38px !important;
  }

  .product-band h2{
    font-size:42px !important;
  }

  .product-band p{
    font-size:16px !important;
    line-height:1.7 !important;
  }

}
/* GUIDA COLORE SCACCO - VERSIONE STABILE */
.color-guide{
  margin:18px 0;
}

.guide-btn{
  width:100%;
  padding:14px;
  background:#111;
  color:#fff;
  border:1px solid #b8944d;
  text-transform:uppercase;
  letter-spacing:1px;
  font-weight:800;
  cursor:pointer;
}

.guide-box{
  display:none !important;
  margin-top:14px !important;
  position:static !important;
  inset:auto !important;
  transform:none !important;
  background:transparent !important;
  padding:0 !important;
  width:100% !important;
  max-width:100% !important;
  z-index:auto !important;
}

.guide-box.open{
  display:block !important;
}

.guide-box img{
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  display:block !important;
  border-radius:10px;
  border:1px solid #e7dfd2;
}

.close-guide{
  display:none !important;
}
/* Zoom guida colore desktop fuori dal riquadro */

@media(min-width:992px){

.guide-box{
overflow:visible !important;
position:relative;
z-index:10;
}

.guide-box img{
transition:all .35s ease;
cursor:zoom-in;
position:relative;
z-index:10;
transform-origin:center center;
}

.guide-box img:hover{
transform:scale(3);
position:absolute;
left:50%;
top:50%;
transform:translate(-50%,-50%) scale(3);
z-index:9999;
box-shadow:0 25px 80px rgba(0,0,0,.45);
border-radius:12px;
background:#fff;
}

}
/* permette alla guida colore di uscire dalla card */
.shop-card,
.shop-body,
.color-guide,
.guide-box{
  overflow:visible !important;
}

@media(min-width:992px){

  .guide-box img{
    transition:.25s ease;
    cursor:zoom-in;
    position:relative;
    z-index:20;
  }

  .guide-box img:hover{
    position:fixed !important;
    top:50% !important;
    left:50% !important;
    transform:translate(-50%,-50%) scale(1.15) !important;
    width:auto !important;
    max-width:90vw !important;
    max-height:85vh !important;
    z-index:999999 !important;
    background:#fff !important;
    box-shadow:0 25px 80px rgba(0,0,0,.55) !important;
    border-radius:12px !important;
  }

}


/* MENU UTENTE LOGIN */
.user-menu{
  position:relative;
  display:inline-block;
  white-space:nowrap;
}

.user-name{
  font-weight:700;
  white-space:nowrap;
}

.user-dropdown{
  display:none;
  position:absolute;
  top:100%;
  right:0;
  background:#fff;
  min-width:180px;
  border:1px solid #e7dfd2;
  box-shadow:0 15px 40px rgba(0,0,0,.15);
  z-index:99999;
  padding:10px 0;
}

.user-dropdown a{
  display:block;
  padding:12px 18px;
  text-transform:none;
  letter-spacing:0;
  font-size:14px;
  color:#151515;
}

.user-dropdown a:hover{
  background:#f7f3ec;
  color:#b8944d;
}

.user-menu:hover .user-dropdown{
  display:block;
}

@media(max-width:900px){
  .user-dropdown{
    position:static;
    display:block;
    box-shadow:none;
    border:0;
    padding:0;
    margin-top:8px;
  }

  .user-dropdown a{
    padding:8px 0;
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:13px;
  }
}

