/*
Theme Name: Vallarella WooCommerce
Theme URI: https://www.vallarella.com/
Author: Olidomama
Author URI: https://olidomama.com/
Description: Tema WooCommerce su misura coordinato con il sito Vallarella.
Version: 1.6.17
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: vallarella
*/

:root {
  --v-black: #121212;
  --v-black-soft: #181818;
  --v-gold: #c8a45f;
  --v-heading: #f9f8f6;
  --v-white: #ffffff;
  --v-muted: #999999;
  --v-dark-text: #3b3b3b;
  --v-line: rgba(200, 164, 95, 0.28);
  --v-header-h: 84px;
  --v-notch-d: 44px;
  --v-notch-w: 620px;
  --v-container: 1440px;
}

* { box-sizing: border-box; }
html { background: var(--v-black); color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--v-black);
  color: var(--v-muted);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--v-gold); color: var(--v-black); }

h1, h2, h3, h4, h5, h6,
.woocommerce-loop-product__title,
.woocommerce div.product .product_title {
  color: var(--v-heading);
  font-family: "Cormorant Garamond", Garamond, Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed !important; top: 12px; left: 12px; z-index: 10000;
  width: auto; height: auto; padding: 10px 14px; margin: 0;
  clip: auto; background: var(--v-gold); color: var(--v-black);
}

/* Header condiviso con il sito HTML */
.v-header-wrap { min-height: var(--v-header-h); }
.v-header {
  position: fixed; inset: 0 0 auto; z-index: 9990;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--v-black);
  filter: drop-shadow(0 6px 14px rgba(200, 164, 95, 0.10));
}
.v-header__bar {
  position: relative; height: var(--v-header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--v-line);
}
.v-header__logo { position: relative; z-index: 3; display: block; line-height: 0; }
.v-header__logo img { width: auto; height: 66px; }
.v-header__notch {
  position: absolute; left: calc(50% - var(--v-notch-w) / 2); top: 0;
  width: var(--v-notch-w); height: calc(var(--v-header-h) + var(--v-notch-d));
}
.v-header__curve {
  position: absolute; top: calc(var(--v-header-h) - 1px); left: 0;
  width: 100%; height: calc(var(--v-notch-d) + 1px); overflow: visible;
  pointer-events: none;
}
.v-header__curve-fill { fill: var(--v-black); }
.v-header__curve-line { fill: none; stroke: var(--v-line); stroke-width: 1; }
.v-header__menu {
  position: absolute; top: calc(var(--v-header-h) - 5px); left: 0; right: 0;
  display: flex; justify-content: center; gap: clamp(26px, 3vw, 42px);
  margin: 0; padding: 0; list-style: none;
}
.v-header__group { position: relative; }
.v-header__parent { display: flex; align-items: center; gap: 7px; }
.v-header__menu a {
  position: relative; display: block; padding: 7px 0;
  color: var(--v-white); text-decoration: none;
  font-size: 15px; font-weight: 300; letter-spacing: 0.06em; white-space: nowrap;
  transition: color 0.25s ease;
}
.v-header__menu a::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 0; height: 1px; background: var(--v-gold);
  transition: width 0.25s ease, left 0.25s ease;
}
.v-header__menu a:hover, .v-header__menu a[aria-current="page"] { color: var(--v-gold); }
.v-header__menu a:hover::after, .v-header__menu a[aria-current="page"]::after { left: 0; width: 100%; }
.v-header__toggle {
  display: grid; place-items: center; width: 20px; height: 24px; padding: 0;
  border: 0; background: none; color: var(--v-gold);
}
.v-header__toggle svg { width: 11px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.v-header__submenu {
  position: absolute; top: 100%; left: 50%; min-width: 190px;
  margin: 9px 0 0; padding: 12px 18px; list-style: none;
  transform: translateX(-50%); background: var(--v-black);
  border: 1px solid var(--v-line); box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.v-header__submenu a { padding: 7px 0; font-size: 13px; }
.v-header__actions { position: relative; z-index: 3; display: flex; align-items: center; gap: 8px; }
.v-icon-button {
  position: relative; display: grid; place-items: center; width: 38px; height: 38px;
  padding: 0; border: 0; background: none; color: var(--v-white); text-decoration: none;
  transition: color .25s ease;
}
.v-icon-button:hover { color: var(--v-gold); }
.v-icon-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.v-cart-count {
  position: absolute; top: -1px; right: -2px; min-width: 17px; height: 17px;
  padding: 0 4px; border-radius: 10px; background: var(--v-gold); color: var(--v-black);
  font-size: 11px; font-weight: 600; line-height: 17px; text-align: center;
}
.v-mobile-trigger { display: none; }
.v-search-panel {
  position: absolute; top: 100%; right: clamp(18px, 4vw, 64px); width: min(420px, calc(100vw - 36px));
  padding: 16px; background: var(--v-black); border: 1px solid var(--v-line);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.v-search-panel[hidden] { display: none; }
.v-product-search { display: flex; }
.v-product-search input[type="search"] {
  min-width: 0; flex: 1; padding: 12px 14px; background: #181818;
  border: 1px solid #3b3b3b; border-right: 0; color: var(--v-white);
}
.v-product-search button { padding: 0 18px; border: 1px solid var(--v-gold); background: var(--v-gold); color: var(--v-black); }

.site-main { min-height: 65vh; }
.v-container { width: min(100% - 40px, var(--v-container)); margin-inline: auto; }

/* Hero shop */
.v-shop-hero {
  min-height: 290px; display: grid; place-items: center; padding: 78px 20px 58px;
  text-align: center; border-bottom: 1px solid #2c2c2c;
}
.v-shop-hero h1 { margin: 0; font-size: clamp(54px, 6vw, 88px); line-height: 1; }
.v-shop-hero p { margin: 18px 0 0; color: var(--v-muted); font-size: clamp(16px, 1.4vw, 20px); }
.v-gold-rule { width: 74px; height: 1px; margin: 28px auto 0; background: var(--v-gold); }

.v-shop-tools {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 30px 0; border-bottom: 1px solid #2c2c2c;
}
.v-category-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.v-mobile-catalog-filter { display: none; }
.v-filter-link {
  display: inline-block; padding: 9px 14px; border: 1px solid #3b3b3b; border-radius: 24px;
  color: var(--v-white) !important; font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 15px; font-weight: 200; line-height: 1.2; white-space: nowrap;
  text-decoration: none; transition: .25s ease;
}
.v-filter-link:hover, .v-filter-link.is-active { border-color: var(--v-gold); background: var(--v-gold); color: var(--v-black) !important; }
.v-filter-menu { position: relative; flex: 0 0 auto; }
.v-filter-menu summary { cursor: pointer; list-style: none; }
.v-filter-menu summary::-webkit-details-marker { display: none; }
.v-filter-menu__arrow {
  width: 7px; height: 7px; margin-left: 9px; border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}
.v-filter-menu[open] .v-filter-menu__arrow { transform: translateY(2px) rotate(225deg); }
.v-filter-menu.is-active > summary,
.v-filter-menu[open] > summary { border-color: var(--v-gold); }
.v-filter-submenu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 20;
  min-width: 180px; padding: 8px; border: 1px solid rgba(201,163,91,.65); border-radius: 24px;
  background: #121212; box-shadow: 0 18px 38px rgba(0,0,0,.42);
}
.v-filter-submenu .v-filter-link { display: flex; width: 100%; border-color: transparent; }
.v-sort { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.v-sort label { color: var(--v-heading); font-size: 14px; }
.v-sort select, .woocommerce-ordering select {
  min-width: 190px; padding: 10px 38px 10px 13px;
  border: 1px solid #3b3b3b; border-radius: 0; background: #151515; color: var(--v-white);
}
.v-results { padding: 70px 0 110px; }
.woocommerce-result-count { margin: 0 0 26px; color: var(--v-muted); font-size: 14px; }
.woocommerce-ordering { margin: 0; }

/* Griglia prodotti */
.woocommerce ul.products, ul.products {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px 28px; margin: 0; padding: 0; list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, ul.products li.product {
  float: none; width: auto; margin: 0; padding: 0; position: relative;
}
.v-product-card { height: 100%; }
.v-product-card__link { display: block; text-decoration: none; }
.v-product-card__media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 18px;
  background: #0c0c0c;
}
.v-product-card__media img {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  transition: none;
}
.v-product-card:hover .v-product-card__media img { transform: none; }
.v-product-card__veil {
  position: absolute; inset: 0; display: grid; place-items: end center; padding: 22px;
  background: linear-gradient(to top, rgba(18,18,18,.9), transparent 42%);
  opacity: 0; transition: opacity .3s ease;
}
.v-product-card:hover .v-product-card__veil, .v-product-card:focus-within .v-product-card__veil { opacity: 1; }
.v-product-card__cta {
  width: 100%; padding: 12px 18px; text-align: center;
  border: 1px solid var(--v-gold); color: var(--v-heading); font-size: 13px; letter-spacing: .04em;
}
.v-product-card__name {
  display: -webkit-box; min-height: 2.36em; margin: 0;
  overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  font-size: clamp(18px, 1.35vw, 22px); line-height: 1.22;
}
.v-product-card__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 42px; margin-top: 8px;
}
.v-product-card__price { display: block; color: var(--v-muted); font-size: 19px; line-height: 1.2; }
.v-product-card__price ins { text-decoration: none; color: var(--v-gold); }
.v-product-card__detail {
  display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--v-gold); color: var(--v-gold); text-decoration: none;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.v-product-card__detail svg {
  width: 19px; height: 19px; fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.v-product-card__detail:hover,
.v-product-card__detail:focus-visible { background: var(--v-gold); color: var(--v-black); transform: translateY(-2px); }
.v-product-card__badge, .woocommerce span.onsale {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  min-width: 0; min-height: 0; margin: 0; padding: 6px 10px; border-radius: 0;
  background: var(--v-gold); color: var(--v-black); font-size: 11px; font-weight: 600; line-height: 1.2; text-transform: uppercase;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination { margin-top: 60px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul { display: inline-flex; gap: 7px; margin: 0; padding: 0; border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border: 1px solid #3b3b3b; background: transparent; color: var(--v-white);
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--v-gold); border-color: var(--v-gold); color: var(--v-black); }

/* Scheda prodotto */
.v-product-page { padding: 86px 0 110px; }
.woocommerce div.product { position: relative; }
.woocommerce div.product .v-single-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  align-items: start; gap: clamp(42px, 5vw, 82px);
}
.woocommerce div.product div.images,
.woocommerce div.product div.summary { float: none; width: auto; margin: 0; padding: 0; }
.v-single-summary { position: sticky; top: calc(var(--v-header-h) + 28px); }
.woocommerce div.product::after { content: ""; display: table; clear: both; }
.woocommerce div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce div.product .woocommerce-product-gallery__image { overflow: hidden; background: #171717; }
.woocommerce div.product .woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1 / 1.16; object-fit: cover; }
.woocommerce div.product div.images .flex-control-thumbs {
  display: flex; flex-flow: row nowrap; gap: 14px;
  width: 100%; max-width: 100%; margin: 16px 0 0; padding: 0; list-style: none;
}
.woocommerce div.product div.images .flex-control-thumbs li { float: none; flex: 1 1 0; width: auto; min-width: 0; list-style: none; }
.woocommerce div.product div.images .flex-control-thumbs img { aspect-ratio: 1 / 1.16; object-fit: cover; opacity: .72; }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs img:hover { opacity: 1; }

/* 1.6.14 — galleria prodotto pulita: niente lente e marcatori numerici. */
html body.single-product.vallarella-theme .woocommerce-product-gallery__trigger {
  display: none !important;
}

html body.single-product.vallarella-theme .woocommerce div.product div.images ol.flex-control-thumbs,
html body.single-product.vallarella-theme .woocommerce div.product div.images ul.flex-control-thumbs {
  margin-left: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
  counter-reset: none !important;
}

html body.single-product.vallarella-theme .woocommerce div.product div.images .flex-control-thumbs > li {
  margin-left: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
  counter-increment: none !important;
}

html body.single-product.vallarella-theme .woocommerce div.product div.images .flex-control-thumbs > li::before,
html body.single-product.vallarella-theme .woocommerce div.product div.images .flex-control-thumbs > li::marker {
  display: none !important;
  content: "" !important;
}
.woocommerce div.product .product_title {
  margin: 0 0 16px; color: var(--v-heading);
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(42px, 3.5vw, 58px); font-weight: 400; line-height: 1.04;
}
.woocommerce div.product p.price, .woocommerce div.product span.price {
  margin: 0; padding-bottom: 28px; border-bottom: 1px solid #333;
  color: var(--v-muted); font-size: 27px;
}
.woocommerce div.product p.price ins { text-decoration: none; color: var(--v-gold); }
.v-product-intro { padding: 28px 0 0; color: var(--v-heading); font-size: 17px; line-height: 1.65; }
.v-product-intro p { margin: 0; }
.woocommerce div.product p.stock { margin: 16px 0 0; color: var(--v-gold); }
.woocommerce div.product form.cart { display: flex; gap: 16px; margin: 28px 0 14px; padding-bottom: 38px; border-bottom: 1px solid #333; }
.woocommerce .quantity .qty {
  width: 118px; min-height: 48px; padding: 10px; border: 1px solid #3b3b3b;
  border-radius: 0; background: #151515; color: var(--v-white); text-align: left;
}
.woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.woocommerce #respond input#submit, .v-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 28px; border: 1px solid var(--v-gold); border-radius: 0;
  background: transparent; color: var(--v-white); font-weight: 500; letter-spacing: .03em;
  transition: background .25s ease, color .25s ease;
}
.woocommerce div.product form.cart .button { flex: 1; }
.woocommerce button.button:hover, .woocommerce a.button:hover, .woocommerce input.button:hover,
.woocommerce #respond input#submit:hover, .v-button:hover { background: var(--v-gold); color: var(--v-black); }
.woocommerce button.button.alt, .woocommerce a.button.alt { background: var(--v-gold); color: var(--v-black); }
.woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover { background: transparent; color: var(--v-white); }
.product_meta { display: grid; gap: 5px; color: var(--v-muted); font-size: 13px; }
.product_meta a { color: var(--v-heading); text-decoration: none; }

.v-product-accordions { margin-top: 0; border-top: 0; }
.v-product-accordions details { border-bottom: 1px solid #333; }
.v-product-accordions summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; color: var(--v-heading); list-style: none; cursor: pointer;
}
.v-product-accordions summary::-webkit-details-marker { display: none; }
.v-product-accordions summary::after { content: "+"; color: var(--v-gold); font-size: 22px; font-weight: 300; }
.v-product-accordions details[open] summary::after { content: "−"; }
.v-product-accordion__content { padding: 0 0 24px; color: var(--v-muted); font-size: 15px; line-height: 1.65; }
.v-product-accordion__content img { width: auto; max-width: 92px; max-height: 92px; margin: 0 9px 12px 0; object-fit: contain; vertical-align: middle; }
.v-product-accordion__content > :first-child { margin-top: 0; }
.v-product-accordion__content > :last-child { margin-bottom: 0; }
.v-product-accordion__content > h2:first-child { display: none; }
.woocommerce div.product .woocommerce-tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: none; }

.related.products, .up-sells.upsells { clear: both; padding-top: 100px; }
.related.products > h2, .up-sells.upsells > h2 { margin: 0 0 40px; text-align: center; font-size: clamp(38px, 4vw, 58px); }

/* Pagine Woo: carrello, checkout e account */
.v-page { padding: 70px 0 110px; }
.v-page__header { max-width: 800px; margin: 0 auto 54px; text-align: center; }
.v-page__header h1 { margin: 0; font-size: clamp(48px, 5vw, 76px); line-height: 1; }
.v-page__content { color: var(--v-muted); }
.woocommerce table.shop_table { border: 1px solid #333; border-radius: 0; border-collapse: collapse; color: var(--v-heading); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 16px; border-color: #333; }
.woocommerce table.shop_table a { color: var(--v-heading); text-decoration: none; }
.woocommerce-cart table.cart img { width: 86px; }
.woocommerce-cart table.cart td.actions .coupon .input-text {
  width: 180px; min-height: 48px; padding: 10px 14px; border: 1px solid #3b3b3b; background: #151515; color: var(--v-white);
}
.cart_totals h2, .woocommerce-checkout h3, .woocommerce-account h2 { font-size: 34px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.select2-container--default .select2-selection--single {
  min-height: 48px; padding: 10px 13px; border: 1px solid #3b3b3b; border-radius: 0; background: #151515; color: var(--v-white);
}
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--v-white); line-height: 27px; }
.select2-dropdown { border-color: #3b3b3b; background: #151515; color: var(--v-white); }
.woocommerce-checkout #payment { border-radius: 0; background: #181818; }
.woocommerce-checkout #payment div.payment_box { background: #222; color: var(--v-muted); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #222; }
.woocommerce-info, .woocommerce-message, .woocommerce-error {
  border-top-color: var(--v-gold); background: #181818; color: var(--v-heading);
}
.woocommerce-info::before, .woocommerce-message::before { color: var(--v-gold); }
.woocommerce-error::before { color: #d47c68; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; border: 1px solid #333; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; border-bottom: 1px solid #333; color: var(--v-heading); text-decoration: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--v-gold); color: var(--v-black); }

/* Footer */
.v-footer { border-top: 1px solid #2c2c2c; background: var(--v-black); }
.v-footer__top {
  width: min(100% - 40px, var(--v-container)); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 50px;
  padding: 70px 0 54px;
}
.v-footer__brand img { height: 82px; width: auto; margin-bottom: 22px; }
.v-footer__brand p { max-width: 330px; margin: 0; }
.v-footer h3 { margin: 0 0 18px; color: var(--v-heading); font-family: inherit; font-size: 15px; font-weight: 600; }
.v-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.v-footer__col a { color: var(--v-muted); text-decoration: none; font-size: 14px; }
.v-footer__col a:hover { color: var(--v-gold); }
.v-social { display: flex; gap: 9px; }
.v-social a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #3b3b3b; color: var(--v-heading); }
.v-social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.v-footer__bottom {
  width: min(100% - 40px, var(--v-container)); margin: 0 auto; padding: 24px 0;
  display: flex; justify-content: space-between; gap: 26px; border-top: 1px solid #2c2c2c; font-size: 12px;
}
.v-footer__bottom p { margin: 0; }
.v-footer__bottom a { color: var(--v-muted); }
.v-footer__payments { width: min(100% - 40px, var(--v-container)); margin: 0 auto; display: flex; justify-content: flex-end; }
.v-footer__payments img { width: 260px; max-width: 54vw; opacity: .82; }
.v-footer__credit { margin: 18px 0 0; padding: 16px 20px; border-top: 1px solid #222; text-align: center; font-size: 12px; }
.v-footer__credit a { color: var(--v-gold); text-decoration: none; }

@media (max-width: 980px) {
  :root { --v-header-h: 68px; --v-notch-d: 35px; --v-notch-w: min(430px, 92vw); }
  .v-header-wrap { min-height: var(--v-header-h); }
  .v-header__bar { padding-inline: 18px; }
  .v-header__logo img { height: 53px; }
  .v-header__notch { position: fixed; inset: var(--v-header-h) 0 auto; width: 100%; height: auto; background: var(--v-black); border-bottom: 1px solid var(--v-line); transform: translateY(-120%); transition: transform .3s ease; }
  .v-header.is-menu-open .v-header__notch { transform: translateY(0); }
  .v-header__curve { display: none; }
  .v-header__menu { position: static; display: block; padding: 20px; }
  .v-header__group { border-bottom: 1px solid #2d2d2d; }
  .v-header__parent { justify-content: space-between; }
  .v-header__menu a { padding: 13px 0; }
  .v-header__submenu { position: static; min-width: 0; margin: 0; padding: 0 0 12px 18px; transform: none; border: 0; box-shadow: none; }
  .v-mobile-trigger { display: grid; }
  .v-account-icon { display: none; }
  .v-shop-tools { align-items: flex-start; flex-direction: column; }
  .woocommerce ul.products, ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce div.product .v-single-grid { grid-template-columns: 1fr; gap: 48px; }
  .v-single-summary { position: static; }
  .woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100%; }
  .v-footer__top { grid-template-columns: 1.3fr 1fr 1fr; }
  .v-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .v-header__actions { gap: 0; }
  .v-shop-hero { min-height: 230px; padding-top: 55px; }
  .v-shop-hero h1 { font-size: 52px; }
  .v-category-filter { flex-wrap: wrap; width: 100%; overflow: visible; padding-bottom: 6px; }
  .v-filter-link { flex: 0 0 auto; }
  .v-sort { width: 100%; justify-content: space-between; }
  .v-sort select, .woocommerce-ordering select { min-width: 0; width: 60%; }
  .v-results { padding-top: 46px; }
  .woocommerce ul.products, ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 12px;
  }
  .v-product-card__media { margin-bottom: 12px; }
  .v-product-card__name { font-size: 16px; line-height: 1.2; }
  .v-product-card__meta { gap: 8px; min-height: 36px; margin-top: 6px; }
  .v-product-card__price { font-size: 16px; }
  .vallarella-theme .v-product-card__detail,
  .vallarella-theme .v-product-card__detail:visited {
    width: 36px !important;
    height: 36px !important;
    flex-basis: 36px !important;
  }
  .v-product-card__detail svg { width: 17px; height: 17px; }
  .v-product-card__veil { display: none; }
  .v-product-page, .v-page { padding-top: 44px; }
  .woocommerce div.product .product_title { font-size: 38px; }
  .woocommerce div.product form.cart { flex-wrap: wrap; }
  .woocommerce div.product form.cart .button { flex-basis: calc(100% - 134px); padding-inline: 12px; }
  .woocommerce table.shop_table_responsive tr td::before { color: var(--v-heading); }
  .v-footer__top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .v-footer__brand { grid-column: 1 / -1; }
  .v-footer__bottom { flex-direction: column; }
}

/* Barra filtri mobile compatta e leggibile. */
@media (max-width: 640px) {
  html body.vallarella-theme .v-shop-hero h1 {
    max-width: calc(100vw - 32px) !important;
    font-size: clamp(28px, 8.3vw, 36px) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  html body.vallarella-theme .v-shop-hero p {
    max-width: calc(100vw - 36px) !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  html body.vallarella-theme .v-shop-tools {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 20px 0 !important;
  }

  html body.vallarella-theme .v-shop-tools > .v-category-filter {
    display: none !important;
  }

  html body.vallarella-theme .v-mobile-catalog-filter {
    position: relative !important;
    display: block !important;
    min-width: 0 !important;
  }

  html body.vallarella-theme .v-mobile-catalog-filter > summary {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 6px !important;
    min-height: 54px !important;
    padding: 9px 12px !important;
    border: 1px solid #3b3b3b !important;
    border-radius: 16px !important;
    background: #121212 !important;
    color: var(--v-heading) !important;
    font-family: "Roboto Condensed", Arial, sans-serif !important;
    cursor: pointer !important;
    list-style: none !important;
  }

  html body.vallarella-theme .v-mobile-catalog-filter > summary::-webkit-details-marker {
    display: none !important;
  }

  html body.vallarella-theme .v-mobile-control-label {
    color: var(--v-muted) !important;
    font-size: 12px !important;
    font-weight: 200 !important;
  }

  html body.vallarella-theme .v-mobile-control-value {
    min-width: 0 !important;
    overflow: hidden !important;
    color: var(--v-gold) !important;
    font-size: 14px !important;
    font-weight: 200 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.vallarella-theme .v-mobile-control-arrow {
    width: 8px !important;
    height: 8px !important;
    border-right: 1px solid var(--v-gold) !important;
    border-bottom: 1px solid var(--v-gold) !important;
    transform: translateY(-2px) rotate(45deg) !important;
  }

  html body.vallarella-theme .v-mobile-catalog-filter[open] .v-mobile-control-arrow {
    transform: translateY(2px) rotate(225deg) !important;
  }

  html body.vallarella-theme .v-mobile-catalog-filter__menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    z-index: 100 !important;
    display: grid !important;
    width: min(290px, calc(100vw - 40px)) !important;
    padding: 10px !important;
    border: 1px solid rgba(201, 163, 91, .65) !important;
    border-radius: 18px !important;
    background: #121212 !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .5) !important;
  }

  html body.vallarella-theme .v-mobile-catalog-filter__menu a {
    padding: 11px 12px !important;
    border-radius: 11px !important;
    color: var(--v-gold) !important;
    font-family: "Roboto Condensed", Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 200 !important;
    text-decoration: none !important;
  }

  html body.vallarella-theme .v-mobile-catalog-filter__menu a.is-active,
  html body.vallarella-theme .v-mobile-catalog-filter__menu a:hover {
    background: var(--v-gold) !important;
    color: var(--v-black) !important;
  }

  html body.vallarella-theme .v-shop-tools .v-sort {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 54px !important;
    padding: 9px 8px 9px 12px !important;
    border: 1px solid #3b3b3b !important;
    border-radius: 16px !important;
    background: #121212 !important;
  }

  html body.vallarella-theme .v-shop-tools .v-sort label {
    display: block !important;
    color: var(--v-muted) !important;
    font-family: "Roboto Condensed", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 200 !important;
    white-space: nowrap !important;
  }

  html body.vallarella-theme .v-shop-tools .v-sort .woocommerce-ordering {
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.vallarella-theme .v-shop-tools .v-sort select,
  html body.vallarella-theme .v-shop-tools .woocommerce-ordering select {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 5px 20px 5px 0 !important;
    border: 0 !important;
    background-color: transparent !important;
    color: var(--v-gold) !important;
    font-family: "Roboto Condensed", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 200 !important;
    text-overflow: ellipsis !important;
  }
}

/* 1.6.7 — menu desktop coordinato con il sito istituzionale. */
@media (min-width: 981px) {
  html body.vallarella-theme {
    --v-notch-w: clamp(760px, 62vw, 980px);
    --v-notch-d: 58px;
  }

  html body.vallarella-theme .v-header__menu {
    top: calc(var(--v-header-h) - 8px) !important;
    gap: clamp(32px, 3.5vw, 58px) !important;
    align-items: flex-start !important;
  }

  html body.vallarella-theme .v-header__parent {
    gap: 10px !important;
  }

  html body.vallarella-theme .v-header__parent > a {
    padding: 8px 0 10px !important;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: clamp(20px, 1.45vw, 24px) !important;
    font-weight: 300 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.035em !important;
    color: var(--v-heading) !important;
  }

  html body.vallarella-theme .v-header__toggle {
    width: 26px !important;
    min-width: 26px !important;
    height: 43px !important;
    color: var(--v-gold) !important;
  }

  html body.vallarella-theme .v-header__toggle svg {
    width: 15px !important;
    transition: transform .22s ease !important;
  }

  html body.vallarella-theme .v-header__toggle[aria-expanded="true"] svg {
    transform: rotate(180deg) !important;
  }

  html body.vallarella-theme .v-header__submenu {
    top: calc(100% + 4px) !important;
    min-width: 272px !important;
    margin-top: 10px !important;
    padding: 22px 30px !important;
    border: 1px solid rgba(200, 164, 95, .52) !important;
    border-radius: 24px !important;
    background: var(--v-black) !important;
    box-shadow: 0 20px 46px rgba(0, 0, 0, .42) !important;
  }

  html body.vallarella-theme .v-header__submenu li + li {
    margin-top: 10px !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(200, 164, 95, .30) !important;
  }

  html body.vallarella-theme .v-header__submenu a,
  html body.vallarella-theme .v-header__submenu a:visited {
    padding: 4px 0 !important;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 300 !important;
    line-height: 1.35 !important;
    letter-spacing: .035em !important;
    color: var(--v-heading) !important;
  }

  html body.vallarella-theme .v-header__submenu a::after {
    display: none !important;
  }
}

/* Scheda prodotto: override finali contro Elementor e plugin esterni. */
html body.single-product.vallarella-theme .site-main .woocommerce div.product .summary h1.product_title,
html body.single-product.vallarella-theme .site-main .woocommerce div.product .summary h1.entry-title.product_title {
  margin: 0 0 16px !important;
  font-family: "Cormorant Garamond", Garamond, Georgia, serif !important;
  font-size: 36px !important;
  font-weight: 400 !important;
  line-height: 1.08 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
}

/* Il riquadro Campagna olearia e' generato da XL WooCommerce Sales Triggers. */
html body.single-product.vallarella-theme .summary .wcst_on_product.wcst_guarantee_box {
  width: auto !important;
  min-height: 0 !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body.single-product.vallarella-theme .summary .wcst_guarantee_box .wcst_guarantee_box_row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 0 !important;
  background: transparent !important;
}
html body.single-product.vallarella-theme .summary .wcst_guarantee_box .wcst_guarantee_box_icon {
  float: none !important;
  flex: 0 0 22px !important;
  width: 22px !important;
  height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 24px !important;
}
html body.single-product.vallarella-theme .summary .wcst_guarantee_box .wcst_guarantee_box_icon i,
html body.single-product.vallarella-theme .summary .wcst_guarantee_box .wcst_custom_icon.x2 {
  width: 22px !important;
  height: 24px !important;
  font-size: 20px !important;
  line-height: 24px !important;
  color: var(--v-muted) !important;
}
html body.single-product.vallarella-theme .summary .wcst_guarantee_box .wcst_guarantee_box_text {
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--v-muted) !important;
}
html body.single-product.vallarella-theme .summary .wcst_guarantee_box .wcst_guarantee_box_text h5 {
  margin: 0 !important;
  padding: 0 !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  color: var(--v-muted) !important;
}

html body.single-product.vallarella-theme .summary .ppcp-messages,
html body.single-product.vallarella-theme .summary .ppcp-messages paypal-message {
  color: var(--v-muted) !important;
  --paypal-message-font-size: 12px !important;
}

@media (max-width: 980px) {
  html body.single-product.vallarella-theme .site-main .woocommerce div.product .summary h1.product_title,
  html body.single-product.vallarella-theme .site-main .woocommerce div.product .summary h1.entry-title.product_title {
    font-size: 30px !important;
  }
}

@media (max-width: 640px) {
  html body.single-product.vallarella-theme .site-main .woocommerce div.product .summary h1.product_title,
  html body.single-product.vallarella-theme .site-main .woocommerce div.product .summary h1.entry-title.product_title {
    font-size: 26px !important;
    line-height: 1.12 !important;
  }
}

/* 1.6.9 — tipografia esatta del menu Vallarella; deve restare l'ultimo override. */
html body.vallarella-theme .v-header__menu a,
html body.vallarella-theme .v-header__menu a:visited,
html body.vallarella-theme .v-header__parent > a,
html body.vallarella-theme .v-header__submenu a,
html body.vallarella-theme .v-header__submenu a:visited {
  font-family: "Roboto Condensed", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 200 !important;
  line-height: 1.4 !important;
  letter-spacing: .04em !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Compatibilita WooCommerce / Elementor / plugin: regole finali ad alta priorita. */
.vallarella-theme,
.vallarella-theme .site-main,
.vallarella-theme .woocommerce,
.vallarella-theme .woocommerce-page {
  background: var(--v-black) !important;
  color: var(--v-muted) !important;
}
.vallarella-theme .site-main { padding-top: 0 !important; }
.vallarella-theme h1,
.vallarella-theme h2,
.vallarella-theme h3,
.vallarella-theme h4,
.vallarella-theme h5,
.vallarella-theme h6,
.vallarella-theme .woocommerce-loop-product__title,
.vallarella-theme .woocommerce div.product .product_title,
.vallarella-theme .woocommerce div.product .woocommerce-tabs h2,
.vallarella-theme .related.products > h2,
.vallarella-theme .up-sells.upsells > h2 { color: var(--v-heading) !important; }
.vallarella-theme p,
.vallarella-theme li,
.vallarella-theme td,
.vallarella-theme .price,
.vallarella-theme .woocommerce-product-details__short-description,
.vallarella-theme .woocommerce-product-details__short-description p,
.vallarella-theme .woocommerce-Tabs-panel,
.vallarella-theme .v-product-accordion__content { color: var(--v-muted); }
.vallarella-theme .v-header__menu,
.vallarella-theme .v-header__menu li,
.vallarella-theme .v-header__submenu { background: transparent !important; }
.vallarella-theme .v-header__submenu { background: var(--v-black) !important; }
.vallarella-theme .v-header__menu a,
.vallarella-theme .v-header__menu a:visited { color: var(--v-white) !important; }
.vallarella-theme .v-header__menu a:hover,
.vallarella-theme .v-header__menu a[aria-current="page"] { color: var(--v-gold) !important; }
.vallarella-theme button.v-header__toggle,
.vallarella-theme button.v-icon-button,
.vallarella-theme button.v-mobile-trigger {
  width: auto; min-width: 20px; padding: 0 !important;
  border: 0 !important; border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important;
  color: var(--v-gold) !important; appearance: none;
}
.vallarella-theme button.v-icon-button,
.vallarella-theme button.v-mobile-trigger { width: 38px; }
.vallarella-theme .woocommerce button.button,
.vallarella-theme .woocommerce a.button,
.vallarella-theme .woocommerce input.button,
.vallarella-theme .woocommerce #respond input#submit,
.vallarella-theme .v-button {
  min-height: 48px !important; padding: 12px 28px !important;
  border: 1px solid var(--v-gold) !important; border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important;
  color: var(--v-heading) !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 14px !important; font-weight: 500 !important; text-transform: none !important;
}
.vallarella-theme .woocommerce button.button:hover,
.vallarella-theme .woocommerce a.button:hover,
.vallarella-theme .woocommerce input.button:hover,
.vallarella-theme .woocommerce #respond input#submit:hover,
.vallarella-theme .v-button:hover,
.vallarella-theme .woocommerce button.button.alt,
.vallarella-theme .woocommerce a.button.alt {
  background: var(--v-gold) !important; color: var(--v-black) !important;
}
.vallarella-theme .v-shop-hero,
.vallarella-theme .v-shop-tools,
.vallarella-theme .v-results,
.vallarella-theme .v-product-page { background: var(--v-black) !important; }
.vallarella-theme .v-shop-tools { min-height: 104px; }
.vallarella-theme .v-results { padding-top: 64px !important; }
.vallarella-theme .woocommerce ul.products,
.vallarella-theme ul.products { width: 100% !important; max-width: none !important; }
.vallarella-theme .woocommerce ul.products li.product .woocommerce-loop-product__title,
.vallarella-theme .v-product-card__name { color: var(--v-heading) !important; }
.vallarella-theme .woocommerce ul.products li.product .price,
.vallarella-theme .v-product-card__price,
.vallarella-theme .v-product-card__price * { color: var(--v-muted) !important; }
.vallarella-theme .v-product-card__detail,
.vallarella-theme .v-product-card__detail:visited {
  display: grid !important; width: 42px !important; height: 42px !important;
  min-height: 0 !important; padding: 0 !important; border: 1px solid var(--v-gold) !important;
  border-radius: 0 !important; background: transparent !important; color: var(--v-gold) !important;
}
.vallarella-theme .v-product-card__detail:hover,
.vallarella-theme .v-product-card__detail:focus-visible {
  background: var(--v-gold) !important; color: var(--v-black) !important;
}
.vallarella-theme .woocommerce div.product div.summary { color: var(--v-muted) !important; }
.vallarella-theme .woocommerce div.product .product_title {
  color: var(--v-heading) !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 400 !important;
}
.vallarella-theme .woocommerce div.product p.price,
.vallarella-theme .woocommerce div.product span.price,
.vallarella-theme .woocommerce div.product p.price * { color: var(--v-muted) !important; }
.vallarella-theme .woocommerce div.product p.price ins,
.vallarella-theme .woocommerce div.product p.price ins * { color: var(--v-gold) !important; }
.vallarella-theme .woocommerce div.product form.cart { align-items: stretch; }
.vallarella-theme .woocommerce .quantity .qty,
.vallarella-theme .woocommerce div.product form.cart input,
.vallarella-theme .woocommerce div.product form.cart select {
  min-height: 48px !important; border: 1px solid #3b3b3b !important;
  border-radius: 0 !important; background: #151515 !important; color: var(--v-heading) !important;
}
.vallarella-theme .v-product-accordions,
.vallarella-theme .v-product-accordions details,
.vallarella-theme .v-product-accordions summary,
.vallarella-theme .related.products,
.vallarella-theme .up-sells.upsells { background: transparent !important; }
.vallarella-theme .v-product-accordions summary { color: var(--v-heading) !important; }
.vallarella-theme .related.products,
.vallarella-theme .up-sells.upsells { margin-top: 24px !important; padding-top: 88px !important; }
.vallarella-theme .v-footer,
.vallarella-theme .v-footer p,
.vallarella-theme .v-footer li,
.vallarella-theme .v-footer a,
.vallarella-theme .v-footer a:visited { color: var(--v-muted) !important; }
.vallarella-theme .v-footer h3 {
  color: var(--v-heading) !important;
  font-family: "Cormorant Garamond", Garamond, Georgia, serif !important;
  font-size: 28px !important; font-weight: 400 !important;
}
.vallarella-theme .v-footer a:hover,
.vallarella-theme .v-footer__credit a { color: var(--v-gold) !important; }

@media (min-width: 981px) {
  .vallarella-theme .v-product-page { padding-top: 82px !important; }
  .vallarella-theme .woocommerce div.product div.images {
    width: 52% !important; padding-right: 34px !important;
  }
  .vallarella-theme .woocommerce div.product div.summary {
    width: 48% !important; padding-left: 54px !important;
  }
}

/* 1.2.0 — header e carrello */
.vallarella-theme .v-header__logo,
.vallarella-theme .v-header__logo img,
.vallarella-theme .v-header__actions,
.vallarella-theme .v-header__actions svg,
.vallarella-theme .v-header__parent > a {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.vallarella-theme .v-header__logo {
  width: auto !important;
  height: auto !important;
}
.vallarella-theme .v-header__logo img {
  width: auto !important;
  height: 66px !important;
  filter: none !important;
}
.vallarella-theme .v-header__parent > a {
  width: auto !important;
  min-width: max-content !important;
  height: auto !important;
  overflow: visible !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  text-indent: 0 !important;
  color: var(--v-heading) !important;
}
.vallarella-theme .v-header__actions,
.vallarella-theme .v-header__actions .v-icon-button {
  opacity: 1 !important;
  visibility: visible !important;
  color: var(--v-heading) !important;
}

.woocommerce-cart .v-page {
  padding-top: 64px;
}
.woocommerce-cart .v-page__content,
.woocommerce-cart .v-page__content > .woocommerce {
  width: 100% !important;
  max-width: none !important;
}
.woocommerce-cart .woocommerce-cart-form {
  float: left !important;
  width: calc(65% - 26px) !important;
  margin: 0 0 72px !important;
}
.woocommerce-cart .cart-collaterals {
  float: right !important;
  width: calc(35% - 26px) !important;
  margin: 0 0 72px !important;
}
.woocommerce-cart .cart-collaterals .cart_totals {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.woocommerce-cart .cart-collaterals h2 {
  margin: 0 0 28px !important;
  color: var(--v-heading) !important;
  font-size: clamp(38px, 3.2vw, 52px) !important;
  line-height: 1 !important;
}
.woocommerce-cart table.shop_table {
  width: 100% !important;
  table-layout: auto !important;
  border-color: #333 !important;
  background: transparent !important;
}
.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td {
  border-color: #292929 !important;
  background: transparent !important;
  vertical-align: middle !important;
}
.woocommerce-cart table.cart .product-thumbnail {
  width: 104px !important;
}
.woocommerce-cart table.cart .product-thumbnail img {
  width: 86px !important;
  height: 86px !important;
  object-fit: cover !important;
  background: var(--v-heading) !important;
}
.woocommerce-cart table.cart .product-name,
.woocommerce-cart table.cart .product-name a,
.woocommerce-cart table.cart .product-name a:visited {
  min-width: 170px !important;
  color: var(--v-heading) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-decoration: none !important;
}
.woocommerce-cart table.cart a.remove {
  display: grid !important;
  place-items: center !important;
  width: 25px !important;
  height: 25px !important;
  color: var(--v-gold) !important;
  font-size: 22px !important;
  line-height: 1 !important;
  opacity: 1 !important;
}
.woocommerce-cart table.cart a.remove:hover {
  background: var(--v-gold) !important;
  color: var(--v-black) !important;
}
.woocommerce-cart table.cart td.actions {
  padding: 20px !important;
}
.woocommerce-cart table.cart td.actions .coupon {
  display: flex !important;
  gap: 10px !important;
}
.woocommerce-cart table.cart td.actions .coupon .input-text {
  width: min(260px, 48vw) !important;
  margin: 0 !important;
}
.woocommerce-cart table.cart td.actions > .button {
  float: right !important;
}
.woocommerce-cart .cart_totals table th {
  width: 34% !important;
  color: var(--v-heading) !important;
}
.woocommerce-cart .cart_totals table td {
  color: var(--v-muted) !important;
}
.woocommerce-cart ul#shipping_method,
.woocommerce-cart ul.woocommerce-shipping-methods {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.woocommerce-cart ul#shipping_method li,
.woocommerce-cart ul.woocommerce-shipping-methods li {
  margin: 0 0 8px !important;
  padding: 0 !important;
  list-style: none !important;
}
.woocommerce-cart .wc-proceed-to-checkout {
  padding: 22px 0 0 !important;
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  width: 100% !important;
  margin: 0 !important;
  background: var(--v-gold) !important;
  color: var(--v-black) !important;
}
.woocommerce-cart .woocommerce-cart-form::after,
.woocommerce-cart .cart-collaterals::after,
.woocommerce-cart .v-page__content > .woocommerce::after {
  content: "";
  display: table;
  clear: both;
}
.woocommerce-cart .wc-stripe-cart-checkout-container,
.woocommerce-cart .wc-stripe-express-checkout-container,
.woocommerce-cart #wc-stripe-express-checkout-element,
.woocommerce-cart .ppc-button-wrapper,
.woocommerce-cart #ppc-button-ppcp-gateway,
.woocommerce-cart .paypal-buttons {
  clear: both !important;
  width: 100% !important;
  max-width: 1100px !important;
  margin: 16px auto !important;
}
.woocommerce-cart .woocommerce-cart-form input,
.woocommerce-cart .cart-collaterals input {
  color: var(--v-heading) !important;
}

/* Mantiene leggibili i filtri anche in presenza degli stili legacy di Elementor/JetWooBuilder. */
html body.vallarella-theme .v-shop-tools .v-category-filter a.v-filter-link,
html body.vallarella-theme .v-shop-tools .v-category-filter a.v-filter-link:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: max-content !important;
  max-width: none !important;
  height: auto !important;
  padding: 11px 17px !important;
  border-radius: 24px !important;
  font-family: "Roboto Condensed", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 200 !important;
  font-style: normal !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  zoom: 1 !important;
  color: var(--v-gold) !important;
}
html body.vallarella-theme .v-shop-tools .v-category-filter a.v-filter-link:hover,
html body.vallarella-theme .v-shop-tools .v-category-filter a.v-filter-link.is-active {
  color: var(--v-black) !important;
}

/* 1.6.12 — filtri commerciali e menu Specialità, protetti dagli stili Elementor. */
html body.vallarella-theme .v-shop-tools .v-category-filter summary.v-filter-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: max-content !important;
  padding: 11px 17px !important;
  border: 1px solid #3b3b3b !important;
  border-radius: 24px !important;
  font-family: "Roboto Condensed", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 200 !important;
  line-height: 1.15 !important;
  color: var(--v-gold) !important;
  background: transparent !important;
}
html body.vallarella-theme .v-shop-tools .v-category-filter .v-filter-menu.is-active > summary.v-filter-link,
html body.vallarella-theme .v-shop-tools .v-category-filter .v-filter-menu[open] > summary.v-filter-link,
html body.vallarella-theme .v-shop-tools .v-category-filter summary.v-filter-link:hover {
  border-color: var(--v-gold) !important;
}
html body.vallarella-theme .v-shop-tools .v-category-filter .v-filter-submenu a.v-filter-link {
  justify-content: flex-start !important;
  width: 100% !important;
  padding: 10px 12px !important;
  border-color: transparent !important;
  border-radius: 16px !important;
}
html body.vallarella-theme .v-shop-tools .v-category-filter .v-filter-submenu {
  border-radius: 24px !important;
}

/* 1.6.13 — paginazione orizzontale leggibile anche nella home catalogo. */
html body.vallarella-theme .v-results nav.woocommerce-pagination {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 60px 0 0 !important;
  text-align: center !important;
}
html body.vallarella-theme .v-results nav.woocommerce-pagination ul.page-numbers {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}
html body.vallarella-theme .v-results nav.woocommerce-pagination ul.page-numbers > li {
  display: block !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}
html body.vallarella-theme .v-results nav.woocommerce-pagination ul.page-numbers > li::marker {
  content: "" !important;
}
html body.vallarella-theme .v-results nav.woocommerce-pagination .page-numbers > li > a,
html body.vallarella-theme .v-results nav.woocommerce-pagination .page-numbers > li > span {
  display: grid !important;
  place-items: center !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #3b3b3b !important;
  border-radius: 14px !important;
  background: transparent !important;
  color: var(--v-gold) !important;
  font-family: "Roboto Condensed", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 200 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}
html body.vallarella-theme .v-results nav.woocommerce-pagination .page-numbers > li > span.current,
html body.vallarella-theme .v-results nav.woocommerce-pagination .page-numbers > li > a:hover {
  border-color: var(--v-gold) !important;
  background: var(--v-gold) !important;
  color: var(--v-black) !important;
}
html body.vallarella-theme .v-shop-tools .v-category-filter .v-filter-submenu a.v-filter-link:hover,
html body.vallarella-theme .v-shop-tools .v-category-filter .v-filter-submenu a.v-filter-link.is-active {
  border-color: var(--v-gold) !important;
}

/* 1.6.8 — azioni header sempre affiancate, anche contro gli stili Elementor. */
html body.vallarella-theme .v-header__actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  width: auto !important;
}

html body.vallarella-theme .v-header__actions .v-icon-button,
html body.vallarella-theme .v-header__actions button.v-icon-button,
html body.vallarella-theme .v-header__actions a.v-icon-button {
  display: grid !important;
  flex: 0 0 38px !important;
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
}

/* Isola i titoli delle card dalle dimensioni globali H2 di Elementor. */
html body.vallarella-theme .v-results ul.products li.product h2.v-product-card__name,
html body.vallarella-theme .v-results ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box !important;
  min-height: 2.4em !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--v-heading) !important;
}

@media (max-width: 640px) {
  html body.vallarella-theme .v-results ul.products li.product h2.v-product-card__name,
  html body.vallarella-theme .v-results ul.products li.product .woocommerce-loop-product__title {
    min-height: 2.4em !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 980px) {
  .vallarella-theme .v-header__logo img { height: 53px !important; }
  .woocommerce-cart .woocommerce-cart-form,
  .woocommerce-cart .cart-collaterals {
    float: none !important;
    width: 100% !important;
    margin-bottom: 52px !important;
  }
}

@media (max-width: 640px) {
  .woocommerce-cart table.cart .product-name,
  .woocommerce-cart table.cart .product-name a { min-width: 0 !important; }
  .woocommerce-cart table.cart td.actions .coupon {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
  }
  .woocommerce-cart table.cart td.actions .coupon .input-text { width: 100% !important; }
  .woocommerce-cart table.cart td.actions > .button {
    float: none !important;
    width: 100% !important;
    margin-top: 10px !important;
  }
}

/* 1.6.10 — tipografia navbar definitiva; prevale anche sui global font di Elementor. */
html body.vallarella-theme header#site-header nav.v-header__notch ul.v-header__menu > li.v-header__group .v-header__parent > a,
html body.vallarella-theme header#site-header nav.v-header__notch ul.v-header__menu > li.v-header__group .v-header__parent > a:visited,
html body.vallarella-theme header#site-header nav.v-header__notch ul.v-header__menu > li.v-header__group ul.v-header__submenu > li > a,
html body.vallarella-theme header#site-header nav.v-header__notch ul.v-header__menu > li.v-header__group ul.v-header__submenu > li > a:visited {
  font-family: "Roboto Condensed", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 200 !important;
  font-style: normal !important;
  line-height: 1.4 !important;
  letter-spacing: .04em !important;
  text-transform: none !important;
}

/* 1.6.15 — paginazione catalogo senza liste e senza marcatori. */
html body.vallarella-theme .v-results .v-catalog-pagination {
  display: flex !important;
  justify-content: center !important;
  clear: both !important;
  width: 100% !important;
  margin: 60px 0 0 !important;
  padding: 0 !important;
}

html body.vallarella-theme .v-results .v-catalog-pagination__links {
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.vallarella-theme .v-results .v-catalog-pagination a.page-numbers,
html body.vallarella-theme .v-results .v-catalog-pagination span.page-numbers {
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 42px !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #3b3b3b !important;
  border-radius: 14px !important;
  background: transparent !important;
  color: var(--v-gold) !important;
  font-family: "Roboto Condensed", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 200 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
}

html body.vallarella-theme .v-results .v-catalog-pagination span.page-numbers.current,
html body.vallarella-theme .v-results .v-catalog-pagination a.page-numbers:hover,
html body.vallarella-theme .v-results .v-catalog-pagination a.page-numbers:focus-visible {
  border-color: var(--v-gold) !important;
  background: var(--v-gold) !important;
  color: var(--v-black) !important;
}

html body.vallarella-theme .v-results .v-catalog-pagination span.page-numbers.dots {
  border-color: transparent !important;
}

/* Correzioni mobile in raccolta: header pulito e quattro miniature a tutta larghezza. */
@media (max-width: 640px) {
  html body.vallarella-theme header#site-header .v-header__bar {
    border-bottom: 0 !important;
  }

  html body.single-product.vallarella-theme .woocommerce div.product div.images ol.flex-control-thumbs,
  html body.single-product.vallarella-theme .woocommerce div.product div.images ul.flex-control-thumbs {
    display: flex !important;
    flex-flow: row nowrap !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 14px 0 0 !important;
  }

  html body.single-product.vallarella-theme .woocommerce div.product div.images .flex-control-thumbs > li {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
  }

  html body.single-product.vallarella-theme .woocommerce div.product div.images .flex-control-thumbs > li img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
}
