/**
 * Discomane UI refresh — buttons + equal-height cards
 * Staging only look & feel; no content changes.
 */

:root {
  --disco-brand: #c4473f;
  --disco-brand-soft: #e07a6a;
  --disco-brand-deep: #a8362f;
  --disco-ink: #1f2a37;
  --disco-muted: #6b7280;
  --disco-line: #e8e4df;
  --disco-radius: 14px;
  --disco-radius-sm: 10px;
  --disco-radius-pill: 999px;
}

/* ── Remove Viva “vertical lines” frame background ── */
#wrapper.vertical-lines,
#wrapper {
  background-image: none !important;
}

/* Footer bar baseline (detailed styles below) */
.footer-bar {
  border-bottom: 0 !important;
  border-top: 0 !important;
}

.tb-border-design .topbar-phone,
.tb-border-design .topbar-email,
.tb-border-design .topbar-opening-hours,
.tb-border-design .topbar-socials a,
.tb-border-design .topbar-extra-content,
.tb-border-design .topbar-right-content,
.tb-border-design .topbar-left-content,
.topbar #menu-topbar-menu li,
.navbar-topbar li {
  border-left: 0 !important;
  border-right: 0 !important;
}

/* ── Navbar: light frosted gradient (keeps transparency, improves menu contrast) ── */
.transparent-navigation .navbar.navbar-default:not(.navbar-shrink),
.transparent-navigation .navbar.navbar-default:not(.navbar-shrink) .topbar,
.transparent-navigation .navbar.navbar-default:not(.navbar-shrink) .menubar {
  background-color: transparent !important;
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.55) 48%,
    rgba(255, 255, 255, 0.22) 82%,
    rgba(255, 255, 255, 0) 100%
  ) !important;
  -webkit-backdrop-filter: saturate(1.05) blur(10px);
  backdrop-filter: saturate(1.05) blur(10px);
}

/* Avoid stacking the same gradient on nested bars — one wash on the nav shell */
.transparent-navigation .navbar.navbar-default:not(.navbar-shrink) .topbar,
.transparent-navigation .navbar.navbar-default:not(.navbar-shrink) .menubar {
  background-image: none !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.transparent-navigation .navbar.navbar-default:not(.navbar-shrink) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 28px rgba(31, 42, 55, 0.06);
}

.transparent-navigation .navbar.navbar-default:not(.navbar-shrink) .navbar-nav > li > a,
.transparent-navigation .navbar.navbar-default:not(.navbar-shrink) .nav li a {
  color: var(--disco-ink) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.transparent-navigation .navbar.navbar-default:not(.navbar-shrink) .navbar-toggle .icon-bar,
.transparent-navigation .navbar.navbar-default:not(.navbar-shrink) .navbar-toggle .icon-bar:before,
.transparent-navigation .navbar.navbar-default:not(.navbar-shrink) .navbar-toggle .icon-bar:after {
  background-color: var(--disco-ink) !important;
}

/*
 * Menu hover: Viva fades siblings to opacity .3 (hard to read).
 * Prefer color + animated underline; soft sibling dim only.
 */
.navbar-default .nav > li > a,
.navbar.navbar-default .menubar .navbar-nav > li > a {
  position: relative;
  opacity: 1 !important;
  font-weight: 400;
  transition:
    color 0.22s ease,
    opacity 0.22s ease,
    font-weight 0.22s ease,
    text-shadow 0.22s ease !important;
}

.navbar-default .nav:hover > li > a,
.navbar.navbar-default .menubar .navbar-nav:hover > li > a {
  opacity: 0.78 !important;
}

.navbar-default .nav:hover > li:hover > a,
.navbar-default .nav:hover > li > a:hover,
.navbar-default .nav > li.current-menu-item > a,
.navbar-default .nav > li.current-menu-ancestor > a,
.navbar.navbar-default .menubar .navbar-nav:hover > li:hover > a,
.navbar.navbar-default .menubar .navbar-nav:hover > li > a:hover,
.navbar.navbar-default .menubar .navbar-nav > li.current-menu-item > a,
.navbar.navbar-default .menubar .navbar-nav > li.current-menu-ancestor > a {
  opacity: 1 !important;
  color: #141c26 !important; /* testo più scuro in hover */
  font-weight: 600 !important; /* un po’ più pesante, non grassetto pieno */
}

/* Theme marks /#anchor custom links as .active on home — ignore that */
.navbar-default .nav > li.menu-item-object-custom.menu-item-home:not(.current-menu-item) > a,
.navbar.navbar-default .menubar .navbar-nav > li.menu-item-object-custom.menu-item-home:not(.current-menu-item) > a {
  color: var(--disco-ink) !important;
  font-weight: 400 !important;
}

/* Keep dropdown links fully readable (theme was fading them too) */
.navbar-default .nav .dropdown-menu li a,
.navbar.navbar-default .menubar .navbar-nav .dropdown-menu li a {
  opacity: 1 !important;
}

/* ::after is used by Viva for dropdown caret — underline uses ::before */
.navbar-default .nav > li > a::before,
.navbar.navbar-default .menubar .navbar-nav > li > a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--disco-brand);
  transform: translateX(-50%);
  transition: width 0.22s ease;
  pointer-events: none;
}

.navbar-default .nav > li:hover > a::before,
.navbar-default .nav > li > a:hover::before,
.navbar-default .nav > li.current-menu-item > a::before,
.navbar-default .nav > li.current-menu-ancestor > a::before,
.navbar.navbar-default .menubar .navbar-nav > li:hover > a::before,
.navbar.navbar-default .menubar .navbar-nav > li > a:hover::before,
.navbar.navbar-default .menubar .navbar-nav > li.current-menu-item > a::before,
.navbar.navbar-default .menubar .navbar-nav > li.current-menu-ancestor > a::before {
  width: calc(100% - 20px);
}

.navbar-default .nav > li.menu-item-object-custom.menu-item-home:not(.current-menu-item) > a::before,
.navbar.navbar-default .menubar .navbar-nav > li.menu-item-object-custom.menu-item-home:not(.current-menu-item) > a::before {
  width: 0 !important;
}

@media (max-width: 1024px) {
  .navbar-default .nav:hover > li > a,
  .navbar.navbar-default .menubar .navbar-nav:hover > li > a {
    opacity: 1 !important;
  }

  .navbar-default .nav > li > a::before,
  .navbar.navbar-default .menubar .navbar-nav > li > a::before {
    display: none;
  }
}

/* ── Buttons: softer radius + lighter gradients ── */
.tt_button,
.tt_button.tt_primary_button,
.tt_button.btn_gradient_color,
.tt_button.btn_primary_color,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.single_add_to_cart_button,
a.add_to_cart_button,
.wp-block-button__link,
.wpcf7 .wpcf7-submit,
#commentform #submit {
  border-radius: var(--disco-radius-pill) !important;
  border: 0 !important;
  box-shadow: 0 6px 18px rgba(196, 71, 63, 0.22) !important;
  background-image: linear-gradient(135deg, var(--disco-brand-soft) 0%, var(--disco-brand) 55%, var(--disco-brand-deep) 100%) !important;
  background-color: var(--disco-brand) !important;
  color: #fff !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
  height: auto !important;
  min-height: 48px !important;
  line-height: 1.25 !important;
  padding: 12px 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

/*
 * Viva btn-hover-1 duplicates label via ::after { content: attr(data-text) }
 * positioned below; it must stay clipped. Do NOT use overflow:visible on .tt_button.
 */
.btn-hover-1 .tt_button,
.btn-hover-1 .tt_button.tt_primary_button,
.btn-hover-1 .tt_button.btn_gradient_color,
.btn-hover-1 .tt_button.btn_primary_color,
.btn-hover-1 .tt_button.tt_secondary_button,
.btn-hover-1 .tt_button.btn_secondary_color {
  overflow: hidden !important;
  white-space: nowrap !important;
  position: relative !important;
}

/* Woo / form buttons: allow wrapping; no data-text slide duplicate */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.single_add_to_cart_button,
a.add_to_cart_button,
.wp-block-button__link,
.wpcf7 .wpcf7-submit,
#commentform #submit {
  overflow: visible !important;
  white-space: normal !important;
}

.tt_button:hover,
.tt_button.tt_primary_button:hover,
.tt_button.btn_gradient_color:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,
a.add_to_cart_button:hover,
.wpcf7 .wpcf7-submit:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(196, 71, 63, 0.28) !important;
  color: #fff !important;
}

/* Secondary / outline buttons */
.tt_button.tt_secondary_button,
.tt_button.btn_secondary_color {
  border-radius: var(--disco-radius-pill) !important;
  background-image: none !important;
  background-color: #fff !important;
  color: var(--disco-brand-deep) !important;
  border: 1.5px solid rgba(168, 54, 47, 0.35) !important;
  box-shadow: none !important;
}

.tt_button.tt_secondary_button:hover,
.tt_button.btn_secondary_color:hover {
  background-color: #fff7f5 !important;
  border-color: var(--disco-brand) !important;
  color: var(--disco-brand-deep) !important;
  filter: none;
}

/* reverse_gradient: keep light → brand, never muddy dark */
.tt_button.btn_gradient_color.reverse_gradient {
  background-image: linear-gradient(135deg, #f3b8a8 0%, var(--disco-brand-soft) 40%, var(--disco-brand) 100%) !important;
}

/* Button icons (hero / shop / sale / cart) */
.disco-btn-icon,
.disco-btn-icon.fas,
.disco-btn-icon.fa {
  display: inline-block !important;
  margin: 0 0.4em 0 0 !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-size: 0.95em !important;
  line-height: 1 !important;
  vertical-align: -0.08em;
  color: inherit !important;
  width: auto !important;
  height: auto !important;
  -webkit-font-smoothing: antialiased;
  speak: never;
}

.tt_button.disco-btn-has-icon .prim_text,
a.add_to_cart_button.disco-btn-has-icon,
button.single_add_to_cart_button.disco-btn-has-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0;
}

.tt_button.tt_secondary_button .disco-btn-icon,
.tt_button.btn_secondary_color .disco-btn-icon {
  color: inherit !important;
}

a.add_to_cart_button .disco-btn-icon,
button.single_add_to_cart_button .disco-btn-icon {
  margin-right: 0.45em !important;
  flex: 0 0 auto;
}

/* ── Product grid: equal height cards (CSS grid) ── */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 30px;
  align-items: stretch !important;
}

.woocommerce ul.products.columns-1,
.woocommerce-page ul.products.columns-1 {
  grid-template-columns: minmax(0, 1fr);
}

.woocommerce ul.products.columns-2,
.woocommerce-page ul.products.columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.woocommerce ul.products.columns-3,
.woocommerce-page ul.products.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.woocommerce ul.products.columns-4,
.woocommerce-page ul.products.columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.woocommerce ul.products.columns-5,
.woocommerce-page ul.products.columns-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.woocommerce ul.products.columns-6,
.woocommerce-page ul.products.columns-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none !important;
  content: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  height: auto !important;
  min-height: 100% !important;
  max-height: none !important; /* theme max-content blocks equal-height stretch */
  align-self: stretch !important;
  border: 1px solid var(--disco-line) !important;
  border-radius: var(--disco-radius) !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(31, 42, 55, 0.04);
  transition: box-shadow .2s ease, transform .2s ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  box-shadow: 0 12px 28px rgba(31, 42, 55, 0.1);
  transform: translateY(-2px);
}

.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product .woo-entry-image {
  display: block;
  width: 100%;
}

.woocommerce ul.products li.product .woo-entry-image img,
.woocommerce ul.products li.product img.attachment-woocommerce_thumbnail {
  border-radius: 0 !important;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f7f5f2;
}

.woocommerce ul.products li.product .woo-entry-wrapper {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  padding: 16px 16px 18px !important;
  gap: 10px;
  text-align: left !important;
  min-height: 0;
  width: 100%;
  box-sizing: border-box;
}

/* Keep image + content stacked; content fills remaining card height */
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link {
  flex: 0 0 auto;
}

.woocommerce ul.products li.product .woo-entry-wrapper > a.woocommerce-LoopProduct-link {
  flex: 0 0 auto;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  color: var(--disco-ink) !important;
  font-weight: 700 !important;
  /* keep title block height stable across cards */
  min-height: 4.05em; /* ~3 lines */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.woocommerce ul.products li.product .price {
  margin: auto 0 0 !important;
  padding: 0 !important;
  display: block !important;
  width: 100% !important;
  text-align: left !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--disco-brand-deep) !important;
  line-height: 1.3 !important;
}

.woocommerce ul.products li.product .price del {
  color: var(--disco-muted) !important;
  opacity: .75;
  font-weight: 500;
  margin-right: 6px;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none !important;
  background: none !important;
}

.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product a.add_to_cart_button {
  margin-top: 4px !important;
  align-self: stretch !important;
  text-align: center !important;
  width: 100% !important;
  min-height: 48px !important;
  height: auto !important;
  padding: 12px 16px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .02em;
  line-height: 1.25 !important;
  overflow: visible !important;
  white-space: normal !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Kill theme overlay/ripple that sits on top of the label */
.woocommerce ul.products li.product a.button::before,
.woocommerce ul.products li.product a.button::after,
.woocommerce ul.products li.product a.add_to_cart_button::before,
.woocommerce ul.products li.product a.add_to_cart_button::after {
  display: none !important;
}

/* ── Single product: qty + add-to-cart as one aligned row ── */
.woocommerce div.product form.cart {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
}

.woocommerce div.product form.cart::before,
.woocommerce div.product form.cart::after {
  display: none !important;
  content: none !important;
}

/* Hide qty wrapper when only a hidden input (stock=1 cases) */
.woocommerce div.product form.cart div.quantity:has(input[type="hidden"]):not(:has(input:not([type="hidden"]))) {
  display: none !important;
}

.woocommerce div.product form.cart .button,
.woocommerce div.product-type-simple form.cart .button,
.woocommerce div.product-type-variable form.cart .button,
.woocommerce div.product form.cart button.single_add_to_cart_button,
.woocommerce div.product form.cart button.single_add_to_cart_button.button {
  float: none !important;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: var(--disco-radius-pill) !important;
  border-top-left-radius: var(--disco-radius-pill) !important;
  border-bottom-left-radius: var(--disco-radius-pill) !important;
  border-top-right-radius: var(--disco-radius-pill) !important;
  border-bottom-right-radius: var(--disco-radius-pill) !important;
  padding: 14px 28px !important;
  min-height: 48px !important;
  height: auto !important;
  line-height: 1.25 !important;
  overflow: visible !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
}

/* Visible quantity field: rounded box, same height as button */
.woocommerce div.product form.cart div.quantity {
  float: none !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: stretch !important;
}

.woocommerce div.product form.cart div.quantity .qty,
.woocommerce div.product-type-simple form.cart div.quantity .qty,
.woocommerce #content div.product form.cart div.quantity .qty,
.single-product.woocommerce .product-type-simple .summary .quantity .qty,
.single-product.woocommerce .product-type-variable .summary .quantity .qty,
.woocommerce #wrapper .quantity .qty {
  border-radius: var(--disco-radius-sm) !important;
  border-top-left-radius: var(--disco-radius-sm) !important;
  border-top-right-radius: var(--disco-radius-sm) !important;
  border-bottom-left-radius: var(--disco-radius-sm) !important;
  border-bottom-right-radius: var(--disco-radius-sm) !important;
  border: 1px solid var(--disco-line) !important;
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 12px !important;
  width: 72px !important;
  text-align: center !important;
  box-sizing: border-box !important;
  background: #fff !important;
}

/* ── Category cards: equal height + tidy titles ── */
.woocommerce ul.products li.product-category,
.woocommerce-page ul.products li.product-category {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: 100% !important;
  max-height: none !important;
  border-radius: var(--disco-radius) !important;
  overflow: hidden !important;
  border: 1px solid var(--disco-line) !important;
  background: #fff !important;
}

.woocommerce ul.products li.product-category > a {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  text-decoration: none !important;
}

.woocommerce ul.products li.product-category img {
  width: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 !important;
  background: #f7f5f2;
}

.woocommerce ul.products li.product-category h2.woocommerce-loop-category__title,
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 18px 16px !important;
  min-height: 5.2em !important;
  width: 100% !important;
  max-width: 100% !important;
  border-top: 1px solid var(--disco-line) !important;
  background: #fff !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: var(--disco-ink) !important;
  flex: 1 1 auto;
}

.woocommerce ul.products li.product-category h2 mark.count {
  display: none !important; /* counts clutter equal-height titles */
}

/* Shop / archive same treatment */
.tax-product_cat ul.products li.product,
.post-type-archive-product ul.products li.product {
  /* inherited from rules above */
}

/* Sale badge: Italian label + centered pill + soft float */
@keyframes disco-onsale-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale,
.woocommerce-page ul.products li.product .onsale,
.single-product.woocommerce span.onsale,
.single-product.woocommerce .product-inner-content span.onsale {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.2em;
  min-height: 0 !important;
  height: auto !important;
  line-height: 1 !important;
  padding: 8px 12px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: var(--disco-radius-pill) !important;
  background: linear-gradient(135deg, #f0a090 0%, var(--disco-brand) 55%, var(--disco-brand-deep) 100%) !important;
  background-color: var(--disco-brand) !important;
  box-shadow: 0 6px 16px rgba(196, 71, 63, 0.28) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  text-align: center !important;
  text-shadow: none !important;
  white-space: nowrap !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: disco-onsale-float 3.2s ease-in-out infinite;
  will-change: transform;
  z-index: 5;
}

.woocommerce span.onsale::before,
.woocommerce span.onsale::after,
.woocommerce ul.products li.product .onsale::before,
.woocommerce ul.products li.product .onsale::after {
  content: none !important;
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .woocommerce span.onsale,
  .woocommerce ul.products li.product .onsale {
    animation: none !important;
  }
}

/* Low-stock chip: Solo 1/2 Disponibile (qty < 3), bounce, not clickable */
@keyframes disco-low-stock-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(-5px);
  }
  40% {
    transform: translateY(0);
  }
  55% {
    transform: translateY(-3px);
  }
  70% {
    transform: translateY(0);
  }
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products li.product .woo-entry-wrapper,
.single-product div.product,
.single-product .product-inner-content,
.single-product .woocommerce-product-gallery {
  position: relative;
}

.disco-low-stock-chip {
  z-index: 6;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 7px 12px !important;
  border-radius: var(--disco-radius-pill) !important;
  background: linear-gradient(135deg, #2a3340 0%, #1a222c 100%) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  line-height: 1.2 !important;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(26, 34, 44, 0.28);
  pointer-events: none !important;
  user-select: none;
  cursor: default !important;
  animation: disco-low-stock-bounce 1.8s ease-in-out infinite;
  will-change: transform;
}

.disco-low-stock-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #f0c14b;
  box-shadow: 0 0 0 3px rgba(240, 193, 75, 0.28);
  flex: 0 0 auto;
}

/* Shop / related cards: chip in normal flow above the title */
.woocommerce ul.products li.product .disco-low-stock-chip,
.woocommerce-page ul.products li.product .disco-low-stock-chip {
  position: static !important;
  top: auto !important;
  left: auto !important;
  align-self: flex-start;
  margin: 0 0 2px !important;
  max-width: 100%;
  order: -1; /* keep above title if wrappers reorder */
}

/* Single product: overlay chip on gallery image */
.single-product div.product > .disco-low-stock-chip,
.single-product .woocommerce-product-gallery .disco-low-stock-chip,
.woocommerce-product-gallery .disco-low-stock-chip {
  position: absolute !important;
  top: 18px;
  left: 18px;
  max-width: calc(100% - 32px);
}

.single-product div.product > .disco-low-stock-chip {
  top: 24px;
  left: 24px;
}

@media (prefers-reduced-motion: reduce) {
  .disco-low-stock-chip {
    animation: none !important;
  }
}

@media (max-width: 767px) {
  .woocommerce ul.products li.product .disco-low-stock-chip,
  .woocommerce-page ul.products li.product .disco-low-stock-chip {
    font-size: 10px !important;
    padding: 6px 10px !important;
  }

  .single-product div.product > .disco-low-stock-chip,
  .single-product .woocommerce-product-gallery .disco-low-stock-chip,
  .woocommerce-product-gallery .disco-low-stock-chip {
    top: 10px;
    left: 10px;
    font-size: 10px !important;
    padding: 6px 10px !important;
  }
}

/* Single product summary: chip above price, then cart row */
.single-product div.product .summary.entry-summary {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.single-product div.product .summary > .product_title {
  order: 1;
  width: 100%;
}

.single-product div.product .summary > .woocommerce-product-rating {
  order: 2;
}

.single-product div.product .summary > p.stock,
.single-product div.product .summary > .stock {
  order: 3;
}

.single-product div.product .summary > p.price,
.single-product div.product .summary > .price {
  order: 4;
  display: block !important;
  width: auto !important;
  margin: 0 0 4px !important;
}

.single-product div.product .summary > .woocommerce-product-details__short-description {
  order: 5;
  width: 100%;
}

.single-product div.product .summary > form.cart {
  order: 6;
  width: 100%;
}

.single-product div.product .summary > .ppc-button-wrapper {
  order: 7;
  width: 100%;
}

.single-product div.product .summary > .product_meta {
  order: 8;
  width: 100%;
}

.single-product div.product .summary > .blog-social-sharing {
  order: 9;
  width: 100%;
}

/* Single product: stock "X disponibili" as chip */
.single-product div.product p.stock,
.single-product div.product .stock {
  display: flex !important;
  align-items: center !important;
  gap: 0.45em;
  width: fit-content !important;
  max-width: 100%;
  margin: 12px 0 10px !important;
  padding: 8px 14px !important;
  border-radius: var(--disco-radius-pill) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  box-shadow: 0 6px 16px rgba(31, 42, 55, 0.08);
}

.single-product div.product p.stock.in-stock,
.single-product div.product .stock.in-stock {
  background: #e8f6ee !important;
  color: #1f7a45 !important;
  border: 1px solid rgba(31, 122, 69, 0.22) !important;
}

.single-product div.product p.stock.in-stock::before,
.single-product div.product .stock.in-stock::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f9e5b;
  box-shadow: 0 0 0 3px rgba(47, 158, 91, 0.22);
  flex: 0 0 auto;
}

.single-product div.product p.stock.out-of-stock,
.single-product div.product .stock.out-of-stock {
  background: #fdecea !important;
  color: #a8362f !important;
  border: 1px solid rgba(168, 54, 47, 0.22) !important;
}

.single-product div.product p.stock.out-of-stock::before,
.single-product div.product .stock.out-of-stock::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--disco-brand);
  box-shadow: 0 0 0 3px rgba(196, 71, 63, 0.22);
  flex: 0 0 auto;
}

.single-product div.product p.stock.disco-stock-low,
.single-product div.product .stock.disco-stock-low {
  background: #fff6e8 !important;
  color: #9a5b12 !important;
  border: 1px solid rgba(154, 91, 18, 0.28) !important;
}

.single-product div.product p.stock.disco-stock-low::before,
.single-product div.product .stock.disco-stock-low::before {
  background: #e6a23c;
  box-shadow: 0 0 0 3px rgba(230, 162, 60, 0.25);
}

/* Single product gallery: rounded images */
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery .flex-viewport {
  border-radius: 16px !important;
  overflow: hidden !important;
}

.single-product .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery .wp-post-image,
.single-product div.product div.images img,
.single-product .woocommerce-product-gallery__image--placeholder img {
  border-radius: 16px !important;
  overflow: hidden;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li,
.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
  border-radius: 10px !important;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .woocommerce ul.products:not(.columns-1),
  .woocommerce-page ul.products:not(.columns-1),
  .woocommerce ul.products.columns-3,
  .woocommerce ul.products.columns-4,
  .woocommerce ul.products.columns-5,
  .woocommerce ul.products.columns-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .woocommerce ul.products.columns-1,
  .woocommerce-page ul.products.columns-1 {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 767px) {
  .woocommerce ul.products:not(.columns-1),
  .woocommerce-page ul.products:not(.columns-1),
  .woocommerce ul.products.columns-2,
  .woocommerce ul.products.columns-3,
  .woocommerce ul.products.columns-4,
  .woocommerce ul.products.columns-5,
  .woocommerce ul.products.columns-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 14px;
    row-gap: 18px;
  }

  .woocommerce ul.products.columns-1,
  .woocommerce-page ul.products.columns-1 {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 2.7em;
    -webkit-line-clamp: 2;
  }
  .woocommerce ul.products li.product-category h2.woocommerce-loop-category__title {
    min-height: 4.2em !important;
    font-size: 15px !important;
  }

  /*
   * Home: Vinili (col) + griglia categorie (col) were overlapping on mobile
   * because the second column lacks vc_col-xs-12 / clear.
   */
  .vc_row.vc_inner:has(> .wpb_column .woocommerce.columns-1):has(> .wpb_column .woocommerce.columns-3) {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }

  .vc_row.vc_inner:has(> .wpb_column .woocommerce.columns-1):has(> .wpb_column .woocommerce.columns-3) > .wpb_column {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }

  .vc_row.vc_inner:has(> .wpb_column .woocommerce.columns-1):has(> .wpb_column .woocommerce.columns-3) > .wpb_column > .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* CTAs under Vinili: spacing + padding (cancel VC margin-left: 15px) */
  .wpb_wrapper:has(> .woocommerce.columns-1) > a.tt_button.button-action-link {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 0 12px 0 !important;
    padding: 14px 20px !important;
  }

  .wpb_wrapper:has(> .woocommerce.columns-1) > .woocommerce.columns-1 + a.tt_button.button-action-link {
    margin-top: 22px !important;
  }

  .wpb_wrapper:has(> .woocommerce.columns-1) > a.tt_button.button-action-link:last-of-type {
    margin-bottom: 28px !important;
  }
}

/* ── Promo mosaic: Compra vendita = height of Vinili + Regalo ── */
.vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  margin-bottom: 28px !important;
  overflow: visible !important;
  position: relative;
  z-index: 2;
}

.vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box)::before,
.vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box)::after {
  display: none !important;
  content: none !important;
}

.vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) > .wpb_column {
  display: flex !important;
  flex-direction: column !important;
  float: none !important;
  margin-bottom: 0 !important;
}

.vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) > .wpb_column > .vc_column-inner,
.vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) > .wpb_column > .vc_column-inner > .wpb_wrapper {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  width: 100% !important;
  min-height: 0 !important;
}

/* Left: stretch to match right stack (Vinili + Regalo + gap) */
.vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) > .wpb_column:first-child .key-icon-box.custom-box {
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: 560px !important;
  margin-bottom: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: var(--disco-radius) !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center !important;
  z-index: 1 !important;
}

.vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) > .wpb_column:first-child .key-icon-box.custom-box .ib-wrapper {
  flex: 1 1 auto !important;
  height: auto !important;
  min-height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 16px;
  padding-top: 48px !important;
  padding-bottom: 48px !important;
  box-sizing: border-box !important;
}

/* Right: two cards share column height with gap — each tall enough for title + copy + CTA */
.vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) > .wpb_column:last-child > .vc_column-inner > .wpb_wrapper {
  gap: 28px;
}

.vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) > .wpb_column:last-child .key-icon-box.custom-box {
  flex: 1 1 0 !important;
  min-height: 266px !important;
  margin-bottom: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: var(--disco-radius) !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center !important;
  z-index: 1 !important;
}

.vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) > .wpb_column:last-child .key-icon-box.custom-box .ib-wrapper {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 12px;
  padding-top: 36px !important;
  padding-bottom: 36px !important;
  box-sizing: border-box !important;
}

.vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) .key-icon-box.custom-box .ib-button-wrapper {
  flex-shrink: 0 !important;
  margin-top: 4px !important;
}

.vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) .key-icon-box.custom-box .service-heading,
.vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) .key-icon-box.custom-box p {
  flex-shrink: 0 !important;
}

/* Full-width “Non solo vinili…” card: no overlap, same radius, sane height */
.vc_row.vc_inner:has(> .wpb_column .key-icon-box.area) {
  margin-top: 0 !important;
  clear: both !important;
  position: relative;
  z-index: 1;
}

.key-icon-box.area {
  max-height: none !important;
  min-height: 360px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border-radius: var(--disco-radius) !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center !important;
  display: flex !important;
  flex-direction: column !important;
  z-index: 1 !important;
}

.key-icon-box.area .ib-wrapper {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
  min-height: 360px !important;
  height: auto !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 14px;
}

.key-icon-box.area .ib-button-wrapper {
  flex-shrink: 0 !important;
}

@media (max-width: 767px) {
  /* Promo mosaic: height follows content — no clipped titles/CTAs */
  .vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 20px !important;
    row-gap: 16px;
  }

  .vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) > .wpb_column {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }

  .vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) > .wpb_column:last-child > .vc_column-inner > .wpb_wrapper {
    gap: 16px !important;
  }

  .vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) > .wpb_column:first-child .key-icon-box.custom-box,
  .vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) > .wpb_column:last-child .key-icon-box.custom-box {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) .key-icon-box.custom-box .ib-wrapper {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 28px 20px 30px !important;
  }

  .vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) .key-icon-box.custom-box .service-heading {
    font-size: clamp(22px, 6.2vw, 28px) !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) .key-icon-box.custom-box p {
    font-size: 14.5px !important;
    line-height: 1.45 !important;
    margin: 0 !important;
  }

  .vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) .key-icon-box.custom-box .ib-button-wrapper {
    margin-top: 8px !important;
    width: 100% !important;
  }

  .vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) .key-icon-box.custom-box .ib-button-wrapper .tt_button,
  .vc_row.vc_inner:has(.key-icon-box.custom-box + .key-icon-box.custom-box) .key-icon-box.custom-box .ib-button-wrapper a {
    white-space: normal !important;
    height: auto !important;
    min-height: 44px !important;
    line-height: 1.3 !important;
    padding: 12px 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .key-icon-box.area,
  .key-icon-box.area .ib-wrapper {
    min-height: 0 !important;
    height: auto !important;
  }

  .key-icon-box.area .ib-wrapper {
    padding: 28px 20px 30px !important;
    justify-content: flex-start !important;
  }
}

/* ── Feature icons (pagamento / spedizioni / supporto): minimal white tiles ── */
.vc_row:has(.tt-iconbox-customimg) {
  background-color: #fff !important;
}

.vc_row:has(.tt-iconbox-customimg) .key-icon-box.icon-top.cont-center {
  background: transparent !important;
}

.vc_row:has(.tt-iconbox-customimg) .ib-icon-wrapper.custom-wrapper-size {
  background-color: #fff !important;
  border: 1px solid var(--disco-line) !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 24px rgba(31, 42, 55, 0.06) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 84px !important;
  height: 84px !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}

.vc_row:has(.tt-iconbox-customimg) .key-icon-box:hover .ib-icon-wrapper.custom-wrapper-size {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(196, 71, 63, 0.12) !important;
  border-color: rgba(196, 71, 63, 0.28) !important;
}

.vc_row:has(.tt-iconbox-customimg) .tt-iconbox-customimg {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  line-height: 0 !important;
}

.vc_row:has(.tt-iconbox-customimg) .tt-iconbox-customimg img,
.vc_row:has(.tt-iconbox-customimg) .tt-iconbox-customimg svg {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  flex-shrink: 0;
}

.vc_row:has(.tt-iconbox-customimg) .service-heading {
  color: var(--disco-ink) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}

.vc_row:has(.tt-iconbox-customimg) .ib-wrapper > p {
  color: var(--disco-muted) !important;
  line-height: 1.55 !important;
}

/* ── Home hero chips: subtitle + free shipping ── */
#disco-home-hero .kd-section-title .subtitle {
  display: inline-block !important;
  max-width: 34rem;
  width: auto !important;
  margin: 14px 0 0 !important;
  padding: 12px 16px !important;
  background: #fff !important;
  border: 1px solid var(--disco-line) !important;
  border-radius: var(--disco-radius) !important;
  box-shadow: 0 8px 24px rgba(31, 42, 55, 0.07) !important;
  color: var(--disco-muted) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

#disco-home-hero .vc_wp_text .textwidget > h6 {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.35em 0.55em;
  max-width: 100%;
  margin: 18px 0 0 !important;
  padding: 10px 14px !important;
  background: #fff !important;
  border: 1px solid var(--disco-line) !important;
  border-radius: var(--disco-radius-pill) !important;
  box-shadow: 0 8px 24px rgba(31, 42, 55, 0.07) !important;
  color: var(--disco-ink) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

#disco-home-hero .vc_wp_text .textwidget > h6 a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4em;
  color: var(--disco-brand-deep) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}

#disco-home-hero .vc_wp_text .textwidget > h6 a:hover {
  color: var(--disco-brand) !important;
  border-bottom-color: rgba(196, 71, 63, 0.45);
}

#disco-home-hero .vc_wp_text .textwidget > h6 a::before {
  content: "\f07a";
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-size: 0.95em;
  line-height: 1;
  color: var(--disco-brand);
  speak: never;
}

/* Mobile: shipping chip — full width, text + CTA stacked cleanly */
@media (max-width: 767px) {
  #disco-home-hero .vc_wp_text .textwidget > h6 {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 16px 0 0 !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
  }

  #disco-home-hero .vc_wp_text .textwidget > h6 a {
    margin-top: 0 !important;
    padding-top: 2px;
  }
}

/* Trustpilot in hero: custom chip (no native green iframe border) */
#disco-home-hero #trustpilot-widget-trustbox-0-wrapper,
#disco-home-hero .widget_text > div[id^="trustpilot-widget"] {
  float: none !important;
  clear: both !important;
  display: block !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 14px 0 0 0 !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  z-index: 3 !important;
}

#disco-home-hero .trustpilot-widget,
#disco-home-hero .tp-widget-wrapper,
#disco-home-hero .trustpilot-widget iframe {
  display: none !important;
}

#disco-home-hero a.disco-tp-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55em;
  max-width: 100%;
  padding: 10px 16px !important;
  background: #fff !important;
  border: 1px solid var(--disco-line) !important;
  border-radius: var(--disco-radius-pill) !important;
  box-shadow: 0 8px 24px rgba(31, 42, 55, 0.07) !important;
  color: var(--disco-ink) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease;
}

#disco-home-hero a.disco-tp-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(31, 42, 55, 0.1) !important;
}

#disco-home-hero a.disco-tp-chip .disco-tp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  color: #191919;
  font-weight: 700;
  white-space: nowrap;
}

#disco-home-hero a.disco-tp-chip .disco-tp-star {
  color: #00b67a;
  font-size: 1.05em;
  line-height: 1;
}

/* ── Home hero: spinning vinyl under static CD / cassettes ── */
#disco-home-hero .wpb_column:has(.disco-vinyl-host),
#disco-home-hero .wpb_column:has(.disco-vinyl-host) > .vc_column-inner,
#disco-home-hero .wpb_column:has(.disco-vinyl-host) > .vc_column-inner > .wpb_wrapper,
#disco-home-hero .wpb_wrapper:has(.disco-vinyl-host) {
  position: relative !important;
  z-index: 1;
  overflow: visible !important;
}

#disco-home-hero .wpb_single_image:has(.disco-vinyl-host),
#disco-home-hero .disco-vinyl-host,
#disco-home-hero .disco-vinyl-stage {
  position: relative;
  z-index: 1 !important;
  overflow: visible !important;
}

#disco-home-hero .disco-vinyl-host {
  position: relative;
  overflow: visible !important;
}

#disco-home-hero .disco-vinyl-stage {
  position: absolute;
  inset: 0;
  z-index: 1 !important;
  pointer-events: none !important;
  background: transparent !important;
  overflow: visible !important;
}

#disco-home-hero .disco-vinyl-spin,
#disco-home-hero .disco-vinyl-static {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: transparent !important;
  pointer-events: none !important;
}

#disco-home-hero .disco-vinyl-spin {
  z-index: 1;
  transform-origin: 50% 50%;
  animation: disco-vinyl-spin 28s linear infinite;
  will-change: transform;
}

/* CD + cassette: only scale up, same position as before */
#disco-home-hero .disco-vinyl-static {
  z-index: 2;
  transform: scale(1.14);
  transform-origin: 50% 50%;
}

#disco-home-hero .disco-vinyl-original {
  opacity: 0 !important;
  position: relative;
  z-index: 0;
}

/* Hotspots must stay above vinyl/CD layers */
#disco-home-hero .disco-vinyl-col {
  position: relative !important;
}

#disco-home-hero .hotspot-item,
#disco-home-hero .hotspot-item.disco-hotspot-front {
  z-index: 50 !important;
  position: absolute !important;
}

#disco-home-hero .hotspot-item .hotspot-wrapper,
#disco-home-hero .hotspot-item .hotspot-tooltip {
  position: relative;
  z-index: 51 !important;
}

#disco-home-hero .wpb_single_image:has(.disco-vinyl-host),
#disco-home-hero .wpb_single_image:has(.disco-vinyl-host).kd-animated,
#disco-home-hero .wpb_single_image:has(.disco-vinyl-host).fadeIn {
  z-index: 1 !important;
  isolation: isolate;
}

@keyframes disco-vinyl-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  #disco-home-hero .disco-vinyl-spin {
    animation: none;
  }
}

/* ── Home hero: local MP4 background (poster = current Carrello3 image) ── */
#disco-home-hero.disco-hero-has-video {
  position: relative;
  overflow: hidden;
  /* Poster lives on <video>; drop static bg so it doesn't fight the MP4 */
  background-color: #f5f5f7 !important;
  background-image: none !important;
}

#disco-home-hero .disco-hero-bg-video {
  position: absolute;
  inset: -16px; /* bleed so blur edges don’t show */
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
  filter: blur(7px) saturate(0.92) brightness(0.92);
  transform: scale(1.06);
}

/* Real overlay layer (more reliable than ::after alone) */
#disco-home-hero .disco-hero-overlay,
#disco-home-hero.disco-hero-has-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0.48) 34%,
      rgba(20, 24, 32, 0.28) 68%,
      rgba(20, 24, 32, 0.38) 100%
    );
}

#disco-home-hero .disco-hero-overlay {
  display: block;
  border-radius: inherit;
}

#disco-home-hero.disco-hero-has-video > .wpb_column,
#disco-home-hero.disco-hero-has-video > .vc_column_container {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  #disco-home-hero .disco-hero-bg-video {
    display: none !important;
  }
  #disco-home-hero.disco-hero-has-video {
    background-image: url("/wp-content/uploads/2023/02/Carrello3.jpg") !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
  }
}

/* Mobile: hide vinyl/CD/cassette collage + hotspots; keep hero copy/CTAs */
@media (max-width: 767px) {
  /* Only the image half-column (not the outer wrapper that also contains the text) */
  #disco-home-hero .wpb_column.vc_col-sm-6:has(img[src*="Banner1v2"]),
  #disco-home-hero .wpb_column.vc_col-sm-6:has(.disco-vinyl-host),
  #disco-home-hero .wpb_single_image:has(img[src*="Banner1v2"]),
  #disco-home-hero .disco-vinyl-host,
  #disco-home-hero .disco-vinyl-stage,
  #disco-home-hero .disco-vinyl-spin,
  #disco-home-hero .disco-vinyl-static,
  #disco-home-hero .hotspot-item {
    display: none !important;
  }

  /* Text column full width once collage is gone */
  #disco-home-hero .wpb_column.vc_col-sm-12.vc_col-lg-6 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}

/* ── History section: readable cards + photo ── */
.disco-history-wrap {
  margin-bottom: 0 !important;
}

.disco-history {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.disco-history-card {
  background: #fff;
  border: 1px solid var(--disco-line);
  border-radius: var(--disco-radius);
  box-shadow: 0 10px 28px rgba(31, 42, 55, 0.07);
  overflow: hidden;
}

.disco-history-copy {
  padding: 28px 28px 30px;
}

.disco-history-eyebrow {
  margin: 0 0 8px !important;
  color: var(--disco-brand) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.disco-history-title {
  margin: 0 0 18px !important;
  color: var(--disco-ink) !important;
  font-size: clamp(1.55rem, 2.4vw, 2rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
}

.disco-history-body p {
  margin: 0 0 0.9em !important;
  color: #4b5563 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

.disco-history-body p:last-child {
  margin-bottom: 0 !important;
}

.disco-history-body strong {
  color: var(--disco-ink);
  font-weight: 700;
}

.disco-history-body .disco-hl {
  color: var(--disco-brand-deep) !important;
  font-weight: 800;
}

.disco-history-media {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.disco-history-media figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
}

.disco-history-media img {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  height: auto;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
  background: #f3f1ee;
}

.disco-history-media figcaption {
  margin: 0;
  flex: 0 0 auto;
  padding: 14px 18px 16px;
  border-top: 1px solid var(--disco-line);
  background: #fff;
  color: var(--disco-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  overflow: visible;
  white-space: normal;
  height: auto;
  max-height: none;
}

.disco-history-media figcaption strong {
  color: var(--disco-brand-deep);
}

@media (max-width: 991px) {
  .disco-history {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .disco-history-media img {
    min-height: 220px;
    max-height: 320px;
  }
}

@media (max-width: 767px) {
  .disco-history-copy {
    padding: 22px 18px 24px;
  }

  .disco-history-body p {
    font-size: 14.5px !important;
  }

  .disco-history-media img {
    min-height: 200px;
    max-height: 260px;
  }

  .disco-history-media figcaption {
    padding: 12px 16px 14px;
    font-size: 13.5px;
    line-height: 1.45;
  }
}

/* ═══════════════════════════════════════════════════════════
   Footer + subfooter — modern, aligned with UI refresh
   ═══════════════════════════════════════════════════════════ */
#footer {
  --disco-footer-bg: #161b22;
  --disco-footer-elev: #1e2530;
  --disco-footer-text: rgba(255, 255, 255, 0.72);
  --disco-footer-muted: rgba(255, 255, 255, 0.48);
  --disco-footer-line: rgba(255, 255, 255, 0.1);
  margin-top: 0 !important;
  background-color: var(--disco-footer-bg) !important;
  background-image:
    radial-gradient(1200px 420px at 12% -10%, rgba(196, 71, 63, 0.22), transparent 60%),
    radial-gradient(900px 360px at 92% 0%, rgba(224, 122, 106, 0.12), transparent 55%) !important;
  background-repeat: no-repeat !important;
  color: var(--disco-footer-text) !important;
  border-top: 0 !important;
}

/* Keep theme “vertical lines” off the footer */
#footer.classic,
#wrapper + #footer {
  background-image:
    radial-gradient(1200px 420px at 12% -10%, rgba(196, 71, 63, 0.22), transparent 60%),
    radial-gradient(900px 360px at 92% 0%, rgba(224, 122, 106, 0.12), transparent 55%) !important;
}

#footer,
#footer p,
#footer .textwidget,
#footer .footer_widget,
#footer .upper-footer select {
  color: var(--disco-footer-text) !important;
}

#footer .upper-footer {
  padding: 56px 0 28px !important;
  /* Theme sets light grey bg — kills contrast with our light text */
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: var(--disco-footer-text) !important;
}

#footer .footer-widget-area,
#footer .footer-widget-column,
#footer .upper-footer .container {
  background: transparent !important;
  color: var(--disco-footer-text) !important;
}

#footer .upper-footer > .container {
  max-width: 1200px;
}

/* Top quick links + socials */
#footer .footer-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0 0 36px !important;
  padding: 14px 18px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--disco-footer-line) !important;
  border-radius: var(--disco-radius) !important;
}

#footer .footer-nav-menu,
#footer .footer-socials-bar {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  float: none !important;
  width: auto !important;
}

#footer .navbar-footer {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#footer .navbar-footer > li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  float: none !important;
}

#footer .navbar-footer > li > a {
  display: inline-flex !important;
  align-items: center;
  padding: 8px 12px !important;
  border-radius: var(--disco-radius-pill) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  transition: background .18s ease, color .18s ease;
}

#footer .navbar-footer > li > a:hover {
  background: rgba(196, 71, 63, 0.22) !important;
  color: #fff !important;
}

#footer .footer-socials-bar .redux-social-media-list {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#footer .footer-socials-bar .redux-social-media-list li {
  margin: 0 !important;
  float: none !important;
  line-height: 0 !important;
}

#footer .footer-socials-bar a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #fff !important;
  font-size: 17px !important;
  line-height: 1 !important;
  text-align: center !important;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

#footer .footer-socials-bar a i,
#footer .footer-socials-bar a .fab,
#footer .footer-socials-bar a .fa {
  display: block !important;
  width: 1em !important;
  height: 1em !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 1em !important;
  position: static !important;
  transform: none !important;
  vertical-align: middle !important;
  color: #fff !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #fff !important;
  font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", viva-font !important;
}

#footer .footer-socials-bar a i::before,
#footer .footer-socials-bar a .fab::before,
#footer .footer-socials-bar a .fa::before {
  color: #fff !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #fff !important;
}

#footer .footer-socials-bar a:hover {
  transform: translateY(-2px);
  background: var(--disco-brand) !important;
  border-color: transparent !important;
  color: #fff !important;
}

#footer .footer-socials-bar a:hover i,
#footer .footer-socials-bar a:hover .fab,
#footer .footer-socials-bar a:hover .fa,
#footer .footer-socials-bar a:hover i::before,
#footer .footer-socials-bar a:hover .fab::before,
#footer .footer-socials-bar a:hover .fa::before {
  color: #fff !important;
}

/* Widget columns grid — newsletter gets more width */
#footer .footer-widget-area {
  display: grid !important;
  grid-template-columns: 1.2fr 0.9fr 1.1fr 1.45fr;
  gap: 36px 32px;
  margin: 0 !important;
  padding: 8px 0 8px !important;
  width: 100% !important;
  float: none !important;
}

#footer .footer-widget-column {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}

#footer .footer-widget-column::before,
#footer .footer-widget-column::after,
#footer .footer-widget-area::before,
#footer .footer-widget-area::after {
  display: none !important;
  content: none !important;
}

#footer .footer_widget {
  margin: 0 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

#footer .footer_widget:last-child {
  margin-bottom: 0 !important;
}

#footer .footer_widget .widget-title,
#footer .footer_widget .widget-title span {
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  line-height: 1.3 !important;
}

#footer .footer_widget .widget-title::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 10px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--disco-brand-soft), var(--disco-brand-deep));
}

#footer .footer_widget ul.menu,
#footer .footer_widget .menu {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#footer .footer_widget ul.menu li,
#footer .footer_widget .menu li {
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
}

#footer .footer_widget ul.menu a,
#footer .footer_widget .menu a,
#footer .footer_widget a {
  color: var(--disco-footer-text) !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
  transition: color .15s ease, transform .15s ease;
}

#footer .footer_widget ul.menu a:hover,
#footer .footer_widget .menu a:hover,
#footer .footer_widget a:hover {
  color: #fff !important;
}

#footer .underline-effect .footer_widget a,
#footer.underline-effect .footer_widget a {
  background-image: none !important;
}

/* Brand column */
#footer .disco-footer-brand .footer-logo {
  display: block;
  width: 150px !important;
  max-width: 60% !important;
  height: auto !important;
  margin: 0 0 16px !important;
  filter: brightness(0) invert(1);
}

#footer .disco-footer-tagline {
  margin: 0 0 16px !important;
  max-width: 28ch;
  color: var(--disco-footer-text) !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
}

#footer .disco-footer-tagline strong {
  color: #fff;
  font-weight: 700;
}

#footer .disco-footer-meta {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#footer .disco-footer-meta li {
  margin: 0 0 8px !important;
  color: var(--disco-footer-muted) !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
}

#footer .disco-footer-meta a {
  color: #fff !important;
  font-weight: 600 !important;
}

#footer .disco-footer-address p {
  margin: 0 0 8px !important;
  color: var(--disco-footer-text) !important;
  font-size: 14.5px !important;
  line-height: 1.5 !important;
}

#footer .disco-footer-address strong {
  display: inline-block !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  line-height: 1.35 !important;
  text-shadow: none !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}

#footer .disco-footer-hours {
  margin-top: 12px !important;
  padding-top: 12px !important;
  border-top: 1px solid var(--disco-footer-line);
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
}

/* Newsletter — stacked, full-width, no clipped placeholder */
#footer .fourth-widget-area {
  min-width: 0;
}

#footer .fourth-widget-area .wpcf7,
#footer .fourth-widget-area .wpcf7-form {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

#footer .fourth-widget-area .wpcf7 p {
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  float: none !important;
}

#footer .fourth-widget-area .wpcf7 br {
  display: none !important;
}

#footer .fourth-widget-area .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

#footer .fourth-widget-area input.wpcf7-email,
#footer .fourth-widget-area input[type="email"] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 13px 18px !important;
  border: 1px solid var(--disco-footer-line) !important;
  border-radius: var(--disco-radius-pill) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  box-shadow: none !important;
  float: none !important;
  box-sizing: border-box !important;
}

#footer .fourth-widget-area input.wpcf7-email::placeholder,
#footer .fourth-widget-area input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.62) !important;
  opacity: 1 !important;
  font-weight: 400 !important;
}

#footer .fourth-widget-area .wpcf7-acceptance {
  display: block !important;
  margin: 0 !important;
}

#footer .fourth-widget-area .wpcf7-list-item {
  margin: 0 !important;
}

#footer .fourth-widget-area .wpcf7-acceptance label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

#footer .fourth-widget-area .wpcf7-acceptance input[type="checkbox"] {
  flex: 0 0 auto;
  margin-top: 3px !important;
}

#footer .fourth-widget-area .wpcf7-acceptance,
#footer .fourth-widget-area .wpcf7-list-item-label {
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 12.5px !important;
  line-height: 1.45 !important;
}

#footer .fourth-widget-area input.wpcf7-submit {
  display: block !important;
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  align-self: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 13px 22px !important;
  border: 0 !important;
  border-radius: var(--disco-radius-pill) !important;
  background: linear-gradient(135deg, var(--disco-brand-soft), var(--disco-brand) 55%, var(--disco-brand-deep)) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  line-height: 1.2 !important;
  box-shadow: 0 8px 20px rgba(196, 71, 63, 0.28) !important;
  cursor: pointer;
  float: none !important;
  transform: none !important;
  transition: filter .15s ease;
}

#footer .fourth-widget-area .wpcf7-form-control-wrap[data-name="subscribe-name"] {
  position: static !important;
}

#footer .fourth-widget-area input.wpcf7-submit:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* Lower footer / copyright */
#footer .lower-footer {
  margin: 0 !important;
  padding: 18px 0 !important;
  background: rgba(0, 0, 0, 0.28) !important;
  border-top: 1px solid var(--disco-footer-line) !important;
  text-align: center !important;
}

#footer .lower-footer .container {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  max-width: 1200px;
}

#footer .lower-footer,
#footer .lower-footer span,
#footer .lower-footer a {
  color: var(--disco-footer-muted) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

#footer .lower-footer a {
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none !important;
  border-bottom: 1px solid transparent;
}

#footer .lower-footer a:hover {
  color: #fff !important;
  border-bottom-color: rgba(196, 71, 63, 0.55);
}

@media (max-width: 991px) {
  #footer .footer-widget-area {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  #footer .first-widget-area {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  #footer .upper-footer {
    padding: 40px 16px 20px !important;
    background: transparent !important;
    background-color: transparent !important;
  }

  #footer .footer-bar {
    flex-direction: column;
    align-items: flex-start !important;
    padding: 14px 14px !important;
  }

  #footer .footer-widget-area {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #footer .first-widget-area {
    grid-column: auto;
  }

  #footer .disco-footer-brand .footer-logo {
    max-width: 140px !important;
  }

  /* Force readable contrast (theme mobile colors fight dark footer) */
  #footer,
  #footer .upper-footer,
  #footer .footer-widget-area,
  #footer .footer_widget,
  #footer .textwidget,
  #footer p,
  #footer li,
  #footer .disco-footer-tagline,
  #footer .disco-footer-meta li,
  #footer .disco-footer-address p {
    color: rgba(255, 255, 255, 0.88) !important;
  }

  #footer .footer_widget .widget-title,
  #footer .footer_widget .widget-title span,
  #footer .disco-footer-legal,
  #footer .navbar-footer > li > a {
    color: #fff !important;
  }

  #footer .footer_widget a,
  #footer .footer_widget ul.menu a,
  #footer .disco-footer-meta a,
  #footer .lower-footer,
  #footer .lower-footer span,
  #footer .lower-footer a {
    color: rgba(255, 255, 255, 0.9) !important;
  }

  #footer .fourth-widget-area .wpcf7-acceptance,
  #footer .fourth-widget-area .wpcf7-list-item-label {
    color: rgba(255, 255, 255, 0.75) !important;
  }
}

#footer .disco-footer-legal {
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

/* ── Resi e rimborsi page ── */
.page-id-42613 .entry-header .section-heading,
.page-id-42613 #single-page .section-heading,
.page-id-42613 .breadcrumbs {
  display: none !important;
}

.page-id-42613 #single-page,
.page-id-42613 .single-page-content,
.page-id-42613 .blog-content {
  padding-top: 40px !important;
}

.disco-returns {
  --disco-ink: #1f2a37;
  --disco-muted: #5b6573;
  --disco-line: #e8e4df;
  --disco-brand: #c4473f;
  --disco-brand-deep: #a8362f;
  --disco-soft: #f7f4f1;
  max-width: 920px;
  margin: 0 auto;
  padding: 8px 0 40px;
  color: var(--disco-ink);
}

.disco-returns-hero {
  margin: 0 0 32px;
  padding: 28px 28px 26px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(196, 71, 63, 0.08), rgba(31, 42, 55, 0.04)),
    var(--disco-soft);
  border: 1px solid var(--disco-line);
}

.disco-returns-eyebrow {
  margin: 0 0 8px !important;
  color: var(--disco-brand) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.disco-returns-hero h1 {
  margin: 0 0 12px !important;
  color: var(--disco-ink) !important;
  font-size: clamp(28px, 4vw, 40px) !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
}

.disco-returns-lead {
  margin: 0 !important;
  max-width: 58ch;
  color: var(--disco-muted) !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
}

.disco-returns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 28px;
}

.disco-returns-chip {
  padding: 18px 18px 16px;
  border: 1px solid var(--disco-line);
  border-radius: 14px;
  background: #fff;
}

.disco-returns-chip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--disco-ink);
  font-size: 15px;
}

.disco-returns-chip span {
  display: block;
  color: var(--disco-muted);
  font-size: 14px;
  line-height: 1.45;
}

.disco-returns-section {
  margin: 0 0 22px;
  padding: 24px 24px 20px;
  border: 1px solid var(--disco-line);
  border-radius: 16px;
  background: #fff;
}

.disco-returns-section h2 {
  margin: 0 0 12px !important;
  color: var(--disco-ink) !important;
  font-size: 22px !important;
  line-height: 1.25 !important;
}

.disco-returns-section h3 {
  margin: 18px 0 8px !important;
  color: var(--disco-ink) !important;
  font-size: 17px !important;
}

.disco-returns-section p,
.disco-returns-section li {
  color: var(--disco-muted) !important;
  font-size: 15.5px !important;
  line-height: 1.6 !important;
}

.disco-returns-section p {
  margin: 0 0 12px !important;
}

.disco-returns-section ul {
  margin: 0 0 8px 1.1em !important;
  padding: 0 !important;
}

.disco-returns-section li {
  margin: 0 0 8px !important;
}

.disco-returns-section a {
  color: var(--disco-brand-deep) !important;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(168, 54, 47, 0.35);
}

.disco-returns-section a:hover {
  color: var(--disco-brand) !important;
}

.disco-returns-steps {
  display: grid;
  gap: 12px;
  margin: 14px 0 4px;
  counter-reset: disco-step;
}

.disco-returns-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 14px 12px;
  border-radius: 12px;
  background: var(--disco-soft);
}

.disco-returns-step::before {
  counter-increment: disco-step;
  content: counter(disco-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e07a6a, var(--disco-brand) 55%, var(--disco-brand-deep));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.disco-returns-step p {
  margin: 0 !important;
}

.disco-returns-step strong {
  display: block;
  margin-bottom: 4px;
  color: var(--disco-ink);
}

.disco-returns-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.disco-returns-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  border: 0 !important;
}

.disco-returns-cta a.disco-returns-primary {
  background: linear-gradient(135deg, #e07a6a, var(--disco-brand) 55%, var(--disco-brand-deep));
  color: #fff !important;
}

.disco-returns-cta a.disco-returns-secondary {
  background: #fff;
  color: var(--disco-ink) !important;
  border: 1px solid var(--disco-line) !important;
}

@media (max-width: 767px) {
  .disco-returns-grid {
    grid-template-columns: 1fr;
  }

  .disco-returns-hero,
  .disco-returns-section {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* ------------------------------------------------------------------
   Product category / shop archive hero photos
------------------------------------------------------------------- */
body.woocommerce-page.tax-product_cat .entry-header.blog-header,
body.woocommerce-page.post-type-archive-product .entry-header.blog-header {
  position: relative;
  overflow: hidden;
  background-color: #2a2420 !important;
}

body.woocommerce-page.tax-product_cat .entry-header.blog-header .section-heading,
body.woocommerce-page.tax-product_cat .entry-header.blog-header .section-subheading,
body.woocommerce-page.tax-product_cat .entry-header.blog-header .breadcrumbs,
body.woocommerce-page.tax-product_cat .entry-header.blog-header .breadcrumbs a,
body.woocommerce-page.post-type-archive-product .entry-header.blog-header .section-heading,
body.woocommerce-page.post-type-archive-product .entry-header.blog-header .breadcrumbs,
body.woocommerce-page.post-type-archive-product .entry-header.blog-header .breadcrumbs a {
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

body.woocommerce-page.tax-product_cat .entry-header.blog-header .breadcrumbs,
body.woocommerce-page.post-type-archive-product .entry-header.blog-header .breadcrumbs {
  opacity: 0.92;
}

/* ------------------------------------------------------------------
   Side mini-cart (body-level drawer shell)
------------------------------------------------------------------- */
.disco-minicart-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(20, 18, 16, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.disco-minicart-shell {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100001;
  width: min(400px, 92vw);
  max-width: 400px;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -12px 0 40px rgba(20, 18, 16, 0.14);
  transform: translateX(105%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s ease;
}

body.disco-minicart-open {
  overflow: hidden;
}

body.disco-minicart-open .disco-minicart-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.disco-minicart-open .disco-minicart-shell {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.disco-minicart-shell .disco-minicart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
  padding: 22px 22px 16px;
  border-bottom: 1px solid rgba(20, 18, 16, 0.08);
  background: #fff;
}

.disco-minicart-title {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--disco-ink);
}

.disco-minicart-close {
  appearance: none;
  border: 0;
  background: #f3f1ee;
  color: var(--disco-ink);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.disco-minicart-close:hover {
  background: #e8e4df;
  transform: scale(1.04);
}

.disco-minicart-body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 8px 22px 24px;
}

/* Hide native Viva dropdown; drawer uses moved panel inside shell */
.keydesign-cart .keydesign-cart-dropdown:not(.disco-minicart-panel),
.navbar.navbar-default .keydesign-cart .keydesign-cart-dropdown:not(.disco-minicart-panel),
.navbar.navbar-default.navbar-shrink .keydesign-cart .keydesign-cart-dropdown:not(.disco-minicart-panel),
.mobile-cart .keydesign-cart .keydesign-cart-dropdown:not(.disco-minicart-panel),
.keydesign-cart:hover .keydesign-cart-dropdown:not(.disco-minicart-panel),
.navbar.navbar-default .keydesign-cart:hover .keydesign-cart-dropdown:not(.disco-minicart-panel) {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: none !important;
}

.disco-minicart-shell .keydesign-cart-dropdown.disco-minicart-panel,
.disco-minicart-body .keydesign-cart-dropdown.disco-minicart-panel {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0;
  list-style: none !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

.disco-minicart-shell .keydesign-cart-dropdown > li,
.disco-minicart-body .keydesign-cart-dropdown > li {
  width: 100% !important;
  float: none !important;
  list-style: none !important;
  margin: 0 !important;
  text-indent: 0 !important;
}

.disco-minicart-shell .cart-item-list {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0 !important;
  border-bottom: 1px solid rgba(20, 18, 16, 0.08);
}

.disco-minicart-shell .cart-item-list .cart-thumb {
  flex: 0 0 64px;
  width: 64px !important;
  float: none !important;
}

.disco-minicart-shell .cart-item-list .cart-thumb img,
.disco-minicart-shell .cart-item-list img {
  width: 64px !important;
  height: 64px !important;
  object-fit: cover;
  border-radius: 8px;
  float: none !important;
  margin: 0 !important;
}

.disco-minicart-shell .cart-item-list .cart-desc {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.disco-minicart-shell .cart-item-list .cart-item {
  display: block;
  font-weight: 600;
  color: var(--disco-ink) !important;
  line-height: 1.3;
  margin-bottom: 4px;
}

.disco-minicart-shell .subtotal {
  padding: 16px 0 8px !important;
  text-align: left !important;
  font-size: 1rem;
  color: var(--disco-ink);
}

.disco-minicart-shell .empty-cart {
  display: block;
  padding: 36px 8px;
  text-align: center;
  color: var(--disco-muted);
}

/* Action buttons: stacked, full width */
.disco-minicart-shell .buttons,
.disco-minicart-shell .disco-minicart-actions,
.disco-minicart-body .buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
  float: none !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  justify-content: stretch !important;
  text-align: left !important;
  height: auto !important;
}

.disco-minicart-shell .kd_cart_btn,
.disco-minicart-shell .kd_checkout_btn,
.disco-minicart-shell .disco-minicart-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  min-height: 48px !important;
  padding: 12px 18px !important;
  border-radius: var(--disco-radius-pill) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease !important;
}

.disco-minicart-shell .kd_cart_btn,
.disco-minicart-shell .disco-minicart-btn-secondary {
  background: #fff !important;
  color: var(--disco-ink) !important;
  border: 1px solid rgba(31, 42, 55, 0.18) !important;
  box-shadow: none !important;
}

.disco-minicart-shell .kd_checkout_btn,
.disco-minicart-shell .disco-minicart-btn-primary {
  background-image: linear-gradient(135deg, var(--disco-brand-soft) 0%, var(--disco-brand) 55%, var(--disco-brand-deep) 100%) !important;
  background-color: var(--disco-brand) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 6px 18px rgba(196, 71, 63, 0.22) !important;
}

.disco-minicart-shell .kd_cart_btn:hover,
.disco-minicart-shell .kd_checkout_btn:hover,
.disco-minicart-shell .disco-minicart-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

/* ------------------------------------------------------------------
   Cart page: full-width totals + selectable shipping methods
------------------------------------------------------------------- */
.woocommerce-cart .woocommerce {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.woocommerce-cart .cart-collaterals {
  display: block !important;
  width: 100% !important;
  clear: both;
  margin-top: 12px;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 8px 0 40px !important;
  padding: 28px 32px 28px !important;
  background: #fff;
  border: 1px solid var(--disco-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 28px rgba(31, 42, 55, 0.06);
  box-sizing: border-box;
}

.woocommerce-cart .cart-collaterals .cart_totals > h2 {
  margin: 0 0 20px !important;
  padding: 0 0 14px !important;
  border-bottom: 1px solid var(--disco-line);
  font-size: 1.35rem !important;
  line-height: 1.25 !important;
  color: var(--disco-ink) !important;
}

/* Desktop: totals table + checkout side by side across screen */
@media (min-width: 768px) {
  .woocommerce-cart .cart-collaterals .cart_totals {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
    grid-template-areas:
      "title title"
      "table checkout";
    column-gap: 48px;
    row-gap: 8px;
    align-items: start;
  }

  .woocommerce-cart .cart-collaterals .cart_totals > h2 {
    grid-area: title;
  }

  .woocommerce-cart .cart-collaterals .cart_totals table.shop_table {
    grid-area: table;
  }

  .woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout {
    grid-area: checkout;
    position: sticky;
    top: 100px;
    padding-top: 4px !important;
  }
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: transparent !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tbody {
  display: block !important;
  width: 100% !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 16px;
  width: 100% !important;
  margin: 0 !important;
  padding: 14px 0 !important;
  border-top: 1px solid rgba(31, 42, 55, 0.08) !important;
  box-sizing: border-box;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr:first-child {
  border-top: 0 !important;
  padding-top: 4px !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th,
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  vertical-align: top !important;
  line-height: 1.45 !important;
  color: var(--disco-ink) !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th {
  flex: 1 1 auto;
  font-weight: 600 !important;
  text-align: left !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td {
  flex: 0 1 auto;
  text-align: right !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table .order-total {
  border-top: 2px solid rgba(31, 42, 55, 0.12) !important;
  padding-top: 18px !important;
  margin-top: 4px;
  font-size: 1.05rem !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table .order-total .amount {
  font-weight: 700 !important;
  color: var(--disco-ink) !important;
}

/* Shipping block */
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table .woocommerce-shipping-totals {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table .woocommerce-shipping-totals th,
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table .woocommerce-shipping-totals td {
  width: 100% !important;
  text-align: left !important;
}

/* Fix theme text-indent that overlaps radios and breaks click */
.woocommerce-cart ul#shipping_method,
.woocommerce-cart ul.woocommerce-shipping-methods {
  list-style: none !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 10px !important;
}

@media (min-width: 768px) {
  .woocommerce-cart ul#shipping_method,
  .woocommerce-cart ul.woocommerce-shipping-methods {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

.woocommerce-cart ul#shipping_method li,
.woocommerce-cart ul.woocommerce-shipping-methods li {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  text-indent: 0 !important;
  list-style: none !important;
  border: 1px solid rgba(31, 42, 55, 0.12);
  border-radius: 12px;
  background: #faf9f7;
  text-align: left !important;
  cursor: pointer;
  box-sizing: border-box;
}

.woocommerce-cart ul#shipping_method li:has(input:checked),
.woocommerce-cart ul.woocommerce-shipping-methods li:has(input:checked) {
  border-color: var(--disco-brand);
  background: rgba(196, 71, 63, 0.06);
}

.woocommerce-cart ul#shipping_method li input.shipping_method,
.woocommerce-cart ul.woocommerce-shipping-methods li input.shipping_method {
  position: static !important;
  float: none !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 18px !important;
  accent-color: var(--disco-brand);
  appearance: auto !important;
  -webkit-appearance: radio !important;
  -moz-appearance: radio !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  text-indent: 0 !important;
  transform: none !important;
}

.woocommerce-cart ul#shipping_method li label,
.woocommerce-cart ul.woocommerce-shipping-methods li label {
  display: block !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.35 !important;
  text-indent: 0 !important;
  cursor: pointer !important;
  color: var(--disco-ink) !important;
}

.woocommerce-cart .cart-collaterals .cart_totals .woocommerce-shipping-destination {
  margin: 8px 0 4px !important;
  font-size: 0.92rem;
  color: var(--disco-muted);
  line-height: 1.4;
}

.woocommerce-cart .cart-collaterals .cart_totals .shipping-calculator-button {
  display: inline-block;
  margin-top: 4px;
}

.woocommerce-cart .cart-collaterals .cart_totals .shipping-calculator-form {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--disco-line);
  border-radius: 12px;
  background: #faf9f7;
  text-align: left;
}

.woocommerce-cart .cart-collaterals .cart_totals .shipping-calculator-form .form-row {
  margin: 0 0 10px !important;
  float: none !important;
  width: 100% !important;
}

.woocommerce-cart .cart-collaterals .cart_totals .shipping-calculator-form .button {
  width: 100% !important;
  margin-top: 4px !important;
}

.woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  margin: 0 !important;
  padding: 8px 0 0 !important;
  width: 100% !important;
}

.woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout .ppc-button-wrapper,
.woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout > div {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout iframe,
.woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout .paypal-buttons {
  max-width: 100% !important;
}

/* Cart products table */
.woocommerce-cart table.shop_table.cart {
  width: 100% !important;
  margin: 24px 0 20px !important;
  padding: 0 !important;
  border: 1px solid var(--disco-line) !important;
  border-radius: 16px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden;
  background: #fff !important;
}

.woocommerce-cart table.shop_table.cart thead th {
  padding: 16px 18px !important;
  border-bottom: 1px solid var(--disco-line) !important;
  background: #faf9f7 !important;
  font-weight: 600 !important;
  color: var(--disco-ink) !important;
}

.woocommerce-cart table.shop_table.cart td {
  padding: 18px !important;
  border-top: 1px solid rgba(31, 42, 55, 0.08) !important;
  vertical-align: middle !important;
}

.woocommerce-cart table.shop_table.cart td.actions {
  padding: 18px !important;
  background: #faf9f7 !important;
}

.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-error {
  max-width: 100%;
  margin: 0 0 12px !important;
  padding: 14px 18px !important;
  border-radius: 12px !important;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .woocommerce-cart .cart-collaterals .cart_totals {
    padding: 22px 18px !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   Vendita page (page-id-5720) — WPForms refresh
   ═══════════════════════════════════════════════════════════ */
.page-id-5720 #single-page,
.page-id-5720 .section.vendita {
  background: #f7f5f2 !important;
}

.page-id-5720 #single-page > .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.page-id-5720 #single-page .single-page-content {
  margin: 0 !important;
}

/* Undo VC full-bleed offset that shoves content sideways */
.page-id-5720 #single-page .vc_row.vc_row-fluid {
  left: 0 !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 36px 20px 72px !important;
  background:
    radial-gradient(1200px 420px at 10% 0%, rgba(196, 71, 63, 0.07), transparent 60%),
    #f7f5f2 !important;
  box-sizing: border-box !important;
}

.page-id-5720 #single-page .vc_row .vc_column-inner {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.page-id-5720 #single-page .vc_col-sm-2 {
  display: none !important;
}

.page-id-5720 #single-page .vc_col-sm-8 {
  width: 100% !important;
  max-width: 760px !important;
  margin: 0 auto !important;
  float: none !important;
}

.page-id-5720 #single-page .vc_col-sm-8 > .vc_column-inner {
  background: #fff !important;
  border: 1px solid var(--disco-line) !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 40px rgba(31, 42, 55, 0.07) !important;
  padding: 36px 40px 40px !important;
}

/* Intro copy */
.page-id-5720 #single-page .kd-section-title {
  padding: 0 0 8px !important;
  margin: 0 0 8px !important;
  text-align: left !important;
}

.page-id-5720 #single-page .kd-section-title .st-overline {
  color: var(--disco-brand) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin: 0 0 10px !important;
}

.page-id-5720 #single-page .kd-section-title .kd-main-title {
  color: var(--disco-ink) !important;
  font-size: clamp(26px, 3.2vw, 34px) !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  margin: 0 0 12px !important;
}

.page-id-5720 #single-page .kd-section-title .subtitle {
  color: var(--disco-muted) !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
  max-width: 52ch;
  margin: 0 0 8px !important;
}

/* Form shell */
.page-id-5720 #wpforms-12524,
.page-id-5720 .wpforms-container {
  margin: 20px 0 0 !important;
}

.page-id-5720 #wpforms-form-12524 .wpforms-field-container {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 18px 18px;
}

.page-id-5720 #wpforms-12524-field_2-container {
  grid-column: 1;
}

.page-id-5720 #wpforms-12524-field_4-container {
  grid-column: 2;
}

.page-id-5720 #wpforms-12524-field_5-container,
.page-id-5720 #wpforms-12524-field_7-container,
.page-id-5720 #wpforms-12524-field_8-container,
.page-id-5720 #wpforms-12524-field_9-container {
  grid-column: 1 / -1;
}

.page-id-5720 #wpforms-form-12524 .wpforms-field {
  padding: 0 !important;
  margin: 0 !important;
}

.page-id-5720 #wpforms-form-12524 .wpforms-field-label {
  display: block !important;
  margin: 0 0 8px !important;
  color: var(--disco-ink) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
}

.page-id-5720 #wpforms-form-12524 .wpforms-required-label {
  color: var(--disco-brand) !important;
  margin-left: 2px;
}

.page-id-5720 #wpforms-form-12524 input[type="text"],
.page-id-5720 #wpforms-form-12524 input[type="email"],
.page-id-5720 #wpforms-form-12524 input[type="tel"],
.page-id-5720 #wpforms-form-12524 textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 50px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--disco-line) !important;
  border-radius: var(--disco-radius-sm) !important;
  background: #fff !important;
  color: var(--disco-ink) !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box !important;
}

.page-id-5720 #wpforms-form-12524 textarea {
  min-height: 140px !important;
  resize: vertical;
}

.page-id-5720 #wpforms-form-12524 input[type="text"]:focus,
.page-id-5720 #wpforms-form-12524 input[type="email"]:focus,
.page-id-5720 #wpforms-form-12524 input[type="tel"]:focus,
.page-id-5720 #wpforms-form-12524 textarea:focus {
  border-color: rgba(196, 71, 63, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(196, 71, 63, 0.14) !important;
}

/* Phone intl input */
.page-id-5720 #wpforms-form-12524 .wpforms-field-phone .iti {
  width: 100% !important;
  display: block !important;
}

.page-id-5720 #wpforms-form-12524 .wpforms-field-phone .iti__flag-container {
  z-index: 5;
}

.page-id-5720 #wpforms-form-12524 .wpforms-field-phone .iti__selected-flag {
  border-radius: var(--disco-radius-sm) 0 0 var(--disco-radius-sm) !important;
  padding: 0 10px 0 12px !important;
}

.page-id-5720 #wpforms-form-12524 .wpforms-field-phone input[type="tel"] {
  padding-left: 90px !important;
}

.page-id-5720 #wpforms-form-12524 .wpforms-field-phone .iti__country-list {
  z-index: 40 !important;
  border-radius: 12px !important;
  border: 1px solid var(--disco-line) !important;
  box-shadow: 0 16px 40px rgba(31, 42, 55, 0.16) !important;
  max-height: 260px !important;
}

/* Category choices as selectable chips */
.page-id-5720 #wpforms-12524-field_7-container ul {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.page-id-5720 #wpforms-12524-field_7-container li {
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  float: none !important;
}

.page-id-5720 #wpforms-12524-field_7-container li input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
}

.page-id-5720 #wpforms-12524-field_7-container li label.wpforms-field-label-inline {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  width: 100% !important;
  min-height: 52px;
  margin: 0 !important;
  padding: 12px 14px 12px 40px !important;
  border: 1px solid var(--disco-line) !important;
  border-radius: 12px !important;
  background: #faf9f7 !important;
  color: var(--disco-ink) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  cursor: pointer !important;
  position: relative !important;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box !important;
}

.page-id-5720 #wpforms-12524-field_7-container li label.wpforms-field-label-inline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border: 1.5px solid #c5c0b8;
  border-radius: 5px;
  background: #fff;
  box-sizing: border-box;
}

.page-id-5720 #wpforms-12524-field_7-container li input[type="checkbox"]:checked + label.wpforms-field-label-inline,
.page-id-5720 #wpforms-12524-field_7-container li:has(input[type="checkbox"]:checked) label.wpforms-field-label-inline {
  border-color: rgba(196, 71, 63, 0.45) !important;
  background: #fff7f6 !important;
  box-shadow: 0 0 0 3px rgba(196, 71, 63, 0.1);
  color: var(--disco-brand-deep) !important;
}

.page-id-5720 #wpforms-12524-field_7-container li input[type="checkbox"]:checked + label.wpforms-field-label-inline::before,
.page-id-5720 #wpforms-12524-field_7-container li:has(input[type="checkbox"]:checked) label.wpforms-field-label-inline::before {
  border-color: var(--disco-brand);
  background: var(--disco-brand);
  box-shadow: inset 0 0 0 2px #fff;
}

.page-id-5720 #wpforms-12524-field_7-container li label.wpforms-field-label-inline:hover {
  border-color: rgba(31, 42, 55, 0.28) !important;
  background: #fff !important;
}

/* Warning note under categories */
.page-id-5720 #wpforms-12524-field_7-container .wpforms-field-description {
  margin: 14px 0 0 !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  background: #fff6e8 !important;
  border: 1px solid rgba(154, 91, 18, 0.22) !important;
  color: #8a5310 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

.page-id-5720 #wpforms-12524-field_7-container .wpforms-field-description strong {
  color: inherit !important;
  font-weight: 700 !important;
}

/* Privacy consent */
.page-id-5720 #wpforms-12524-field_9-container ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.page-id-5720 #wpforms-12524-field_9-container li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px;
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid var(--disco-line) !important;
  border-radius: 12px !important;
  background: #faf9f7 !important;
  box-sizing: border-box !important;
}

.page-id-5720 #wpforms-12524-field_9-container input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 2px 0 0 !important;
  accent-color: var(--disco-brand);
  cursor: pointer !important;
  flex: 0 0 auto;
  pointer-events: auto !important;
  opacity: 1 !important;
  position: static !important;
}

.page-id-5720 #wpforms-12524-field_9-container label.wpforms-field-label-inline {
  display: block !important;
  flex: 1 1 auto;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--disco-ink) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.page-id-5720 #wpforms-12524-field_9-container .wpforms-field-description {
  margin: 10px 0 0 !important;
  font-size: 13px !important;
  color: var(--disco-muted) !important;
}

.page-id-5720 #wpforms-12524-field_9-container .wpforms-field-description a,
.page-id-5720 #wpforms-12524-field_9-container a {
  color: var(--disco-brand-deep) !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

/* Submit */
.page-id-5720 #wpforms-form-12524 .wpforms-submit-container {
  margin: 22px 0 0 !important;
  padding: 0 !important;
}

.page-id-5720 #wpforms-form-12524 button.wpforms-submit,
.page-id-5720 #wpforms-form-12524 .wpforms-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 220px !important;
  min-height: 52px !important;
  padding: 14px 32px !important;
  border: 0 !important;
  border-radius: var(--disco-radius-pill) !important;
  background: linear-gradient(135deg, var(--disco-brand-soft) 0%, var(--disco-brand) 48%, var(--disco-brand-deep) 100%) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  cursor: pointer !important;
  box-shadow: 0 10px 22px rgba(168, 54, 47, 0.22) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease !important;
}

.page-id-5720 #wpforms-form-12524 button.wpforms-submit:hover,
.page-id-5720 #wpforms-form-12524 .wpforms-submit:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(168, 54, 47, 0.28) !important;
  color: #fff !important;
}

.page-id-5720 #wpforms-form-12524 .wpforms-error,
.page-id-5720 #wpforms-form-12524 label.wpforms-error {
  color: var(--disco-brand-deep) !important;
  font-size: 12.5px !important;
  margin-top: 6px !important;
}

.page-id-5720 #wpforms-form-12524 .wpforms-has-error input,
.page-id-5720 #wpforms-form-12524 .wpforms-has-error textarea {
  border-color: rgba(168, 54, 47, 0.55) !important;
}

.page-id-5720 #wpforms-form-12524 .wpforms-confirmation-container-full,
.page-id-5720 #wpforms-form-12524 div[class*="wpforms-confirmation"] {
  border-radius: 14px !important;
  border: 1px solid rgba(31, 122, 69, 0.22) !important;
  background: #e8f6ee !important;
  color: #1f7a45 !important;
  padding: 16px 18px !important;
}

@media (max-width: 767px) {
  .page-id-5720 #single-page .vc_row.vc_row-fluid {
    padding: 24px 14px 48px !important;
  }

  .page-id-5720 #single-page .vc_col-sm-8 > .vc_column-inner {
    padding: 24px 18px 28px !important;
    border-radius: 16px !important;
  }

  .page-id-5720 #wpforms-form-12524 .wpforms-field-container {
    grid-template-columns: 1fr !important;
  }

  .page-id-5720 #wpforms-12524-field_2-container,
  .page-id-5720 #wpforms-12524-field_4-container {
    grid-column: 1 / -1;
  }

  .page-id-5720 #wpforms-12524-field_7-container ul {
    grid-template-columns: 1fr !important;
  }

  .page-id-5720 #wpforms-form-12524 button.wpforms-submit,
  .page-id-5720 #wpforms-form-12524 .wpforms-submit {
    width: 100% !important;
    min-width: 0 !important;
  }
}
