:root {
  /* FIX 2026-09-11 "sito come tempio": da blu-notte a nero profondo caldo +
     verde salvia (sfondi secondari) + legno (card) + oro antico (accento). */
  --primary: #0d0a07;
  --primary-light: #16120b;
  --accent: #c9a962;
  --accent-gold: #c9a962;
  --accent-light: #dbc791;
  --accent-dark: #a3874b;
  --text: #f3eee6;
  --text-light: #cfc8bc;
  --text-lighter: #96907f;
  --text-card: #1a1406;
  --bg: #0d0a07;
  --bg-alt: #303b28;
  --bg-card: #ece2d0;
  --sage: #9caf88;
  --border: #c9a962;
  --border-light: #d9c48f;
  --success: #0a7d5a;
  --error: #c0392b;
  --star: #c9a962;
  --cream: #f5efe8;
  --serif: 'Lora', Georgia, serif;
  --font-serif: var(--serif);
  --sans: 'DM Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-sans: var(--sans);
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.12);
  --shadow-md: 0 4px 16px rgba(0,0,0,.18);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.25);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.3);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

/* ══════════════════════════════════════════════════════════════
   COMPONENTI CARD/BUTTON — definizione UNICA centralizzata
   (2026-08-23: dedup di 3 casi multi-definizione. Non duplicare
   questi selettori altrove nel file.)
   ══════════════════════════════════════════════════════════════ */

/* Card prodotto (catalogo, home, correlati) */
.product-card {
  /* FIX 19/9 "forme armoniose invece di squadrate" (Gianluca) */
  background: var(--bg-card);
  border: none;
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.05);
  transition: box-shadow .4s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.06);
}
.product-card .category {
  font-size: .7rem;
  font-weight: 600;
  color: #6e5a28 !important; /* bronzo su crema: 6.05:1 */
  text-transform: uppercase;
  letter-spacing: .05em;
}
.product-card .add-btn {
  /* FIX 19/9 "tocco zen avvolgente" (Gianluca): il giallo Amazon stonava
     con la palette oro/nero caldo del resto del sito. Bottone secondario
     ora a contorno bronzo, coerente con .buy-now-btn sotto. */
  margin: .5rem 1rem 1rem;
  width: calc(100% - 2rem);
  background: transparent;
  border: 1.5px solid var(--accent-dark);
  color: var(--text-card);
  font-weight: 600;
  font-size: .85rem;
  padding: .65rem 0;
  border-radius: 100px;
  cursor: pointer;
  transition: background .15s ease, transform .12s ease;
  font-family: inherit;
}
.product-card .add-btn:hover {
  background: rgba(163,135,75,.12);
  border-color: var(--accent-dark);
  color: var(--text-card);
}
/* Badge sconto: oro discreto in basso a destra (mai rosso) */
.product-card .discount,
.discount-badge {
  display: inline-block;
  background: rgba(201,169,98,.92);
  color: #14141c;
  font-size: .62rem;
  font-weight: 600;
  padding: .18rem .5rem;
  border-radius: 3px;
  letter-spacing: .04em;
}

/* Bottone aggiunta pagina prodotto: oro pieno + testo scuro (7.9:1) */
.product-actions .add-to-cart {
  flex: 1;
  background: linear-gradient(135deg, #d4b56e, var(--accent));
  color: #14141c;
  border: none;
  border-radius: 100px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .95rem;
  cursor: pointer;
  padding: 0 2rem;
  min-height: 54px;
  transition: filter .2s, transform .15s;
  font-family: inherit;
}
.product-actions .add-to-cart:hover { filter: brightness(1.08); transform: translateY(-1px); }
.product-actions .add-to-cart:active { transform: translateY(0); }

/* ── FINE COMPONENTI CARD/BUTTON ── */



* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background: var(--bg);
  color: var(--text-light);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 2rem; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { color: var(--text-light); }
.lead { font-size: 1.125rem; font-weight: 300; color: var(--text-lighter); letter-spacing: .01em; }
.caption { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-weight: 500; }

/* ── FOCUS ── */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar {
  background: var(--bg);
  border-bottom: 1px solid rgba(201,169,98,.18);
}
.announcement-track,
.announcement-track-inner {
  white-space: normal;
  text-align: center;
  padding: .55rem 1rem;
}
.announcement-track-inner {
  display: inline-block;
  will-change: transform;
  animation: marquee 25s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.announcement-item {
  display: inline-block;
  margin: 0 .35rem;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #cfc8bc;
}
.announcement-item:hover { opacity: 1; color: var(--accent); } .announcement-item { color: var(--cream); }

/* ── HEADER ── */
.site-header {
  background: rgba(10,14,17,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 50;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 84px;
  gap: 1.5rem;
  min-width: 0; /* prevents grid overflow */
}
.header-logo {
  font-size: 1.65rem;
  font-weight: 400;
  font-family: var(--serif);
  color: var(--accent);
  letter-spacing: .28em;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: .4rem;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.header-logo:hover { opacity: .8; transform: scale(1.01); }
.header-logo::before {
  content: '';
  width: 28px;
  height: 28px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23c8a94a" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2L2 7l10 5 10-5-10-5z"/><path d="M2 17l10 5 10-5"/><path d="M2 12l10 5 10-5"/></svg>') center/contain no-repeat;
  margin-right: .75rem;
}
.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  min-width: 0;
}
.header-nav a,
.site-header .header-nav a,
header .header-nav a,
#site-header .header-nav a {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: #f5efe8 !important;
  text-transform: uppercase;
  transition: color .2s;
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
}
.header-nav a:hover,
.header-nav a.active,
.site-header .header-nav a:hover,
.site-header .header-nav a.active,
header .header-nav a:hover,
header .header-nav a.active,
#site-header .header-nav a:hover,
#site-header .header-nav a.active { color: var(--accent) !important; }
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .25s;
}
.header-nav a:hover::after { width: 100%; }

/* Sottomenu verticale — si apre su hover come menu di lusso */
.drop-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.drop-item > a,
.site-header .drop-item > a,
header .drop-item > a,
#site-header .drop-item > a {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: #f5efe8 !important;
  text-transform: uppercase;
  transition: color .2s;
  position: relative;
  padding-bottom: 2px;
  display: inline-block;
}
.drop-item:hover > a,
.site-header .drop-item:hover > a,
header .drop-item:hover > a,
#site-header .drop-item:hover > a { color: var(--accent) !important; }
.drop-item > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .25s;
}
.drop-item:hover > a::after { width: 100%; }
.drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--bg-alt, #16213e);
  border: 1px solid var(--border-light, rgba(255,255,255,.12));
  border-radius: .5rem;
  padding: .4rem 0;
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
  z-index: 300;
  flex-direction: column;
}
.drop-item:hover .drop-menu { display: flex; }
.drop-item:hover .drop-menu-wide { flex-direction: row; }
.drop-menu a,
.site-header .drop-menu a,
header .drop-menu a,
#site-header .drop-menu a {
  display: block;
  padding: .55rem 1.1rem;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
  color: #e0e0e0 !important;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.drop-menu a:hover,
.site-header .drop-menu a:hover,
header .drop-menu a:hover,
#site-header .drop-menu a:hover {
  background: var(--bg-hover, #303b28);
  color: var(--accent) !important;
}
.drop-menu a::after { display: none; }
@media (max-width: 767px) { .drop-menu { display: none !important; } }

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .75rem;
  flex-shrink: 0;
}
.header-actions a,
.site-header .header-actions a,
header .header-actions a,
#site-header .header-actions a {
  color: #f5efe8 !important;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
}
.header-actions a:hover,
.site-header .header-actions a:hover,
header .header-actions a:hover,
#site-header .header-actions a:hover {
  color: var(--accent) !important;
  background: rgba(200,169,74,.1);
}
.header-actions svg,
.header-actions span {
  display: block;
  line-height: 1;
}

/* Cart badge */
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  opacity: 0;
  visibility: hidden;
  transform: scale(.8);
  transition: opacity .2s, visibility .2s, transform .2s;
  pointer-events: none;
}
.cart-badge.show,
.cart-badge[data-count] {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.cart-badge:empty { display: none; }

.header-search {
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--accent);
  border-radius: 100px;
  padding: .4rem .4rem .4rem 1rem;
  transition: border-color .2s, box-shadow .2s;
  flex: 1;
  max-width: 320px;
}
.header-search:focus-within {
  border-color: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(201,169,98,.18);
}
.header-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: .875rem;
  color: var(--text-light);
  width: 100%;
  font-family: inherit;
}
.header-search input::placeholder { color: var(--text-lighter); }
.header-search button {
  background: var(--accent);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
}
.header-search button:hover { background: var(--accent-dark); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  padding: .25rem;
}

/* ── HERO ── */
.hero {
  background: var(--primary);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -300px;
  right: -180px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(201,169,98,.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -42px;
  left: -42px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(201,169,98,.08);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--accent);
  text-transform: uppercase;
  padding-bottom: 0;
  margin-bottom: 1.6rem;
}
.hero h1 {
  font-size: 3.4rem;
  font-weight: 500;
  font-family: var(--serif);
  line-height: 1.08;
  color: var(--cream);
  margin-bottom: 1.4rem;
  letter-spacing: .01em;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.hero p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 480px;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  background: transparent;
  color: var(--cream);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .85rem;
  padding: 1rem 2.1rem;
  border: 1px solid var(--accent);
  border-radius: 100px;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.hero-cta:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  z-index: 1;
}
.hero-image {
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 640 / 460;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
  position: relative;
  border: 1px solid rgba(201,169,98,.35);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chat-fab {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
  transition: transform .2s, background .2s;
  z-index: 5;
}
.chat-fab:hover {
  transform: translateY(-3px) scale(1.05);
  background: var(--primary-light);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.hero-stat-label {
  font-size: .8rem;
  color: var(--text-lighter);
  margin-top: .25rem;
}

/* ── SECTION HEADINGS ── */
.section-heading {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-heading .caption {
  display: inline-block;
  margin-bottom: .75rem;
}
.section-heading h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  font-family: var(--serif);
  color: var(--text);
  letter-spacing: .01em;
}
.section-heading p {
  color: var(--text-light);
  margin-top: .75rem;
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── HERO ── */
.hero {
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(200,169,74,.06) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(200,169,74,.04) 0%, transparent 40%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 4rem;
  align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  opacity: .9;
}
.hero-content h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-content h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--text-light);
}
.hero-lead {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
  padding: 1rem 2rem;
  border-radius: 100px;
  border: 2px solid var(--accent);
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.hero-cta:hover {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(4px);
}
.hero-cta svg { transition: transform var(--transition-fast); }
.hero-cta:hover svg { transform: translateX(3px); }
.hero-pay3 {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.25rem;
  font-size: .82rem;
  color: var(--text-lighter);
  opacity: .85;
}
.hero-pay3 svg { color: var(--accent); }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(200,169,74,.12);
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: var(--text-lighter);
  font-weight: 400;
}
.hero-trust svg { color: var(--accent); opacity: 1; flex-shrink: 0; }
.hero-visual { position: relative; }
.hero-image {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--bg-alt);
}
.hero-image img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-slow);
}
.hero-image:hover img { transform: scale(1.015); }
.chat-fab {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--bg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.chat-fab:hover { transform: scale(1.1); box-shadow: var(--shadow-xl); }
.chat-fab:focus-visible { outline-offset: 3px; }

/* ── HERO TRUST BAR ── */
.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(200,169,74,.12);
  font-size: .78rem;
  color: var(--text-lighter);
}
.hero-trust-bar li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

/* ── FEATURED CAROUSEL ── */
.featured-track {
  display: flex;
  align-items: center;
  gap: .75rem;
  position: relative;
  margin-top: 2.5rem;
}
.featured-viewport {
  flex: 1;
  overflow: hidden;
}
.featured-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.25rem;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.featured-grid .product-card {
  /* 10/10 (Gianluca: "metti 4 card"): 4 per riga sul desktop, card piu' larghe */
  flex: 0 0 calc((100% - 3 * 1.25rem) / 4);
  min-width: 0;
}
.featured-grid 
.featured-arrow {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}
.featured-arrow:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--cream);
  transform: scale(1.05);
}
.featured-arrow:disabled {
  opacity: .25;
  cursor: not-allowed;
  transform: none;
}
.featured-arrow svg { width: 20px; height: 20px; }

/* ── VIEW ALL CTA ── */
.view-all-cta {
  text-align: center;
  margin-top: 2rem;
}
.view-all-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--primary);
}
.view-all-cta .btn-primary svg { transition: transform var(--transition-fast); }
.view-all-cta .btn-primary:hover svg { transform: translateX(4px); }

/* ── PRODUCT GRID (base) ── */
.product-grid {
  display: grid;
  /* FIX 2026-09-11 "layout minimalista": 4→3 colonne desktop (ogni card
     ha più "respiro", stile tempio/galleria non discount). */
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── PRODUCT CARD ── */



.product-card .img-wrap {
  aspect-ratio: 1 / 1;
  /* 10/10 (Gianluca: "sono alte, abbassale"): riquadro quadrato, foto INTERA (contain, mai tagliata) su passepartout scuro dentro la cornice verde */
  background: #303b28;
  padding: .6rem;
  overflow: hidden;
  position: relative;
}
.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a0a0d;
  /* 10/10 (Gianluca: "filo dorato attorno alla cornice verde"): filo oro 1px attorno alla foto */
  border: 1px solid rgba(201,169,98,.55);
  border-radius: .45rem;
  transition: transform .4s ease;
}
.product-card:hover .img-wrap img { transform: scale(1.03); }
.product-card .badge {
  position: absolute;
  top: .85rem;
  left: .85rem;
  background: var(--primary);
  color: var(--cream);
  font-size: .6rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: 100px;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.product-card .info {
  padding: .85rem 1.05rem .7rem;
}

.product-card h3 {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-card);
  margin-top: .3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.45;
  min-height: 2.7em;
}
.product-card .rating {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-top: .6rem;
}
.product-card .rating .stars { color: var(--star); font-size: .75rem; }
.product-card .rating .count { font-size: .65rem; color: var(--text-lighter); }
.product-card .price-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: .7rem;
}
.product-card .price-current {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  font-family: var(--sans);
}
.product-card .price-old {
  font-size: .85rem;
  color: var(--text-lighter);
  text-decoration: line-through;
}


.product-card .card-desc {
  font-size: .78rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-top: .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card .card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .65rem;
}
.product-card .meta-tag {
  font-size: .6rem;
  font-weight: 600;
  padding: .2rem .6rem;
  border-radius: 100px;
  letter-spacing: .02em;
  white-space: nowrap;
  text-transform: uppercase;
}
.product-card .meta-size {
  background: rgba(102,126,234,.10);
  color: #6366f1;
}
.product-card .meta-stock {
  background: rgba(34,197,94,.12);
  color: #16a34a;
}
.blog-page { padding: 4rem 0 5rem; }
.blog-header { text-align: center; margin-bottom: 3rem; }
.blog-header h1 {
  font-size: 2.6rem;
  font-weight: 600;
  font-family: var(--serif);
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.blog-header p { color: var(--text-light); max-width: 560px; margin: 0 auto; line-height: 1.7; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  display: block;
  background: var(--bg-card); /* UNICA variante: crema chiaro */
  border: none;
  border-radius: .9rem;
  padding: 1.7rem;
  box-shadow: 0 6px 24px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.05);
  transition: transform .3s ease, box-shadow .3s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.14);
}
/* Titolo card blog: blu notte serif (BUG 5 + leggibilità) */
.blog-card h2 {
  color: #1a1a2e;
}
.blog-date { font-size: .72rem; font-weight: 600; color: #1a1a2e; text-transform: uppercase; letter-spacing: .05em; }
.blog-card h2 {
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--serif);
  color: var(--text-card);
  margin: .6rem 0 .5rem;
  line-height: 1.35;
}
.blog-card p { font-size: .85rem; color: #5a5a5a; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-read { display: inline-block; margin-top: 1rem; font-size: .8rem; font-weight: 700; color: #6e5a28; text-decoration: underline; text-underline-offset: 3px; }

.blog-article { padding: 2rem 0 5rem; }
.blog-content {
  /* FIX 2026-08-23: era var(--text-card) #17171f su sfondo #0a0a0f = 1.11:1 */
  font-size: 1.05rem;
  color: #e9e4da;
  line-height: 1.85;
}
.blog-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-content a:hover { color: var(--accent-light); }
.blog-content strong { color: var(--text); }
.blog-content ul li, .blog-content ol li { margin-bottom: .35rem; }

  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent); /* oro su notte: 8.8:1 */
}
.blog-content h2, .blog-content h3, .blog-content h4 { color: var(--cream); font-family: var(--serif); margin: 1.75rem 0 .75rem; line-height: 1.3; }
.blog-content h2 { font-size: 1.5rem; }
.blog-content h3 { font-size: 1.2rem; }
.blog-content p { margin: .8rem 0; }
.blog-content ul, .blog-content ol { margin: .8rem 0; padding-left: 1.4rem; }
.blog-content li { margin: .3rem 0; }
.blog-content img { max-width: 100%; border-radius: .75rem; margin: 1rem 0; }
.blog-content a { color: var(--accent); text-decoration: underline; }
.blog-content table { width: 100%; border-collapse: collapse; }
.blog-content td, .blog-content th { padding: .6rem; border: 1px solid var(--border-light); }

/* ── CATALOG PAGINATION ── */
.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 3rem;
  padding-top: 2rem;
}
.catalog-pagination.hidden { display: none; }
.catalog-pagination .page-btn {
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 .6rem;
  border: 1px solid var(--border-light);
  border-radius: .6rem;
  background: var(--bg-card);
color: var(--text-card);
  font-size: .9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.catalog-pagination .page-btn:hover:not(:disabled) {
  border-color: var(--accent);
  background: rgba(102,126,234,.06);
  color: var(--cream);
}
.catalog-pagination .page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.catalog-pagination .page-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.catalog-pagination .page-btn[data-page="prev"],
.catalog-pagination .page-btn[data-page="next"] {
  font-size: 1.1rem;
  padding: 0 .8rem;
}
.catalog-pagination .page-dots {
  color: var(--text-lighter);
  font-size: .9rem;
  padding: 0 .2rem;
  user-select: none;
}


.product-card .img-wrap {
  aspect-ratio: 1 / 1;
  /* 10/10 (Gianluca: "sono alte, abbassale"): riquadro quadrato, foto INTERA (contain, mai tagliata) su passepartout scuro dentro la cornice verde */
  background: #303b28;
  padding: .6rem;
  overflow: hidden;
  position: relative;
}
.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a0a0d;
  /* 10/10 (Gianluca: "filo dorato attorno alla cornice verde"): filo oro 1px attorno alla foto */
  border: 1px solid rgba(201,169,98,.55);
  transition: transform .5s;
}
.product-card:hover .img-wrap img { transform: scale(1.06); }
.product-card .badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--primary);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .25rem .65rem;
  border-radius: 100px;
  letter-spacing: .02em;
}

.product-card .info {
  padding: 1rem 1rem .75rem;
}

.product-card h3 {
  font-size: .95rem;
  font-weight: 500;
  font-family: var(--serif);
  color: var(--text-card);
  margin-top: .35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  min-height: 2.6em;
}
.product-card .rating {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-top: .5rem;
}
.product-card .rating .stars { color: var(--star); font-size: .75rem; }
.product-card .rating .count { font-size: .7rem; color: var(--text-lighter); }
.product-card .price-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .5rem;
}
.product-card .price-current {
  font-size: .95rem;
  font-weight: 400;
  font-family: var(--serif);
  color: var(--text-card);
}
.product-card .price-old {
  font-size: .85rem;
  color: var(--text-lighter);
  text-decoration: line-through;
}


.product-card .card-desc {
  font-size: .78rem;
  color: #5a5a5a !important; /* FIX contrasto: 6.4:1 su card crema */
  line-height: 1.45;
  margin-top: .4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card .card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .55rem;
}
.product-card .meta-tag {
  font-size: .65rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 100px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.product-card .meta-size {
  background: rgba(102,126,234,.10);
  color: #4f46e5;
}
.product-card .meta-stock {
  background: #1e3a2f; /* verde bosco scuro */
  color: #f3eee6;      /* crema: contrasto 10.9:1 su #1e3a2f */
}
.product-card .meta-out {
  background: rgba(239,68,68,.12);
  color: #b91c1c;
}
.product-card .meta-ship {
  background: var(--bg-alt);
  color: var(--text-light);
}
.product-card .price-note {
  font-size: .72rem;
  color: var(--text-lighter);
  font-weight: 500;
}

/* ── TRUST BANNER ── */
.trust-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 1rem;
  overflow: hidden;
  margin: 3rem 0;
}
.trust-item {
  background: var(--primary);
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.trust-item .icon { font-size: 1.75rem; margin-bottom: .5rem; }
.trust-item h4 { font-size: .85rem; font-weight: 600; color: var(--primary); }
.trust-item p { font-size: .8rem; color: var(--text-light); margin-top: .25rem; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--sans); cursor: pointer; font-weight: 600; border: none; transition: all var(--transition-fast); }
.btn-primary { background: var(--accent); color: var(--primary); padding: .875rem 2rem; border-radius: 100px; font-size: .85rem; border: 2px solid var(--accent); }
.btn-primary:hover { background: transparent; border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn-primary svg { transition: transform var(--transition-fast); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-outline { background: transparent; color: var(--text-card); border: 1px solid var(--border); padding: .875rem 2rem; border-radius: 100px; font-size: .85rem; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-accent { background: var(--accent); color: var(--primary); padding: .875rem 2rem; border-radius: 100px; font-size: .85rem; }
.btn-accent:hover { background: var(--accent-dark); }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--text-lighter);
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
}
.breadcrumb a { color: var(--text-light); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--cream); font-weight: 500; }

/* ── CATALOG ── */
.catalog-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(200,169,74,.12);
}
.catalog-header-content {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.catalog-header .caption {
  margin-bottom: .5rem;
}
.catalog-header h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  margin: 0;
}
.catalog-header p {
  font-size: 1rem;
  font-weight: 300;
  max-width: 480px;
}
.catalog-filters {
  display: flex;
  gap: .6rem;
  align-items: center;
  flex-wrap: wrap;
}
.catalog-filter {
  border: 1px solid rgba(200,169,74,.25);
  border-radius: 100px;
  padding: .6rem 1.1rem;
  font-size: .8rem;
  color: var(--text-card);
  background: var(--bg-card);
  cursor: pointer;
  font-family: var(--sans);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-width: 140px;
}
.catalog-filter:hover { border-color: var(--accent); }
.catalog-filter:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,169,74,.15); }
/* FIX 18/9: la regola globale `nav a { color:#fff !important }` rendeva
   BIANCO il testo dei chip categoria (link dentro <nav>) su sfondo crema →
   illeggibili. Override specifico (vince per specificità, entrambi !important). */
nav a.catalog-filter, a.catalog-filter { color: var(--text-card) !important; }

.catalog-search-wrapper {
  position: relative;
  margin-top: 1.5rem;
}
.catalog-search-wrapper input {
  width: 100%;
  border: 1px solid rgba(200,169,74,.25);
  border-radius: 100px;
  padding: .85rem 1.25rem .85rem 3rem;
  font-size: .9rem;
  color: var(--text-card);
  background: var(--bg-card);
  font-family: var(--sans);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.catalog-search-wrapper input::placeholder { color: var(--text-light); opacity: .6; }
.catalog-search-wrapper input:hover { border-color: var(--accent); }
.catalog-search-wrapper input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,169,74,.15); }
.catalog-search-wrapper #catalog-reset {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-lighter);
  padding: .4rem .6rem;
  cursor: pointer;
  font-size: .8rem;
  opacity: .6;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}
.catalog-search-wrapper #catalog-reset:hover { opacity: 1; color: var(--accent); }
.catalog-search-wrapper #catalog-reset.hidden { display: none; }

/* ── PRODUCT PAGE ── */
.product-page { padding: 2rem 0 4rem; }
.product-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.product-main > * {
  min-width: 0;
}
.product-gallery {
  position: sticky;
  top: calc(72px + 2rem);
  align-self: start;
}
.product-gallery-main {
  border-radius: 1rem;
  overflow: hidden;
  background: #14141c;
  border: 1px solid rgba(201,169,98,.18);
  position: relative;
  cursor: crosshair;
}
.product-gallery-main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.product-gallery-main .zoom-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-repeat: no-repeat;
  background-size: 200%;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  border-radius: 1rem;
  will-change: opacity, background-position;
}
.product-gallery-main:hover .zoom-overlay {
  opacity: 1;
}
@media (hover: none) {
  .product-gallery-main .zoom-overlay { display: none; }
}
.product-thumbs {
  display: flex;
  gap: .5rem;
  margin-top: .75rem;
  overflow-x: auto;
}
.product-thumbs img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: .5rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
  flex-shrink: 0;
}
.product-thumbs img:hover,
.product-thumbs img.active { border-color: var(--accent); }

.product-info .category {
  font-size: .75rem;
  font-weight: 600;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.product-info h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.9rem;
  letter-spacing: .01em;}
.product-rating {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
}
.product-rating .stars { color: var(--star); }
.product-rating .value { font-weight: 700; color: var(--text-card); }
.product-rating .count { color: var(--text-lighter); font-size: .9rem; }
.product-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.product-price .old {
  font-size: 1.2rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: .75rem;
}
.product-price .price-now { color: var(--accent);   font-size: 1.9rem;
  font-family: var(--sans);}
.product-price 
.product-price .old + 
.product-quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.product-quick-info .qi-tag {
  font-size: .75rem;
  font-weight: 600;
  padding: .3rem .7rem;
  border-radius: 100px;
  white-space: nowrap;
}
.product-quick-info .qi-ok { background: rgba(34,197,94,.12); color: #15803d; }
.product-quick-info .qi-warn { background: rgba(245,158,11,.12); color: #b45309; }
.product-quick-info .qi-out { background: rgba(239,68,68,.12); color: #b91c1c; }
.product-quick-info .qi-ship { background: rgba(102,126,234,.10); color: #4f46e5; }
.product-quick-info .qi-size { background: rgba(168,85,247,.10); color: #7c3aed; }
.product-description { font-size: .9rem; line-height: 1.6; color: var(--text); }
.product-description h2, .product-description h3 { font-size: 1rem; font-weight: 700; margin: 1rem 0 .5rem; color: var(--text); }
.product-description ul, .product-description ol { margin: .5rem 0; padding-left: 1.25rem; }
.product-description li { margin: .2rem 0; }
.product-description p { margin: .5rem 0; }
.product-description img { max-width: 100%; border-radius: .5rem; }
.product-actions {
  display: flex;
  gap: .75rem;
  margin: 1.5rem 0;
}
.product-actions .qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.product-actions .qty button {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
color: var(--text-card);
  transition: background .2s;
}
.product-actions .qty button:hover { background: var(--bg-alt); }
.product-actions .qty input {
  width: 48px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 600;
color: var(--text-card);
  outline: none;
  height: 40px;
  font-family: inherit;
}



.product-actions .wishlist-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.product-actions .wishlist-btn:hover { border-color: var(--error); }

.product-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: var(--bg-alt);
  border-radius: .75rem;
}
.product-trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--text-light);
}
.product-trust-item .icon { flex-shrink: 0; }

.product-meta {
  margin-top: 2rem;
}
.product-desc-top {
  margin-top: 1rem;
}
.product-meta h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .75rem;
}
.product-meta p, .product-meta li {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.7;
}
.product-meta table { width: 100%; }
.product-meta td {
  padding: .5rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: .875rem;
}
.product-meta td:first-child { color: var(--text-lighter); width: 35%; }

.share-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}
.share-links a {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  padding: .35rem .75rem;
  border-radius: 100px;
  background: var(--bg-alt);
  color: var(--text-light);
  transition: all .2s;
}
.share-links a:hover, .copy-link-btn:hover { background: var(--primary); color: #fff; }
.copy-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  font-size: .8rem;
  padding: .35rem .75rem;
  border-radius: 100px;
  background: var(--bg-alt);
  color: var(--text-light);
  border: none;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.copy-link-btn.copied { background: var(--success); color: #fff; }

/* ── REVIEWS ── */
.reviews-section { margin-top: 3rem; }
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.reviews-header h2 { font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.reviews-summary {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.reviews-summary .stars { color: var(--star); }
.reviews-summary .value { font-weight: 700; }
.reviews-summary .count { color: var(--text-lighter); font-size: .9rem; }

.review-card {
  border: 1px solid var(--border-light);
  border-radius: .75rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.review-card .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .5rem;
}
.review-card .name { font-weight: 600; font-size: .9rem; }
.review-card .stars { color: var(--star); font-size: .85rem; }
.review-card .title { font-weight: 500; color: var(--text-light); font-size: .85rem; margin-bottom: .5rem; }
.review-card .text { color: var(--text-light); font-size: .9rem; line-height: 1.6; }
.review-card .meta { display: flex; gap: 1rem; margin-top: .75rem; font-size: .8rem; color: var(--text-lighter); }
.review-card .verified { color: var(--success); font-weight: 600; }

/* ── CART ── */
.cart-page { padding: 2rem 0 4rem; }
.cart-page h1 { font-size: 1.75rem; font-weight: 800; color: var(--primary); margin-bottom: 2rem; }
.cart-empty { text-align: center; padding: 4rem 0; color: var(--text-lighter); }
.cart-empty .icon { font-size: 3rem; margin-bottom: 1rem; }
.cart-empty p { margin-bottom: 1.5rem; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 1rem; }
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: .75rem;
  align-items: center;
}
.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: .5rem;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h3 { font-size: .9rem; font-weight: 600; margin-bottom: .25rem; }
.cart-item-info .price { font-size: .95rem; font-weight: 700; color: var(--primary); }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: .25rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: .15rem;
}
.cart-item-qty button {
  width: 28px; height: 28px;
  border: none; background: transparent;
  cursor: pointer; font-size: 1rem;
  border-radius: 50%;
  transition: background .2s;
}
.cart-item-qty button:hover { background: var(--bg-alt); }
.cart-item-qty span {
  width: 32px; text-align: center;
  font-weight: 600; font-size: .9rem;
}
.cart-item-remove {
  background: none; border: none;
  color: var(--text-lighter); cursor: pointer;
  font-size: 1.1rem; padding: .25rem;
  transition: color .2s;
}
.cart-item-remove:hover { color: var(--error); }

.cart-summary {
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 1.5rem;
  position: sticky;
  top: calc(72px + 2rem);
}
.cart-summary h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.cart-summary .row {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  padding: .5rem 0;
  color: var(--text-light);
}
.cart-summary .total {
  border-top: 1px solid var(--border);
  margin-top: .5rem;
  padding-top: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}
.cart-summary .checkout-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: .85rem 0;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
  transition: background .2s;
  font-family: inherit;
}
.cart-summary .checkout-btn:hover { background: var(--primary-light); }

/* ── CHECKOUT ── */
.checkout-page { padding: 2rem 0 4rem; }
.checkout-page h1 { font-size: 1.75rem; font-weight: 800; color: var(--primary); margin-bottom: 2rem; }
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 2rem; align-items: start; }
.checkout-form-wrap {
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 1.5rem;
}
.checkout-form-wrap h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 500; color: var(--text-card); margin-bottom: .35rem; }
.form-group input, .form-group select {
  width: 100%;
  padding: .65rem .85rem;
  border: 1px solid var(--border);
  border-radius: .5rem;
  font-size: .9rem;
color: var(--text-card);
  outline: none;
  transition: border-color .2s;
  font-family: inherit;
  background: var(--primary);
}
.form-group input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,169,126,.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-checkbox { display: flex; align-items: flex-start; gap: .5rem; font-size: .85rem; color: var(--text-light); }
.form-checkbox input { margin-top: .2rem; }

.checkout-summary {
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 1.5rem;
  position: sticky;
  top: calc(72px + 2rem);
}
.checkout-summary h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.checkout-summary .items { max-height: 300px; overflow-y: auto; margin-bottom: 1rem; }
.checkout-summary .item {
  display: flex;
  gap: .75rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border-light);
}
.checkout-summary .item img {
  width: 48px; height: 48px;
  border-radius: .35rem;
  object-fit: cover;
}
.checkout-summary .item-info { flex: 1; }
.checkout-summary .item-info h4 { font-size: .85rem; font-weight: 500; }
.checkout-summary .item-info .qty { font-size: .8rem; color: var(--text-lighter); }
.checkout-summary .item-price { font-size: .85rem; font-weight: 600; }
.checkout-summary .row { display: flex; justify-content: space-between; font-size: .9rem; padding: .5rem 0; color: var(--text-light); }
.checkout-summary .total { border-top: 1px solid var(--border); padding-top: .75rem; margin-top: .5rem; font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.checkout-summary .pay-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: .9rem 0;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
  transition: background .2s;
  font-family: inherit;
}
.checkout-summary .pay-btn:hover { background: var(--primary-light); }
.ppay-rate-notice {
  border: 1px solid var(--border-light)!important;
  background: var(--bg-alt)!important;
  color: var(--text-light)!important;
}
.ppay-rate-notice strong { color: var(--accent-light); }
.paypal-payment-panel {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1rem;
  padding: .65rem .8rem;
  border: 1px solid rgba(0,112,186,.45);
  border-radius: .65rem;
  background: rgba(0,112,186,.08);
  color: var(--text-light);
  font-size: .82rem;
}
.paypal-wordmark {
  color: #0070ba;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.04em;
}
.paypal-button-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--primary);
  color: #0070ba;
  font-weight: 800;
  font-size: .9rem;
}
/* ── CHECKOUT STEPS ── */
.checkout-steps {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.cstep {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .9rem;
  border-radius: 100px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-lighter);
}
.cstep span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--border-light);
  color: var(--bg);
  font-size: .72rem;
  font-weight: 800;
}
.cstep.done {
  background: rgba(34,197,94,.10);
  border-color: rgba(34,197,94,.3);
  color: #15803d;
}
.cstep.done span { background: #15803d; color: #fff; }
.cstep.active {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--primary);
}
.cstep.active span { background: var(--accent-dark); color: #fff; }

/* ── METODI DI PAGAMENTO ── */
.pay-methods {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin: 1rem 0;
}
.pay-method {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .9rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: .75rem;
  background: var(--bg-card);
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.pay-method:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,169,98,.15);
}
.pay-method input { margin-top: .2rem; accent-color: var(--cream); }
.pay-method-body { display: flex; flex-direction: column; gap: .15rem; }
.pay-method-title { font-weight: 700; font-size: .92rem; color: var(--text-card); }
.pay-method-desc { font-size: .86rem; color: #e0dacd; font-weight: 400; line-height: 1.5; }

.chat-ai-disclosure {
  margin: .55rem .75rem 0;
  color: var(--text-lighter);
  font-size: .7rem;
  line-height: 1.35;
}
.btn-variante {
  color: var(--cream) !important;
  background: var(--primary-light) !important;
  border-color: rgba(201,169,98,.65) !important;
  font-weight: 600;
}
.btn-variante:hover,
.btn-variante.selected {
  color: var(--primary) !important;
  background: var(--accent-light) !important;
  border-color: var(--accent) !important;
}
.product-actions .qty {
  background: var(--primary-light);
}
.product-actions .qty button {
  color: var(--cream) !important;
}
.product-actions .qty input {
  background: var(--bg-card) !important;
  color: var(--primary) !important;
}
.product-actions .qty button:hover,
.product-actions .qty button:focus-visible {
  background: var(--accent-light) !important;
  color: var(--primary) !important;
}
.qi-tag-pay3 {
  background: rgba(201,169,98,.12)!important;
  border: 1px solid var(--border-light)!important;
  color: var(--accent-light)!important;
}
.hero-pay3 {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-top: 1.4rem; padding: .5rem .9rem;
  border: 1px solid rgba(201,169,98,.4); border-radius: 100px;
  background: rgba(201,169,98,.08); color: var(--text-light);
  font-size: .85rem;
}
.hero-pay3 svg { color: var(--accent-light); flex: none; }
.hero-pay3 strong { color: var(--accent-light); }
.checkout-summary .secure-note {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--success);
  background: rgba(5,150,105,.06);
  padding: .75rem;
  border-radius: .5rem;
  margin-top: 1rem;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,.7);
  margin-top: 4rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}
.footer-brand .logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .75rem;
}
.footer-brand .logo span { color: var(--accent); }
.footer-brand p { font-size: .85rem; line-height: 1.7; max-width: 320px; }
.footer-social { display: flex; gap: .75rem; margin-top: 1rem; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: all .2s;
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); }

.footer-col h4 {
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-newsletter p { font-size: .85rem; margin-bottom: .75rem; line-height: 1.6; }
.footer-newsletter form { display: flex; gap: .5rem; }
.footer-newsletter input {
  flex: 1;
  padding: .65rem 1rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: .85rem;
  outline: none;
  font-family: inherit;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter input:focus { border-color: var(--accent); }
.footer-newsletter button {
  background: var(--accent);
  border: none;
  color: var(--primary);
  font-weight: 600;
  font-size: .85rem;
  padding: .65rem 1.25rem;
  border-radius: 100px;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
  white-space: nowrap;
}
.footer-newsletter button:hover { background: var(--accent-dark); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--accent); }

.footer-support-email {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.9) !important;
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  padding: .25rem .5rem;
  border-radius: .5rem;
}

.footer-support-email:hover {
  color: var(--accent) !important;
  background: rgba(200,169,74,.1);
  text-decoration: none;
}

.footer-support-email svg {
  flex-shrink: 0;
  opacity: .9;
}

/* ── FOOTER NEWSLETTER MSG ── */
#newsletter-msg.text-green-400 { color: var(--accent-light) !important; }

/* ── TOAST ── */
.cart-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary);
  color: #fff;
  padding: .85rem 1.5rem;
  border-radius: 100px;
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
  z-index: 9999;
  transform: translateY(120%);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
  font-weight: 600;
  font-size: .9rem;
}
.cart-toast.show { transform: translateY(0); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.25,.46,.45,.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── BADGES (stati ordine) ── */
.badge { display:inline-flex;align-items:center;font-size:.75rem;font-weight:600;padding:.2rem .65rem;border-radius:100px; }
.badge-success { display:inline-flex;align-items:center;font-size:.75rem;font-weight:600;padding:.2rem .65rem;border-radius:100px;background:rgba(5,150,105,.08);color:var(--success); }
.badge-warning { display:inline-flex;align-items:center;font-size:.75rem;font-weight:600;padding:.2rem .65rem;border-radius:100px;background:rgba(200,169,126,.12);color:var(--accent-dark); }
.badge-info { display:inline-flex;align-items:center;font-size:.75rem;font-weight:600;padding:.2rem .65rem;border-radius:100px;background:rgba(59,130,246,.08);color:#2563eb; }
.badge-sold { position:absolute;top:.5rem;left:.5rem;background:rgba(20,20,28,.85);color:#c9a962;font-size:.68rem;font-weight:700;padding:.2rem .55rem;border-radius:100px;box-shadow:0 2px 8px rgba(0,0,0,.25); }
.badge-error { display:inline-flex;align-items:center;font-size:.75rem;font-weight:600;padding:.2rem .65rem;border-radius:100px;background:rgba(220,38,38,.08);color:var(--error); }

/* ── AFFILIATI STEP CARDS ── */
.step-card { background:#fff;border:1px solid var(--border-light);border-radius:1rem;padding:1.75rem;text-align:center; }
.step-num { width:36px;height:36px;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.9rem;margin:0 auto .75rem; }
.career-card { background:#fff;border:1px solid var(--border-light);border-radius:1rem;padding:1.5rem;text-align:center; }
.career-card h3 { font-weight:700;font-size:1.1rem;margin-bottom:.5rem; }
.career-card .pct { font-size:2.5rem;font-weight:800;color:var(--accent-dark); }

/* ── SKELETON ── */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton-pulse {
  background: linear-gradient(90deg, #f1f5f9 25%, #e8edf2 50%, #f1f5f9 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: .5rem;
}
.card-skeleton {
  background: var(--primary);
  border-radius: 1rem;
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.card-skeleton .sk-img { width: 100%; aspect-ratio: 4 / 5; }
.card-skeleton .sk-body { padding: .75rem; }
.card-skeleton .sk-cat  { height: 10px; width: 40%; margin-bottom: 8px; }
.card-skeleton .sk-title { height: 12px; width: 85%; margin-bottom: 6px; }
.card-skeleton .sk-title2 { height: 12px; width: 60%; margin-bottom: 12px; }
.card-skeleton .sk-price { height: 16px; width: 30%; margin-bottom: 12px; }
.card-skeleton .sk-btn   { height: 36px; width: 100%; border-radius: 100px; }

.card-enter {
  animation: card-pop .35s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes card-pop {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes spFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.img-wrap { aspect-ratio: 4 / 5; background: var(--bg-alt); }

/* ── CHAT ── */
#chat-widget { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9998; font-family: inherit; }
@media (max-width: 767px) {
  #chat-widget { bottom: 5.5rem; right: 1rem; } /* above footer on mobile */
}
#chat-toggle {
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--primary); color: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
  font-size: 1.35rem; transition: transform .2s;
}
#chat-toggle:hover { transform: scale(1.06); }
#chat-panel {
  display: none; position: absolute; bottom: 64px; right: 0;
  width: 340px; max-width: calc(100vw - 2rem); height: 420px;
  background: var(--primary); border-radius: 1rem;
  box-shadow: 0 16px 48px rgba(0,0,0,.12);
  flex-direction: column; overflow: hidden;
  border: 1px solid var(--border);
}
#chat-panel.open { display: flex; }
.chat-header {
  background: var(--primary); color: #fff; padding: .85rem 1rem;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700;
}
#chat-close { background: none; border: none; color: rgba(255,255,255,.6); cursor: pointer; font-size: 1.1rem; }
#chat-messages {
  flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .75rem;
  background: var(--bg-alt);
}
.chat-msg { max-width: 85%; padding: .6rem .9rem; border-radius: 1rem; font-size: .85rem; line-height: 1.45; }
.chat-msg-user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg-assistant { align-self: flex-start; background: var(--primary); color: var(--text); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.chat-loading { opacity: .6; font-style: italic; }
#chat-form { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid var(--border); background: var(--primary); }
#chat-input { flex: 1; border: 1px solid var(--border); border-radius: 100px; padding: .5rem .85rem; font-size: .85rem; outline: none; font-family: inherit; }
#chat-input:focus { border-color: var(--accent); }
#chat-form button { background: var(--primary); color: #fff; border: none; border-radius: 100px; padding: .5rem 1rem; font-weight: 600; cursor: pointer; font-size: .85rem; font-family: inherit; }

/* ── MOBILE MENU ── */
.mobile-menu-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--primary); z-index: 9999; padding: 1.5rem;
}
.mobile-menu-overlay.open { display: block; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.mobile-menu-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); }
.mobile-menu-nav { display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu-link { font-size: 1.1rem; font-weight: 600; color: var(--text); padding: .5rem 0; border-bottom: 1px solid var(--border-light); }
.mobile-menu-link:hover { color: var(--accent); }

/* ── COOKIE BANNER ── */
#cookie-banner {
  background: var(--primary) !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { flex-wrap: nowrap; }
  .featured-grid .product-card { flex: 0 0 calc((100% - 3 * 1rem) / 4); }
  .featured-grid 
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .header-nav { gap: 1.5rem; }
  .hero-grid { gap: 2.5rem; }
  .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .mobile-toggle { display: block; }
  .header-logo { letter-spacing: .18em; }

  .hero { padding: 3.5rem 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-content { min-height: 390px; }
  .hero h1 { font-size: 2.4rem; }
  .hero-image img { height: 100%; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .featured-grid { flex-wrap: nowrap; gap: 1rem; }
  .featured-grid .product-card { flex: 0 0 calc((100% - 2 * 1rem) / 3); }
  .featured-grid 
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; gap: 1rem; }
  .trust-banner { grid-template-columns: repeat(2, 1fr); }
  .trust-item { padding: 1.25rem 1rem; }

  .product-main { grid-template-columns: 1fr; gap: 2rem; }
  .product-gallery { position: static; }
  .product-info h1 {
  color: var(--text); font-size: 1.35rem; }
  .product-price { font-size: 1.5rem; }
  .product-trust { grid-template-columns: 1fr; }

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

  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .footer-newsletter form { flex-direction: column; }

  .section-heading h2 { font-size: 1.5rem; }
  .catalog-header { flex-direction: column; align-items: flex-start; }
  .catalog-filters { width: 100%; }
  .catalog-filters select { flex: 1; }
  .catalog-pagination .page-btn { min-width: 2rem; height: 2rem; font-size: .85rem; }
}

@media (max-width: 480px) {
  .header-inner { height: 68px; gap: .75rem; }
  .header-logo { font-size: 1.2rem; letter-spacing: .14em; }
  .header-actions { gap: .9rem; }
  .hero h1 { font-size: 2rem; }
  .featured-grid { flex-wrap: nowrap; gap: .75rem; }
  .featured-grid .product-card { flex: 0 0 calc((100% - 1 * .75rem) / 2); }
  .featured-grid 
  .featured-arrow { width: 38px; height: 38px; }
  .blog-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; gap: .75rem; }
  .product-card .info { padding: .65rem .65rem .5rem; }
  .product-card h3 { font-size: .85rem; }
  
  .container { padding: 0 1.5rem; }
  .catalog-pagination { gap: .25rem; }
  .catalog-pagination .page-btn { min-width: 1.8rem; height: 1.8rem; font-size: .8rem; padding: 0 .4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ── Consegna, badge fornitore, pagamenti (BTS + AW) ── */
.delivery-info {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem;
  margin: .85rem 0 1rem; padding: .75rem 1rem;
  background: var(--bg-alt); border: 1px solid var(--border-light); border-radius: .75rem;
  font-size: .88rem; color: var(--text-light);
}
.delivery-info-icon { font-size: 1.1rem; }
.delivery-info-text strong { color: var(--accent); font-weight: 700; }
.delivery-info-badge {
  margin-left: auto; font-size: .72rem; font-weight: 700; padding: .25rem .65rem;
  border-radius: 100px; background: rgba(59,130,246,.15); color: #93c5fd;
}
.product-badges {
  display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 .75rem;
}
.product-badges .badge, .product-card .product-badges .badge {
  position: static; display: inline-flex; align-items: center; gap: .25rem;
  font-size: .68rem; font-weight: 700; padding: .22rem .55rem; border-radius: 100px;
  box-shadow: none;
}
.badge-new { background: #ff4444; color: #fff; }
.badge-sale { background: #22c55e; color: #fff; }
.badge-free-shipping { background: #3b82f6; color: #fff; }
.badge-eu { background: #8b5cf6; color: #fff; }
.badge-uk { background: #6b7280; color: #fff; }
.badge-top { background: #eab308; color: #1f2937; }
.payment-methods { margin: 1rem 0; }
.payment-methods h4 { font-size: .85rem; font-weight: 700; margin-bottom: .6rem; color: var(--primary); }
.payment-icons { display: flex; flex-wrap: wrap; gap: .45rem; }
.payment-chip {
  display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem;
  padding: .35rem .65rem; border-radius: .5rem; background: var(--bg-alt);
  border: 1px solid var(--border-light); color: var(--text-light);
}
.payment-methods--compact .payment-chip { font-size: .7rem; padding: .28rem .5rem; }
.payment-methods--inline { margin-top: .25rem; }
.payment-badge { display: inline-flex; line-height: 0; border-radius: .35rem; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.payment-badge svg { display: block; }
.footer-payments .payment-badge { box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.footer-payments { padding: 1.25rem 0 .5rem; border-top: 1px solid rgba(255,255,255,.08); margin-top: 1rem; }
.footer-payments .payment-methods h4 { color: rgba(255,255,255,.85); }
.footer-payments .payment-chip { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); color: #fff; }
.footer-shipping-list { list-style: none; padding: 0; margin: 0; font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.9); }
.footer-shipping-list li { margin-bottom: .35rem; }
.checkout-delivery-note { font-size: .82rem; color: var(--text-lighter); margin: .5rem 0 1rem; }
.cart-delivery-wrap { margin: .75rem 0; }
.product-card .img-wrap .product-badges {
  position: absolute; top: .45rem; left: .45rem; z-index: 2; flex-direction: column; align-items: flex-start; max-width: calc(100% - .9rem);
}

/* ═══════════════════════════════════════════════════════════
   MOBILE UX — font 16px, touch target 44px, carrello compatto
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Font base minimo 16px per evitare zoom iOS */
  body, input, select, textarea, button {
    font-size: 16px;
  }

  /* Touch target minimo 44×44px */
  .mobile-toggle,
  .header-actions a,
  .hamburger,
  .btn,
  .btn-primary,
  .btn-secondary,
  .checkout-btn,
  .pay-btn,
  .add-btn,
  .qty button,
  .cart-item-remove,
  .cart-item-qty button,
  .mobile-nav a,
  .mobile-menu-link {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Carrello: impila gli item verticalmente, immagine più grande */
  .cart-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
  }
  .cart-item img {
    width: 140px;
    height: 140px;
    object-fit: contain;
  }
  .cart-item-qty button {
    min-width: 44px;
    min-height: 44px;
    font-size: 1.25rem;
  }
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Checkout: form a colonna piena larghezza */
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-summary {
    order: -1;
  }
  .form-row {
    flex-direction: column;
  }

  /* Pagina prodotto: gallery e info impilate */
  .product-main {
    grid-template-columns: 1fr;
  }
  .product-thumbs img {
    width: 64px;
    height: 64px;
  }

  /* Step checkout: compatti */
  .checkout-steps {
    gap: .35rem;
    flex-wrap: wrap;
  }
  .cstep {
    font-size: .75rem;
    padding: .45rem .65rem;
  }

  /* Menu hamburger più visibile e area tocchi generosa */
  .mobile-toggle {
    font-size: 1.6rem;
    padding: .5rem .75rem;
  }
  .mobile-menu-link {
    padding: .85rem 1rem;
    font-size: 1.05rem;
  }
}

/* Group mobile menu */
.mobile-menu-group {
  display: flex;
  flex-direction: column;
}
.mobile-menu-title {
  font-weight: 700;
  font-size: .95rem;
  color: var(--accent);
  padding: .8rem 1rem .3rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.mobile-menu-sub {
  padding: .55rem 1rem .55rem 1.5rem;
  font-size: .95rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-light);
}
.mobile-menu-sub:hover { color: var(--accent); }

/* Desktop: nessun cambiamento */
@media (min-width: 768px) {
  .hamburger { display: none; }
}


/* ── CONTRAST FIXES ── */
input.form-input,
select.form-input,
textarea.form-input {
  color: var(--text) !important;
}

input.form-input[style*="bg-card"],
select.form-input[style*="bg-card"],
textarea.form-input[style*="bg-card"],
input[style*="bg-card"],
select[style*="bg-card"],
textarea[style*="bg-card"] {
  color: var(--text-card) !important;
}

/* Placeholders */
input::placeholder,
textarea::placeholder,
select::placeholder {
  color: var(--text-lighter) !important;
  opacity: .6 !important;
}

/* Footer links */
.footer-col a,
.footer-bottom a {
  color: rgba(255,255,255,.85) !important;
}
.footer-col a:hover,
.footer-bottom a:hover {
  color: var(--accent) !important;
}

/* Mobile menu links */
/* Menu mobile: testo chiaro su sfondo scuro (overlay --primary) */
.mobile-menu-link,
.mobile-menu-sub {
  color: var(--text) !important;
}

/* Chat disclosure */
.chat-ai-disclosure {
  color: var(--text-light) !important;
}

/* Login/Register form labels */
.form-label {
  color: var(--accent) !important;
}

/* Button text on primary: scuro su oro (8.1:1), non bianco (2.25:1) */
.btn-primary {
  color: var(--primary) !important;
}

/* Ensure cart badge visible */
.cart-badge {
  background: var(--accent) !important;
  color: #fff !important;
}

/* Dropdown menus */
.drop-menu a {
  color: var(--text-card) !important;
}
.drop-menu a:hover {
  color: var(--accent) !important;
}

/* Account page form inputs on bg-alt */
.account-card .form-input {
  color: var(--text) !important;
  background: var(--bg) !important;
  border-color: var(--border) !important;
}

.account-card .form-input:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(200,169,74,.15) !important;
}

/* Disabled inputs */
.form-input:disabled,
input[disabled],
select[disabled] {
  color: var(--text-lighter) !important;
  opacity: .6 !important;
}

/* Hero lead text */
.hero-lead {
  color: var(--text-light) !important;
}

/* Section heading p */
.section-heading p {
  color: var(--text-light) !important;
}

/* Product card price row */
.price-old {
  color: var(--text-lighter) !important;
}

.price-current {
  color: var(--text-card) !important;
}

.price-note {
  color: var(--text-lighter) !important;
}

/* Card meta tags */
.meta-tag {
  color: var(--text-light) !important;
}

/* Order status badges */
.order-status {
  color: inherit !important;
}

@media (max-width: 768px) {
  .footer-col a,
  .footer-bottom a {
    color: rgba(255,255,255,.9) !important;
  }
}
/* FIX CONTRASTO MENU - 21/08/2026 */
nav, .navbar, .main-nav {
    background-color: #303b28 !important;
}
nav a, .navbar a, .main-nav a,
nav .nav-link, .navbar .nav-link, .main-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
}
nav a:hover, .navbar a:hover, .main-nav a:hover,
nav .nav-link:hover, .navbar .nav-link:hover, .main-nav .nav-link:hover {
    color: #d4af37 !important;
}
nav .dropdown-menu, .navbar .dropdown-menu, .main-nav .dropdown-menu {
    background-color: #303b28 !important;
    border: 1px solid #2d4059;
}
nav .dropdown-item, .navbar .dropdown-item, .main-nav .dropdown-item {
    color: #ffffff !important;
}
nav .dropdown-item:hover, .navbar .dropdown-item:hover, .main-nav .dropdown-item:hover {
    background-color: #2d4059 !important;
    color: #d4af37 !important;
}

/* ── CATEGORY TILES (eleganti) ── */
.container { padding-left: 1.5rem; padding-right: 1.5rem; }

.cat-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}
.cat-tile {
  /* FIX 19/9 "tocco zen avvolgente" (Gianluca): erano riquadri piatti di
     un solo colore, freddi rispetto alle foto curate del resto del sito.
     Ora la foto prodotto riempie la card come sfondo, con un velo scuro
     sopra per leggibilità del testo — angoli più morbidi (materiali
     naturali/forme morbide, non spigoli netti). */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: .45rem;
  min-height: 190px;
  padding: 1.6rem 1rem 1.3rem;
  background: var(--bg-alt) center/cover no-repeat;
  border: 1px solid rgba(200,169,74,.22);
  border-radius: 1.75rem;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
  transition: border-color .25s, transform .25s;
}
.cat-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13,10,7,.35) 0%, rgba(13,10,7,.88) 85%);
}
.cat-tile:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.cat-tile-label {
  font-size: .58rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent-light);
}
.cat-tile-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--text);
  line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.cat-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .3rem;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-lighter);
  transition: color .2s;
}
.cat-tile:hover .cat-tile-cta { color: var(--accent); }
@media (max-width: 600px) {
  .cat-tiles { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .cat-tile { padding: 1.1rem .5rem; }
  .cat-tile-name { font-size: 1.05rem; }
}


/* ── MEGA-MENU COLLEZIONI (editoriale) ── */
.drop-menu-wide {
  min-width: 380px;
  padding: 1.4rem 1.6rem;
  flex-direction: row; /* due colonne affiancate */
}
.drop-menu-wide .dm-col { display: flex; flex-direction: column; gap: .55rem; }
.drop-menu-wide .dm-title {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--accent);
  margin-bottom: .35rem;
  letter-spacing: .04em;
}
.drop-menu-wide .dm-col a {
  font-size: .82rem;
  color: #cfc8bc;
  text-transform: none;
  letter-spacing: .01em;
  transition: color .15s;
}
.drop-menu-wide .dm-col a:hover { color: var(--accent); }

/* Nav premium: serif, spaziatura ampia */
.header-nav a,
.drop-item > a {
  font-weight: 500;
  letter-spacing: .14em;
}

/* ── ARTICOLO: meta (data · tempo lettura) ── */
.article-meta {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 2.2rem;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent); /* oro su notte = 8.8:1 */
}
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--accent-dark); }

/* Miniature galleria: bordo oro sottile sull'attiva */
.gallery-thumb {
  width: 72px; height: 72px;
  border-radius: .5rem;
  overflow: hidden;
  opacity: .55;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity .2s, border-color .2s;
}
.gallery-thumb.active,
.gallery-thumb:hover {
  opacity: 1;
  border-color: var(--accent);
}

/* ── Acquista ora (CTA primario) ── */
.product-actions .buy-now {
  flex: 1;
  background: linear-gradient(135deg, #d4b56e, var(--accent));
  color: #14141c;
  border: none;
  border-radius: 100px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .95rem;
  cursor: pointer;
  padding: 0 2rem;
  min-height: 54px;
  transition: filter .2s, transform .15s;
  font-family: inherit;
}
.product-actions .buy-now:hover { filter: brightness(1.08); transform: translateY(-1px); }
.product-actions { display: flex; flex-direction: column; gap: .6rem; }
.product-actions > * { width: 100%; }

/* ============================================================
   CHECKOUT STILE SHOPIFY — 2026-08-25
   Pagina unica, card sezioni, riepilogo sticky a destra.
   Scope: .co-* (nessun impatto su altre pagine)
   ============================================================ */
.co-page { max-width: 1180px; margin: 0 auto; padding: 1.5rem 1rem 4rem; }

/* Header */
.co-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem .25rem 1.5rem; flex-wrap: wrap; }
.co-logo { font-weight: 900; font-size: 1.35rem; letter-spacing: .06em; color: var(--text); text-decoration: none; }
.co-logo span { color: var(--accent); }
.co-breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: var(--text-lighter); }
.co-breadcrumb a { color: var(--text-light); text-decoration: none; }
.co-breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.co-breadcrumb .done::after { content: " ✓"; color: var(--success); font-size: .8em; }
.co-breadcrumb .current { color: var(--text); font-weight: 600; }
.co-shield { font-size: .78rem; color: var(--text-lighter); white-space: nowrap; }

/* Grid */
.co-grid { display: grid; grid-template-columns: minmax(0,1fr) 420px; gap: 2.5rem; align-items: start; }

/* Card sezioni */
.co-card {
  background: var(--bg-alt);
  border: 1px solid rgba(201,169,98,.18);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.25rem;
}
.co-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.co-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 .9rem; color: var(--text); letter-spacing: .01em; }
.co-card-head .co-title { margin-bottom: 0; }
.co-note { font-size: .78rem; color: var(--text-lighter); margin: .5rem 0 0; line-height: 1.5; }
.co-note--secure { margin: -.35rem 0 .9rem; }

/* Campi */
.co-fields { display: grid; gap: .85rem; margin-top: .9rem; }
.co-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.co-row3 { display: grid; grid-template-columns: .8fr 1.4fr .7fr; gap: .85rem; }
.co-field label { display: block; font-size: .76rem; font-weight: 600; color: var(--text-light); margin-bottom: .35rem; letter-spacing: .02em; }
.co-field input {
  width: 100%; padding: .72rem .85rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(207,200,188,.25);
  border-radius: 8px;
  color: var(--text); font-size: .95rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.co-field input::placeholder { color: var(--text-lighter); opacity: .6; }
.co-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201,169,98,.15); }
.co-field input:user-invalid { border-color: var(--error); }

/* Metodi pagamento */
.co-paymethods { display: grid; gap: .7rem; margin-top: .4rem; }
.pay-method {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem;
  border: 1px solid rgba(207,200,188,.22);
  border-radius: 10px; padding: .9rem 1rem; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.pay-method:hover { border-color: rgba(201,169,98,.45); }
.pay-method:has(input:checked) { border-color: var(--accent); background: rgba(201,169,98,.07); box-shadow: 0 0 0 1px var(--accent); }
.pay-method input { accent-color: var(--accent); width: 17px; height: 17px; }
.pay-brands { display: inline-flex; gap: .3rem; }
.pay-brands i, .pay-brands.paypal-wordmark {
  font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .03em;
  padding: .18rem .4rem; border-radius: 4px;
  background: rgba(243,238,230,.08); color: var(--text-light);
  border: 1px solid rgba(207,200,188,.25);
}
.pay-brands.paypal-wordmark { color: #f7f7f7; background: #003087; border-color: transparent; font-size: .68rem; }
.pay-method em { font-style: normal; font-size: .74em; color: var(--accent-light); display: block; margin-top: .15rem; }

.ppay-rate-notice {
  margin: .8rem 0 0; padding: .65rem .85rem; font-size: .8rem; line-height: 1.55;
  border: 1px solid rgba(201,169,98,.35); border-left: 3px solid var(--accent);
  border-radius: 8px; background: rgba(201,169,98,.06); color: var(--text-light);
}
.ppay-rate-notice strong { color: var(--accent-light); }

/* Privacy + CTA */
.co-privacy { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1rem; font-size: .8rem; color: var(--text-light); line-height: 1.5; }
.co-privacy input { accent-color: var(--accent); width: 16px; height: 16px; margin-top: .1rem; flex: none; }
.co-privacy a { color: var(--accent); text-decoration: underline; }

.co-actions { margin-top: 1.4rem; display: grid; gap: .7rem; justify-items: start; }
.co-paybtn {
  width: 100%;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--text); font-size: 1rem; font-weight: 800; letter-spacing: .02em;
  border: 1px solid var(--border); border-radius: 10px; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.co-paybtn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(201,169,98,.25); }
.co-paybtn:disabled { opacity: .55; cursor: wait; }
.co-paybtn-total { float: right; color: var(--accent-light); }
.co-backlink { color: var(--text-lighter); font-size: .84rem; text-decoration: none; }
.co-backlink:hover { color: var(--accent); }
.co-error { color: var(--error); font-size: .88rem; }

/* Riepilogo (colonna destra) */
.co-side { position: sticky; top: 1.5rem; }
.checkout-summary.co-summary {
  background: var(--bg-card); color: var(--text-card);
  border: 1px solid rgba(201,169,98,.25); border-radius: 14px;
  padding: 1.4rem 1.5rem;
}
.checkout-summary.co-summary h2 { color: var(--text-card); font-size: 1.05rem; }
.co-items { display: grid; gap: .8rem; }
.co-item { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; }
.co-item-thumbwrap { position: relative; display: inline-block; }
.co-item-thumbwrap img {
  width: 56px; height: 56px; object-fit: cover; border-radius: 8px;
  border: 1px solid rgba(23,23,31,.12); background: #fff; display: block;
}
.co-item-qty {
  position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--text-lighter); color: #fff;
  border-radius: 50%; font-size: .66rem; font-weight: 800; padding: 0 4px;
}
.co-item-info { font-size: .82rem; line-height: 1.35; color: var(--text-card); }
.co-item-var { display: block; font-size: .74rem; color: var(--text-lighter); margin-top: .1rem; }
.co-item-price { font-weight: 700; font-size: .86rem; }
.co-trust { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed rgba(23,23,31,.15); }

/* Mobile */
@media (max-width: 900px) {
  .co-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .co-side { position: static; order: -1; }
  .checkout-summary.co-summary { padding: 1rem 1.1rem; }
  .co-items { max-height: 180px; overflow-y: auto; }
  .co-header { justify-content: center; text-align: center; }
  .co-row3 { grid-template-columns: 1fr 2fr; }
  .co-row3 .co-field:last-child { grid-column: 1 / -1; }
  .pay-method { grid-template-columns: auto 1fr; }
  .pay-brands { display: none; }
}

/* ============================================================
   CARRELLO STILE SHOPIFY — 2026-08-25
   Scope: .ca-* (coerente col checkout .co-*)
   ============================================================ */
.ca-page { max-width: 1180px; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
.ca-title-main { font-size: 1.6rem; font-weight: 800; color: var(--text); margin: 0; letter-spacing: .01em; }
.ca-page .co-header { padding-bottom: 1.75rem; border-bottom: 1px solid rgba(207,200,188,.15); margin-bottom: 1.75rem; }

/* Grid */
.ca-grid { display: grid; grid-template-columns: minmax(0,1fr) 420px; gap: 2.5rem; align-items: start; }

/* Intestazione colonne (desktop) */
.ca-list-head {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 1.5rem; align-items: center;
  padding: 0 .25rem .7rem;
  border-bottom: 1px solid rgba(207,200,188,.18);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-lighter);
}
.ca-list-head span:nth-child(2) { width: 128px; text-align: center; }
.ca-list-head span:last-child { width: 70px; text-align: right; }

/* Riga prodotto */
.ca-item {
  display: grid; grid-template-columns: 88px 1fr auto;
  gap: 1.1rem; align-items: center;
  padding: 1.25rem .25rem;
  border-bottom: 1px solid rgba(207,200,188,.14);
}
.ca-thumb img {
  width: 88px; height: 88px; object-fit: cover;
  border-radius: 10px; display: block;
  background: #fff; border: 1px solid rgba(243,238,230,.12);
}
.ca-title-link, .ca-item-title { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.35; display: block; }
.ca-item-title:hover { color: var(--accent); }
.cart-item-varianti { font-size: .78rem; color: var(--text-lighter); margin-top: .25rem; }
.ca-unit { font-size: .8rem; color: var(--text-light); margin-top: .3rem; }
.ca-old { color: var(--text-lighter); font-size: .78rem; margin-right: .35rem; }
.ca-remove {
  background: none; border: none; padding: 0; margin-top: .5rem;
  font-size: .76rem; color: var(--text-lighter); cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px;
}
.ca-remove:hover { color: var(--error); }

/* Destra riga: qty stepper + totale riga */
.ca-right { display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.ca-qty {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(201,169,98,.4); border-radius: 999px;
  overflow: hidden; background: rgba(255,255,255,.03);
}
.ca-qty button {
  width: 32px; height: 32px; border: none; background: none;
  color: var(--accent); font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: background .12s ease;
}
.ca-qty button:hover { background: rgba(201,169,98,.12); }
.ca-qty span { min-width: 30px; text-align: center; font-weight: 700; font-size: .9rem; color: var(--text); }
.ca-line { font-weight: 800; font-size: .95rem; color: var(--text); min-width: 70px; text-align: right; }

/* Continua shopping */
.ca-continueshop {
  display: inline-block; margin-top: 1.1rem;
  color: var(--text-lighter); font-size: .84rem; text-decoration: none;
}
.ca-continueshop:hover { color: var(--accent); }

/* Summary riusa .checkout-summary.co-summary (chiaro) */
.ca-summary .row { display: flex; justify-content: space-between; font-size: .88rem; padding: .3rem 0; }
.ca-delivery { margin: .6rem 0; }
.ca-trust { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed rgba(23,23,31,.15); }
.ca-checkout-btn { margin-top: 1rem; text-align: left; }
.ca-register {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px dashed rgba(23,23,31,.15);
  font-size: .78rem; line-height: 1.55; color: var(--text-card);
}
.ca-register a { color: var(--accent-dark); }

/* Empty state */
.ca-empty {
  text-align: center; padding: 4rem 1rem;
  background: var(--bg-alt); border: 1px dashed rgba(201,169,98,.3);
  border-radius: 14px;
}
.ca-empty .icon { font-size: 3rem; margin-bottom: .5rem; }
.ca-empty p { font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 0 0 .25rem; }
.ca-empty-sub { display: block; color: var(--text-lighter); font-size: .88rem; margin-bottom: 1.4rem; }

/* Mobile */
@media (max-width: 900px) {
  .ca-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .ca-side { order: -1; position: static; }
  .ca-list-head { display: none; }
  .ca-item { grid-template-columns: 72px 1fr; grid-template-areas: "thumb info" "thumb right"; row-gap: .7rem; }
  .ca-thumb img { width: 72px; height: 72px; }
  .ca-thumb { grid-area: thumb; }
  .ca-info { grid-area: info; }
  .ca-right { grid-area: right; flex-direction: row; justify-content: space-between; width: 100%; }
  .ca-line { text-align: left; }
}

/* FIX 19/9 "tocco zen avvolgente" (Gianluca): l'arancio Amazon era la
   stonatura più forte della home, uno sticker da saldo su un design
   altrimenti caldo/elegante. Sostituito con un bronzo pieno, morbido
   (pillola, non spigoloso), coerente con .hero-cta/.btn-primary. */
.buy-now-btn {
  display: block;
  margin: auto 1rem .6rem;
  width: calc(100% - 2rem);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border: 1px solid var(--accent-dark);
  color: var(--text-card);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .01em;
  padding: .68rem 0;
  border-radius: 100px;
  cursor: pointer;
  transition: filter .15s ease, transform .12s ease;
  font-family: inherit;
}
.buy-now-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.buy-now-btn:active { transform: translateY(0); }
/* il bottone prezzo sotto non serve più staccato dal bordo */
.product-card .add-btn { margin-top: 0; }
@media (max-width: 640px) {
  .buy-now-btn { padding: .72rem 0; }
}

/* ============================================================
   IDENTITÀ "LA BOUTIQUE" — 2026-08-25
   Serif Fraunces per l'emozione · oro come filo · respiro
   ============================================================ */

/* ── Header: monogramma + claim ── */
.header-logo-brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.header-logo-brand .logo-mark { display: block; flex: none; }
.header-logo-brand .logo-stack { display: flex; flex-direction: column; line-height: 1.05; }
.header-logo-brand .logo-word {
  font-weight: 900; letter-spacing: .14em; font-size: 1rem;
  color: var(--text);
}
.header-logo-brand .logo-claim {
  font-family: 'Fraunces', Georgia, serif; font-style: italic;
  font-size: .62rem; letter-spacing: .05em;
  color: var(--accent-light); opacity: .9;
}

/* ── Le Maison (/marchi) ── */
.maison-page { max-width: 1080px; margin: 0 auto; padding: 3rem 1.25rem 4rem; }
.maison-hero { text-align: center; padding: 1.5rem 0 2.5rem; }
.maison-hero .eyebrow {
  display: inline-block; font-size: .7rem; letter-spacing: .35em;
  color: var(--accent); margin-bottom: 1rem;
}
.maison-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 400; line-height: 1.02; margin: 0 0 1.1rem; color: var(--text);
}
.maison-title em { font-style: italic; color: var(--accent); }
.maison-sub { color: var(--text-light); font-size: .95rem; line-height: 1.75; margin: 0 auto; max-width: 46ch; }
.maison-rule {
  width: 72px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 2rem auto 0;
}
.maison-group { margin-top: 2.75rem; }
.maison-letter-row { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.15rem; }
.maison-letter {
  font-family: 'Fraunces', Georgia, serif; font-style: italic;
  font-size: 2rem; line-height: 1; color: var(--accent); min-width: 2ch;
}
.maison-letter-rule { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(201,169,98,.45), transparent); }
.maison-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: .7rem; }
.maison-tile {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 86px;
  padding: .85rem 1rem .8rem;
  background: var(--bg-alt);
  border: 1px solid rgba(201,169,98,.16);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.maison-tile:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(201,169,98,.12);
}
.mt-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem; letter-spacing: .06em; color: var(--text); line-height: 1.3;
}
.mt-count { font-size: .72rem; color: var(--text-lighter); margin-top: .3rem; letter-spacing: .04em; }
.mt-arrow {
  position: absolute; right: .85rem; top: .85rem;
  color: var(--accent); opacity: 0; transform: translateX(-6px);
  transition: opacity .18s ease, transform .18s ease; font-size: .9rem;
}
.maison-tile:hover .mt-arrow { opacity: 1; transform: translateX(0); }
.maison-foot { text-align: center; margin-top: 3rem; color: var(--text-light); font-size: .9rem; }
.maison-foot a { color: var(--accent-dark); }
.back-home { display: inline-block; margin-top: .6rem; }

/* ── Brandstrip home ── */
.brandstrip { padding: 1.9rem 0 .6rem; border-top: 1px solid rgba(201,169,98,.14); border-bottom: 1px solid rgba(201,169,98,.10); }
.bs-eyebrow {
  text-align: center; font-size: .66rem; letter-spacing: .38em;
  color: var(--text-lighter); margin-bottom: 1.1rem;
}
.bs-window { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.bs-track {
  display: inline-flex; align-items: center; gap: 2.2rem;
  white-space: nowrap; padding-left: 2rem;
  animation: bs-scroll 46s linear infinite;
}
.bs-window:hover .bs-track,
.bs-window.bs-touched .bs-track { animation-play-state: paused; }
@keyframes bs-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.bs-item {
  font-family: 'Fraunces', Georgia, serif;
  font-size: .95rem; letter-spacing: .18em;
  color: var(--text-light); text-decoration: none;
  transition: color .18s ease;
}
.bs-item:hover { color: var(--accent); }
.bs-all { color: var(--accent); letter-spacing: .08em; }
.bs-dot { color: var(--accent); opacity: .5; font-size: .55rem; }

@media (max-width: 640px) {
  .header-logo-brand .logo-word { font-size: .88rem; }
  .header-logo-brand .logo-claim { display: none; }
  .maison-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
@media (max-width: 420px) {
  /* Sotto i 420px, toggle menu + logo + icone azioni non ci stanno
     insieme sulla stessa riga: teniamo solo il monogramma "O·D". */
  .header-logo-brand .logo-stack { display: none; }
  .header-inner { gap: .75rem; }
  /* FIX 2026-08-29: .header-logo::before disegna un'icona "a strati"
     ridondante (doppio logo insieme al cerchio O·D) — da sola vale
     ~40px, la causa principale per cui Carrello/Account finivano fuori
     schermo su mobile, costringendo a scorrere lateralmente per
     raggiungerli. */
  .header-logo::before { display: none; }
}

/* ============================================================
   SLIDE-IN SUGGERIMENTI POST-ADD — 2026-08-25
   ============================================================ */
#sugg-overlay {
  position: fixed; inset: 0; background: rgba(10,10,15,.55);
  opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 99997;
}
#sugg-overlay { display: none; }
#sugg-panel.open ~ #sugg-overlay, #sugg-overlay.open { display: block; }
/* overlay visibile quando panel open (gestito da JS classi) */
body:has(#sugg-panel.open) #sugg-overlay { display: block; opacity: 1; pointer-events: auto; }

#sugg-panel {
  position: fixed; top: 0; right: -420px; width: min(400px, 94vw); height: 100dvh;
  background: var(--bg-card); color: var(--text-card);
  z-index: 99998; box-shadow: -18px 0 48px rgba(0,0,0,.35);
  transition: right .32s cubic-bezier(.22,.9,.3,1);
  display: flex; flex-direction: column;
}
#sugg-panel.open { right: 0; }

.sugg-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 1.2rem 1.3rem .8rem;
  border-bottom: 1px solid rgba(23,23,31,.12);
}
.sugg-ok {
  display: block; font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  color: #137333; text-transform: uppercase; margin-bottom: .25rem;
}
.sugg-head strong { font-size: .95rem; color: var(--text-card); }
.sugg-close {
  background: none; border: none; font-size: 1.05rem; cursor: pointer;
  color: var(--text-lighter); padding: .2rem .4rem; border-radius: 6px;
}
.sugg-close:hover { background: rgba(23,23,31,.07); }

.sugg-sub {
  font-size: .68rem; letter-spacing: .22em; color: var(--text-lighter);
  padding: 1rem 1.3rem .5rem; margin: 0;
}

#sugg-body { flex: 1; overflow-y: auto; padding: .3rem 1.3rem; }
.sugg-loading { color: var(--text-lighter); font-size: .85rem; padding: 1.5rem 0; text-align:center; }

.sugg-item {
  display: grid; grid-template-columns: auto 56px 1fr; gap: .75rem;
  align-items: center; padding: .7rem .6rem; margin-bottom: .5rem;
  border: 1px solid rgba(23,23,31,.14); border-radius: 10px;
  cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.sugg-item:hover { background: rgba(201,169,98,.06); border-color: rgba(201,169,98,.45); }
.sugg-item:has(input:checked) { border-color: var(--accent); background: rgba(201,169,98,.08); }
.sugg-item input { accent-color: var(--accent-dark); width: 16px; height: 16px; }
.sugg-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background:#fff; }
.sugg-nome { display: block; font-size: .82rem; line-height: 1.3; color: var(--text-card); }
.sugg-prezzo { display: block; font-weight: 800; font-size: .88rem; margin-top: .2rem; }

#sugg-foot { padding: 1rem 1.3rem 1.3rem; border-top: 1px solid rgba(23,23,31,.12); display: grid; gap: .5rem; }
.sugg-cta {
  width: 100%; padding: .9rem; border: none; border-radius: 8px; cursor: pointer;
  background: #FFA41C; color: #0F1111; font-weight: 800; font-size: .95rem;
  font-family: inherit; transition: filter .15s ease;
}
.sugg-cta:hover { filter: brightness(.96); }
.sugg-skip {
  width: 100%; padding: .55rem; border: none; background: none; cursor: pointer;
  color: var(--text-lighter); font-size: .82rem; text-decoration: underline;
  text-underline-offset: 2px; font-family: inherit;
}

/* Utility universale di nascondimento (usata da carrello, banner FB, ecc.) */
.hidden { display: none !important; }

/* Fix leggibilita paginazione catalogo (29/9) */
.catalog-pagination .page-btn { background: rgba(255,255,255,.06); color: #ece2d0; border-color: rgba(201,169,98,.35); }
.catalog-pagination .page-btn.active { background: #c9a962; border-color: #c9a962; color: #1a1406; }
.catalog-pagination .page-dots { color: #ece2d0; opacity: .7; }

/* Esplora per categoria — stile OmniDrop (29/9) */
.cat-esplora { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .55rem; margin: 2.2rem auto 1rem; max-width: 70ch; }
.cat-esplora-titolo { font-family: 'Cinzel', serif; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: #c9a962; margin-right: .4rem; }
.cat-chip { display: inline-flex; align-items: center; padding: .48rem 1.05rem; border-radius: 999px; border: 1px solid rgba(201,169,98,.28); background: rgba(255,255,255,.03); color: #ece2d0; font-size: .84rem; letter-spacing: .02em; text-decoration: none; transition: all .22s ease; }
.cat-chip:hover { border-color: #c9a962; color: #c9a962; background: rgba(201,169,98,.07); transform: translateY(-1px); }
.cat-chip.attivo { background: #c9a962; border-color: #c9a962; color: #1a1406; font-weight: 600; }
.cat-chip-speciale { border-style: dashed; }
/* Paginazione: hover piu' elegante */
.catalog-pagination .page-btn:hover:not(.active) { background: rgba(201,169,98,.12); }

/* Paginazione raffinata v2 (29/9) — richiesta Gianluca "affinala di piu'" */
.catalog-pagination { margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.06); gap: .45rem; }
.catalog-pagination .page-btn {
  min-width: 2.6rem; height: 2.6rem; padding: 0 .7rem;
  border: 1px solid rgba(236,226,208,.14); border-radius: 999px;
  background: transparent; color: rgba(236,226,208,.85);
  font-size: .88rem; font-weight: 500; letter-spacing: .03em;
  transition: all .22s ease;
}
.catalog-pagination .page-btn:hover:not(.active):not(:disabled) {
  border-color: #c9a962; color: #c9a962; background: rgba(201,169,98,.08);
  transform: translateY(-2px);
}
.catalog-pagination .page-btn.active {
  background: #c9a962; border-color: #c9a962; color: #1a1406; font-weight: 700;
  box-shadow: 0 4px 14px rgba(201,169,98,.35); transform: none;
}
.catalog-pagination .page-btn[rel="prev"], .catalog-pagination .page-btn[rel="next"] { font-size: 1.05rem; color: rgba(236,226,208,.7); }
.catalog-pagination .page-dots { color: rgba(236,226,208,.45); letter-spacing: .1em; padding: 0 .25rem; }
.catalog-pagination .page-btn:focus-visible { outline: 2px solid rgba(201,169,98,.6); outline-offset: 2px; }

/* Paginazione v3: piu' sottile (29/9) */
.catalog-pagination { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.04); gap: .32rem; }
.catalog-pagination .page-btn {
  min-width: 2.1rem; height: 2.1rem; padding: 0 .55rem;
  border: 1px solid rgba(236,226,208,.12);
  border-radius: 999px;
  font-size: .8rem; font-weight: 500;
  box-shadow: none;
}
.catalog-pagination .page-btn.active { box-shadow: 0 2px 8px rgba(201,169,98,.25); }
.catalog-pagination .page-btn[rel="prev"], .catalog-pagination .page-btn[rel="next"] { font-size: .95rem; }

/* Barra ricerca catalogo + menu filtri: verde brand, testo nero (29/9) */
.catalog-search-wrapper input { background: #9caf88; color: #10100c; border-color: rgba(13,10,7,.28); }
.catalog-search-wrapper input::placeholder { color: rgba(12,12,9,.72); opacity: 1; }
.catalog-search-wrapper input:hover { border-color: #10100c; }
.catalog-search-wrapper input:focus { border-color: #10100c; box-shadow: 0 0 0 3px rgba(201,169,98,.22); }
.catalog-filters .catalog-filter { background: #9caf88; color: #10100c; border: 1px solid rgba(13,10,7,.28); border-radius: 999px; }
.catalog-filters .catalog-filter:hover { border-color: #10100c; }
.catalog-filters .catalog-filter option { background: #ece2d0; color: #10100c; }

/* Armonia brand filtri (29/9): stesso verde, lente nitida, dettagli oro */
.catalog-search-wrapper .search-lens { position: absolute; left: 1.05rem; top: 50%; transform: translateY(-50%); color: #1b150a; display: flex; pointer-events: none; z-index: 2; }
.catalog-search-wrapper input { padding-left: 2.9rem !important; background-color: #9caf88 !important; color: #1b150a !important; }
.catalog-filters .catalog-filter {
  -webkit-appearance: none; appearance: none;
  background-color: #9caf88;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%231b150a' stroke-width='2' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right .9rem center;
  padding: .6rem 2.2rem .6rem 1.1rem; color: #1b150a; font-weight: 500;
  border: 1px solid rgba(13,10,7,.28); border-radius: 999px;
}
.catalog-filters .catalog-filter:hover { border-color: #c9a962; }
.catalog-filters .catalog-filter:focus { outline: none; border-color: #c9a962; box-shadow: 0 0 0 3px rgba(201,169,98,.22); }

/* Filtri catalogo — armonia brand v2 (29/9 23:5x) */
:root { --verde-filtri: #9caf88; --ink-filtri: #14110b; }
.catalog-search-wrapper input {
  height: 3.15rem !important; padding: .95rem 1.35rem .95rem 3.1rem !important;
  background: var(--verde-filtri) !important; color: var(--ink-filtri) !important;
  border: 1px solid rgba(201,169,98,.45) !important; border-radius: 999px !important;
  font-size: .95rem !important; font-weight: 500 !important; letter-spacing: .01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.catalog-search-wrapper input::placeholder { color: rgba(20,17,11,.62) !important; opacity: 1 !important; }
.catalog-search-wrapper input:hover { border-color: #c9a962 !important; }
.catalog-search-wrapper input:focus { border-color: #c9a962 !important; box-shadow: 0 0 0 3px rgba(201,169,98,.25) !important; }
.catalog-search-wrapper .search-lens { left: 1.15rem; color: var(--ink-filtri); }
.catalog-search-wrapper .search-lens svg { width: 20px; height: 20px; stroke-width: 2.2; }
.catalog-filters .catalog-filter {
  height: 2.85rem; background-color: var(--verde-filtri) !important; color: var(--ink-filtri) !important;
  border: 1px solid rgba(201,169,98,.45) !important; border-radius: 999px !important;
  font-size: .9rem !important; font-weight: 600 !important;
  padding: 0 2.4rem 0 1.2rem !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%2314110b' stroke-width='2.2' stroke-linecap='round'/></svg>") !important;
  background-repeat: no-repeat !important; background-position: right 1rem center !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.catalog-filters .catalog-filter:hover { border-color: #c9a962 !important; }

/* Spazio tra barra ricerca e card (29/9) */
.catalog-search-wrapper { margin-bottom: 2rem; }

/* ═══ LEGGIBILITA' 14/10/2026 (richiesta Gianluca: "font piu' leggibile, specialmente nei prezzi") ═══
   Prezzi SEMPRE in sans (DM Sans), numeri tabulari, peso pieno: mai serif sottile sui numeri. */
.price-current, .price-now, .price-old, .co-item-price, .ca-line, .ca-unit,
.product-price .price-now, .product-card .price-current, .price-row {
  font-family: var(--sans) !important;
  font-variant-numeric: tabular-nums;
}
.product-card .price-current { font-weight: 700; font-size: 1.22rem; }
.product-price .price-now { font-weight: 600; letter-spacing: .01em; }
.ca-line { font-size: 1.05rem; }
.ca-unit { font-size: .85rem; }
.co-item-price { font-size: .95rem; font-weight: 800; }

/* Contrasto riepilogo (pannello chiaro): righe leggibili, non beige su crema */
.checkout-summary.co-summary .row { color: #574e3e; }
.checkout-summary.co-summary .row.total { color: var(--text-card); }
.co-item-var { color: #6f6757; }
