/* ============================================================
   Motoline Elementor Widgets — v1.0.0
   SCIA Studio · https://sciastudio.it
   ============================================================ */

/* ─── Variabili globali ─────────────────────────────────── */
:root {
  --ml-black:   #0E0E0D;
  --ml-black2:  #1C1C1A;
  --ml-red:     #D0280A;
  --ml-red-dk:  #991F08;
  --ml-white:   #F5F3EF;
  --ml-gray1:   #3A3A37;
  --ml-gray2:   #5C5B58;
  --ml-gray3:   #8C8B87;
  --ml-border:  rgba(245,243,239,0.08);
  --ml-border2: rgba(245,243,239,0.14);
}

.ml-hero-v1,
.ml-hero-v2,
.ml-promo-strip,
.ml-section,
.ml-brands-row,
.ml-promo-blocks-v1,
.ml-promo-blocks-v2,
.ml-store-banner,
.ml-trust-bar,
.ml-newsletter {
  font-family: 'Barlow', sans-serif;
  box-sizing: border-box;
}

*, *::before, *::after { box-sizing: inherit; }

/* ─── Pulsanti globali ──────────────────────────────────── */
.ml-btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--ml-red);
  color: #fff !important;
  border: none;
  border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 13px 32px;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s;
}
.ml-btn-primary:hover { background: var(--ml-red-dk); }

.ml-btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--ml-white) !important;
  border: 1px solid rgba(245,243,239,.3);
  border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 13px 32px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .15s;
}
.ml-btn-outline:hover { border-color: rgba(245,243,239,.7); }

.ml-btn-outline-red {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--ml-red) !important;
  border: 2px solid var(--ml-red);
  border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 11px 24px;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.ml-btn-outline-red:hover { background: var(--ml-red); color: #fff !important; }

/* ─── Sezione generica ──────────────────────────────────── */
.ml-section { padding: 56px 0; }
.ml-section--alt { background: rgba(245,243,239,.02); }
.ml-section__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: .5px solid var(--ml-border2);
}
.ml-section__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ml-white);
  margin: 0;
}
.ml-section__title span { color: var(--ml-red); }
.ml-section__link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ml-red);
  text-decoration: none;
}
.ml-section__link:hover { opacity: .75; }

/* ─── HERO V1 ───────────────────────────────────────────── */
.ml-hero-v1 {
  background: var(--ml-bg, var(--ml-black));
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 72px 40px;
  overflow: hidden;
}
.ml-hero-v1__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(208,40,10,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(208,40,10,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 100% at 65% 50%, black 30%, transparent 80%);
}
.ml-hero-v1__glow {
  position: absolute;
  right: 12%; top: 50%;
  transform: translateY(-50%);
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208,40,10,.18) 0%, rgba(208,40,10,.05) 45%, transparent 70%);
  pointer-events: none;
}
.ml-hero-v1__line {
  position: absolute; left: 0; bottom: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ml-red, #D0280A) 30%, var(--ml-red, #D0280A) 70%, transparent);
}
.ml-hero-v1__content { position: relative; z-index: 2; max-width: 580px; }
.ml-hero-v1__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ml-red, #D0280A);
  background: rgba(208,40,10,.1);
  border: 1px solid rgba(208,40,10,.3);
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 20px;
}
.ml-hero-v1__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(58px, 8vw, 92px);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--ml-white);
  margin-bottom: 24px;
}
.ml-hero-v1__title em { color: var(--ml-red, #D0280A); font-style: normal; }
.ml-hero-v1__sub { font-size: 16px; color: rgba(245,243,239,.55); line-height: 1.65; margin-bottom: 36px; max-width: 420px; }
.ml-hero-v1__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.ml-hero-v1__stats {
  display: flex;
  gap: 0;
  border-top: .5px solid var(--ml-border2);
  padding-top: 24px;
}
.ml-hero-v1__stat--sep { padding-right: 36px; border-right: .5px solid var(--ml-border); margin-right: 36px; }
.ml-hero-v1__stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px; font-weight: 900;
  color: var(--ml-white); line-height: 1;
}
.ml-hero-v1__stat-label { font-size: 10px; color: var(--ml-gray3); letter-spacing: .14em; text-transform: uppercase; }

/* ─── HERO V2 ───────────────────────────────────────────── */
.ml-hero-v2 {
  background: var(--ml-black);
  position: relative;
  overflow: hidden;
}
.ml-hero-v2__left {
  position: absolute; inset: 0;
  background: var(--ml-black);
  clip-path: polygon(0 0, 62% 0, 48% 100%, 0 100%);
  z-index: 1;
}
.ml-hero-v2__right {
  position: absolute; inset: 0;
  background: var(--ml-red);
  z-index: 0;
}
.ml-hero-v2__right::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,.18) 1px, transparent 1px);
  background-size: 22px 22px;
}
.ml-hero-v2__edge { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ml-hero-v2__edge svg { width: 100%; height: 100%; }
.ml-hero-v2__content {
  position: relative; z-index: 3;
  display: grid;
  grid-template-columns: 52fr 48fr;
  min-height: 540px;
  align-items: stretch;
}
.ml-hero-v2__copy {
  padding: 64px 40px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ml-hero-v2__kicker {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--ml-gray3);
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px;
}
.ml-hero-v2__kicker span { display: inline-block; width: 20px; height: 1px; background: var(--ml-red); }
.ml-hero-v2__h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 900; line-height: .86;
  letter-spacing: -.02em; text-transform: uppercase;
  color: var(--ml-white); margin-bottom: 0;
}
.ml-hero-v2__h1 em { color: var(--ml-red); font-style: normal; }
.ml-hero-v2__bottom { display: flex; flex-direction: column; gap: 24px; margin-top: 36px; }
.ml-hero-v2__desc { font-size: 15px; color: rgba(245,243,239,.5); line-height: 1.65; max-width: 340px; }
.ml-hero-v2__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ml-hero-v2__stats { display: flex; gap: 0; border-top: .5px solid var(--ml-border2); padding-top: 20px; }
.ml-hero-v2__stat--sep { padding-right: 28px; border-right: .5px solid var(--ml-border); margin-right: 28px; }
.ml-hero-v2__stat-n { font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 900; color: var(--ml-white); }
.ml-hero-v2__stat-l { font-size: 10px; color: var(--ml-gray3); letter-spacing: .14em; text-transform: uppercase; margin-top: 2px; }
.ml-hero-v2__promo {
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-end;
  padding: 64px 44px 56px 80px;
  text-align: right;
}
.ml-hero-v2__promo-tag { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.ml-hero-v2__discount { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(96px, 13vw, 170px); font-weight: 900; line-height: .82; color: #fff; letter-spacing: -.03em; margin-bottom: 8px; }
.ml-hero-v2__promo-desc { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.8); line-height: 1.2; margin-bottom: 6px; }
.ml-hero-v2__promo-sub { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 24px; line-height: 1.5; }
.ml-hero-v2__promo-cta {
  background: rgba(0,0,0,.3);
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 4px;
  color: #fff !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 12px 24px;
  text-decoration: none; display: inline-block;
  transition: background .15s, border-color .15s;
}
.ml-hero-v2__promo-cta:hover { background: rgba(0,0,0,.5); border-color: rgba(255,255,255,.75); }
.ml-hero-v2__brandbar {
  position: relative; z-index: 3;
  border-top: .5px solid var(--ml-border2);
  background: var(--ml-black);
  padding: 16px 40px;
  display: flex; align-items: center; gap: 0;
}
.ml-hero-v2__bar-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ml-gray3);
  padding-right: 28px; border-right: .5px solid var(--ml-border2);
  margin-right: 28px; white-space: nowrap; flex-shrink: 0;
}
.ml-hero-v2__brands { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.ml-hero-v2__brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 900;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(245,243,239,.18);
  text-decoration: none;
  transition: color .15s;
}
.ml-hero-v2__brand:hover { color: rgba(245,243,239,.7); }

/* ─── PROMO STRIP ───────────────────────────────────────── */
.ml-promo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  flex-wrap: wrap;
  gap: 0;
}
.ml-promo-strip__item {
  display: flex; align-items: center; gap: 9px;
  padding: 0 28px;
  border-right: 1px solid rgba(255,255,255,.25);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.ml-promo-strip__item:last-child { border-right: none; }
.ml-promo-strip__icon { font-size: 16px; }
.ml-promo-strip__item strong { font-weight: 900; }

/* ─── CATEGORIE ─────────────────────────────────────────── */
.ml-cats-grid {
  display: grid;
  gap: 14px;
  overflow: visible;
  padding: 2px; /* evita il clipping dei bordi da parte del container */
}
.ml-cats-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.ml-cats-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.ml-cats-grid--cols-5 { grid-template-columns: repeat(5, 1fr); }
.ml-cats-grid--cols-6 { grid-template-columns: repeat(6, 1fr); }

.ml-cat-card {
  background: rgba(245,243,239,.03);
  border: 1px solid var(--ml-border2);
  border-radius: 6px;
  padding: 28px 16px 22px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background .2s, border-color .2s, transform .2s;
}
.ml-cat-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--ml-red);
  transform: scaleX(0); transition: transform .2s;
}
.ml-cat-card:hover { background: rgba(208,40,10,.07); border-color: rgba(208,40,10,.5); transform: translateY(-2px); }
.ml-cat-card:hover::after { transform: scaleX(1); }
.ml-cat-card__icon {
  font-size: 36px; display: flex;
  align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.ml-cat-card__icon--emoji { font-size: inherit; line-height: 1; }
.ml-cat-card__icon--img {
  width: 48px; height: 48px;
  object-fit: contain; display: block;
}
.ml-cat-card__name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(245,243,239,.85); margin-bottom: 5px;
}
.ml-cat-card__sub { font-size: 11.5px; color: var(--ml-gray3); }

/* ─── MARCHI ────────────────────────────────────────────── */
.ml-brands-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}
.ml-brand-pill {
  padding: 11px 24px;
  border: .5px solid var(--ml-border2);
  border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(245,243,239,.28);
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.ml-brand-pill:hover { color: rgba(245,243,239,.85); border-color: var(--ml-border2); }

/* ─── PRODOTTI ──────────────────────────────────────────── */
.ml-products-grid { display: grid; gap: 16px; }
.ml-products-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.ml-products-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.ml-products-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

.ml-product-card {
  background: var(--ml-black2);
  border: .5px solid var(--ml-border2);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.ml-product-card:hover { border-color: rgba(208,40,10,.45); transform: translateY(-3px); }
.ml-product-card__img {
  height: 180px;
  background: rgba(245,243,239,.04);
  display: flex; align-items: center; justify-content: center;
  font-size: 60px;
  border-bottom: .5px solid var(--ml-border);
  position: relative;
}
.ml-product-card__badge {
  position: absolute; top: 12px; left: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px; color: #fff;
}
.ml-product-card__badge--sale { background: var(--ml-red); }
.ml-product-card__badge--new  { background: #1A6B3A; }
.ml-product-card__info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.ml-product-card__brand { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ml-red); margin-bottom: 5px; }
.ml-product-card__name { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 800; color: var(--ml-white); line-height: 1.2; margin-bottom: 12px; flex: 1; }
.ml-product-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.ml-product-card__price { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 900; color: var(--ml-white); }
.ml-product-card__price-old { font-size: 13px; color: var(--ml-gray3); text-decoration: line-through; margin-left: 6px; }
.ml-product-card__add {
  background: var(--ml-red); border: none; border-radius: 4px;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 14px; cursor: pointer;
  transition: background .15s; white-space: nowrap;
}
.ml-product-card__add:hover { background: var(--ml-red-dk); }

/* ─── PROMO BLOCKS V1 ───────────────────────────────────── */
.ml-promo-blocks-v1__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ml-pb1 {
  border-radius: 8px;
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 300px;
  padding: 28px 24px 24px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: transform .22s, box-shadow .22s;
}
.ml-pb1:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0,0,0,.28); }
.ml-pb1--dark   { background: var(--ml-black2); border: .5px solid var(--ml-border2); }
.ml-pb1--red    { background: var(--ml-red); }
.ml-pb1--mid    { background: #1A1A1A; border: .5px solid var(--ml-border2); }
.ml-pb1--accent { background: #0D1A2E; border: .5px solid rgba(59,130,246,.2); }
.ml-pb1__tag {
  display: inline-block; align-self: flex-start;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 3px;
  margin-bottom: 16px; color: rgba(255,255,255,.9);
}
.ml-pb1--dark   .ml-pb1__tag { background: rgba(255,255,255,.1); }
.ml-pb1--red    .ml-pb1__tag { background: rgba(0,0,0,.25); }
.ml-pb1--mid    .ml-pb1__tag { background: rgba(255,255,255,.1); }
.ml-pb1--accent .ml-pb1__tag { background: rgba(59,130,246,.25); color: #93C5FD; }
.ml-pb1__emoji { font-size: 52px; line-height: 1; margin-bottom: 20px; display: block; }
.ml-pb1__body  { margin-top: auto; }
.ml-pb1__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px; font-weight: 900;
  text-transform: uppercase; line-height: 1;
  color: var(--ml-white); margin-bottom: 10px;
}
.ml-pb1__title em { font-style: normal; }
.ml-pb1--dark   .ml-pb1__title em { color: var(--ml-red); }
.ml-pb1--red    .ml-pb1__title em { color: rgba(255,255,255,.65); }
.ml-pb1--mid    .ml-pb1__title em { color: var(--ml-red); }
.ml-pb1--accent .ml-pb1__title em { color: #60A5FA; }
.ml-pb1__sub  { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.55; margin-bottom: 20px; }
.ml-pb1--red .ml-pb1__sub { color: rgba(255,255,255,.75); }
.ml-pb1__cta  { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); transition: color .15s; }
.ml-pb1:hover .ml-pb1__cta { color: rgba(255,255,255,.9); }
.ml-pb1--red .ml-pb1__cta { color: rgba(255,255,255,.75); }

/* ─── PROMO BLOCKS V2 ───────────────────────────────────── */
.ml-promo-blocks-v2__grid {
  display: grid;
  grid-template-columns: 42fr 58fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 14px;
  min-height: 480px;
}
.ml-pb2-featured {
  grid-row: 1 / 4; grid-column: 1;
  background: var(--ml-red);
  border-radius: 8px;
  padding: 36px 32px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
  cursor: pointer; text-decoration: none;
  transition: filter .22s;
}
.ml-pb2-featured:hover { filter: brightness(1.08); }
.ml-pb2-featured::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 18px, rgba(0,0,0,.06) 18px, rgba(0,0,0,.06) 19px);
}
.ml-pb2-featured__icon { position: absolute; top: 32px; right: 28px; font-size: 80px; line-height: 1; opacity: .22; transform: rotate(-8deg); pointer-events: none; }
.ml-pb2-featured__tag { position: relative; display: inline-block; align-self: flex-start; font-family: 'Barlow Condensed', sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.85); background: rgba(0,0,0,.25); padding: 5px 12px; border-radius: 3px; margin-bottom: 18px; }
.ml-pb2-featured__discount { position: relative; font-family: 'Barlow Condensed', sans-serif; font-size: 80px; font-weight: 900; line-height: 1; color: #fff; letter-spacing: -.02em; margin-bottom: 4px; }
.ml-pb2-featured__title  { position: relative; font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 900; text-transform: uppercase; color: rgba(255,255,255,.85); letter-spacing: .04em; margin-bottom: 10px; line-height: 1.1; }
.ml-pb2-featured__sub    { position: relative; font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.5; margin-bottom: 22px; }
.ml-pb2-featured__cta    { position: relative; display: inline-flex; align-items: center; gap: 8px; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.25); border-radius: 4px; padding: 11px 20px; font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff !important; text-decoration: none; align-self: flex-start; transition: background .18s, border-color .18s; }
.ml-pb2-featured:hover .ml-pb2-featured__cta { background: rgba(0,0,0,.5); border-color: rgba(255,255,255,.5); }

.ml-pb2-row {
  grid-column: 2;
  border-radius: 8px;
  display: grid; grid-template-columns: 100px 1fr auto;
  align-items: stretch;
  overflow: hidden; cursor: pointer; text-decoration: none;
  border: .5px solid var(--ml-border2);
  transition: border-color .2s, transform .2s;
  background: var(--ml-black2);
}
.ml-pb2-row:hover { border-color: rgba(208,40,10,.45); transform: translateX(3px); }
.ml-pb2-row--red   { border-left: 3px solid var(--ml-red); }
.ml-pb2-row--amber { border-left: 3px solid #D97706; }
.ml-pb2-row--blue  { border-left: 3px solid #1D4ED8; }
.ml-pb2-row__thumb { display: flex; align-items: center; justify-content: center; font-size: 38px; background: rgba(255,255,255,.03); border-right: .5px solid var(--ml-border); flex-shrink: 0; }
.ml-pb2-row__body  { padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.ml-pb2-row__tag   { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 2px; }
.ml-pb2-row--red   .ml-pb2-row__tag { color: var(--ml-red); }
.ml-pb2-row--amber .ml-pb2-row__tag { color: #D97706; }
.ml-pb2-row--blue  .ml-pb2-row__tag { color: #3B82F6; }
.ml-pb2-row__title { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 900; text-transform: uppercase; color: var(--ml-white); line-height: 1.1; }
.ml-pb2-row__sub   { font-size: 12.5px; color: var(--ml-gray3); line-height: 1.4; margin-top: 4px; }
.ml-pb2-row__arrow { display: flex; align-items: center; padding: 0 22px; font-size: 20px; color: var(--ml-gray3); border-left: .5px solid var(--ml-border); transition: color .15s, transform .15s; flex-shrink: 0; }
.ml-pb2-row:hover .ml-pb2-row__arrow { color: var(--ml-white); transform: translateX(2px); }

/* ─── STORE BANNER ──────────────────────────────────────── */
.ml-store-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: .5px solid var(--ml-border2);
  border-radius: 8px;
}
.ml-store-banner__map {
  background: var(--ml-black2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 72px;
  border-right: .5px solid var(--ml-border2);
  position: relative; overflow: hidden;
  min-height: 240px;
  gap: 12px;
}
.ml-store-banner__map::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(208,40,10,.04) 20px, rgba(208,40,10,.04) 21px);
}
.ml-store-banner__map-label { font-size: 13px; color: var(--ml-gray3); letter-spacing: .06em; position: relative; z-index: 1; }
.ml-store-banner__info { background: var(--ml-black2); padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.ml-store-banner__eyebrow { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ml-red); margin-bottom: 12px; }
.ml-store-banner__title { font-family: 'Barlow Condensed', sans-serif; font-size: 34px; font-weight: 900; text-transform: uppercase; color: var(--ml-white); line-height: 1.0; margin-bottom: 20px; }
.ml-store-banner__hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; color: rgba(245,243,239,.7); margin-bottom: 24px; }
.ml-store-banner__day  { color: var(--ml-gray3); font-size: 12px; letter-spacing: .06em; }
.ml-store-banner__time { font-weight: 500; }

/* ─── TRUST BAR ─────────────────────────────────────────── */
.ml-trust-bar { background: var(--ml-black2); border-top: .5px solid var(--ml-border); }
.ml-trust-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ml-trust-bar__item { padding: 36px 24px; border-right: .5px solid var(--ml-border); display: flex; flex-direction: column; align-items: center; text-align: center; }
.ml-trust-bar__item:last-child { border-right: none; }
.ml-trust-bar__icon  { font-size: 26px; margin-bottom: 12px; }
.ml-trust-bar__title { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ml-white); margin-bottom: 6px; }
.ml-trust-bar__text  { font-size: 13px; color: var(--ml-gray3); line-height: 1.5; }

/* ─── NEWSLETTER ────────────────────────────────────────── */
.ml-newsletter {
  padding: 56px 40px;
  text-align: center;
  border-top: .5px solid var(--ml-border);
}
.ml-newsletter__eyebrow { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ml-red); margin-bottom: 12px; }
.ml-newsletter__title   { font-family: 'Barlow Condensed', sans-serif; font-size: 42px; font-weight: 900; text-transform: uppercase; color: var(--ml-white); margin-bottom: 8px; }
.ml-newsletter__sub     { font-size: 15px; color: var(--ml-gray3); margin-bottom: 32px; }
.ml-newsletter__form    { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.ml-newsletter__form input {
  flex: 1; background: rgba(245,243,239,.05);
  border: .5px solid var(--ml-border2);
  border-radius: 4px; padding: 14px 18px;
  color: var(--ml-white); font-size: 14px;
  font-family: 'Barlow', sans-serif; outline: none;
  transition: border-color .15s;
}
.ml-newsletter__form input::placeholder { color: var(--ml-gray3); }
.ml-newsletter__form input:focus { border-color: rgba(208,40,10,.5); }
.ml-newsletter__form button {
  background: var(--ml-red); border: none; border-radius: 4px;
  color: #fff; font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 14px; letter-spacing: .14em;
  text-transform: uppercase; padding: 14px 28px;
  cursor: pointer; transition: background .15s; white-space: nowrap;
}
.ml-newsletter__form button:hover { background: var(--ml-red-dk); }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .ml-cats-grid--cols-5,
  .ml-cats-grid--cols-6 { grid-template-columns: repeat(3, 1fr); }
  .ml-products-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
  .ml-promo-blocks-v1__grid { grid-template-columns: repeat(2, 1fr); }
  .ml-promo-blocks-v2__grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .ml-pb2-featured { grid-row: auto; grid-column: auto; min-height: 280px; }
  .ml-store-banner { grid-template-columns: 1fr; }
  .ml-trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .ml-hero-v2__content { grid-template-columns: 1fr; }
  .ml-hero-v2__promo { align-items: flex-start; text-align: left; padding: 48px 40px; }
  .ml-hero-v2__left { clip-path: polygon(0 0, 100% 0, 100% 60%, 0 75%); }
  .ml-hero-v2__discount { font-size: 96px; }
}
@media (max-width: 600px) {
  .ml-cats-grid--cols-3,
  .ml-cats-grid--cols-4,
  .ml-cats-grid--cols-5,
  .ml-cats-grid--cols-6 { grid-template-columns: repeat(2, 1fr); }
  .ml-cats-grid { gap: 10px; padding: 0 2px; }
  .ml-section { padding: 36px 4px; }
  .ml-section__header { padding-left: 2px; padding-right: 2px; }
  .ml-cat-card { padding: 18px 12px 16px; }
  .ml-cat-card__icon { font-size: 28px; margin-bottom: 8px; }
  .ml-cat-card__icon--img { width: 36px; height: 36px; }
  .ml-cat-card__name { font-size: 13px; }
  .ml-cat-card__sub { display: none; }
  .ml-products-grid--cols-2,
  .ml-products-grid--cols-3,
  .ml-products-grid--cols-4 { grid-template-columns: 1fr; }
  .ml-promo-blocks-v1__grid { grid-template-columns: 1fr; }
  .ml-trust-bar__grid { grid-template-columns: 1fr; }
  .ml-trust-bar__item { border-right: none; border-bottom: .5px solid var(--ml-border); }
  .ml-hero-v1 { padding: 48px 20px; }
  .ml-newsletter { padding: 48px 20px; }
  .ml-newsletter__form { flex-direction: column; }
  .ml-promo-strip { flex-direction: column; gap: 12px; }
  .ml-promo-strip__item { border-right: none; }
}

/* ═══════════════════════════════════════════════════════════
   HERO V3 — Editorial Tabs (VELO style)
   ═══════════════════════════════════════════════════════════ */

.ml-hero-v3 {
  position: relative;
  width: 100%;
  height: var(--h3height, 75vh);
  min-height: 360px;
  display: grid;
  grid-template-columns: var(--h3lw, 320px) 1fr;
  font-family: 'DM Sans', 'Barlow', sans-serif;
  color: var(--h3ink, #0e0d0c);
  overflow: hidden;
}

/* grain overlay */
.ml-h3-grain {
  position: absolute; inset: -100%; width: 300%; height: 300%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .022; pointer-events: none; z-index: 9000;
  animation: mlh3grain .7s steps(3) infinite;
}
@keyframes mlh3grain {
  0%   { transform: translate(0,0); }
  33%  { transform: translate(-2%,3%); }
  66%  { transform: translate(3%,-2%); }
  100% { transform: translate(-1%,1%); }
}

/* ── LEFT PANEL ── */
.ml-h3-left {
  position: relative; z-index: 10;
  background: var(--h3bg, #f4f0e9);
  box-shadow: 8px 0 40px rgba(0,0,0,.04);
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 28px 0 28px 36px; gap: 0;
  overflow: hidden;
}

/* tabs */
.ml-h3-tabs { display: flex; flex-direction: column; gap: 0; margin-bottom: 20px; }
.ml-h3-tab {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border: none; background: none; cursor: pointer;
  border-bottom: 1px solid rgba(0,0,0,.07);
  position: relative; text-align: left; transition: all .25s;
}
.ml-h3-tab:first-child { border-top: 1px solid rgba(0,0,0,.07); }
.ml-h3-tab::before {
  content: ''; position: absolute; left: -36px; top: 0; bottom: 0;
  width: 3px; background: var(--h3acc, #D0280A);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .35s cubic-bezier(.77,0,.175,1);
}
.ml-h3-tab.is-active::before { transform: scaleY(1); }

.ml-h3-tab__num {
  font-family: 'Syne', 'Barlow Condensed', sans-serif;
  font-size: .52rem; font-weight: 600;
  color: var(--h3mut, #928e87); letter-spacing: .12em;
  min-width: 18px; transition: color .25s;
}
.ml-h3-tab__name {
  font-family: 'Syne', 'Barlow Condensed', sans-serif;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--h3mut, #928e87); flex: 1;
  transition: color .25s;
}
.ml-h3-tab__thumb {
  width: 28px; height: 28px; border-radius: 3px; overflow: hidden;
  opacity: 0; transform: scale(.8);
  transition: opacity .3s, transform .3s; flex-shrink: 0;
}
.ml-h3-tab__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ml-h3-tab.is-active .ml-h3-tab__thumb { opacity: 1; transform: scale(1); }
.ml-h3-tab.is-active .ml-h3-tab__num,
.ml-h3-tab.is-active .ml-h3-tab__name { color: var(--h3ink, #0e0d0c); }

/* product slides */
.ml-h3-info { position: relative; overflow: hidden; min-height: 160px; }
.ml-h3-slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-start;
  opacity: 0; transform: translateY(18px);
  transition: opacity .42s ease, transform .42s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.ml-h3-slide.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }

.ml-h3-slide__label {
  font-size: .52rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--h3acc, #D0280A);
  margin-bottom: 6px; display: flex; align-items: center; gap: 7px;
}
.ml-h3-slide__label::before { content: ''; width: 16px; height: 1px; background: var(--h3acc, #D0280A); }
.ml-h3-slide__title {
  font-family: 'Instrument Serif', 'Barlow Condensed', serif;
  font-size: 1.7rem; line-height: 1.05;
  color: var(--h3ink, #0e0d0c); margin-bottom: 6px;
}
.ml-h3-slide__title em { font-style: italic; color: var(--h3acc, #D0280A); }
.ml-h3-slide__desc {
  font-size: .72rem; line-height: 1.55;
  color: var(--h3mut, #928e87); max-width: 260px; margin-bottom: 8px;
}
.ml-h3-slide__price {
  font-family: 'Syne', 'Barlow Condensed', sans-serif;
  font-size: 1.2rem; font-weight: 800;
  color: var(--h3ink, #0e0d0c);
  display: flex; align-items: baseline; gap: 5px;
}
.ml-h3-slide__price small { font-size: .58rem; color: var(--h3mut, #928e87); font-weight: 400; }

/* CTA row */
.ml-h3-cta-row {
  display: flex; align-items: center; gap: 14px;
  margin-top: 16px;
}
.ml-h3-btn-buy {
  font-family: 'Syne', 'Barlow Condensed', sans-serif;
  font-size: .6rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: white; background: var(--h3ink, #0e0d0c);
  border: none; padding: 12px 26px; cursor: pointer;
  position: relative; overflow: hidden;
}
.ml-h3-btn-sweep {
  position: absolute; inset: 0;
  background: var(--h3acc, #D0280A);
  transform: translateX(-101%);
  transition: transform .45s cubic-bezier(.77,0,.175,1);
}
.ml-h3-btn-buy:hover .ml-h3-btn-sweep { transform: translateX(0); }
.ml-h3-btn-buy span { position: relative; z-index: 1; }

.ml-h3-btn-wish {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid #ddd8cf; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s; color: var(--h3ink, #0e0d0c);
}
.ml-h3-btn-wish:hover { border-color: var(--h3acc, #D0280A); background: rgba(208,40,10,.05); }

/* ── RIGHT — PHOTO STAGE ── */
.ml-h3-stage { position: relative; overflow: hidden; background: #111; }

.ml-h3-word {
  position: absolute; right: -2%; top: 50%; transform: translateY(-50%);
  font-family: 'Syne', 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 20vw; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.04);
  pointer-events: none; user-select: none; white-space: nowrap;
  z-index: 3; transition: opacity .4s;
}

.ml-h3-layer {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .7s cubic-bezier(.4,0,.2,1);
}
.ml-h3-layer.is-active { opacity: 1; }
.ml-h3-layer img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  transform: scale(1.06);
  transition: transform 6s cubic-bezier(.25,.46,.45,.94), filter .7s;
  filter: brightness(.82) saturate(1.08);
}
.ml-h3-layer.is-active img { transform: scale(1); }
/* left blend */
.ml-h3-layer::before {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to right, var(--h3bg, #f4f0e9) 0%, rgba(244,240,233,.3) 12%, transparent 30%);
}
/* bottom gradient */
.ml-h3-layer::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 40%);
}

/* accent bottom bar */
.ml-h3-layer__accent {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 10;
  height: 4px; background: var(--h3acc, #D0280A);
  transform: scaleX(0); transform-origin: left;
  transition: transform .8s cubic-bezier(.77,0,.175,1) .3s;
}
.ml-h3-layer.is-active .ml-h3-layer__accent { transform: scaleX(1); }

/* caption */
.ml-h3-layer__caption {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 20;
  padding: 18px 28px 22px;
  display: flex; align-items: flex-end; justify-content: space-between;
}
.ml-h3-caption-tag {
  font-family: 'Syne', sans-serif; font-size: .52rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 4px; display: block;
}
.ml-h3-caption-title {
  font-family: 'Instrument Serif', serif; font-size: 1.2rem;
  color: white; line-height: 1.2;
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s ease .6s, transform .5s ease .6s;
}
.ml-h3-layer.is-active .ml-h3-caption-title { opacity: 1; transform: translateY(0); }
.ml-h3-caption-title em { font-style: italic; color: rgba(255,255,255,.6); }

/* rating pill */
.ml-h3-rating {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  padding: 7px 13px; border-radius: 100px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s ease .7s, transform .5s ease .7s;
}
.ml-h3-layer.is-active .ml-h3-rating { opacity: 1; transform: translateY(0); }
.ml-h3-stars { color: #f0c040; font-size: .68rem; letter-spacing: .08em; }
.ml-h3-rating-text { font-size: .58rem; color: rgba(255,255,255,.7); letter-spacing: .06em; }

/* hotspot pins */
.ml-h3-pin {
  position: absolute; z-index: 30; cursor: default;
  transform: translate(-50%,-50%);
  opacity: 0; transition: opacity .4s ease;
}
.ml-h3-layer.is-active .ml-h3-pin { opacity: 1; }
.ml-h3-pin__ring {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.6);
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: mlh3pinpulse 2.5s ease-in-out infinite;
}
.ml-h3-pin__dot {
  width: 7px; height: 7px; border-radius: 50%; background: white;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
}
@keyframes mlh3pinpulse {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: .7; }
  50%      { transform: translate(-50%,-50%) scale(1.8); opacity: 0; }
}
.ml-h3-pin__card {
  position: absolute; left: 22px; top: 50%;
  transform: translateY(-50%) translateX(-4px);
  background: white; padding: 9px 14px; white-space: nowrap;
  box-shadow: 0 8px 28px rgba(0,0,0,.18); pointer-events: none;
  opacity: 0; transition: opacity .2s, transform .2s;
  border-left: 3px solid var(--h3acc, #D0280A);
}
.ml-h3-pin:hover .ml-h3-pin__card { opacity: 1; transform: translateY(-50%) translateX(0); }
.ml-h3-pin__label { font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: #928e87; }
.ml-h3-pin__val   { font-family: 'Syne', sans-serif; font-size: .8rem; font-weight: 700; color: #0e0d0c; margin-top: 2px; }

/* info strip */
.ml-h3-infostrip {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 40; display: flex; flex-direction: column;
}
.ml-h3-infostrip__item {
  padding: 10px 14px;
  background: rgba(244,240,233,.92); backdrop-filter: blur(8px);
  border-left: 1px solid #ddd8cf; border-bottom: 1px solid #ddd8cf;
  transition: background .2s;
}
.ml-h3-infostrip__item:first-child { border-top: 1px solid #ddd8cf; }
.ml-h3-infostrip__item:hover { background: white; }
.ml-h3-infostrip__n {
  font-family: 'Syne', 'Barlow Condensed', sans-serif;
  font-size: .95rem; font-weight: 800;
  color: var(--h3ink, #0e0d0c);
  transition: opacity .3s, transform .3s;
}
.ml-h3-infostrip__l {
  font-size: .48rem; letter-spacing: .16em; text-transform: uppercase;
  color: #928e87; margin-top: 1px;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */

/* Tablet – pannello sx un po' più stretto */
@media (max-width: 900px) {
  .ml-hero-v3 {
    grid-template-columns: 260px 1fr;
  }
  .ml-h3-left {
    padding: 20px 0 20px 24px;
  }
  .ml-h3-tab__thumb {
    display: none;
  }
}

/* Mobile – foto sopra, info sotto (< 640px) */
@media (max-width: 640px) {

  /* Scroll verticale abilitato */
  .ml-hero-v3 {
    grid-template-columns: 1fr !important;
    grid-template-rows: 52vw auto !important;
    height: auto !important;
    min-height: unset !important;
    overflow: visible;
  }

  /* Foto in cima */
  .ml-h3-stage {
    grid-row: 1;
    height: 52vw;
    min-height: 220px;
  }

  /* Info in fondo */
  .ml-h3-left {
    grid-row: 2;
    padding: 20px 20px 24px !important;
    box-shadow: none;
    border-top: 1px solid rgba(245,243,239,0.14);
    min-height: unset;
  }

  /* Nasconde la barra verticale accento sui tab */
  .ml-h3-tab::before {
    display: none;
  }

  /* Tab orizzontali a pillola */
  .ml-h3-tabs {
    flex-direction: row !important;
    gap: 8px !important;
    overflow-x: auto;
    margin-bottom: 16px !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .ml-h3-tabs::-webkit-scrollbar { display: none; }

  .ml-h3-tab {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 14px !important;
    border: 1px solid rgba(245,243,239,0.18) !important;
    border-top: 1px solid rgba(245,243,239,0.18) !important;
    border-bottom: 1px solid rgba(245,243,239,0.18) !important;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    background: transparent;
    transition: background .2s, border-color .2s;
  }
  .ml-h3-tab.is-active {
    background: var(--h3ink, #0e0d0c);
    border-color: var(--h3ink, #0e0d0c) !important;
  }
  .ml-h3-tab.is-active .ml-h3-tab__num,
  .ml-h3-tab.is-active .ml-h3-tab__name {
    color: white !important;
  }
  .ml-h3-tab__thumb { display: none; }
  .ml-h3-tab__num  { font-size: .5rem; min-width: unset; }
  .ml-h3-tab__name { font-size: .62rem; }

  /* Info slides: altezza ridotta */
  .ml-h3-info { min-height: 120px !important; }

  /* Titolo, desc, prezzo compatti */
  .ml-h3-slide__title {
    font-size: 1.35rem !important;
    margin-bottom: 5px;
  }
  .ml-h3-slide__desc {
    font-size: .7rem !important;
    max-width: 100% !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .ml-h3-slide__price { font-size: 1rem !important; }

  /* Nasconde elementi decorativi */
  .ml-h3-word,
  .ml-h3-infostrip,
  .ml-h3-pin { display: none !important; }

  /* Caption foto ridotta */
  .ml-h3-layer__caption {
    padding: 12px 16px 16px !important;
  }
  .ml-h3-caption-title { font-size: .95rem !important; }
  .ml-h3-rating { padding: 5px 10px !important; }

  /* Gradiente: da sinistra a top (la foto è sopra, non di fianco) */
  .ml-h3-layer::before {
    background: linear-gradient(
      to bottom,
      rgba(14,13,12,0) 0%,
      transparent 100%
    ) !important;
  }

  /* CTA row */
  .ml-h3-cta-row { margin-top: 12px !important; }
  .ml-h3-btn-buy {
    padding: 12px 22px !important;
    width: 100%;
    justify-content: center;
    display: flex;
  }
  .ml-h3-btn-wish { flex-shrink: 0; }
}

/* ── Promo Blocks: overlay foto di sfondo ────────────────── */
.ml-pb1 { overflow: hidden; }
.ml-pb1__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 0;
}
.ml-pb1__tag,
.ml-pb1__body { position: relative; z-index: 1; }

.ml-pb2-featured__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.38);
  z-index: 0;
}
.ml-pb2-featured__tag,
.ml-pb2-featured__discount,
.ml-pb2-featured__title,
.ml-pb2-featured__sub,
.ml-pb2-featured__cta { position: relative; z-index: 1; }

/* Thumb righe v2 con immagine */
.ml-pb2-row__thumb {
  overflow: hidden;
  flex-shrink: 0;
}
.ml-pb2-row__thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* ============================================================
   HERO V4 — Fullscreen con tab in basso centrati
   Struttura: come l'HTML originale.
   .ml-hero-v4 = position:relative; height:Xvh; overflow:hidden
   Tutti i figli interni = position:absolute
   ============================================================ */

/* Wrapper — identico a .hero nell'HTML */
.ml-hero-v4 {
  position: relative;
  width: 100%;
  min-height: 500px;
  overflow: hidden;
  background: #111;
  /* height viene dall'inline style del PHP */
}

/* Layer foto — identico a .layer */
.ml-h4-layer {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .8s cubic-bezier(.4,0,.2,1);
}
.ml-h4-layer.active { opacity: 1; }

.ml-h4-layer img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  transform: scale(1.07);
  transition: transform 7s cubic-bezier(.25,.46,.45,.94);
  filter: brightness(.65) saturate(1.1);
}
.ml-h4-layer.active img { transform: scale(1); }

/* Gradiente overlay — identico a .layer::after */
.ml-h4-layer::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.96) 0%,
    rgba(0,0,0,.75) 22%,
    rgba(0,0,0,.3)  50%,
    rgba(0,0,0,.05) 75%,
    transparent     100%
  );
}

/* Watermark — identico a .word */
.ml-h4-word {
  position: absolute; right: -1%; top: 38%;
  transform: translateY(-50%);
  z-index: 2; pointer-events: none; user-select: none;
  font-family: 'Syne', 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 22vw; line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.045);
  transition: opacity .4s;
}

/* Contenuto in basso — identico a .bottom */
.ml-h4-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 0;
}

/* Area prodotto — identico a .prod-area */
.ml-h4-prod-area {
  width: 100%; max-width: 640px;
  padding: 0 24px 28px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  position: relative;
}

/* Slides — identico a .prod-slides */
.ml-h4-prod-slides {
  position: relative; width: 100%;
  min-height: 170px;
  display: flex; align-items: flex-end; justify-content: center;
}

.ml-h4-prod-slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  opacity: 0; transform: translateY(14px);
  transition: opacity .45s ease, transform .45s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.ml-h4-prod-slide.active {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
}

/* Label */
.ml-h4-label {
  font-family: 'DM Sans', 'Barlow', sans-serif;
  font-size: .62rem; letter-spacing: .26em; text-transform: uppercase;
  color: #c4281c; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.ml-h4-label::before,
.ml-h4-label::after { content: ''; width: 18px; height: 1px; background: #c4281c; }

/* Titolo */
.ml-h4-title {
  font-family: 'Instrument Serif', 'Barlow Condensed', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1; color: white; margin-bottom: 10px;
}
.ml-h4-title em { font-style: italic; color: rgba(255,255,255,.55); }

/* Descrizione */
.ml-h4-desc {
  font-size: .82rem; line-height: 1.6;
  color: rgba(255,255,255,.5); max-width: 420px; margin-bottom: 14px;
}

/* Prezzo + CTA row */
.ml-h4-prod-bottom { display: flex; align-items: center; gap: 20px; }

.ml-h4-price {
  font-family: 'Syne', 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 800; color: white;
}

.ml-h4-btn {
  display: inline-block;
  font-family: 'Syne', 'Barlow Condensed', sans-serif;
  font-size: .6rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: white; background: #c4281c;
  border: none; padding: 12px 26px;
  cursor: pointer; text-decoration: none;
  transition: background .2s;
}
.ml-h4-btn:hover { background: #a01f14; }

/* Tab bar — identico a .tab-bar */
.ml-h4-tab-bar {
  width: 100%;
  background: rgba(10,10,9,.85);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: center;
  overflow-x: auto; scrollbar-width: none;
}
.ml-h4-tab-bar::-webkit-scrollbar { display: none; }

.ml-h4-tab-inner { display: flex; align-items: stretch; }

/* Tab — identico a .tab */
.ml-h4-tab {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; padding: 14px 28px;
  border: none; background: none;
  cursor: pointer; position: relative;
  flex-shrink: 0; min-width: 110px;
  transition: background .2s;
}
.ml-h4-tab:not(:last-child) { border-right: 1px solid rgba(255,255,255,.07); }
.ml-h4-tab:hover { background: rgba(255,255,255,.05); }

.ml-h4-tab::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: #c4281c;
  transform: scaleX(0); transform-origin: center;
  transition: transform .38s cubic-bezier(.77,0,.175,1);
}
.ml-h4-tab.active::before { transform: scaleX(1); }
.ml-h4-tab.active { background: rgba(196,40,28,.08); }

/* Thumbnail */
.ml-h4-tab-thumb {
  width: 40px; height: 40px;
  border-radius: 4px; overflow: hidden;
  opacity: .4; transform: scale(.88);
  transition: opacity .3s, transform .3s; flex-shrink: 0;
}
.ml-h4-tab-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ml-h4-tab.active .ml-h4-tab-thumb { opacity: 1; transform: scale(1); }

/* Nome tab */
.ml-h4-tab-name {
  font-family: 'Syne', 'Barlow Condensed', sans-serif;
  font-size: .62rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.38);
  transition: color .2s; white-space: nowrap;
}
.ml-h4-tab.active .ml-h4-tab-name { color: rgba(255,255,255,.9); }

/* Progress bar */
.ml-h4-tab-prog {
  position: absolute; bottom: 0; left: 0;
  height: 2px; width: 0%;
  background: rgba(196,40,28,.6);
  transition: opacity .2s; opacity: 0;
}
.ml-h4-tab.active .ml-h4-tab-prog { opacity: 1; width: 100%; }

/* Responsive */
@media (max-width: 640px) {
  .ml-h4-tab { padding: 12px 16px; min-width: 80px; }
  .ml-h4-tab-thumb { width: 32px; height: 32px; }
  .ml-h4-tab-name { font-size: .55rem; }
  .ml-h4-title { font-size: 2rem; }
  .ml-h4-desc { display: none; }
  .ml-h4-prod-area { padding: 0 20px 24px; }
  .ml-h4-word { font-size: 30vw; }
}
