/* =========================================
   POLIOTTICA OPTIMIZED STYLESHEET
   Versione ottimizzata per performance
   ========================================= */

.marchio-title { display: none; }
.is-arrow { display: none !important; }
.brand-card__name { display: none; }

/* =========================================
   CSS VARIABLES & CORE
   ========================================= */
:root {
  /* Typography */
  --cartier-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --cartier-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Product ratio */
  --prod-ratio: 1.2;
  
  /* Colors */
  --p-color: #0f172a;
  --p-muted: #475569;
  --p-accent: #111827;
  --p-bg: #ffffff;
  --p-soft: rgba(15,23,42,.06);
  
  /* Spacing */
  --p-radius: 18px;
  --p-gap: 24px;
  
  /* Buttons */
  --btn-h: 40px;
  --btn-pad-x: 18px;
  --btn-radius: 999px;
  --btn-shadow: 0 10px 30px rgba(0,0,0,.10);
  --btn-shadow-hover: 0 14px 34px rgba(0,0,0,.18);
  
  /* Glass effect */
  --glass-bg: rgba(255,255,255,.65);
  --glass-brd: rgba(0,0,0,.08);
  --glass-sh: 0 6px 24px rgba(0,0,0,.10);
  --glass-sh-hover: 0 10px 30px rgba(0,0,0,.16);
}

/* =========================================
   UTILITY CLASSES
   ========================================= */
.center { display: flex; justify-content: center; align-items: center; }
.padding0, .padding0 .col, .padding0 p { padding: 0 !important; margin: 0; }
.text-white, .ux-menu-title { color: #fff; }
.absolute-footer, #trustpilot-widget-trustbox-0-wrapper,
.iub__us-widget, #minimized-trustbadge-98e3dadd90eb493088abdc5597a70810,
.includes_tax, .grecaptcha-badge, .badge-container { display: none !important; }

/* Material Symbols base */
.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  line-height: 1;
}

/* =========================================
   HEADER ICONS (User, Cart, Search, Menu)
   ========================================= */

/* Account/User Icon */
.account-link .icon-user,
.nav-top-link .icon-user,
a[href*="my-account"] .icon-user,
.header-nav .account-item .icon-user {
  font-size: 0 !important;
  width: 22px;
  height: 22px;
}

.account-link .icon-user::before,
.nav-top-link .icon-user::before,
a[href*="my-account"] .icon-user::before,
.header-nav .account-item .icon-user::before {
  content: "person";
  font-family: "Material Symbols Outlined";
  font-size: 22px;
  line-height: 1;
  color: currentColor;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* Cart Icon */
.cart-icon .icon-shopping-cart,
.header-cart-link .icon-shopping-cart,
.cart-item .icon-shopping-cart {
  font-size: 0 !important;
  width: 22px;
  height: 22px;
}

.cart-icon .icon-shopping-cart::before,
.header-cart-link .icon-shopping-cart::before,
.cart-item .icon-shopping-cart::before {
  content: "shopping_bag";
  font-family: "Material Symbols Outlined";
  font-size: 22px;
  line-height: 1;
  color: currentColor;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* Search Icon */
.search-icon .icon-search,
.nav-icon-search .icon-search,
button[data-open="#search-lightbox"] .icon-search,
.header-search-form .icon-search {
  font-size: 0 !important;
  width: 22px;
  height: 22px;
}

.search-icon .icon-search::before,
.nav-icon-search .icon-search::before,
button[data-open="#search-lightbox"] .icon-search::before,
.header-search-form .icon-search::before {
  content: "search";
  font-family: "Material Symbols Outlined";
  font-size: 22px;
  line-height: 1;
  color: currentColor;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* Menu Icon (hamburger) */
.nav-icon .icon-menu,
button[data-open="#main-menu"] .icon-menu,
.mobile-nav .icon-menu {
  font-size: 0 !important;
  width: 24px;
  height: 24px;
}

.nav-icon .icon-menu::before,
button[data-open="#main-menu"] .icon-menu::before,
.mobile-nav .icon-menu::before {
  content: "menu";
  font-family: "Material Symbols Outlined";
  font-size: 24px;
  line-height: 1;
  color: currentColor;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* Wishlist Icon */
.wishlist-link .icon-heart,
a[href*="wishlist"] .icon-heart,
.header-wishlist .icon-heart {
  font-size: 0 !important;
  width: 22px;
  height: 22px;
}

.wishlist-link .icon-heart::before,
a[href*="wishlist"] .icon-heart::before,
.header-wishlist .icon-heart::before {
  content: "favorite";
  font-family: "Material Symbols Outlined";
  font-size: 22px;
  line-height: 1;
  color: currentColor;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* Compare Icon */
.compare-link .icon-compare {
  font-size: 0 !important;
  width: 22px;
  height: 22px;
}

.compare-link .icon-compare::before {
  content: "compare_arrows";
  font-family: "Material Symbols Outlined";
  font-size: 22px;
  line-height: 1;
  color: currentColor;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* =========================================
   IMAGES & GALLERY
   ========================================= */
.glightbox-container img {
  image-rendering: auto;
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  transform: translateZ(0);
}

.glightbox-container img.gldt-zoom {
  transform: scale(2.2) !important;
  transition: transform 140ms ease;
  cursor: zoom-out;
}

/* Product images - uniform ratio */
.woocommerce ul.products li.product a,
.product-small .box-image,
.woocommerce div.product div.images {
  position: relative;
  aspect-ratio: var(--prod-ratio) !important;
  background-color: rgb(244,244,244) !important;
  isolation: isolate;
}

.woocommerce ul.products li.product a::before,
.woocommerce div.product div.images::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(244,244,244);
  mix-blend-mode: darken;
  pointer-events: none;
  z-index: 2;
}

.woocommerce ul.products li.product a img,
.product-small .box-image img,
.woocommerce div.product div.images img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 5%;
  background-color: rgb(244,244,244);
  display: block;
  position: relative;
  z-index: 3;
  transition: transform .3s ease, box-shadow .3s ease;
  margin: 0 auto;
}

.woocommerce ul.products li.product a:hover img {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

@media (max-width: 768px) {
  .woocommerce ul.products li.product a img,
  .woocommerce div.product div.images img {
    padding: 3.5%;
  }
}

/* Fix product gallery aspect ratio */
.single-product .product-gallery-slider .flickity-viewport {
  height: auto !important;
  aspect-ratio: var(--prod-ratio) !important;
}

.single-product .woocommerce-product-gallery__image.slide {
  height: auto !important;
  aspect-ratio: var(--prod-ratio) !important;
}

/* Double image card effect */
.product-small .box-image { 
  position: relative; 
  overflow: hidden;
  background: rgb(244,244,244) !important;
  aspect-ratio: var(--prod-ratio) !important;
  isolation: isolate;
}

.product-small .box-image::before {
  display: none;
}

.product-small .box-image img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 5%;
  background: transparent;
  will-change: opacity, transform;
  transition: opacity .35s ease, transform .3s ease, box-shadow .3s ease;
}

.product-small .box-image img:not(.back-image) { 
  z-index: 1; 
  opacity: 1; 
  mix-blend-mode: darken; 
}

.product-small .box-image img.back-image { 
  z-index: 2; 
  opacity: 0; 
  mix-blend-mode: darken; 
}

.product-small .box-image:has(img.back-image):hover img.back-image { 
  opacity: 1; 
}

.product-small .box-image:has(img.back-image):hover img:not(.back-image) { 
  opacity: 0; 
  transform: scale(1.02); 
  box-shadow: 0 8px 25px rgba(0,0,0,.08); 
}

@media (max-width: 768px) {
  .product-small .box-image img {
    padding: 3.5%;
  }
}

.product-small { 
  transition: transform .3s ease; 
}

.product-small:hover { 
  transform: translateY(-3px); 
}

/* =========================================
   BUTTONS
   ========================================= */
.button:not(.is-form), .woocommerce a.button:not(.is-form),
.woocommerce button.button:not(.is-form), .woocommerce input.button:not(.is-form),
.button.wc-forward:not(.is-form) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  height: var(--btn-h);
  padding: 0 var(--btn-pad-x);
  border-radius: var(--btn-radius);
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: none;
  line-height: 1;
  box-shadow: var(--btn-shadow);
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}

.button:not(.is-form):hover, .woocommerce a.button:not(.is-form):hover,
.woocommerce button.button:not(.is-form):hover {
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover);
}

.button:not(.is-form):focus-visible {
  outline: 2px solid rgba(0,0,0,.18);
  outline-offset: 2px;
}

.button[disabled], .button.disabled {
  opacity: .5;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

/* Button variants */
.button.primary:not(.is-outline), .button.alt:not(.is-outline), .checkout.button {
  background: #111 !important;
  color: #fff !important;
  border: 1px solid rgba(0,0,0,.85);
}

.button.secondary:not(.is-outline), .button.wc-forward:not(.checkout):not(.is-outline) {
  background: #fff !important;
  color: #111 !important;
  border: 1px solid #ddd !important;
}

.button.secondary:not(.is-outline):hover, .button.wc-forward:not(.checkout):not(.is-outline):hover {
  background: #111 !important;
  color: #fff !important;
  border-color: rgba(0,0,0,.85) !important;
}

/* Add to cart button */
.single-product .single_add_to_cart_button.button.alt {
  --btn-h: 48px;
  --btn-pad-x: 18px;
  background: #111 !important;
  color: #fff !important;
  border: 1px solid rgba(0,0,0,.85);
  box-shadow: 0 10px 30px rgba(0,0,0,.16);
}

/* Stima consegna */
.stima-consegna {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 15px;
  font-size: 12px;
  color: #2C333A;
  line-height: 0.6;
}

.stima-consegna .material-symbols-outlined {
  font-size: 18px;
  line-height: 1;
  flex: 0 0 auto;
}

.stima-consegna .chunk {
  white-space: nowrap;
}

/* Nota consegna entro */
.nota-consegna-entro {
  display: inline-block;
  font-size: 11px;
  opacity: 1;
  background-color: rgb(249,249,249);
  padding: 2px 5px;
  border-radius: 3px;
}

/* WhatsApp */
.whatsapp {
  color: #fafafa !important;
  font-size: 16px;
}

.whatsapp::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #37cc6a;
  border-radius: 50%;
  margin-right: 6px;
}

/* =========================================
   FORMS & INPUTS
   ========================================= */
button[type="submit"], .accordion-title.active, .has-icon-bg .icon .icon-inner,
.logo a, .primary.is-underline, .primary.is-link, .badge-outline .badge-inner,
.nav-outline > li.active > a, .cart-icon strong, [data-color="primary"],
.is-outline.primary, input[type="email"], input[type="search"], input[type="number"],
input[type="url"], input[type="tel"], input[type="text"], [data-icon-label]:after,
.icon-label, select, .select-resize-ghost, .select2-container .select2-choice,
.select2-container .select2-selection, textarea, .has-border {
  border-radius: 10px !important;
}

/* =========================================
   BADGES & LABELS
   ========================================= */
.badge-inner { font-size: 12px; }
.badge-container { margin-top: 5px; }

.badge-frame .badge-inner, .widget .badge-outline .badge-inner {
  background-color: #333;
  border-radius: 10px;
}

.badge-inner.on-sale { background-color: #e7335a !important; }

/* Black Friday badge */
.black-friday-badge {
  background: #ac2324;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 5px;
}

.black-friday-discount { color: #fff; font-size: 11px; font-weight: 900 !important; }

.product-small .box-image { position: relative; }

.product-small .box-image .black-friday-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 20;
}

/* Limited badge */
.poliot-badge-limited {
  display: inline-block;
  margin-left: .2rem;
  padding: .10rem .35rem;
  font-size: .62em;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 999px;
  vertical-align: middle;
  opacity: .9;
  background-color: #dc3247;
  color: #ffffff;
}

/* Cartier badge */
.cartier {
  background-color: #c22026 !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  height: 20px !important;
}

/* =========================================
   PRICING
   ========================================= */
.current-price {
  font-size: 18px !important;
  color: #111;
  letter-spacing: -.3px;
  line-height: 1.3;
}

.old-price, .old-price .amount {
  display: inline !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #232323 !important;
  opacity: .5;
  margin-top: 3px;
  line-height: 1.2;
}

.product-page-price { margin: 0; }

.product-page-price .amount { 
  font-size: 22px;
}

.amount bdi, .woocommerce-Price-amount bdi { 
  font-weight: 500 !important; 
  color: #222222;
}

/* =========================================
   STOCK STATUS
   ========================================= */
.woocommerce .stock.in-stock {
  display: inline-block;
  background: #E8FCEF;
  color: #11923E;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 20px;
  border-radius: 6px;
  line-height: 1.4;
  margin-top: 10px;
}

.woocommerce .stock.available-on-backorder {
  display: inline-block;
  background: #FFF8E1;
  color: #B58900;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 20px;
  border-radius: 6px;
  line-height: 1.4;
  margin-top: 10px;
}

/* =========================================
   INSTALLMENTS & PAYMENT
   ========================================= */
.poliot-installments {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid #eeeeee;
  font-size: 13px;
  color: #444;
}

.poliot-installments-text {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.poliot-installments-amount { font-weight: 600; }

.poliot-installments-logos {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.poliot-installments-logo {
  height: 20px;
  width: auto;
  display: block;
  opacity: 0.9;
  border-radius: 2px;
}

.payment-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(48px, 1fr));
  gap: 10px 5px;
  justify-items: left;
}

.payment-logos img { max-width: 48px; height: auto; display: block; }

/* Nexi payment method */
#payment .payment_methods li.payment_method_xpay label img {
  margin-left: 0 !important;
  transform: none !important;
  max-width: none !important;
  width: auto !important;
  height: 20px !important;
  max-height: 20px !important;
  vertical-align: middle;
  line-height: 0;
}

.payment_method_xpay .wc-xpay-icons img {
  border: 0.5px solid rgba(0,0,0,.2);
  border-radius: 3px;
  background: #fff;
  box-sizing: content-box;
  padding: 0;
  margin: 2px;
  display: inline-block;
}

.payment_method_xpay .nexixpay-loghi-container { display: none !important; }

/* Klarna badge */
klarna-placement[data-key="credit-promotion-badge"]::part(osm-container) {
  padding: 4px 8px;
  border-radius: 8px;
  background: #FAFAFA;
  border: 1px solid #DBDBDB;
  box-shadow: none;
}

klarna-placement[data-key="credit-promotion-badge"]::part(osm-message),
klarna-placement[data-key="credit-promotion-badge"]::part(osm-cta) {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 400;
  color: #333;
}

/* =========================================
   ACCORDION
   ========================================= */
.accordion-title { border: 0; }

.acc-elegant.accordion {
  --acc-bg: #fff;
  --acc-bg-hover: #fafafa;
  --acc-border: #eaeaea;
  --acc-radius: 16px;
  --acc-shadow: 0 6px 24px rgba(0,0,0,.06);
  --acc-title: #111;
  --acc-muted: #555;
  --acc-accent: #111;
  gap: 12px;
}

.acc-elegant.accordion .accordion-item {
  border: 0;
  border-radius: 10px;
  margin-bottom: 10px;
  background: var(--acc-bg);
  box-shadow: var(--acc-shadow);
  overflow: hidden;
}

.acc-elegant.accordion .accordion-title {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.25rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--acc-title);
  line-height: 1.25;
  position: relative;
  transition: background-color .25s ease, color .25s ease;
  font-size: 13px;
}

.acc-elegant.accordion .accordion-title:hover { background: var(--acc-bg-hover); }

.acc-elegant.accordion .accordion-title:focus,
.acc-elegant.accordion .accordion-title:focus-visible {
  outline: 2px solid rgba(0,0,0,.12);
  outline-offset: 2px;
  border-radius: 10px;
}

.acc-elegant.accordion .accordion-title::after {
  content: "";
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--acc-accent);
  border-bottom: 1px solid var(--acc-accent);
  transform: rotate(-45deg);
  transition: transform .25s ease, opacity .25s ease;
  opacity: .85;
}

.acc-elegant.accordion .accordion-title.active::after,
.acc-elegant.accordion .accordion-item.active .accordion-title::after,
.acc-elegant.accordion .accordion-item.is-active .accordion-title::after {
  transform: rotate(135deg);
  opacity: 1;
}

.acc-elegant.accordion .accordion-inner {
  border-top: 1px solid var(--acc-border);
  padding: 1rem 1.25rem 1.25rem;
  color: var(--acc-muted);
  line-height: 1.65;
  background: #fff;
}

@keyframes acc-reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.acc-elegant.accordion .accordion-item.active .accordion-inner,
.acc-elegant.accordion .accordion-item.is-active .accordion-inner,
.acc-elegant.accordion .accordion-title.active + .accordion-inner {
  animation: acc-reveal .28s ease both;
}

.accordion .toggle { display: none; }

/* =========================================
   IMAGE TOOLS (Zoom + Wishlist)
   ========================================= */
.image-tools.absolute.bottom.right {
  display: flex;
  gap: 10px;
  padding: 8px;
  z-index: 30;
}

.image-tools .button.is-outline.circle.icon,
.image-tools .wishlist-button.button.is-outline.circle.icon,
.image-tools .yith-wcwl-add-button .add_to_wishlist {
  --btn-size: 44px;
  position: relative;
  width: var(--btn-size);
  height: var(--btn-size);
  min-width: var(--btn-size);
  min-height: var(--btn-size);
  border-radius: 999px;
  border: 1px solid var(--glass-brd) !important;
  background: var(--glass-bg) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--glass-sh);
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.image-tools .button i, .image-tools .wishlist-button i,
.image-tools .yith-wcwl-add-button .add_to_wishlist svg { display: none !important; }

.image-tools a[aria-label="Zoom"]::before {
  content: "zoom_in";
  font-family: "Material Symbols Outlined";
  font-size: 22px;
  line-height: 1;
  color: #111;
}

.image-tools .wishlist-button::before,
.image-tools .yith-wcwl-add-button .add_to_wishlist::before {
  content: "favorite";
  font-family: "Material Symbols Outlined";
  font-size: 22px;
  line-height: 1;
  color: #111;
  opacity: .85;
}

/* =========================================
   FLICKITY CAROUSEL
   ========================================= */
.flickity-prev-next-button {
  --btn-size: 44px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: var(--btn-size);
  height: var(--btn-size);
  border-radius: 999px;
  border: 1px solid var(--glass-brd);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  box-shadow: var(--glass-sh);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s, opacity .2s;
  z-index: 6;
}

.flickity-prev-next-button.previous { left: 8px; }
.flickity-prev-next-button.next { right: 8px; }
.flickity-prev-next-button svg { display: none !important; }

.flickity-prev-next-button::before {
  font-family: "Material Symbols Outlined";
  font-size: 22px;
  line-height: 1;
  color: #111;
}

.flickity-prev-next-button.previous::before { content: "chevron_left"; }
.flickity-prev-next-button.next::before { content: "chevron_right"; }

/* =========================================
   CART & CHECKOUT
   ========================================= */
.woocommerce table.shop_table td.product-remove,
.woocommerce table.shop_table th.product-remove { width: 44px; }

.woocommerce td.product-remove a.remove,
.woocommerce-mini-cart a.remove {
  --btn-size: 32px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: var(--btn-size);
  height: var(--btn-size);
  border-radius: 999px;
  border: 1px solid var(--glass-brd);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  box-shadow: var(--glass-sh);
  text-decoration: none !important;
  font-size: 0 !important;
  transition: transform .18s, box-shadow .18s, background .18s;
}

.woocommerce td.product-remove a.remove::before {
  content: "close";
  font-family: "Material Symbols Outlined";
  font-size: 18px;
  color: #111;
}

.cart-collaterals .cart-sidebar {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
  padding: 18px 18px 20px;
}

/* Cart totals */
.cart-collaterals .cart_totals > table:first-of-type thead {
  display: none;
}

.cart-collaterals .cart_totals > h2 {
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: .02em;
  margin: 2px 2px 12px;
  color: #111;
  font-weight: 700;
  position: relative;
}

.cart-collaterals .cart_totals > h2::after {
  content: "";
  display: block;
  height: 1px;
  background: #eaeaea;
  margin-top: 10px;
  border-radius: 1px;
}

.cart-collaterals .cart_totals .shop_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.cart-collaterals .cart_totals .shop_table tr {
  border-bottom: 1px solid #f0f0f0;
}

.cart-collaterals .cart_totals .shop_table tr:last-child {
  border-bottom: 0;
}

.cart-collaterals .cart_totals .shop_table th,
.cart-collaterals .cart_totals .shop_table td {
  padding: 12px 2px;
  vertical-align: middle;
}

.cart-collaterals .cart_totals .shop_table th {
  text-align: left;
  color: #222;
  font-weight: 600;
  font-size: 14px;
}

.cart-collaterals .cart_totals .shop_table td {
  text-align: right;
  color: #333;
  font-size: 14px;
}

.cart-collaterals .cart_totals .order-total th,
.cart-collaterals .cart_totals .order-total td {
  padding-top: 14px;
  padding-bottom: 14px;
}

.cart-collaterals .cart_totals .order-total td strong {
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

/* Shipping section */
.shipping__inner {
  padding: 0;
}

.shipping__table {
  width: 100%;
}

.shipping__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shipping__list_item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}

.shipping__list_label {
  font-size: 14px;
  color: #222;
}

.woocommerce-shipping-destination {
  margin-top: 8px;
  font-size: 12px;
  color: #6b6b6b;
}

.shipping-calculator-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
  color: #111;
  padding: 6px 10px;
  border: 1px solid #eaeaea;
  border-radius: 999px;
  background: #fff;
  transition: background .2s, border-color .2s, transform .2s;
}

.shipping-calculator-button:hover {
  background: #f7f7f7;
  transform: translateY(-1px);
}

.shipping-calculator-form {
  margin-top: 10px;
  padding: 10px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
}

.shipping-calculator-form label {
  font-size: 12px;
  color: #555;
}

.shipping-calculator-form .input-text,
.shipping-calculator-form select {
  width: 100%;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
}

.shipping-calculator-form .button {
  width: 100%;
  margin-top: 8px;
}

/* Coupon: input + submit su 2 righe */
.cart-collaterals .ux-cart-coupon {
  margin-top: 18px;
  padding: 14px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
}

.cart-collaterals .ux-cart-coupon .coupon {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
}

.cart-collaterals .ux-cart-coupon .widget-title {
  margin: 0 0 8px 0;
}

#coupon_code {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  width: 100%;
}

.cart-collaterals .ux-cart-coupon .button.is-form.expand,
.cart-collaterals .ux-cart-coupon .coupon .button,
.cart-collaterals .ux-cart-coupon .coupon input[type="submit"] {
  height: 44px;
  width: 100%;
  float: none !important;
}

.cart-collaterals .wc-proceed-to-checkout {
  margin-top: 12px;
}

.cart-collaterals .checkout-button.button {
  width: 100%;
}

/* Free shipping bar */
.ux-free-shipping { margin: 12px 0 14px; }

.ux-free-shipping__notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #11923E;
  background: #E8FCEF;
  border: 1px solid #C9F1D8;
  border-radius: 10px;
}

.ux-free-shipping__notice::before {
  content: "local_shipping";
  font-family: "Material Symbols Outlined";
  font-size: 18px;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.ux-free-shipping__bar {
  position: relative;
  height: 8px;
  background: #F1F1F1;
  border: 1px solid #E9E9E9;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.ux-free-shipping__bar-progress {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2ECC71, #27AE60);
  transition: width .45s ease;
  position: relative;
}

.ux-free-shipping__bar--striped .ux-free-shipping__bar-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.35) 0 8px, rgba(255,255,255,0) 8px 16px);
  animation: stripeMove 3s linear infinite;
  mix-blend-mode: soft-light;
}

.ux-free-shipping__bar-progress::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent);
  pointer-events: none;
}

@keyframes stripeMove {
  from { background-position: 0 0; }
  to { background-position: 60px 0; }
}

.off-canvas-cart .ux-free-shipping {
  margin: 8px 0 10px;
}

.off-canvas-cart .ux-free-shipping__notice {
  font-size: 12px;
  padding: 8px 10px;
}

/* Widget title with icon */
h3.widget-title:has(.icon-tag) {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #111;
  margin: 1.25rem 0 .75rem;
  line-height: 1.25;
  position: relative;
}

h3.widget-title .icon-tag {
  display: none !important;
}

h3.widget-title:has(.icon-tag)::before {
  content: "sell";
  font-family: "Material Symbols Outlined";
  font-size: 1.15em;
  line-height: 1;
  color: #111;
  opacity: .9;
}

h3.widget-title:has(.icon-tag)::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: #eaeaea;
  margin-left: .5rem;
  opacity: .9;
}

/* PSP containers spacing */
.cart-collaterals .woocommerce-pay-buttons,
#wc-stripe-express-checkout-element,
.ppcp-messages,
#klarna-identity-button,
#alma-payment-plans {
  margin-top: 10px;
}

#alma-payment-plans {
  margin: 12px 0 6px;
  padding: 10px 12px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
}

#alma-payment-plans [class*="alma-payment-plans"] {
  font-family: inherit;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  padding-top: 80px;
  padding-bottom: 80px;
}

.footer a { color: #a2a3a8; }
.footer a:hover { color: #fff !important; }

.footer .social-icons.follow-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  padding: 6px 0;
}

.footer .social-icons.follow-icons a.icon.button.circle {
  --s: 42px;
  width: var(--s);
  height: var(--s);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
  color: #fff !important;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.footer .social-icons.follow-icons a.icon.button.circle:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.26);
}

/* =========================================
   BRANDS / MARCHI
   ========================================= */
.marchi-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.megamenu-marchi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px 18px;
  padding: 12px 8px;
}

.marchio-box {
  text-align: center;
  background: #fff;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #eee;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.marchio-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  border-color: #e5e5e5;
}

.marchi-container .logo-wrapper,
.megamenu-marchi .logo-wrapper {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #fff;
  border-radius: 10px;
  padding: 0;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  box-shadow: none;
  height: 60px;
  width: 120px;
}

.marchi-container .logo-wrapper img,
.megamenu-marchi .logo-wrapper img {
  max-width: 85%;
  max-height: 70px;
  object-fit: contain;
  filter: saturate(0.9) contrast(1.05);
}

/* Brand index A-Z */
.marchi-index {
  display: grid !important;
  grid-template-columns: repeat(13, minmax(36px, 1fr));
  gap: 8px;
  align-items: stretch;
  margin: 0 0 18px;
}

.marchi-index > a, .marchi-index > span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #e1e1e1;
  background: #fff;
  color: #222;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

/* =========================================
   UPSELL PRODUCTS & GIFT KITS
   ========================================= */

/* Base upsell styles */
.poliot-upsell-inline,
.poliot-upsell-minicart-wrap,
.poliot-upsell-cart-wrap,
.poliot-upsell-checkout-wrap {
  font-size: 14px;
  line-height: 1.4;
  color: #222;
}

/* Pill generica per lo spray (mini-cart / cart / checkout) */
.poliot-upsell-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  color: #333;
  line-height: 1.35;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.poliot-upsell-pill:hover {
  border-color: #d0d0d0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.poliot-upsell-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e2e2ea;
  margin-top: 2px;
}

.poliot-upsell-icon .material-symbols-outlined {
  font-size: 18px;
  font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 20;
  color: #111;
  line-height: 1;
}

.poliot-upsell-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin: 0;
}

.poliot-upsell-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  margin: 0;
  flex-shrink: 0;
  margin-top: 3px;
}

.poliot-upsell-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.poliot-upsell-header {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.poliot-upsell-title {
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.poliot-upsell-price {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  margin-left: auto;
  color: #111;
}

.poliot-upsell-hint {
  font-size: 12px;
  color: #777;
  font-weight: 400;
}

/* PDP — BOX REGALO */
.poliot-upsell-inline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 12px;
  padding: 10px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

/* Titolo "Box regalo" */
.poliot-upsell-legend {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
  padding-bottom: 0;
  border-bottom: 0;
}

.poliot-upsell-subtitle {
  font-size: 12px;
  color: #666;
  margin: 0 0 4px;
}

/* Riga gift (Shopper / Christmas box) */
.poliot-gift-row {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

/* Immagine a sinistra */
.poliot-gift-media {
  flex: 0 0 auto;
}

.poliot-kit-image-trigger {
  border: none;
  background: none;
  padding: 0;
  cursor: zoom-in;
  display: block;
}

.poliot-kit-thumb {
  display: block;
  width: 74px;
  max-width: 74px;
  height: auto;
  border-radius: 8px;
  border: 1px solid #ececec;
  background: #fff;
}

/* Label con radio + testo a destra */
.poliot-gift-label {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  width: 100%;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: border-color .15s ease, background .15s ease;
}

.poliot-gift-label:hover {
  background: #fafafa;
  border-color: #e2e2e2;
}

/* Radio */
.poliot-gift-label input[type="radio"] {
  margin-top: 2px;
  flex-shrink: 0;
}

/* Testo */
.poliot-gift-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.poliot-gift-header {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.poliot-gift-title {
  font-size: 14px;
  font-weight: 600;
}

.poliot-gift-price {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  margin-left: auto;
}

.poliot-gift-hint {
  font-size: 12px;
  color: #777;
}

/* Evidenzia la scelta selezionata */
.poliot-gift-label input[type="radio"]:checked + .poliot-gift-text .poliot-gift-title,
.poliot-gift-label input[type="radio"]:checked + .poliot-gift-text .poliot-gift-price {
  font-weight: 700;
}

/* MINI-CART / CARRELLO / CHECKOUT (SPRAY) */
.poliot-upsell-minicart-wrap,
.poliot-upsell-cart-wrap,
.poliot-upsell-checkout-wrap {
  margin: 10px 0;
}

.poliot-upsell-minicart-wrap .poliot-upsell-pill,
.poliot-upsell-cart-wrap .poliot-upsell-pill,
.poliot-upsell-checkout-wrap .poliot-upsell-pill {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.poliot-upsell-minicart-wrap .poliot-upsell-label,
.poliot-upsell-cart-wrap .poliot-upsell-label,
.poliot-upsell-checkout-wrap .poliot-upsell-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

/* LIGHTBOX IMMAGINI BOX */
.poliot-kit-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.poliot-kit-lightbox.is-visible {
  display: flex;
}

.poliot-kit-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.poliot-kit-lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  margin: 0;
  z-index: 1;
}

.poliot-kit-lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  border-radius: 10px;
  background: #fff;
}

.poliot-kit-lightbox__close {
  display: none !important;
}

/* RITOCCO PER FLATSOME */
.woocommerce div.product .poliot-upsell-inline {
  margin-top: 10px;
}

.woocommerce div.product form.cart .poliot-upsell-inline {
  margin-bottom: 10px;
}

/* Mobile: thumbnail un po' più piccola */
@media (max-width: 480px) {
  .poliot-kit-thumb {
    width: 60px;
    max-width: 60px;
  }

  .poliot-upsell-inline {
    margin-top: 12px;
    margin-bottom: 10px;
  }
  
  .woocommerce ul.products li.product a img,
  .woocommerce div.product div.images img,
  .product-small .box-image img {
    padding: 3.5% !important;
  }
}

/* =========================================
   MISC COMPONENTS
   ========================================= */
.product-short-description { font-size: 14px !important; }

.entry-title {
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0;
}

.row-small > .col { padding: 0 5px 5px; }
.ux-menu-link__link { font-size: 14px; line-height: 1.2; }
.flatsome-cookies__text { font-size: 12px; }

/* Gift menu link */
a.nav-top-link[href*="regali-di-natale"] {
  color: #c8102e;
  font-weight: 600;
}

/* =========================================
   TOPBAR
   ========================================= */
.poli-topbar {
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.poli-topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.poli-topbar-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  cursor: default;
  padding: 8px 5px;
  border-radius: 8px;
}

.poli-topbar-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

.poli-topbar-item .material-symbols-outlined {
  font-size: 16px;
  transition: all 0.3s ease;
}

.poli-topbar-item:hover .material-symbols-outlined {
  transform: scale(1.15) rotate(5deg);
}

/* =========================================
   ACCOUNT PAGE
   ========================================= */
.poli-account { max-width: 1100px; }

.poli-hero {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border-radius: 16px;
  background: rgba(0,0,0,.03);
}

.poli-grid {
  display: grid;
  gap: 14px;
  margin: 18px 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.poli-card {
  display: block;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease;
}

.poli-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-page {
  max-width: 1150px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  color: #111;
}

.contact-page .contact-hero h1 {
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 800;
  margin: 0 0 10px;
}

.contact-page .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-page .contact-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

/* Map embed */
.map-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  margin-top: 10px;
}

.map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================
   TRACKING FORM
   ========================================= */
.container-tracking {
  max-width: 700px;
  margin: 60px auto;
  padding: 40px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.container-tracking h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* =========================================
   PRODUCT DETAILS TABLE & ORDER TABLE
   ========================================= */
.tabella-dettagli-boxed {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
  margin: 25px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.tabella-dettagli-boxed .tabella-dettagli-prodotto {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 13px;
  color: #2a2a2a;
}

.tabella-dettagli-boxed .tabella-dettagli-prodotto th,
.tabella-dettagli-boxed .tabella-dettagli-prodotto td {
  padding: 10px;
  border-bottom: 1px solid #e6e6e6;
  text-align: left;
  vertical-align: middle;
}

.tabella-dettagli-boxed .tabella-dettagli-prodotto th {
  width: 35%;
  font-weight: 600;
  color: #111;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.tabella-dettagli-boxed .tabella-dettagli-prodotto td {
  color: #555;
}

.tabella-dettagli-boxed .tabella-dettagli-prodotto tr:last-child th,
.tabella-dettagli-boxed .tabella-dettagli-prodotto tr:last-child td {
  border-bottom: none;
}

.misure-container {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  margin-top: 5px;
}

.misura {
  text-align: center;
  font-size: 13px;
  color: #333;
}

.misura img {
  display: block;
  width: 40px;
  height: auto;
  margin: 0 auto 6px;
  opacity: .6;
  transition: opacity .2s;
}

.misura img:hover {
  opacity: .9;
}

.tabella-dettagli-boxed .nota-packaging {
  margin-top: 15px;
  font-size: 12px;
  color: #444;
  line-height: 1.5;
  font-style: italic;
}

/* Order table */
.tabella-ordine {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
  color: #2a2a2a;
}

.tabella-ordine td {
  width: 50%;
  padding: 20px;
  vertical-align: top;
  border: 1px solid #eee;
}

.tabella-ordine .status {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
  color: #37cc6a;
}

.tabella-ordine .colonna-contatti {
  text-align: left;
  background: #000;
  color: #fff;
}

.tabella-ordine .nota {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  line-height: 1.4 !important;
  color: #fff;
  text-align: left;
  font-size: 1em !important;
}

.tabella-ordine .nota::before {
  content: url("https://www.poliottica.com/wp-content/uploads/2025/10/contact.svg");
  display: inline-block;
  width: 20px;
  height: auto;
}

.tabella-ordine .btn-whatsapp {
  display: block;
  text-align: center;
  padding: 12px 20px;
  background: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  transition: all .2s;
}

.tabella-ordine .btn-whatsapp:hover {
  background: #25D366;
  color: #fff;
}

.tabella-ordine .colonna-contatti .subtext {
  margin-top: 15px;
  font-size: 13px;
  color: #ccc;
  text-align: center;
}

/* =========================================
   BRAND BADGE
   ========================================= */
.wc-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  line-height: 1;
}

.wc-brand-badge__icon-svg {
  width: 18px;
  height: 18px;
  color: #1a73e8;
}

.wc-brand-badge__text {
  white-space: nowrap;
  font-weight: 400;
  color: #202124;
}

.wc-brand-badge__name {
  font-weight: 800;
}

.wc-brand-badge__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 30px;
  overflow: hidden;
  background: #ffffff;
  border-radius: 6px;
  padding: 2px 6px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.04);
}

.wc-brand-badge__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* =========================================
   BRAND ARCHIVE (single brand page)
   ========================================= */
.brand-archive .brand-header {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--p-gap);
  align-items: center;
  margin-bottom: 30px;
}

.brand-archive .brand-logo {
  background: var(--p-bg);
  border-radius: var(--p-radius);
  box-shadow: 0 10px 30px var(--p-soft);
  padding: 18px;
  display: grid;
  place-items: center;
  height: 140px;
}

.brand-archive .brand-logo img {
  max-width: 90%;
  max-height: 90px;
  object-fit: contain;
}

.brand-archive .brand-description p {
  margin: 0 0 8px;
  color: var(--p-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* =========================================
   POLARIZED CARD
   ========================================= */
.po-polarized-card {
  padding: 6px 18px !important;
  border-radius: 15px;
}

.po-polarized-title { font-size: 13px; }
.po-polarized-tooltip { margin: 0; }
.po-polarized-price-inline { margin: 0; font-size: 13px; }

/* =========================================
   VISTA QUOTE (Pay in 3)
   ========================================= */
.vista-quote-wrap { margin: 14px 0 8px; }

.vista-cta-btn {
  width: 100%;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid #d6d6d6;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.vista-cta-btn:hover { border-color: #bdbdbd; }

.vista-cta-icon {
  flex: 0 0 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.vista-cta-texts {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 2px;
  line-height: 1.25;
  flex: 1;
}

.vista-cta-line1 {
  font-weight: 900;
  font-size: 14px;
  text-transform: none;
}

.vista-cta-line2 {
  font-size: 11px;
  color: #4b5563;
  text-transform: none;
  font-weight: 400;
}

/* =========================================
   RESPONSIVE BREAKPOINTS
   ========================================= */
@media (max-width: 1200px) {
  .marchi-container { gap: 18px; }
}

@media (max-width: 900px) {
  .poli-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-page .contact-grid { grid-template-columns: 1fr; }
  .poli-support { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .current-price { font-size: 24px; }
  .old-price { font-size: 10px; }
  
  .marchi-container {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
  }
  
  .product-gallery-slider .flickity-prev-next-button { --btn-size: 48px; }
  .woocommerce table.shop_table td.product-remove { width: 40px; }
  
  .single-product .single_add_to_cart_button.button.alt {
    width: 100%;
    justify-content: center;
    --btn-h: 52px;
  }
  
  .container-tracking {
    padding: 25px 18px;
    margin: 30px auto;
  }
  
  .container-tracking h2 { font-size: 1.4rem; }
  
  .cart-collaterals .cart-sidebar {
    padding: 14px;
    border-radius: 12px;
  }
  
  .cart-collaterals .cart_totals > h2 {
    font-size: 15px;
  }
  
  .cart-collaterals .cart_totals .shop_table th,
  .cart-collaterals .cart_totals .shop_table td {
    font-size: 13px;
  }
  
  .tabella-dettagli-boxed .tabella-dettagli-prodotto th,
  .tabella-dettagli-boxed .tabella-dettagli-prodotto td {
    display: block;
    width: 100%;
    text-align: left;
  }
  
  .tabella-ordine, .tabella-ordine tr, .tabella-ordine td {
    display: block;
    width: 100%;
    text-align: left;
  }
  
  .tabella-ordine .colonna-info {
    margin-bottom: 20px;
  }
  
  .tabella-ordine .colonna-contatti {
    text-align: left;
    padding: 30px 20px;
  }
  
  .poli-topbar-inner {
    gap: 2px;
  }
  
  .poli-topbar-item {
    font-size: 12px;
    padding: 6px 12px;
    gap: 2px;
  }
  
  .poli-topbar-item .material-symbols-outlined {
    font-size: 18px;
  }
  
  .brand-archive .brand-header {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .marchi-index {
    display: flex !important;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  
  .footer .social-icons.follow-icons a.icon.button.circle { --s: 46px; }
}

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

@media (max-width: 480px) {
  .poliot-installments {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .poliot-installments-logo { height: 15px; }
  
  .marchi-container {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  
  .poli-topbar-inner {
    flex-direction: column;
    gap: 2px;
  }
  
  .poli-topbar-item {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================
   ACCESSIBILITY & ANIMATIONS
   ========================================= */
a:focus {
  outline: 2px dashed rgba(17,24,39,.3);
  outline-offset: 3px;
}

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

/* =========================================
   PRINT STYLES
   ========================================= */
@media print {
  .footer, .poli-topbar, .image-tools, .flickity-prev-next-button { display: none !important; }
}