/* ==========================================================================
   Vittoria Italiana - stile del negozio (modulo vi_style 1.0.0)
   Solo CSS: colori, caratteri, bottoni, schede. Nessuna modifica di struttura.
   Per tornare al tema originale: disattivare il modulo "vi_style".
   Palette e caratteri presi dalla pagina https://vittoria-italiana.com
   ========================================================================== */

:root {
  --vi-ink: #1c1710;
  --vi-ink-2: #2b2418;
  --vi-gold: #f5cd64;
  --vi-gold-deep: #b8891f;
  --vi-brown: #6b4f12;
  --vi-logo-green: #174414;
  --vi-green: #1d5a1c;
  --vi-red: #b51514;
  --vi-cream: #fdf8ea;
  --vi-muted: #5a5142;
  --vi-line: #e6d9b3;
  --vi-serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --vi-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --vi-tri: linear-gradient(90deg, #1d5a1c 0 33.3%, #fdf8ea 33.3% 66.6%, #b51514 66.6%);
  --vi-shadow: 0 14px 30px rgba(28, 23, 16, .16);
  --vi-gutter: 16px;
  --vi-wide: 1560px;
}
@media (min-width: 768px) { :root { --vi-gutter: 24px; } }
@media (min-width: 1200px) { :root { --vi-gutter: 40px; } }

/* ---------- Layout largo e fluido (al posto del contenitore a 1110 px) ---------- */
body .container,
body .container-fluid {
  width: 100%;
  max-width: var(--vi-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--vi-gutter);
  padding-right: var(--vi-gutter);
}
body #header .header-nav .container { max-width: var(--vi-wide); }

/* ---------- Base ---------- */
html, body, button, input, select, textarea, .btn, .form-control {
  font-family: var(--vi-sans);
}
body {
  background: var(--vi-cream);
  color: var(--vi-ink);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body#checkout { background: var(--vi-cream); color: var(--vi-ink); }
body #wrapper { background: transparent; padding-top: .5rem; box-shadow: none; }
body #content, body .page-content { color: var(--vi-ink); }
p { color: var(--vi-muted); }
.text-muted { color: var(--vi-muted) !important; }
.alert p { color: inherit; }
a { color: var(--vi-green); }
a:hover { color: var(--vi-red); text-decoration: none; }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--vi-serif);
  color: var(--vi-ink);
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
}
/* selettori a bassa specificita': le classi del contenuto (es. pagine CMS) li possono sovrascrivere */
h1, .h1 { font-size: clamp(1.7rem, 4.4vw, 2.4rem); }
h2, .h2 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); }
h3, .h3 { font-size: 1.25rem; }
body .page-header h1, body #main h1.h1 { text-transform: none; letter-spacing: 0; }

/* pagine di contenuto (CMS): nessuno sforamento orizzontale, stile base */
:where(.page-cms) :where(img, video, iframe, embed) { max-width: 100%; height: auto; }
:where(.page-cms) :where(table) { display: block; max-width: 100%; overflow-x: auto; }
:where(.page-cms) :where(p a, li a):not([class]) { text-decoration: underline; }

::selection { background: var(--vi-gold); color: var(--vi-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--vi-gold-deep);
  outline-offset: 2px;
}

/* ---------- Fascia in alto (1.1.3): gialla, due messaggi che scorrono, 10 secondi ciascuno ----------
   I testi sono in vi_style.php (hookDisplayAfterBodyOpeningTag). */
body .vi-top {
  position: relative; display: grid; overflow: hidden;
  background: linear-gradient(100deg, #f5cd64 0%, #f5cd64 35%, #ffe6a0 50%, #f5cd64 65%, #f5cd64 100%);
  background-size: 250% 100%; animation: vi-top-shine 8s linear infinite;
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, #1d5a1c 0 33.33%, #fff 33.33% 66.66%, #b51514 66.66%) 1;
}
body .vi-top__msg {
  grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; margin: 0; min-height: 3.5rem;
  padding: .625rem var(--vi-gutter); text-align: center; color: #1c1710; text-decoration: none;
  gap: .6rem; font: 800 .8125rem/1.35 var(--vi-sans); letter-spacing: .02em; text-transform: uppercase;
  animation: vi-top-slide 20s ease-in-out infinite;
}
body .vi-top__msg b { color: #174414; font-weight: 800; }
body a.vi-top__msg, body a.vi-top__msg:visited { color: #1c1710; }
body a.vi-top__msg:hover, body a.vi-top__msg:focus { color: #1c1710; text-decoration: underline; }
body .vi-top__msg + .vi-top__msg { animation-delay: -10s; }
body .vi-top:hover .vi-top__msg, body .vi-top:focus-within .vi-top__msg { animation-play-state: paused; }
@keyframes vi-top-slide {
  0%, 46% { transform: translateX(0); visibility: visible; }
  50% { transform: translateX(-100%); visibility: hidden; }
  50.01%, 96% { transform: translateX(100%); visibility: hidden; }
  100% { transform: translateX(0); visibility: visible; }
}
@keyframes vi-top-shine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@media (min-width: 768px) { body .vi-top__msg { font-size: 1.125rem; letter-spacing: .04em; } }
@media (prefers-reduced-motion: reduce) {
  body .vi-top, body .vi-top__msg { animation: none; }
  body .vi-top__msg { grid-area: auto; min-height: 2.5rem; }
}
@media print { body .vi-top { display: none; } }

/* ---------- Barra alta (telefono / accesso / carrello) ---------- */
body #header { background: transparent; box-shadow: none; }
body #header .header-nav {
  background: var(--vi-ink);
  border: 0;
  max-height: none;
  padding: 0;
  color: var(--vi-cream);
}
body #header .header-nav #_desktop_contact_link #contact-link,
body #header .header-nav .user-info,
body #header .header-nav .language-selector {
  margin-top: 0;
  line-height: 44px;
  color: var(--vi-cream);
  font-size: 1.0625rem;
}
body #header .header-nav #_desktop_contact_link,
body #header .header-nav #contact-link { white-space: nowrap; }
@media (min-width: 768px) and (max-width: 1199px) {
  body #header .header-nav #_desktop_contact_link #contact-link { font-size: 1rem; }
}
body #header .header-nav #contact-link { padding: 0; }
body #header .header-nav #contact-link a { display: inline-flex; align-items: center; min-height: 44px; }
body #header .header-nav a,
body #header .header-nav .blockcart a {
  color: var(--vi-gold);
  font-weight: 700;
}
body #header .header-nav a:hover { color: #fff; text-decoration: underline; }
body #header .header-nav .user-info a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
body #header .header-nav .user-info .material-icons { color: var(--vi-gold); }
body #header .header-nav .user-info .account { margin-left: 0; }

/* computer e tablet: tutto su una riga e centrato in altezza (prima il testo stava piu' in alto e
   "Esci" e il nome andavano su due righe) */
@media (min-width: 768px) {
  body #header .header-nav > .container > .row { margin: 0; }
  body #header .header-nav .hidden-sm-down {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 64px;
    padding: 8px 0;
  }
  body #header .header-nav .hidden-sm-down > [class*="col-"] {
    float: none;
    width: auto;
    max-width: none;
    flex: 0 1 auto;
    padding: 0;
    display: flex;
    align-items: center;
  }
  body #header .header-nav .hidden-sm-down > .right-nav { justify-content: flex-end; gap: .9rem; margin-left: auto; }
  body #header .header-nav #_desktop_contact_link #contact-link,
  body #header .header-nav .user-info { line-height: 1.2; }
  body #header .header-nav #_desktop_user_info, body #header .header-nav #_desktop_cart { float: none; display: flex; align-items: center; }
  body #header .header-nav .user-info { display: flex; align-items: center; gap: 1.1rem; white-space: nowrap; }
  body #header .header-nav .user-info a { min-height: 44px; }
  /* prima il nome del cliente (con l'icona della persona), poi "Esci" piu' discreto */
  body #header .header-nav .user-info .account { order: 1; }
  body #header .header-nav .user-info .account::before {
    content: "\E7FF";
    font-family: 'Material Icons';
    font-weight: normal;
    font-size: 24px;
    line-height: 1;
    color: var(--vi-gold);
  }
  body #header .header-nav .user-info .logout { order: 2; color: var(--vi-cream); font-weight: 600; font-size: .95rem; opacity: .85; }
  body #header .header-nav .user-info .logout .material-icons { display: none; }
  body #header .header-nav .user-info .logout:hover { opacity: 1; color: #fff; }
  body #header .header-nav .blockcart { margin: 0; }
}

/* carrello (compare solo ai clienti abilitati) */
body #header .header-nav .blockcart {
  height: auto;
  min-height: 44px;
  margin: 3px 0 3px .75rem;
  padding: 0 14px;
  background: rgba(253, 248, 234, .12);
  color: var(--vi-cream);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
}
body #header .header-nav .blockcart .header { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
body #header .header-nav .blockcart a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 1.0625rem; }
body #header .header-nav .blockcart.active { background: var(--vi-gold); }
body #header .header-nav .blockcart.active a,
body #header .header-nav .cart-preview.active a,
body #header .header-nav .cart-preview.active i,
body #header .header-nav .blockcart.active a:hover,
body #header .header-nav .blockcart.active .cart-products-count { color: var(--vi-ink); }
body #header .header-nav .blockcart .shopping-cart { color: inherit; }
body #header .header-nav .blockcart.inactive .header,
body #header .header-nav .blockcart.inactive .header span { color: var(--vi-cream); }

/* ---------- Testata: logo, menu, ricerca ---------- */
body #header .header-top {
  background: #fff;
  padding: .75rem 0;
  border-bottom: 1px solid var(--vi-line);
}
body #header::after {
  content: "";
  display: block;
  height: 6px;
  background: var(--vi-tri);
}
body #header #_desktop_logo .logo {
  width: 108px;
  height: 108px;
  border-radius: 12px;
  display: block;
}
body #header #_desktop_logo h1 { margin: 0; font-size: 0; line-height: 0; }

body #header .header-top a[data-depth="0"],
body #header .header-top .top-menu a.dropdown-item {
  color: var(--vi-ink);
  font-family: var(--vi-sans);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .01em;
  text-transform: none;
  padding: 10px 14px;
  min-height: 44px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  transition: background .15s, color .15s;
}
body #header .top-menu a[data-depth="0"]:hover,
body #header .header-top a[data-depth="0"]:hover,
body #header .top-menu li.current > a[data-depth="0"] {
  background: var(--vi-gold);
  color: var(--vi-ink);
}
body #header .header-top .menu { padding-left: 0; }
body #header #_desktop_top_menu .top-menu { display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; }
body #header #_desktop_top_menu .top-menu > li { float: none; }

body #header .search-widgets { max-width: 22rem; margin-top: .35rem; }
body #search_widget form input[type=text],
body .search-widget form input[type=text] {
  height: 46px;
  background: #fff;
  color: var(--vi-ink);
  border: 2px solid var(--vi-line);
  border-radius: 12px;
  padding: 10px 40px 10px 46px;
  box-shadow: none;
}
body #search_widget form input[type=text]:focus,
body .search-widget form input[type=text]:focus {
  border-color: var(--vi-gold-deep);
  box-shadow: 0 0 0 3px rgba(245, 205, 100, .55);
  outline: 0;
}
body #search_widget form input::placeholder { color: #7b705a; }
body #search_widget form i { top: 0; padding: 0; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; }
body #search_widget form i.search { left: 0; color: var(--vi-brown); }
body #search_widget form i.clear { left: auto; right: 0; color: var(--vi-muted); }
body #header #search_widget { margin-bottom: 0; }

/* ---------- Menu mobile ---------- */
body #header .header-nav .mobile { padding: 6px 0; color: var(--vi-cream); }
body #header .header-nav #menu-icon {
  margin: 0 .25rem 0 0;
  min-width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
body #header .header-nav #menu-icon .material-icons { color: var(--vi-gold); line-height: 48px; font-size: 30px; }
body #header .header-nav .top-logo { min-height: 48px; }
body #header .header-nav .top-logo a { display: block; min-height: 48px; }
body #header .header-nav .top-logo .logo { width: 48px; height: 48px; max-height: none; object-fit: contain; border-radius: 9px; }
body #header .header-nav #_mobile_user_info a,
body #header .header-nav #_mobile_cart a { min-height: 48px; min-width: 48px; display: inline-flex; align-items: center; justify-content: center; }
body #header .header-nav #_mobile_user_info .material-icons { color: var(--vi-gold); }

body #mobile_top_menu_wrapper {
  background: var(--vi-cream);
  padding: 0 0 20px;
  border-top: 6px solid var(--vi-gold);
}
body #mobile_top_menu_wrapper .top-menu { color: var(--vi-ink); }
body #header .header-top #mobile_top_menu_wrapper .top-menu a[data-depth="0"],
body #header .header-top #mobile_top_menu_wrapper .top-menu a.dropdown-item {
  display: flex;
  box-shadow: none;
  align-items: center;
  min-height: 52px;
  padding: 12px 20px;
  font-family: var(--vi-serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--vi-ink);
  text-transform: none;
  border-bottom: 1px solid var(--vi-line);
  border-radius: 0;
  background: transparent;
}
body #header .header-top #mobile_top_menu_wrapper .top-menu a[data-depth="0"]:hover,
body #header .header-top #mobile_top_menu_wrapper .top-menu a.dropdown-item:hover { background: var(--vi-gold); color: var(--vi-ink); }
body #mobile_top_menu_wrapper .js-top-menu-bottom,
body #mobile_top_menu_wrapper .js-top-menu-bottom a { color: var(--vi-muted); }
body #mobile_top_menu_wrapper .js-top-menu-bottom { padding: 12px 20px 0; }

/* ---------- Briciole di pane ---------- */
body .breadcrumb {
  background: transparent;
  padding: .9rem 0 .5rem;
  margin: 0;
  font-size: .9rem;
}
body #wrapper .breadcrumb ol { margin: 0; padding: 0; }
body .breadcrumb li, body .breadcrumb li span { color: var(--vi-brown); }
body .breadcrumb li a { color: var(--vi-brown); display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; padding: 0 2px; }
body .breadcrumb li a:hover { color: var(--vi-green); text-decoration: underline; }
body .breadcrumb li::after { color: var(--vi-gold-deep); }
body .breadcrumb li:last-child span { color: var(--vi-ink); font-weight: 700; }
body#index .breadcrumb { display: none; }

/* ---------- Home: slider a tutta larghezza ---------- */
body#index #wrapper { overflow-x: hidden; overflow-x: clip; }
body #carousel {
  left: 50%;
  width: calc(100vw / var(--vi-zoom, 1));
  max-width: calc(100vw / var(--vi-zoom, 1));
  margin-left: calc(-50vw / var(--vi-zoom, 1));
  margin-bottom: 0;
  padding-bottom: 0;
  background: var(--vi-cream);
}
body .carousel .carousel-inner {
  height: auto !important;
  max-width: 2220px;
  margin: 0 auto;
  box-shadow: none;
  background: var(--vi-cream);
}
body #carousel .carousel-item figure { margin: 0; }
body #carousel .carousel-item img { display: block; width: 100%; height: auto; }
body #carousel .direction .carousel-control .icon-prev,
body #carousel .direction .carousel-control .icon-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(28, 23, 16, .6);
  border-radius: 50%;
}
body #carousel .direction .carousel-control i { color: var(--vi-gold); font-size: 30px; text-shadow: none; background: transparent; }
body #carousel .direction { position: absolute; top: calc(50% - 22px); width: 100%; }
body #carousel .direction .carousel-control .icon-prev { left: 12px; margin: 0; }
body #carousel .direction .carousel-control .icon-next { right: 12px; margin: 0; }
body #carousel .carousel-indicators li { border-color: var(--vi-gold-deep); }
body #carousel .carousel-indicators li:only-child { display: none; }
body #carousel .carousel-indicators .active { background: var(--vi-gold-deep); }

/* banner promozionale della home (modulo banner) */
body a.banner {
  display: block;
  margin: 2rem 0 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--vi-line);
}
body a.banner img { display: block; width: 100%; height: auto; }

/* ---------- Titoli di sezione dei blocchi prodotti ---------- */
body .featured-products .products-section-title,
body #products .products-section-title,
body .product-accessories .products-section-title,
body .ybc-mnf-block-title, body .ybc-manufacturer-title {
  font-family: var(--vi-serif);
  text-transform: none !important;
  font-weight: 700;
  font-size: clamp(1.6rem, 4.2vw, 2.3rem);
  line-height: 1.2;
  color: var(--vi-ink);
  margin: 3rem 0 2rem;
  padding-bottom: 18px;
  position: relative;
  text-align: center;
}
body .featured-products .products-section-title::after,
body #products .products-section-title::after,
body .product-accessories .products-section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 72px;
  height: 4px;
  margin-left: -36px;
  border-radius: 2px;
  background: var(--vi-gold);
}
body .featured-products .all-product-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--vi-green);
}
body .featured-products .all-product-link:hover { color: var(--vi-red); }

/* ---------- Schede prodotto (miniature) ---------- */
body .products,
body #products .products,
body .featured-products .products,
body .product-accessories .products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  justify-content: stretch;
}
body .products::before, body .products::after { display: none; }
body .products > .js-product.product,
body .products > .product {
  display: flex;
  float: none;
  width: auto;
  max-width: none;
  min-width: 0;
  padding: 0;
  margin: 0;
}
/* 768+: 3 colonne (2 se c'e' la colonna sinistra) */
@media (min-width: 768px) {
  body .products,
  body #products .products,
  body .featured-products .products,
  body .product-accessories .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  body.layout-left-column .products,
  body.layout-left-column #products .products,
  body.layout-left-column .featured-products .products,
  body.layout-left-column .product-accessories .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  body.layout-left-column .products,
  body.layout-left-column #products .products,
  body.layout-left-column .featured-products .products,
  body.layout-left-column .product-accessories .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* 1200+: 4 colonne; 1600+: 5 colonne dove non c'e' la colonna sinistra */
@media (min-width: 1200px) {
  body .products,
  body #products .products,
  body .featured-products .products,
  body .product-accessories .products,
  body.layout-left-column .products,
  body.layout-left-column #products .products,
  body.layout-left-column .featured-products .products,
  body.layout-left-column .product-accessories .products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 1600px) {
  body:not(.layout-left-column) .products,
  body:not(.layout-left-column) #products .products,
  body:not(.layout-left-column) .featured-products .products,
  body:not(.layout-left-column) .product-accessories .products {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
body .product-miniature { width: 100%; display: flex; justify-content: stretch; }
body .product-miniature .thumbnail-container {
  width: 100%;
  height: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--vi-line);
  border-top: 4px solid var(--vi-gold);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
body .product-miniature .thumbnail-container:hover,
body .product-miniature .thumbnail-container:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--vi-shadow);
}
body .product-miniature .thumbnail-container .thumbnail-top { position: relative; }
body .product-miniature .thumbnail-container .product-thumbnail { height: auto; }
body .product-miniature .thumbnail-container .product-thumbnail img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}
body .product-miniature .product-description {
  position: static;
  width: 100%;
  padding: 12px 14px 16px;
  flex: 1;
  background: #fff;
  text-align: center;
}
body .product-miniature .product-title { margin: 0 0 6px; }
body .product-miniature .product-title a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--vi-serif);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--vi-ink);
}
body .product-miniature .product-title a:hover { color: var(--vi-green); }
body .product-miniature .product-price-and-shipping { margin-top: 6px; }
body .product-miniature .price,
body .product-miniature .product-price-and-shipping .price {
  color: var(--vi-green);
  font-weight: 800;
  font-size: 1.15rem;
}
body .product-miniature .regular-price { color: var(--vi-muted); font-weight: 400; margin-right: 6px; }
body .product-miniature .discount-percentage,
body .product-miniature .discount-amount,
body .product-miniature .discount-product {
  background: var(--vi-red);
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
}
body .product-miniature .highlighted-informations { background: var(--vi-cream); }
body .product-miniature .highlighted-informations .quick-view {
  color: var(--vi-green);
  font-weight: 700;
  font-size: .95rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
body .product-miniature .highlighted-informations .quick-view:hover { color: var(--vi-red); }
body .product-miniature .variant-links { justify-content: center; }
body .product-miniature .product-list-reviews { margin: 0; }

/* etichette NEW / sconto */
body .product-flags li.product-flag,
body .product-miniature .product-flags li.product-flag {
  background: var(--vi-gold);
  color: var(--vi-ink);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  min-width: 0;
  min-height: 0;
  padding: .35rem .75rem;
  margin-top: 0;
  border-radius: 0 0 10px 0;
}
body .product-flags li.product-flag.discount,
body .product-flags li.product-flag.discount-percentage,
body .product-flags li.product-flag.on-sale { background: var(--vi-red); color: #fff; }
body .product-flags li.product-flag.out_of_stock { background: var(--vi-muted); color: #fff; }

/* cuore dei preferiti */
body .wishlist-button-add,
body .product-miniature .wishlist-button-add {
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid var(--vi-line);
  border-radius: 50%;
  color: var(--vi-brown);
}
body .wishlist-button-add:hover { color: var(--vi-red); border-color: var(--vi-red); }

/* ---------- Pagina categoria ---------- */
@media (min-width: 1200px) {
  body #left-column { width: 20%; }
  body #content-wrapper.left-column { width: 80%; }
}
body .block-category.card,
body .block-category {
  background: #fff;
  border: 1px solid var(--vi-line);
  border-top: 4px solid var(--vi-gold);
  border-radius: 14px;
  box-shadow: none;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}
body .block-category { min-height: 0; }
body .block-category h1 { margin: 0; }
body .block-category .block-category-inner:empty { display: none; }
body .block-category #category-description, body .block-category #category-description p { color: var(--vi-muted); margin-top: .5rem; }
body #left-column .block-categories,
body #left-column #search_filters_brands,
body #left-column .facet,
body #search_filters {
  background: #fff;
  border: 1px solid var(--vi-line);
  border-top: 4px solid var(--vi-gold);
  border-radius: 14px;
  box-shadow: none;
  padding: .9rem 1rem;
  margin-bottom: 1.25rem;
}
body #left-column #search_filters_brands .facet { border: 0; padding: 0; margin: 0; border-radius: 0; background: transparent; }
body #left-column .block-categories .category-top-menu a,
body #left-column .facet-label.h6, body #left-column a.facet-label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--vi-serif);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: none !important;
  color: var(--vi-ink);
}
body #left-column .facet .facet-label a,
body #left-column .category-sub-menu a,
body #search_filters .facet-label a {
  display: block;
  padding: 11px 8px;
  min-height: 44px;
  border-radius: 8px;
  color: var(--vi-ink);
  font-size: .95rem;
}
body #left-column .facet .facet-label a:hover,
body #search_filters .facet-label:hover a { background: var(--vi-gold); color: var(--vi-ink); }
body #search_filters .facet .facet-title { font-family: var(--vi-serif); text-transform: none; color: var(--vi-ink); font-weight: 700; }
body #search_filters .facet .facet-label.active a, body #search_filters .facet-label.active { color: var(--vi-green); }
body #search_filters .facet .custom-checkbox input[type=checkbox]:checked + span { background: var(--vi-logo-green); border-color: var(--vi-logo-green); }
body #search_filters .clear-all-wrapper .btn-tertiary { color: var(--vi-brown); }

/* Filtri a "pillole" (1.0.5): ogni voce (Marca, Selezioni, Senza glutine...) e' un bottone tondo col numero
   dei prodotti; quella scelta diventa verde con la spunta. La casella resta nella pagina (serve al modulo dei
   filtri e alla tastiera) ma non si vede. Lo slider del prezzo non cambia. */
body #search_filters { padding: 1rem 1.1rem .4rem; }
body #search_filters > .h6:first-child { margin-bottom: .2rem; font-size: .8rem; letter-spacing: .12em; color: var(--vi-muted); font-family: var(--vi-sans); }
body #left-column #search_filters .facet {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--vi-line);
  border-radius: 0;
  padding: .9rem 0 .8rem;
  margin: 0;
}
body #left-column #search_filters .facet:first-of-type { border-top: 0; }
body #search_filters .facet .facet-title { font-size: 1.1rem; margin: 0 0 .55rem; }
body #search_filters .facet ul:not(.faceted-slider) { gap: .45rem; margin: 0; padding: 0; }
@media (min-width: 768px) { body #search_filters .facet ul:not(.faceted-slider) { display: flex; flex-wrap: wrap; } }
body #search_filters .facet ul.collapse.in:not(.faceted-slider) { display: flex; flex-wrap: wrap; }
body #search_filters .facet ul:not(.faceted-slider) > li { margin: 0; padding: 0; border: 0; }
body #search_filters .facet ul:not(.faceted-slider) .facet-label {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  min-height: 0;
  font-family: var(--vi-sans);
  font-size: 1rem;
}
body #search_filters .facet ul:not(.faceted-slider) .facet-label .custom-checkbox {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
body #search_filters .facet ul:not(.faceted-slider) .facet-label a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 42px;
  padding: .45rem .95rem;
  border: 1.5px solid var(--vi-line);
  border-radius: 999px;
  background: #fff;
  color: var(--vi-ink);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color .15s, background .15s;
  /* il tema taglia il nome con "..." e una larghezza fissa: qui il bottone e' largo quanto il testo */
  width: auto;
  max-width: 100%;
  margin: 0;
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
}
body #search_filters .facet ul:not(.faceted-slider) .facet-label a .magnitude {
  padding: .05rem .45rem;
  border-radius: 999px;
  background: var(--vi-cream);
  color: var(--vi-muted);
  font-size: .78rem;
  font-weight: 700;
}
body #search_filters .facet ul:not(.faceted-slider) .facet-label:hover a,
body #search_filters .facet ul:not(.faceted-slider) .facet-label a:focus-visible {
  border-color: var(--vi-gold-deep);
  background: var(--vi-cream);
  color: var(--vi-ink);
}
body #search_filters .facet ul:not(.faceted-slider) .facet-label input:focus-visible ~ a { outline: 3px solid var(--vi-gold-deep); outline-offset: 2px; }
body #search_filters .facet ul:not(.faceted-slider) .facet-label.active a {
  border-color: var(--vi-green);
  background: var(--vi-green);
  color: #fff;
}
body #search_filters .facet ul:not(.faceted-slider) .facet-label.active a::before { content: "\2713"; font-weight: 800; }
body #search_filters .facet ul:not(.faceted-slider) .facet-label.active a .magnitude { background: rgba(255, 255, 255, .2); color: #fff; }

/* Colonna sinistra (categorie e filtri) che scende con la pagina; se e' piu' alta dello schermo scorre al suo interno */
@media (min-width: 768px) {
  body #left-column {
    position: sticky;
    top: 16px;
    max-height: calc(100vh / var(--vi-zoom, 1) - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding-bottom: 8px;
  }
}

/* ordinamento */
body .products-selection { margin-bottom: 1rem; align-items: center; }
body .total-products p { margin: 0; color: var(--vi-muted); }
body .products-selection .sort-by { color: var(--vi-muted); font-weight: 600; line-height: 46px; }
body .products-sort-order .select-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  padding: 8px 14px;
  background: #fff;
  color: var(--vi-ink);
  border: 2px solid var(--vi-line);
  border-radius: 10px;
  font-weight: 600;
}
body .products-sort-order .select-title:hover { border-color: var(--vi-gold-deep); }
body .products-sort-order .dropdown-menu {
  background: #fff;
  border: 1px solid var(--vi-line);
  border-radius: 10px;
  box-shadow: var(--vi-shadow);
  padding: 6px 0;
  width: 100%;
}
body .products-sort-order .select-list {
  display: block;
  padding: 12px 16px;
  min-height: 44px;
  color: var(--vi-ink);
}
body .products-sort-order .select-list:hover { background: var(--vi-gold); color: var(--vi-ink); }
body .products-sort-order .select-list.current { color: var(--vi-green); font-weight: 700; }

/* paginazione */
body .pagination { color: var(--vi-muted); margin: 1.5rem 0; }
body .pagination { display: block; }
body .pagination .page-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
}
body .pagination .page-list li { display: block; margin: 0; }
body .pagination .page-list a {
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--vi-ink);
  border: 2px solid var(--vi-line);
  border-radius: 10px;
  font-weight: 700;
}
body .pagination .page-list a:hover { background: var(--vi-gold); border-color: var(--vi-gold); color: var(--vi-ink); }
body .pagination .page-list .current a {
  background: var(--vi-logo-green);
  border-color: var(--vi-gold);
  color: #fff;
}
body .pagination .page-list .disabled a { opacity: .5; }

/* ---------- Scheda prodotto ---------- */
body#product .product-container .h1,
body#product h1.h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.3rem);
  margin-bottom: 1rem;
}
body#product .images-container .product-cover {
  background: #fff;
  border: 1px solid var(--vi-line);
  border-radius: 14px;
  overflow: hidden;
}
body#product .images-container .product-cover img { box-shadow: none; }
body#product .images-container .product-cover .layer { background: rgba(28, 23, 16, .55); }
body#product .images-container .js-qv-product-images .thumb-container .thumb {
  border: 3px solid transparent;
  border-radius: 10px;
  background: #fff;
}
body#product .images-container .js-qv-product-images .thumb.selected,
body#product .images-container .js-qv-product-images .thumb:hover { border-color: var(--vi-gold); }
body#product .scroll-box-arrows .material-icons { color: var(--vi-brown); }

body#product #product-description-short,
body#product .product-information .product-description { color: var(--vi-muted); font-size: 1.05rem; }
body .product-prices { margin: 1rem 0; }
body .product-price,
body .product-prices .current-price,
body .product-prices .current-price-value,
body .product-price .current-price-value {
  font-family: var(--vi-sans);
  color: var(--vi-green);
  font-weight: 800;
}
body .product-prices .discount, body .product-discount .discount-percentage { font-family: var(--vi-sans); text-transform: none; }
body .product-prices .current-price-value { font-size: 1.9rem; }
body .product-discount .regular-price { color: var(--vi-muted); }
body .product-prices .discount,
body .product-discount .discount-percentage {
  background: var(--vi-red);
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
}
body #main .tax-shipping-delivery-label, body .tax-shipping-delivery-label { color: var(--vi-muted); font-size: .9rem; }
body #products .up .btn-secondary, body #products .up .btn-tertiary { color: var(--vi-ink); }
body .showing, body .total-products p, body .pagination > div { color: var(--vi-muted); }
body #product-description-short li, body .product-information .product-description li,
body .tab-content .product-description, body .tab-content li,
body .tab-content p { color: var(--vi-muted); }
body .tab-content strong { color: var(--vi-ink); }

body .product-add-to-cart .control-label { font-weight: 700; color: var(--vi-ink); }
body .product-add-to-cart .product-quantity { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
body .product-add-to-cart .qty { margin: 0; }
body .product-add-to-cart .add { margin: 0; }
body .product-add-to-cart .add-to-cart,
body .product-add-to-cart .btn.add-to-cart {
  min-height: 52px;
  padding: 12px 28px;
  font-size: 1.05rem;
}
body #product-availability { color: var(--vi-ink); font-weight: 600; }
body #product-availability .product-available { color: var(--vi-green); }
body #product-availability .product-unavailable { color: var(--vi-red); }
body #product-availability .product-last-items { color: var(--vi-gold-deep); }
body .product-quantity .bootstrap-touchspin input.form-control,
body .product-quantity input#quantity_wanted {
  height: 52px;
  border: 2px solid var(--vi-line);
  background: #fff;
  color: var(--vi-ink);
  font-weight: 700;
  text-align: center;
}
body .bootstrap-touchspin .btn-touchspin,
body .input-group-btn-vertical .btn {
  background: var(--vi-cream);
  color: var(--vi-ink);
  border: 2px solid var(--vi-line);
  min-height: 0;
  height: 26px;
  padding: 0 10px;
  line-height: 1;
  border-radius: 0;
}
body .input-group-btn-vertical .bootstrap-touchspin-up { border-top-right-radius: 10px; }
body .input-group-btn-vertical .bootstrap-touchspin-down { border-bottom-right-radius: 10px; margin-top: -2px; }
body .input-group-btn-vertical i { color: var(--vi-ink); }
body .bootstrap-touchspin input.form-control { border-radius: 10px 0 0 10px; min-height: 0; }
body .bootstrap-touchspin .btn-touchspin:hover { background: var(--vi-gold); border-color: var(--vi-gold); }

body .tabs {
  background: #fff;
  border: 1px solid var(--vi-line);
  border-top: 4px solid var(--vi-gold);
  border-radius: 14px;
  box-shadow: none;
  padding: 1rem 1.5rem 1.5rem;
}
body .tabs .nav-tabs { border-bottom: 2px solid var(--vi-line); }
body .tabs .nav-tabs .nav-link {
  color: var(--vi-muted);
  font-family: var(--vi-serif);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 14px;
  min-height: 44px;
  text-transform: none;
}
body .tabs .nav-tabs .nav-link.active { color: var(--vi-ink); }
body .tabs .nav-tabs .nav-link.active,
body .tabs .nav-tabs .nav-link:hover { border-bottom: 3px solid var(--vi-gold); color: var(--vi-ink); }
body .product-features > dl.data-sheet dt.name,
body .product-features > dl.data-sheet dd.value { background: var(--vi-cream); color: var(--vi-ink); }
body .social-sharing span { color: var(--vi-muted); }

/* ---------- Bottoni ---------- */
body .btn {
  font-family: var(--vi-sans);
  font-weight: 700;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  border-radius: 12px;
  border-width: 2px;
  border-style: solid;
  min-height: 48px;
  padding: 11px 22px;
  line-height: 1.25;
  box-shadow: none;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
body .btn-primary,
body .btn-primary:link {
  background: var(--vi-logo-green);
  color: #fff;
  border-color: var(--vi-gold);
}
body .btn-primary:hover,
body .btn-primary:focus,
body .btn-primary:active,
body .btn-primary.active {
  background: var(--vi-green);
  color: #fff;
  border-color: var(--vi-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}
body .btn-primary:active { transform: none; }
body .btn-secondary,
body a.btn-secondary,
body .btn-outline-secondary,
body .btn-tertiary {
  background: #fff;
  color: var(--vi-ink);
  border-color: var(--vi-line);
}
body .btn-secondary:hover,
body .btn-secondary:focus,
body .btn-tertiary:hover {
  background: var(--vi-gold);
  color: var(--vi-ink);
  border-color: var(--vi-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}
body .btn-tertiary { background: transparent; border-color: transparent; min-height: 44px; }
body .btn-unstyle { min-height: 0; border: 0; border-radius: 0; background: transparent; padding: 0; }
body .btn-primary.disabled, body .btn-primary:disabled,
body .btn-secondary.disabled, body .btn-secondary:disabled,
body .btn[disabled] {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
body .btn i.material-icons { vertical-align: middle; }

/* ---------- Campi dei moduli ---------- */
body .form-control,
body select.form-control,
body textarea.form-control,
body .custom-select {
  min-height: 48px;
  color: var(--vi-ink);
  background: #fff;
  border: 2px solid var(--vi-line);
  border-radius: 10px;
  box-shadow: none;
  padding: 10px 14px;
}
body textarea.form-control { min-height: 120px; }
body .form-control:focus,
body .custom-select:focus {
  border-color: var(--vi-gold-deep);
  box-shadow: 0 0 0 3px rgba(245, 205, 100, .55);
  outline: 0;
  color: var(--vi-ink);
}
body .form-control::placeholder { color: #7b705a; }
body .form-control-label, body label { color: var(--vi-ink); font-weight: 600; }
body .form-control-comment, body .form-control-valign small { color: var(--vi-muted); font-size: .85rem; }
body .input-group .input-group-btn > .btn,
body .input-group .input-group-btn > .btn[data-action=show-password] {
  min-height: 48px;
  border-radius: 0 10px 10px 0;
  background: var(--vi-cream);
  color: var(--vi-ink);
  border-color: var(--vi-line);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
body .input-group .input-group-btn > .btn[data-action=show-password]:hover { background: var(--vi-gold); border-color: var(--vi-gold); }
body .input-group .form-control:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
body .form-control.is-invalid, body .has-danger .form-control { border-color: var(--vi-red); }

/* caselle e radio personalizzati */
body .custom-checkbox input[type=checkbox] + span {
  width: 24px;
  height: 24px;
  border: 2px solid var(--vi-gold-deep);
  border-radius: 6px;
  background: #fff;
}
body .custom-checkbox input[type=checkbox]:checked + span {
  background: var(--vi-logo-green);
  border-color: var(--vi-logo-green);
}
body .custom-checkbox input[type=checkbox] + span .checkbox-checked { color: #fff; font-size: 20px; }
body .custom-checkbox input[type=checkbox]:focus + span,
body .custom-radio input[type=radio]:focus + span { border-color: var(--vi-gold-deep); box-shadow: 0 0 0 3px rgba(245, 205, 100, .55); }
body .custom-radio { width: 24px; height: 24px; background: #fff; border: 2px solid var(--vi-gold-deep); }
body .custom-radio input[type=radio]:checked + span {
  background-color: var(--vi-logo-green);
  width: 14px;
  height: 14px;
  top: 3px;
  left: 3px;
}

/* ---------- Schede, avvisi, finestre ---------- */
body .card {
  background: #fff;
  border: 1px solid var(--vi-line);
  border-top: 4px solid var(--vi-gold);
  border-radius: 14px;
  box-shadow: none;
}
body .card-block { padding: 1.25rem 1.5rem; }
body .alert { border-radius: 12px; border-width: 1px; border-left-width: 6px; }
body .alert-success { background: #eef6e9; color: #174414; border-color: #1d5a1c; }
body .alert-danger { background: #fbecec; color: #7b1010; border-color: var(--vi-red); }
body .alert-warning { background: #fdf3d2; color: #5e4509; border-color: var(--vi-gold-deep); }
body .alert-info { background: #f3efe0; color: var(--vi-ink); border-color: var(--vi-brown); }
body .modal-content { border: 0; border-top: 6px solid var(--vi-gold); border-radius: 14px; background: #fff; color: var(--vi-ink); }
body .modal-header { background: #fff; border-bottom: 1px solid var(--vi-line); }
body .modal-title { font-family: var(--vi-serif); color: var(--vi-ink); text-transform: none; }
body .modal-header .close, body .modal .close { color: var(--vi-ink); opacity: 1; min-width: 44px; min-height: 44px; }
body .dropdown-menu { border: 1px solid var(--vi-line); border-radius: 10px; }
body hr { border-color: var(--vi-line); }
body .page-header { margin-bottom: 1.25rem; }
body #content.page-content.card,
body #content.page-content.card-block { padding: 1.5rem; }
body .page-content.page-not-found { background: #fff; border: 1px solid var(--vi-line); border-radius: 14px; padding: 1.5rem; }
body .page-content.page-cms { color: var(--vi-ink); }

/* ---------- Registrazione, accesso, account ---------- */
body#authentication #main .page-header h1,
body#registration #main .page-header h1,
body.page-customer-account #main .page-header h1 { text-align: center; }
body#authentication #content,
body#registration #content,
body.page-customer-account #content.page-content.card { max-width: 860px; margin-left: auto; margin-right: auto; }
body .forgot-password a, body .no-account a { color: var(--vi-green); font-weight: 600; display: inline-block; padding: 10px 0; }
body .no-account { text-align: center; }
body .form-footer .btn, body .form-footer button { min-width: 160px; }
body .page-customer-account #content .links a { color: var(--vi-ink); }
body .page-my-account #content .links a span.link-item,
body .page-my-account #content .links a { color: var(--vi-ink); }
body .page-my-account #content .links a:hover { color: var(--vi-green); }
body .page-my-account .links a span.link-item {
  background: #fff;
  border: 1px solid var(--vi-line);
  border-top: 3px solid var(--vi-gold);
  border-radius: 14px;
  box-shadow: none;
}
body .account-list a { color: var(--vi-ink); }

/* ---------- Carrello ---------- */
body .cart-grid-body .card, body .cart-grid-right .card { margin-bottom: 1.25rem; }
body .cart-container .card-block h1.h1 { font-size: clamp(1.6rem, 4vw, 2rem); }
body .cart-container .cart-overview { padding: 0 1.25rem; }
body .cart-container .separator, body .cart-grid hr.separator { border-color: var(--vi-line); margin: 0; }
body .cart-item { border-bottom: 1px solid var(--vi-line); padding: 1rem 0; }
body .cart-item:last-child { border-bottom: 0; }
body .product-line-grid .product-line-info a.label,
body .cart-item .label { font-family: var(--vi-serif); font-weight: 700; font-size: 1.05rem; color: var(--vi-ink); text-transform: none; }
body .product-line-grid .product-line-info a.label:hover { color: var(--vi-green); }
body .product-line-grid .price,
body .product-line-grid .product-price,
body .product-line-info.product-price .price { color: var(--vi-green); font-weight: 800; white-space: nowrap; font-family: var(--vi-sans); }
body .product-line-grid .product-image img { border: 1px solid var(--vi-line); border-radius: 10px; background: #fff; }
body .cart-line-product-actions a.remove-from-cart { color: var(--vi-red); display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
body .cart-summary-line .label { color: var(--vi-ink); }
body .cart-summary-line .value { color: var(--vi-ink); font-weight: 700; }
body .cart-summary-line.cart-total { border-top: 2px solid var(--vi-gold); }
body .card-block.cart-summary-totals .cart-summary-line.cart-total .value { color: var(--vi-green); font-size: 1.25rem; }
body .cart-summary .checkout .btn,
body .cart-detailed-actions .btn { width: 100%; min-height: 54px; font-size: 1.1rem; white-space: normal; }
body .block-promo .promo-name, body .block-promo .code { color: var(--vi-green); }
body .cart-grid-body a.label { color: var(--vi-green); display: inline-flex; align-items: center; min-height: 44px; }
body .block-promo .promo-code-button, body .block-promo a.collapse-button { display: inline-flex; align-items: center; min-height: 44px; }
body .cart-item input.js-cart-line-product-quantity { min-height: 48px; }

/* ---------- Checkout (solo colori, caratteri, bottoni) ---------- */
body#checkout section.checkout-step {
  background: #fff;
  border: 1px solid var(--vi-line);
  border-radius: 14px;
  margin-bottom: 1rem;
  padding: .75rem 1rem;
}
body#checkout section.checkout-step .step-title {
  font-family: var(--vi-serif);
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: none;
  color: var(--vi-ink);
  border-color: var(--vi-line);
}
body#checkout section.checkout-step .step-number {
  background: var(--vi-cream);
  color: var(--vi-brown);
  border: 2px solid var(--vi-gold);
  border-radius: 50%;
  font-family: var(--vi-sans);
}
body#checkout section.checkout-step.-reachable.-current .step-number {
  background: var(--vi-logo-green);
  color: #fff;
  border: 2px solid var(--vi-gold);
}
body#checkout section.checkout-step:last-child { border: 1px solid var(--vi-line); }
body#checkout section.checkout-step.-current + .checkout-step .step-title,
body#checkout section.checkout-step:not(.-current) .step-title { border-top: 0; border-bottom: 0; }
body#checkout section.checkout-step.-current .step-title { padding-bottom: .9rem; }
body#checkout section.checkout-step .done { color: var(--vi-green); }
body#checkout section.checkout-step .step-edit { color: var(--vi-brown); }
body#checkout section.checkout-step small { color: var(--vi-muted); }
body#checkout section.checkout-step .add-address a { color: var(--vi-green); }
body#checkout .address-item, body#checkout .delivery-option, body#checkout .payment-option { color: var(--vi-ink); }
body#checkout .address-item.selected, body#checkout .address-item:hover { border-color: var(--vi-gold-deep); }
body#checkout .address-item { border-radius: 10px; }
body#checkout .address-footer a { color: var(--vi-green); }
body#checkout .payment-options label, body#checkout .delivery-options label { font-weight: 600; color: var(--vi-ink); }
body#checkout .js-additional-information, body#checkout .additional-information { background: var(--vi-cream); border-radius: 10px; color: var(--vi-ink); }
body#checkout #payment-confirmation button.btn { min-height: 54px; font-size: 1.05rem; }
body#checkout #conditions-to-approve label, body#checkout #conditions-to-approve a { color: var(--vi-ink); }
body#checkout #conditions-to-approve a { color: var(--vi-green); text-decoration: underline; }
body#checkout .cart-grid-right .card { background: #fff; }
body#checkout #header .header-nav { padding: 0; }
body#checkout #header .header-nav a { color: var(--vi-gold); }
body#checkout #header .header-nav .logo { width: 56px; height: 56px; border-radius: 10px; max-height: none; }
body#checkout #header .header-nav .container { padding-top: 6px; padding-bottom: 6px; }

/* ---------- Piede pagina ---------- */
body #footer {
  position: relative;
  background: var(--vi-ink);
  color: #cbbf9d;
  padding: 0;
  margin-top: 2rem;
}
body #footer::before {
  content: "";
  display: block;
  height: 6px;
  background: var(--vi-tri);
}
body #footer > .container:first-child { padding-top: 2.5rem; }
body #footer .footer-container {
  background: transparent;
  padding-top: 1.5rem;
  margin-top: 0;
  box-shadow: none;
}
body #footer p, body #footer .block-contact, body #footer .block-contact-title { color: #cbbf9d; }
body #footer .h3, body #footer .h4, body #footer .h3 a, body #footer .h4 a, body #footer a.text-uppercase,
body #footer .footer-container .links .h3,
body #footer .myaccount-title a {
  font-family: var(--vi-serif);
  color: var(--vi-gold);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: none !important;
  letter-spacing: 0;
  margin-bottom: .75rem;
}
body #footer .footer-container li a,
body #footer .account-list a,
body #footer .block-contact a,
body #footer a {
  color: var(--vi-cream);
  font-size: .95rem;
}
body #footer .footer-container li a,
body #footer .account-list a {
  display: block;
  padding: 10px 0;
  min-height: 44px;
}
body #footer .footer-container li a:hover,
body #footer .account-list a:hover,
body #footer a:hover { color: var(--vi-gold); text-decoration: underline; }
body #footer .block-contact a { color: var(--vi-gold); font-weight: 700; display: inline; padding: 0; min-height: 0; }
body #footer .footer-container li { margin-bottom: 0; }
body #footer .title .h3, body #footer .title .material-icons { color: var(--vi-gold); }
body #footer .title { padding: 10px 0; min-height: 44px; border-bottom: 1px solid rgba(245, 205, 100, .25); }
body #footer .block_newsletter { max-width: none; margin: 0 0 .625rem; padding-bottom: 1rem; background: transparent; box-shadow: none; }
body #footer .block_newsletter #block-newsletter-label {
  font-family: var(--vi-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--vi-cream);
  line-height: 1.3;
}
body #footer .block_newsletter form input[type=email],
body #footer .block_newsletter form input[type=text] {
  min-height: 48px;
  background: #fff;
  color: var(--vi-ink);
  border: 2px solid var(--vi-gold);
  border-radius: 12px;
  padding: 10px 14px;
}
body #footer .block_newsletter p { color: #bfb391; font-size: .85rem; line-height: 1.5; padding-top: .5rem; }
body #footer .block_newsletter .btn { min-height: 48px; margin-left: 8px; }
body #footer .footer-container .text-sm-center,
body #footer .footer-container .text-sm-center a {
  color: #9d9275;
  font-size: .85rem;
  display: inline;
  min-height: 0;
  padding: 0;
}
body #footer .footer-container > .container > .row:last-child { border-top: 1px solid rgba(245, 205, 100, .2); margin-top: 1.5rem; padding-top: .5rem; }
body#checkout #footer { background: var(--vi-ink); color: #cbbf9d; padding: .75rem 0; }
body#checkout #footer::before { margin-bottom: .75rem; }
body#checkout #footer a { color: var(--vi-gold); }

/* ---------- Marchi (slider logo) ---------- */
body #ybc-mnf-block { margin-top: 2.5rem; }
body #ybc-mnf-block .ybc-mnf-block-title {
  font-family: var(--vi-serif);
  text-transform: none !important;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--vi-ink);
  margin-bottom: .5rem;
}
body #ybc-mnf-block .ybc-mnf-block-a-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
  background: #fff;
  border: 1px solid var(--vi-line);
  border-radius: 12px;
  overflow: hidden;
}
body #ybc-mnf-block .owl-item .ybc-mnf-block-li { padding: 0 8px; }
body #ybc-mnf-block .owl-buttons div, body #ybc-mnf-block .owl-nav div {
  min-width: 36px; min-height: 36px;
}

/* ---------- Mobile (390 px) ---------- */
@media (max-width: 767px) {
  body { font-size: 1rem; }
  body #wrapper { padding-top: 0; }
  body #header .header-top { padding: 8px 0 10px; border-bottom: 0; }
  body #header .search-widgets { float: none; max-width: 100%; margin: 0; }
  body #header .header-top .container > .row { margin: 0; }
  body .featured-products .products-section-title { margin: 2.2rem 0 1.5rem; }
  body #carousel .direction { top: auto; bottom: 8px; left: auto; right: 8px; width: auto; display: flex; gap: 6px; }
  body #carousel .direction .carousel-control { position: static; width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
  body #carousel .direction .carousel-control .icon-prev,
  body #carousel .direction .carousel-control .icon-next { position: static; width: 32px; height: 32px; margin: 0; background: rgba(28, 23, 16, .7); }
  body #carousel .direction .carousel-control i { font-size: 22px; }
  body .product-miniature .product-title a { font-size: .9rem; }
  body .product-miniature .product-flags li.product-flag { font-size: .7rem; padding: .3rem .55rem; }
  body .wishlist-button-add, body .product-miniature .wishlist-button-add { width: 44px; height: 44px; top: .25rem !important; right: .25rem !important; }
  body #footer .footer-container li a, body #footer .account-list a { padding: 11px 0; min-height: 44px; }
  body .product-miniature .product-description { padding: 10px 10px 14px; }
  body .tabs { padding: .75rem 1rem 1.25rem; }
  body#product .product-container .h1 { font-size: 1.7rem; }
  body .product-add-to-cart .add { flex: 1 1 100%; }
  body .product-add-to-cart .add .btn { width: 100%; }
  body .block-category { padding: 1rem 1.1rem; }
  body #footer > .container:first-child { padding-top: 1.75rem; }
  body #footer .footer-container .wrapper { padding-left: 15px !important; padding-right: 15px !important; }
  body #footer .block_newsletter .btn { margin-left: 0; }
  body #content.page-content.card, body #content.page-content.card-block { padding: 1rem; }
  body .cart-container .cart-overview { padding: 0 .75rem; }
  body#checkout section.checkout-step { padding: .5rem .75rem; }
  body#checkout section.checkout-step .content { padding: 0 .25rem; padding-top: 1rem; }
  body .pagination .col-md-4 { text-align: center; margin-bottom: .5rem; }
}

@media (min-width: 768px) {
  body #header .header-top > .container > .row:first-of-type { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  body .btn, body .product-miniature .thumbnail-container { transition: none; }
  body .btn:hover, body .product-miniature .thumbnail-container:hover { transform: none; }
}


/* === Ritocchi 16/11 sera === */
/* Footer da telefono: le liste aperte avevano lo sfondo chiaro del tema con il testo crema sopra (illeggibile) */
#footer .links ul[id^="footer_sub_menu_"]{background:transparent!important}
#footer .links ul[id^="footer_sub_menu_"] li{border-color:rgba(253,248,234,.14)!important}
/* Scheda prodotto: niente commenti/recensioni */
#product-comments-list-header,#product-comments-list,#product-comments-list-footer,#product-comments-list-pagination,#empty-product-comment,.product-comments-additional-info,.product-list-reviews{display:none!important}
/* Pagina Professionisti: il titolo grande della pagina non si vede (resta nel codice per i motori di ricerca) */
body.cms-id-6 .page-header{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}


/* === Ritocchi 16/11 notte === */
/* Slider con una sola slide: niente frecce */
.carousel:has(.carousel-item:only-child) .direction{display:none!important}
/* Nomi prodotto: il tema mette la maiuscola a ogni parola ("Ml", "G", "Pezzi"): i nomi sono già scritti bene */
.product-title,.product-title a,.product-miniature .product-title a,#products .product-title a{text-transform:none!important}


/* ---------- 1.0.6: su computer la pagina e' all'80% (richiesta di Marco, 20/11/2026): foto, riquadri e spazi piu'
   piccoli, cosi' a schermo sta piu' catalogo. I TESTI NON RIMPICCIOLISCONO: la base passa da 16 a 20 px e lo zoom la
   riporta a 16 px a schermo (clienti dai 40 ai 60 anni).
   Solo dove c'e' un mouse (hover + puntatore fine): su telefono, tablet e iPad in orizzontale non cambia niente, e i
   tasti restano grandi per il dito. @supports: un browser che non conosce "zoom" non deve ingrandire i testi a 20 px.
   --vi-zoom serve alle misure in vw/vh, che con lo zoom vanno divise (100vw / var(--vi-zoom, 1)). ---------- */
@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  @supports (zoom: .8) {
    :root { --vi-zoom: .8; }
    html { font-size: 20px; }
    body { zoom: .8; }
    /* 1.0.7: il banner dei cookie (vi_cookie) ha testi e pulsanti in px: senza questo scenderebbero a 12,8 px */
    .vic, .vic-fab { zoom: 1.25; }
  }
}


/* === Componenti delle pagine CMS (classi vp-*) ===
   Stile della landing vittoria-italiana.com. Il negozio ripulisce il codice dei contenuti e toglie style/url()/flex/grid:
   per questo tutto l'aspetto sta qui, nel modulo di stile, e il contenuto usa solo classi. */
.vp{font-family:system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;color:#1c1710;font-size:18px;line-height:1.65;text-align:left;hyphens:none;-webkit-font-smoothing:antialiased}
.vp *{box-sizing:border-box}
.vp p,.vp li,.vp h2,.vp h3{text-align:inherit}
.vp a{text-decoration:none}
.vp img{max-width:100%}
.vp ul{margin:0;padding:0;list-style:none}
.vp li{list-style:none}
.vp h2,.vp h3{font-family:'Iowan Old Style','Palatino Linotype',Palatino,Georgia,serif;font-weight:700;line-height:1.2;text-transform:none;letter-spacing:normal;color:#1c1710;margin:0 0 14px}
.vp .vp-h2{font-size:clamp(1.6rem,4vw,2.4rem)}
.vp .vp-h3{font-size:1.3rem;margin:0 0 8px}
.vp .vp-kick{display:inline-block;font-size:.82rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#6b4f12;margin:0 0 12px}
.vp .vp-lead{font-size:1.1rem;color:#5a5142;max-width:720px;margin:0 0 30px}
.vp .vp-sec{margin:0 0 60px}
.vp .vp-txt{margin:0;color:#5a5142}
.vp .vp-tri{height:6px;margin:0;background:linear-gradient(90deg,#1d5a1c 0 33.3%,#f4ecd2 33.3% 66.6%,#b51514 66.6%)}
.vp .vp-tri-gap{margin:0 0 56px;border-radius:0 0 4px 4px}

/* bottoni */
.vp a.vp-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:14px 26px;border-radius:12px;font-weight:700;font-size:1.05rem;line-height:1.2;text-align:center;border:2px solid transparent;transition:transform .15s,box-shadow .15s,background .15s}
.vp a.vp-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.22)}
.vp a.vp-btn-g{background:#174414;color:#fff;border-color:#f5cd64}
.vp a.vp-btn-g:hover{background:#1d5a1c;color:#fff}
.vp a.vp-btn-l{background:transparent;color:#fdf8ea;border-color:rgba(253,248,234,.7)}
.vp a.vp-btn-l:hover{background:rgba(253,248,234,.12);color:#fdf8ea}
.vp a.vp-btn-d{background:#f5cd64;color:#1c1710;border-color:#f5cd64}
.vp a.vp-btn-d:hover{background:#ffd978;color:#1c1710}
.vp .vp-cta{display:flex;flex-wrap:wrap;gap:14px}
.vp .vp-cta-c{justify-content:center}

/* hero */
.vp .vp-hero{background:linear-gradient(135deg,#1c1710 0%,#2b2418 100%);border-radius:18px 18px 0 0;padding:clamp(34px,6vw,72px) clamp(20px,4vw,48px) clamp(40px,6vw,64px);color:#fdf8ea}
.vp .vp-hero a.vp-btn-g{background:#f5cd64;color:#1c1710;border-color:#f5cd64}
.vp .vp-hero a.vp-btn-g:hover{background:#ffd978;color:#1c1710}
.vp .vp-hero .vp-kick{color:#f5cd64}
.vp .vp-hero h2{color:#fdf8ea;font-size:clamp(1.9rem,5vw,3.1rem);max-width:900px;margin-bottom:20px}
.vp .vp-hero .vp-sub{font-size:1.15rem;max-width:680px;color:#eadfc0;margin:0 0 30px}
.vp ul.vp-chips{display:flex;flex-wrap:wrap;gap:10px;margin:34px 0 0}
.vp ul.vp-chips li{border:1px solid rgba(245,205,100,.55);color:#f5cd64;border-radius:999px;padding:8px 16px;font-size:.92rem;font-weight:600;background:rgba(28,23,16,.35);margin:0}

/* griglie e schede */
.vp .vp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:20px}
.vp .vp-grid-w{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.vp .vp-grid-s{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.vp .vp-card{background:#fff;border:1px solid #e6d9b3;border-top:4px solid #f5cd64;border-radius:14px;padding:24px 22px;margin:0;transition:transform .2s,box-shadow .2s}
.vp .vp-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(28,23,16,.16)}
.vp .vp-num{font-family:'Iowan Old Style','Palatino Linotype',Palatino,Georgia,serif;font-size:2.6rem;line-height:1;color:#b8891f;font-weight:700;margin:0 0 8px}
.vp .vp-strada{display:flex;flex-direction:column}
.vp .vp-strada .vp-txt{margin-bottom:20px}
.vp .vp-strada a.vp-btn{margin-top:auto}

/* gamma con foto */
.vp .vp-ph{position:relative;overflow:hidden;border-radius:14px;background:#1c1710;aspect-ratio:4/5;padding:0;border:0}
.vp .vp-ph img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s}
.vp .vp-ph:hover img{transform:scale(1.07)}
.vp .vp-ph-cap{position:absolute;left:0;right:0;bottom:0;padding:56px 18px 18px;background:linear-gradient(transparent,rgba(28,23,16,.9));color:#fdf8ea}
.vp .vp-ph-cap strong{display:block;font-size:1.15rem;color:#f5cd64}
.vp .vp-ph-cap span{display:block;font-size:.95rem;line-height:1.45}

/* fascia con foto */
.vp .vp-band{background:linear-gradient(rgba(28,23,16,.6),rgba(28,23,16,.8)),url('https://assets.cdn.filesafe.space/tUB8Ivk0EswsddVZ4u88/media/061bb8d4-cf7b-4569-ab53-efee3eafa42b.webp') center/cover no-repeat;border-radius:18px;padding:clamp(44px,8vw,92px) clamp(20px,4vw,48px);color:#fdf8ea;text-align:center;margin:0 0 60px}
.vp .vp-band .vp-kick{color:#f5cd64}
.vp .vp-band h2{color:#fdf8ea;max-width:760px;margin:0 auto 14px}
.vp .vp-band p.vp-sub{font-size:1.15rem;color:#eadfc0;max-width:640px;margin:0 auto}

/* zona */
.vp .vp-zona{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));background:#fdf8ea;border:1px solid #e6d9b3;border-radius:18px;overflow:hidden;margin:0 0 60px}
.vp .vp-zona-txt{padding:clamp(26px,5vw,48px)}
.vp .vp-zona-txt .vp-txt{margin:0 0 20px}
.vp .vp-zona-img{position:relative;min-height:260px;background:#1c1710}
.vp .vp-zona-img img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;display:block}
.vp .vp-pill{display:inline-block;padding:8px 16px;border:1px solid #b8891f;border-radius:999px;font-weight:600;font-size:.95rem;background:#fff;color:#6b4f12;margin:0 8px 10px 0}

/* chiamata finale */
.vp .vp-end{border-radius:18px;overflow:hidden;background:#174414;color:#fdf8ea;text-align:center}
.vp .vp-end-in{padding:clamp(36px,6vw,64px) clamp(20px,4vw,48px)}
.vp .vp-end h2{color:#f5cd64;max-width:720px;margin:0 auto 14px}
.vp .vp-end .vp-sub{font-size:1.1rem;color:#eadfc0;max-width:620px;margin:0 auto 26px}
.vp .vp-end .vp-addr{font-size:.95rem;color:#cdbf98;margin:26px 0 0}

@media (min-width:992px){.vp .vp-band{background-attachment:scroll,fixed}}
@media (prefers-reduced-motion:reduce){.vp *{transition:none!important}}

/* Lingua nell'intestazione (computer): due link sempre visibili invece del menu a tendina. */
body #header .header-nav .language-selector > span,
body #header .header-nav .language-selector button,
body #header .header-nav .language-selector select { display: none !important; }
body #header .header-nav .language-selector .dropdown-menu {
  display: flex !important; position: static; float: none; min-width: 0; margin: 0; padding: 0; gap: .75rem;
  background: transparent; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none;
}
body #header .header-nav .language-selector .dropdown-menu li { background: transparent; padding: 0; }
body #header .header-nav .language-selector .dropdown-item {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .25rem; background: transparent; color: #fff; font-weight: 400;
}
body #header .header-nav .language-selector .current .dropdown-item { color: var(--vi-gold); font-weight: 700; }
