/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/
.splide__slide {
  height: auto !important;
}

button {
  text-align: center;
}

.brx-loading-animation {
  position: absolute !important;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  /* top: 50%; */
  /* left: 50%; */
  background: #ffffff34;
  /* width: 100vw; */
}

.avvisi {
  display: none;
}

/* =========================
   Trigger
========================= */
.toggle-text,
.navigation a {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.toggle-text::before,
.navigation a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.toggle-text:hover::before,
.toggle-text.is-active::before,
.navigation a:hover::before {
  transform: scaleX(1) !important;
}
.toggle-text.is-active{
  color:#31b893!important;
}
.brxe-rlxdrr{
  text-align:center!important;
}
/* =========================
   Wrapper pannelli
========================= */
.toggle-panels,
.toggle-wrap {
  position: relative;
  overflow: hidden;
  transition: height 0.4s ease;
}

/* =========================
   Pannelli
========================= */
.toggle-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  z-index: 1;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0s linear 0.35s;
}

.toggle-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  z-index: 2;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0s linear 0s;
}

/* immagini dentro i pannelli */
.toggle-panel img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================
   Utility breakpoint
========================= */
.mobile-only {
  display: none !important;
}

.desktop-only {
  display: block !important;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block !important;
  }

  .desktop-only {
    display: none !important;
  }
}

/* =========================
   Hover immagini
========================= */
.img-hov-cont:hover .img-hover-1 {
  transform: scale(1.10);
}

/* =========================
   Card / testo
========================= */
.card-info-prod:hover {
  opacity: 1 !important;
}

button.woocommerce-Button.button,
.woocommerce .button {
  border-radius: 8px;
}

.truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.truncate-1,
.form-group.username label {
  display: -webkit-box !important;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card {
  position: relative;
}

.brxe-woocommerce-checkout-login .login-div .credential.default .form-group label {
  background-color: #ffffff;
}

.login-div {
  margin-top: 1rem;
}

/* CTA card: desktop hidden finché non hover */
.product-card .card-prod-cta {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-card:hover .card-prod-cta {
  opacity: 1;
  visibility: visible;
}

.product-card:hover .card-cat-ico {
  stroke: white !important;
  background: #212121;
}

/* =========================
   Splide arrows
========================= */
.splide__arrows {
  pointer-events: none;
}

.splide__arrow {
  position: absolute;
  top: 50%;
  pointer-events: auto;
  z-index: 10;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.splide__arrow--prev {
  left: -10px;
}

.splide__arrow--next {
  right: -10px;
}

/* Desktop / tablet grandi: frecce solo in hover */
@media (min-width: 769px) {

  /* stato nascosto (SCROLL) -> header si abbassa in modo fluido */
  #brx-header.scrolling .top-search {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
  }

  .splide__arrow {
    opacity: 0;
    visibility: hidden;
  }

  .splide__arrow--prev {
    transform: translateY(-50%) translateX(-12px);
  }

  .splide__arrow--next {
    transform: translateY(-50%) translateX(12px);
  }

  .splide:hover .splide__arrow {
    opacity: 1;
    visibility: visible;
  }

  .splide:hover .splide__arrow--prev {
    transform: translateY(-50%) translateX(0);
  }

  .splide:hover .splide__arrow--next {
    transform: translateY(-50%) translateX(0);
  }
}

/* Mobile: frecce sempre visibili */
@media (max-width: 768px) {
  .splide__arrow {
    opacity: 1;
    visibility: visible;
  }

  .splide__arrow--prev {
    transform: translateY(-50%) translateX(0);
  }

  .splide__arrow--next {
    transform: translateY(-50%) translateX(0);
  }
}

.splide__arrow:hover {
  background: #212121;
  color: #ffffff;
}

.splide__arrow i {
  font-size: 16px;
  line-height: 1;
  transition: all 0.3s ease-in-out;
}

/* =========================
   Link underline
========================= */
.txt-link-1,
.menu-item a {
  position: relative;
  text-decoration: none;
}

.menu-item a {
  width: fit-content !important;
}

.txt-link-1::before,
.menu-item a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.txt-link-1:hover::before,
.menu-item a:hover::before,
.menu-item a[aria-current="page"]::before {
  transform: scaleX(1) !important;
}

/* =========================
   Mobile adjustments
   CTA sempre visibili su smartphone
========================= */
@media (max-width: 768px) {
  .product-card .card-prod-cta {
    opacity: 1 !important;
    visibility: visible;
  }
}

/* BADGE */
.prod-card-2 .badge-prod-card .site-badge{
  background:#ffffff!important;
}
.site-badge,
.product-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border: 1px solid currentColor;
  border-radius: 8px;
  width: fit-content;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.site-badge-dot,
.product-stock-badge .stock-dot {
  position: relative;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 50%;
}

.site-badge-dot::before,
.site-badge-dot::after,
.product-stock-badge .stock-dot::before,
.product-stock-badge .stock-dot::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.site-badge-dot::before,
.product-stock-badge .stock-dot::before {
  inset: 0;
  z-index: 2;
}

.site-badge-dot::after,
.product-stock-badge .stock-dot::after {
  inset: -7px;
  z-index: 1;
  animation: stockPulse 1.8s ease-out infinite;
  transform-origin: center;
}

.product-stock-badge-compact {
  font-size: 12px !important;
  padding: 8px 11px 8px 9px !important;
}

.product-stock-badge-compact .site-badge-dot,
.product-stock-badge-compact .stock-dot {
  width: 10px !important;
  height: 10px !important;
  flex-basis: 10px !important;
}

.product-stock-badge-compact .site-badge-dot::after,
.product-stock-badge-compact .stock-dot::after {
  inset: -6px !important;
}

.ac-free-shipping-badge {
  align-items: center;
  display: inline-flex;
  flex-direction: row;
  gap: 0;
  color: #ffffff;
  background: var(--px-color-2);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  min-height: 32px;
  min-width: 32px;
  overflow: hidden;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s ease, gap 0.2s ease, padding 0.2s ease;
}

.ac-free-shipping-badge__icon {
  display: inline-flex;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.ac-free-shipping-badge__icon svg {
  width: 100%;
  height: 100%;
}

.ac-free-shipping-badge>span:not(.ac-free-shipping-badge__icon) {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-4px);
  transition: max-width 0.25s ease, opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.ac-free-shipping-badge:hover,
.ac-free-shipping-badge:focus-visible {
  background: #31b893;
  gap: 6px;
  padding-right: 11px;
}

.ac-free-shipping-badge:hover>span:not(.ac-free-shipping-badge__icon),
.ac-free-shipping-badge:focus-visible>span:not(.ac-free-shipping-badge__icon) {
  max-width: 160px;
  opacity: 1;
  transform: translateX(0);
}

.ac-free-shipping-badge:focus-visible {
  outline: 2px solid rgba(20, 128, 74, 0.3);
  outline-offset: 2px;
}

.ac-free-shipping-before-description {
  margin: 0 0 18px;
}

.ac-sale-price-layout {
  align-items: flex-start;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.15;
}

.ac-sale-price-layout__top {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1px;
}

.ac-sale-price-layout__regular {
  color: #767676;
  font-size: 0.78em;
  font-weight: 500;
  opacity: 0.9;
}

.ac-sale-price-layout__discount {
  align-items: center;
  color: #31b893;
  display: inline-flex;
  font-size: 0.72em;
  font-weight: 700;
  line-height: 1;
  padding: 4px 0px;
}

.ac-preorder-empty-price-notice {
  background: #fae8e8;
  border: 1px solid rgba(214, 69, 69, 0.28);
  border-radius: 8px;
  color: #1f2933;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  padding: 12px 14px;
}

.ac-incoming-product-notice {
  background: #fff8e6;
  border: 1px solid rgba(217, 146, 0, 0.28);
  border-radius: 8px;
  color: #1f2933;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  padding: 12px 14px;
}

.ac-free-shipping-description-info {
  margin: 0 0 22px;
  border: 1px solid rgba(28, 111, 64, 0.18);
  border-radius: 8px;
  padding: 18px 20px;
  background: #f4fbf6;
  color: #1f2933;
}

.ac-free-shipping-description-info h2 {
  margin: 0 0 10px;
  color: #17663a;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.ac-free-shipping-description-info p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.55;
}

.ac-free-shipping-description-info p:last-child {
  margin-bottom: 0;
}

.ac-free-shipping-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ac-free-shipping-modal.is-open {
  display: flex;
}

.ac-free-shipping-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
}

.ac-free-shipping-modal__dialog {
  position: relative;
  width: min(460px, 100%);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.25);
  color: #1f2933;
}

.ac-free-shipping-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #111827;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.ac-free-shipping-modal__close:hover,
.ac-free-shipping-modal__close:focus-visible {
  background: #f3f4f6;
}

.ac-free-shipping-modal h2 {
  margin: 0 34px 12px 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.ac-free-shipping-modal p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
}

.ac-free-shipping-modal p:last-child {
  margin-bottom: 0;
}

body.ac-free-shipping-modal-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .ac-free-shipping-modal {
    align-items: flex-end;
    padding: 12px;
  }

  .ac-free-shipping-modal__dialog {
    padding: 22px 18px;
  }

  .ac-free-shipping-modal h2 {
    font-size: 20px;
  }
}

/* =========================
   IN STOCK
========================= */
.product-stock-badge.in-stock {
  color: #14804a;
  background: rgb(195 235 215);
}

.product-stock-badge.in-stock .stock-dot::before {
  background: #16a34a;
}

.product-stock-badge.in-stock .stock-dot::after {
  background: rgba(22, 163, 74, 0.24);
}

/* =========================
   OUT OF STOCK
========================= */
.product-stock-badge.out-of-stock {
  color: #e45813;
  background: rgb(255 225 210);
}

.product-stock-badge.out-of-stock .stock-dot::before {
  background: #e45813;
}

.product-stock-badge.out-of-stock .stock-dot::after {
  background: rgba(228, 88, 19, 0.24);
}

/* =========================
   INCOMING
========================= */
.product-stock-badge.incoming {
  color: #7a4f01;
  background: #fff1cc;
}

.product-stock-badge.incoming .stock-dot::before {
  background: #d99200;
}

.product-stock-badge.incoming .stock-dot::after {
  background: rgba(217, 146, 0, 0.24);
}

/* =========================
   PREORDER
========================= */
.product-stock-badge.preorder {
  color: #8b3a3a;
  background: #fae8e8;
}

.product-stock-badge.preorder .stock-dot::before {
  background: #d64545;
}

.product-stock-badge.preorder .stock-dot::after {
  background: rgba(214, 69, 69, 0.24);
}

.ac-cart-product-name {
  display: inline;
}

.ac-cart-preorder-badge {
  cursor: pointer;
  vertical-align: middle;
}

/* =========================
   RESERVED / USATO GARANTITO
========================= */
.product-stock-badge.reserved {
  color: #9a5a00;
  background: #fff0ca;
  cursor: pointer;
}

.product-stock-badge.reserved .stock-dot::before {
  background: #c77900;
}

.product-stock-badge.reserved .stock-dot::after {
  background: rgba(199, 121, 0, 0.24);
}

.ac-reserved-product-modal {
  align-items: center;
  display: none;
  inset: 0;
  justify-content: center;
  padding: 2rem;
  position: fixed;
  z-index: 99999;
}

.ac-reserved-product-modal[aria-hidden="true"] {
  display: none !important;
}

.ac-reserved-product-modal.is-open {
  display: flex;
}

.ac-reserved-product-modal__backdrop {
  background: rgba(0, 0, 0, 0.52);
  inset: 0;
  position: absolute;
}

.ac-reserved-product-modal__dialog {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  max-width: 560px;
  padding: 2rem;
  position: relative;
  width: min(100%, 560px);
}

.ac-reserved-product-modal__close {
  align-items: center;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: #212121;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.4rem;
  height: 2.25rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 2.25rem;
}

body.ac-reserved-product-modal-open {
  overflow: hidden;
}

.ac-easyfatt-preorder-modal {
  align-items: center;
  display: none;
  inset: 0;
  justify-content: center;
  padding: 2rem;
  position: fixed;
  z-index: 99999;
}

.ac-easyfatt-preorder-modal[aria-hidden="true"] {
  display: none !important;
}

.ac-easyfatt-preorder-modal.is-open {
  display: flex;
}

.ac-easyfatt-preorder-modal__backdrop {
  background: rgba(0, 0, 0, 0.52);
  inset: 0;
  position: absolute;
}

.ac-easyfatt-preorder-modal__dialog {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  color: #1f2933;
  max-width: 560px;
  padding: 2rem;
  position: relative;
  width: min(100%, 560px);
}

.ac-easyfatt-preorder-modal__close {
  align-items: center;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: #212121;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.4rem;
  height: 2.25rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 2.25rem;
}

.ac-easyfatt-preorder-modal h2 {
  margin: 0 42px 14px 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.ac-easyfatt-preorder-modal .ywpo_availability_date,
.ac-easyfatt-preorder-modal p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

body.ac-easyfatt-preorder-modal-open {
  overflow: hidden;
}

.ac-used-guaranteed-reserved-message {
  background: #fff0ca;
  border-radius: 12px;
  color: #5f4a1f;
  margin: 1rem 0;
  padding: 1.2rem;
}

.ac-used-guaranteed-reserved-message strong {
  color: #7a4300;
  display: block;
  margin-bottom: 0.35rem;
}

/* =========================
   ANIMATION
========================= */
@keyframes stockPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.95;
  }

  65% {
    transform: scale(1.7);
    opacity: 0;
  }

  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

/* FILTERBAR */
.filterbar {
  position: fixed;
  top: 0;
  left: 0;
  width: min(420px, 90vw);
  height: 100vh;
  background: #fff;
  z-index: 1200;
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.4s ease,
    opacity 0.3s ease,
    visibility 0.3s ease;
  overflow-y: auto;
  will-change: transform;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.12);
}

.filterbar.open-filter {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.brxe-filter-checkbox .brx-option-text {
  width: 100%;
  justify-content: space-between;
}

.filterbar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1190;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.filterbar-overlay.open-filter {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* label allineata bene */
.filterbar label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.filterbar input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  width: 18px;
  height: 18px;
  max-width: 18px !important;
  min-width: 18px;
  border: 1px solid #000;
  border-radius: 6px;
  background: #fff;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  padding: 0;
}

.filterbar input[type="checkbox"]:checked {
  background: #000;
  border-color: #000;
}

.filterbar input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .15);
}

.filterbar label:hover input[type="checkbox"]:not(:disabled) {
  border-color: #000;
}

.filterbar input[type="checkbox"]:checked {
  background-color: #000 !important;
  border-color: #000 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 12px 12px !important;
}

.filterbar-acc-cont {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

/* =========================================================
   Scrollbar minimal dentro .filterbar
   - track trasparente (nessun bg)
   - thumb visibile #212121
   - no frecce su/giù
========================================================= */

/* Firefox */
.filterbar,
.filterbar *,
* {
  scrollbar-width: thin;
  scrollbar-color: #212121 transparent;
  /* thumb, track */
}

/* WebKit (Chrome, Edge, Safari) */
.filterbar *::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.filterbar *::-webkit-scrollbar-track {
  background: transparent;
}

.filterbar *::-webkit-scrollbar-thumb {
  background-color: #212121;
  border-radius: 0px;
  border: 2px solid transparent;
  /* fa “staccare” il thumb dal bordo */
  background-clip: padding-box;
  /* mantiene la track trasparente */
}

/* Hover facoltativo (resta nero, solo un pelo più “pieno”) */
.filterbar *::-webkit-scrollbar-thumb:hover {
  background-color: #212121;
  border-width: 1px;
}

/* Rimuove i bottoni/frecce (dove presenti) */
.filterbar *::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}

/* Elimina eventuale “corner” tra scroll verticale+orizzontale */
.filterbar *::-webkit-scrollbar-corner {
  background: transparent;
}


th.woocommerce-product-attributes-item__label {
  min-width: 135px;
}


.gradient-slider .splide__track:before {
  content: '';
  width: 50px;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(272deg, #f5f5f5, #00000000);
  z-index: 1;
}

.splide__arrow:hover svg {
  stroke: #ffffff !important;
}

button.single_buy_now_button.buy-now {
  background: linear-gradient(270deg, #F39221 0%, #E84600 100%);
  border-radius: 50px;
  padding: 11px 18px;
  color: white;
  font-weight: 600;
  ;
  font-size: 16px;
  height: 100%;
  width: 100%;
  text-align: center;
}

.custom-form-wooc {
  flex: 1 1 0;
}

form.cart:not(.variations_form) {
  flex-wrap: wrap !important;
  gap: 1rem !important;
}

/* .single_add_to_cart_button{
    width:100%;
} */
/* form.cart .quantity input, form.woocommerce-cart-form .quantity input, form.cart .quantity .plus, form.woocommerce-cart-form .quantity .plus, form.cart .quantity .minus, form.woocommerce-cart-form .quantity .minus{
    order:0;
    border:0px!important;
}
.cart .quantity {
    border: 1px solid #212121;
    border-radius: 30px!important;
}
form.cart .quantity .minus, form.woocommerce-cart-form .quantity .minus {
    border-style: solid;
    border-width: 1px;
    order: 1;
}
form.cart .quantity .plus, form.woocommerce-cart-form .quantity .plus {
    border-style: solid;
    border-width: 1px;
    order: 2;
} */

/* =========================================================
   1) Swap MENU <-> SHOW-SEARCH (overlay, senza reflow)
   Target: nel tuo markup entrambi stanno dentro #brxe-vdkeuf
========================================================= */
#brx-header #brxe-vdkeuf {
  position: relative;
}

/* “slot” sempre stabile per menu/search (non è l’altezza della top-search) */
#brx-header #brxe-vdkeuf {
  min-height: 56px;
  /* regola in base alla tua riga header */
}

#brx-header .header-menu,
#brx-header .show-search {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;

  transition: opacity .28s ease, transform .28s ease;
  will-change: opacity, transform;
}

/* TOP */
#brx-header:not(.scrolling) .header-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#brx-header:not(.scrolling) .show-search {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

/* SCROLL */
#brx-header.scrolling .header-menu {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

#brx-header.scrolling .show-search {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.product-stock-badge-compact {
  background: none !important;
  border: none !important
}

.bricks-link-wrapper {
  display: flex;
  align-items: center;
}

/* =========================================================
   2) Collasso fluido della TOP SEARCH (riduce davvero l’altezza header)
   NB: max-height deve essere > altezza reale della top-search
========================================================= */
#brx-header {
  --topsearch-max: 140px;
  /* alza se serve (input + risultati ecc.) */
  --topsearch-py: 0px;
  /* padding verticale della top-search quando visibile */
  --topsearch-my: 12px;
  /* margine verticale (se vuoi) quando visibile */
}

/* stato visibile (TOP) */
#brx-header .top-search {
  max-height: var(--topsearch-max);
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height .38s ease,
    padding .38s ease,
    margin .38s ease,
    opacity .22s ease,
    transform .38s ease;
  will-change: max-height, padding, margin, opacity, transform;
}




/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  #brx-header .header-menu,
  #brx-header .show-search,
  #brx-header .top-search,
  #brx-header #brxe-oxmtwx {
    transition: none !important;
    transform: none !important;
  }
}

#billing_tipologia_field label {
  color: white !important;
}

.woocommerce-error,
.woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-message {
  background-color: var(--px-color-light) !important;
  border: 1px solid var(--px-border) !important;
  color: var(--px-color-2) !important;
  font-size: 15px;
  font-weight: 500;
  border-radius: 30px;
  padding: 10px 20px;
}

.woocommerce-notices-wrapper .woocommerce-message {
  background-color: #212121 !important;
  color: #ffffff !important;
  padding: 10px 20px;
}

a.button.wc-forward.keychainify-checked {
  border-radius: 8px;
  font-weight: 600;
  background: var(--px-color-2) !important;
  color: #ffffff !important;
}




/* =========================
   BASE
========================= */
.cwgstock_button {
  width: 100%;
  background: #87ceeb00 !important;
  color: inherit !important;
  outline: none !important;
  border: none !important;
  border-radius: 8px;
  padding: 12px 7px !important;

}

.woocommerce-product-gallery .woocommerce-product-gallery__image img {
  width: 100%;
  max-height: 500px;
  min-height: 400px;
  object-fit: contain;
  background: white;
}

.form-group.center-block {
  display: flex !important;
  gap: 1rem;
}

.cwginstock-subscribe-form .panel-primary {
  border: 1px solid #212121 !important;
  border-radius: 10px;
}

.cwginstock-panel-body input[type=email],
.cwginstock-panel-body input[type=text],
.form-group,
.cwg_iagree_checkbox {
  margin-bottom: 10px !important;
}

.cwginstock-subscribe-form .panel-primary>.panel-heading {
  color: #212121 !important;
  background-color: #337ab700 !important;
  border-color: #337ab700 !important;
  text-align: left !important;
  padding: 10px 0px !important;
}

label {
  color: #212121;
  display: block;
  font-weight: 400;
  margin-bottom: 5px;
}

.splide__arrow svg {
  flex-shrink: 0;
}

::placeholder,
.cwginstock-panel-heading h4 {
  color: #212121 !important;
}

.cwginstock-panel-heading h4 {
  padding-top: 10px !important;
}

/* .woocommerce-mini-cart__buttons .button:not(.checkout) {
  display: none!important;
} */
.widget_shopping_cart_content {
  max-height: 550px;
}

.form-group.center-block input:not([type="radio"]):not([type="submit"]):not([type="number"]):not([type="checkbox"]) {
  text-align: left !important;
}

.width-full {
  width: 100%;
}

/*  */
.compu-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.compu-discount-badge--sale {
  background: var(--px-color-7);
  color: #fff;
}

.product-cart-card.brxe-product-add-to-cart:hover svg {
  fill: #ffffff !important;
}

.btn-fill-slide,
.single_add_to_cart_button,
.single_buy_now_button,
.bricks-background-primary,
.cwg_popup_submit,
#place_order,
.coupon-form button,
.bricks-button,
.quick-view,
button.woocommerce-Button.button,
.woocommerce .button:not(.product_type_simple),
.add_to_cart_button,
.product_type_simple,
.mg-menu-quick-links__account {
  --fill-start: #31b893;
  --fill-hover: var(--px-color-2);
  --text-color: #212121;
  --text-hover: #ffffff;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
  color: var(--text-color);
  transition: color 0.35s ease;
}

.btn-fill-slide::before,
.single_add_to_cart_button::before,
.btn-fill-slide::after,
.single_add_to_cart_button::after,
.single_buy_now_button::before,
.single_buy_now_button::after,
.bricks-background-primary::before,
.bricks-background-primary::after,
.cwg_popup_submit::before,
.cwg_popup_submit::after,
#place_order::before,
#place_order::after,
.coupon-form button::before,
.coupon-form button::after,
.bricks-button::before,
.bricks-button::after,
.quick-view::before,
.quick-view::after,
button.woocommerce-Button.button::before,
button.woocommerce-Button.button::after,
.woocommerce .button:not(.product_type_simple)::before,
.woocommerce .button:not(.product_type_simple)::after,
.add_to_cart_button::before,
.add_to_cart_button::after,
.product_type_simple::before,
.product_type_simple::after,
.mg-menu-quick-links__account::before,
.mg-menu-quick-links__account::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -15%;
  width: 130%;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* colore iniziale visibile */
.btn-fill-slide::before,
.single_add_to_cart_button::before,
.single_buy_now_button::before,
.bricks-background-primary::before,
.cwg_popup_submit::before,
#place_order::before,
.coupon-form button::before,
.bricks-button::before,
.quick-view::before,
button.woocommerce-Button.button::before,
.woocommerce .button:not(.product_type_simple)::before,
.add_to_cart_button::before,
.product_type_simple::before,
.mg-menu-quick-links__account::before {
  background: var(--fill-start);
  transform: translateX(0) skewX(-18deg);
}

/* secondo colore nascosto a sinistra */
.btn-fill-slide::after,
.single_add_to_cart_button::after,
.single_buy_now_button::after,
.bricks-background-primary::after,
.cwg_popup_submit::after,
#place_order::after,
.coupon-form button::after,
.bricks-button::after,
.quick-view::after,
button.woocommerce-Button.button::after,
.woocommerce .button:not(.product_type_simple)::after,
.add_to_cart_button::after,
.product_type_simple::after,
.mg-menu-quick-links__account::after {
  background: var(--fill-hover);
  transform: translateX(-115%) skewX(-18deg);
}

.btn-fill-slide:hover,
.single_add_to_cart_button:hover,
.btn-fill-slide:focus-visible,
.single_add_to_cart_button:focus-visible,
.single_buy_now_button:hover,
.single_buy_now_button:focus-visible,
.bricks-background-primary:hover,
.bricks-background-primary:focus-visible,
.cwg_popup_submit:hover,
.cwg_popup_submit:focus-visible,
#place_order:hover,
#place_order:focus-visible,
.coupon-form button:hover,
.coupon-form button:focus-visible,
.quick-view:hover,
.quick-view:focus-visible,
button.woocommerce-Button.button:hover,
button.woocommerce-Button.button:focus-visible,
.woocommerce .button:not(.product_type_simple):hover,
.woocommerce .button:not(.product_type_simple):focus-visible,
.add_to_cart_button:hover,
.add_to_cart_button:focus-visible,
.product_type_simple:hover,
.product_type_simple:focus-visible,
.mg-menu-quick-links__account:hover,
.mg-menu-quick-links__account:focus-visible {
  color: var(--text-hover);
}

.btn-fill-slide:hover::before,
.single_add_to_cart_button:hover::before,
.btn-fill-slide:focus-visible::before,
.single_add_to_cart_button:focus-visible::before,
.single_buy_now_button:hover::before,
.single_buy_now_button:focus-visible::before,
.bricks-background-primary:hover::before,
.bricks-background-primary:focus-visible::before,
.cwg_popup_submit:hover::before,
.cwg_popup_submit:focus-visible::before,
#place_order:hover::before,
#place_order:focus-visible::before,
.coupon-form button:hover::before,
.coupon-form button:focus-visible::before,
.quick-view:hover::before,
.quick-view:focus-visible::before,
button.woocommerce-Button.button:hover::before,
button.woocommerce-Button.button:focus-visible::before,
.woocommerce .button:not(.product_type_simple):hover::before,
.woocommerce .button:not(.product_type_simple):focus-visible::before,
.add_to_cart_button:hover::before,
.add_to_cart_button:focus-visible::before,
.product_type_simple:hover::before,
.product_type_simple:focus-visible::before,
.mg-menu-quick-links__account:hover::before,
.mg-menu-quick-links__account:focus-visible::before {
  transform: translateX(115%) skewX(-18deg);
}

.btn-fill-slide:hover::after,
.btn-fill-slide:focus-visible::after,
.single_add_to_cart_button:hover::after,
.single_add_to_cart_button:focus-visible::after,
.single_buy_now_button:hover::after,
.bricks-background-primary:hover::after,
.bricks-background-primary:focus-visible::after,
.cwg_popup_submit:hover::after,
.cwg_popup_submit:focus-visible::after,
#place_order:hover::after,
#place_order:focus-visible::after,
.coupon-form button:hover::after,
.coupon-form button:focus-visible::after,
.bricks-button:hover::after,
.bricks-button:focus-visible::after,
.quick-view:hover::after,
.quick-view:focus-visible::after,
button.woocommerce-Button.button:hover::after,
button.woocommerce-Button.button:focus-visible::after,
.woocommerce .button:not(.product_type_simple):hover::after,
.woocommerce .button:not(.product_type_simple):focus-visible::after,
.add_to_cart_button:hover::after,
.add_to_cart_button:focus-visible::after,
.product_type_simple:hover::after,
.product_type_simple:focus-visible::after,
.mg-menu-quick-links__account:hover::after,
.mg-menu-quick-links__account:focus-visible::after {
  transform: translateX(0) skewX(-18deg);
}


/* =========================
   VERSIONE 1
   Iniziale scuro -> hover var(--px-color-2)
========================= */
.add_to_cart_button, .product_type_simple, .mg-menu-quick-links__account {
  --fill-start: #31b893;
  --fill-hover: var(--px-color-2);
  --text-color: #ffffff;
  --text-hover: #ffffff;
}

.btn-fill-slide--dark-to-brand,
.single_add_to_cart_button,
.bricks-background-primary,
.cwg_popup_submit,
.bricks-button {
  --fill-start: #31b893;
  --fill-hover: var(--px-color-2);
  --text-color: #ffffff;
  --text-hover: #ffffff;
}

.btn-fill-slide--green-to-white {
  --fill-start: #31b893;
  --fill-hover: #ffffff !important;
  --text-color: #ffffff;
  --text-hover: var(--px-color-2);
}

.woocommerce .button,
button.woocommerce-Button.button {
  color: #fff;
}

/* =========================
   VERSIONE 2
   Invertita: iniziale var(--px-color-2) -> hover scuro
========================= */
.btn-fill-slide--brand-to-dark,
.single_buy_now_button,
#place_order,
.coupon-form button,
.woocommerce .button,
button.woocommerce-Button.button {
  --fill-start: var(--px-color-2);
  --fill-hover: #212121;
  --text-color: #ffffff;
  --text-hover: #ffffff;
}

.btn-fill-slide--dark-to-white {
  --fill-start: #212121;
  --fill-hover: #ffffff;
  --text-color: #ffffff;
  --text-hover: #212121;
}

/* =========================
   VERSIONE 3
   Iniziale bianco -> hover var(--px-color-2)
========================= */
.btn-fill-slide--white-to-brand,
.quick-view {
  --fill-start: #ffffff;
  --fill-hover: var(--px-color-2);
  --text-color: var(--px-color-2);
  --text-hover: #ffffff;
}

.quick-view:hover svg {
  fill: #ffffff !important;
}

.btn-fill-slide--white-to-brand:hover,
.bricks-background-primary:hover {
  color: #ffffff !important;
}

.btn-fill-slide.btn-fill-slide-green-to-white,
.bricks-button.btn-fill-slide-green-to-white,
.bricks-background-primary.btn-fill-slide-green-to-white,
.woocommerce .button.btn-fill-slide-green-to-white,
button.woocommerce-Button.button.btn-fill-slide-green-to-white {
  --fill-start: #31b893;
  --fill-hover: #ffffff;
  --text-color: #ffffff;
  --text-hover: var(--px-color-2);
}

.btn-fill-slide.btn-fill-slide-green-to-white:hover,
.btn-fill-slide.btn-fill-slide-green-to-white:focus-visible,
.bricks-button.btn-fill-slide-green-to-white:hover,
.bricks-button.btn-fill-slide-green-to-white:focus-visible,
.bricks-background-primary.btn-fill-slide-green-to-white:hover,
.bricks-background-primary.btn-fill-slide-green-to-white:focus-visible,
.woocommerce .button.btn-fill-slide-green-to-white:hover,
.woocommerce .button.btn-fill-slide-green-to-white:focus-visible,
button.woocommerce-Button.button.btn-fill-slide-green-to-white:hover,
button.woocommerce-Button.button.btn-fill-slide-green-to-white:focus-visible {
  color: var(--text-hover) !important;
}






a.add_to_cart_button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

a.add_to_cart_button .icon {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

a.add_to_cart_button.loading .icon,
a.add_to_cart_button.added .icon {
  opacity: 0;
  color: #ffffff !important;
  transform: scale(0.8);
}

a.add_to_cart_button.loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: cartSpin 0.7s linear infinite;
}

a.add_to_cart_button.added::after {
  content: "✓";
  color: #ffffff;
  position: absolute;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  animation: cartAddedPop 0.25s ease;
}
.checkout-inline-error-message {
    color: red !important;
}
.woocommerce-checkout .form-row.woocommerce-invalid input.input-text,
.woocommerce-checkout .form-row.woocommerce-invalid select,
.woocommerce-checkout .form-row.woocommerce-invalid textarea {
  border: 1px solid #e60012 !important;
  box-shadow: 0 0 0 1px #e60012 !important;
}
@keyframes cartSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cartAddedPop {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}






#descrizione {
  scroll-margin-top: clamp(80px, 8vw, 120px);
}

/* .variation-{
  display:none;
} */
.ywpo_availability_date.pre_order_single-easyfatt {
    background: #fae8e8;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1rem;
    color: #993a45;
    font-weight: 400;
    font-size: 14px;
}

.truncate-1 .navigation,
.slider-cat {
  display: -webkit-box !important;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 
form.cart .quantity .minus, form.woocommerce-cart-form .quantity .minus {
    border-style: solid;
    border-width: 0px;
    order: 0;
} */
