/* ================================================================
   AVEROVASU v2.3.2 — visual refinement layer
   Loaded after all legacy and v2.3.1 styles to prevent cascade regressions.
   ================================================================ */

/* Homepage hero: full-width premium product campaign, UGREEN-inspired
   in composition only. Artwork contains no copy; WordPress text remains live. */
body.averovasu-v2.home .np-hero,
body.averovasu-v2.home .np-hero-slider {
  position: relative !important;
  isolation: isolate !important;
  width: min(1600px, calc(100% - 48px)) !important;
  max-width: 1600px !important;
  aspect-ratio: 1862 / 654 !important;
  min-height: 420px !important;
  max-height: 590px !important;
  height: auto !important;
  margin: 18px auto 16px !important;
  overflow: hidden !important;
  border: 1px solid #e2ebe5 !important;
  border-radius: 24px !important;
  background: #f7faf8 !important;
  box-shadow: 0 18px 48px rgba(14, 36, 23, .075) !important;
  color: #101713 !important;
}
body.averovasu-v2.home .np-hero:before,
body.averovasu-v2.home .np-hero.has-custom-image:before {
  display: none !important;
  content: none !important;
}
body.averovasu-v2.home .np-hero-slides {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
}
body.averovasu-v2.home .np-hero-slide,
body.averovasu-v2.home .np-hero-slide.is-active {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
}
body.averovasu-v2.home .np-hero-slide .np-hero-inner {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 clamp(34px, 5.2vw, 88px) !important;
}
body.averovasu-v2.home .np-hero-product {
  position: absolute !important;
  z-index: 0 !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}
body.averovasu-v2.home .np-hero-art {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  overflow: hidden !important;
}
body.averovasu-v2.home .np-hero-art img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  filter: none !important;
}
body.averovasu-v2.home .np-hero-copy {
  position: absolute !important;
  z-index: 2 !important;
  top: 50% !important;
  left: clamp(34px, 5.2vw, 88px) !important;
  width: min(47%, 610px) !important;
  max-width: 610px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateY(-50%) !important;
}
body.averovasu-v2.home .np-hero-copy .np-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 0 0 17px !important;
  color: #405249 !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  letter-spacing: .18em !important;
}
body.averovasu-v2.home .np-hero-copy .np-eyebrow i {
  display: inline-block !important;
  width: 24px !important;
  height: 2px !important;
  border-radius: 3px !important;
  background: #079a51 !important;
}
body.averovasu-v2.home .np-hero-copy h1 {
  max-width: 610px !important;
  margin: 0 0 17px !important;
  color: #101713 !important;
  font-size: clamp(46px, 5.2vw, 78px) !important;
  font-weight: 850 !important;
  line-height: .98 !important;
  letter-spacing: -.065em !important;
  text-wrap: balance !important;
}
body.averovasu-v2.home .np-hero-copy > p {
  max-width: 480px !important;
  margin: 0 0 26px !important;
  color: #4f5d55 !important;
  font-size: clamp(14px, 1.15vw, 17px) !important;
  line-height: 1.7 !important;
}
body.averovasu-v2.home .np-hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
}
body.averovasu-v2.home .np-hero-actions .np-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 142px !important;
  min-height: 48px !important;
  padding: 0 22px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}
body.averovasu-v2.home .np-hero-actions .np-button-outline {
  border-color: #cbd8d0 !important;
  background: rgba(255,255,255,.86) !important;
  color: #17221b !important;
}
body.averovasu-v2.home .np-hero-actions .np-button-outline:hover {
  border-color: #079a51 !important;
  background: #fff !important;
  color: #087c42 !important;
}
body.averovasu-v2.home .np-hero-controls { z-index: 5 !important; bottom: 15px !important; }

/* About page: real product visual instead of a generic monogram placeholder. */
.av23-about-hero-art {
  min-width: 0 !important;
  min-height: 280px !important;
  padding: 8px !important;
}
.av23-about-hero-art img {
  display: block !important;
  width: 100% !important;
  max-width: 540px !important;
  height: 300px !important;
  max-height: 340px !important;
  object-fit: cover !important;
  object-position: center !important;
  border: 1px solid #e0e9e3 !important;
  border-radius: 18px !important;
  background: #f4f8f5 !important;
  box-shadow: 0 18px 44px rgba(18,55,33,.10) !important;
}

/* Product-category support CTA: reserve usable columns and prevent narrow
   min-content sizing from stacking every word vertically. */
body.averovasu-v2 .np-shop-benefits {
  display: grid !important;
  grid-template-columns: 48px minmax(280px, 1fr) max-content !important;
  align-items: center !important;
  column-gap: 18px !important;
  row-gap: 12px !important;
  width: min(1280px, calc(100% - 48px)) !important;
  min-height: 112px !important;
  margin: 26px auto 42px !important;
  padding: 22px 26px !important;
  border: 1px solid #d6ecde !important;
  border-radius: 16px !important;
  background: linear-gradient(105deg, #f1fff6 0%, #e9fbf0 100%) !important;
  box-sizing: border-box !important;
}
body.averovasu-v2 .np-shop-benefits .np-shop-help-icon {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  margin: 0 !important;
  border-radius: 12px !important;
  background: #d8f7e4 !important;
  color: #078f4c !important;
}
body.averovasu-v2 .np-shop-benefits .np-shop-help-copy {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 5px !important;
  width: 100% !important;
  min-width: 280px !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: none !important;
}
body.averovasu-v2 .np-shop-benefits .np-shop-help-copy strong {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  color: #111815 !important;
  font-size: clamp(15px, 1.3vw, 18px) !important;
  font-weight: 850 !important;
  line-height: 1.28 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
body.averovasu-v2 .np-shop-benefits .np-shop-help-copy small {
  display: block !important;
  width: 100% !important;
  max-width: 760px !important;
  margin: 0 !important;
  color: #65736a !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}
body.averovasu-v2 .np-shop-benefits .np-shop-help-actions {
  grid-column: 3 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  width: auto !important;
  min-width: max-content !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: none !important;
}
body.averovasu-v2 .np-shop-benefits .np-shop-help-actions .np-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 132px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border-radius: 9px !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  word-break: normal !important;
}

/* Product Key Features: predictable two-column cards and normal text flow. */
body.averovasu-v2.single-product .np-product-summary .np-product-highlights-wrap {
  width: 100% !important;
  min-width: 0 !important;
  margin: 16px 0 18px !important;
}
body.averovasu-v2.single-product .np-product-summary .np-product-highlights-wrap > h3 {
  margin: 0 0 10px !important;
  color: #17211b !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  line-height: 1.35 !important;
}
body.averovasu-v2.single-product .np-product-summary .np-product-highlights {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
body.averovasu-v2.single-product .np-product-summary .np-product-highlights li.np-highlight-rich {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 10px !important;
  min-width: 0 !important;
  min-height: 68px !important;
  margin: 0 !important;
  padding: 11px 13px !important;
  border: 1px solid #deebe2 !important;
  border-radius: 11px !important;
  background: #f7fbf8 !important;
  box-sizing: border-box !important;
}
body.averovasu-v2.single-product .np-product-summary .np-product-highlights li.np-highlight-rich > span:first-child {
  display: grid !important;
  place-items: center !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  margin: 0 !important;
  border-radius: 9px !important;
  background: #e0f6e8 !important;
  color: #078f4c !important;
}
body.averovasu-v2.single-product .np-product-summary .np-product-highlights li.np-highlight-rich > span:first-child svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
}
body.averovasu-v2.single-product .np-product-summary .np-highlight-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 3px !important;
  min-width: 0 !important;
  width: 100% !important;
  overflow: visible !important;
}
body.averovasu-v2.single-product .np-product-summary .np-highlight-copy strong {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  color: #18221c !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}
body.averovasu-v2.single-product .np-product-summary .np-highlight-copy small {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  color: #69776e !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

/* Native WooCommerce variations stay authoritative; JS adds accessible visual
   buttons and synchronizes every click back to the real select element. */
body.averovasu-v2.single-product .variations_form table.variations td.value {
  position: relative !important;
  min-width: 0 !important;
  vertical-align: top !important;
}
body.averovasu-v2.single-product .variations_form select.av32-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.av32-variation-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  gap: 9px !important;
  width: 100% !important;
  margin: 8px 0 7px !important;
}
.av32-variation-option {
  position: relative !important;
  display: flex !important;
  flex: 0 0 auto !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-width: 76px !important;
  min-height: 84px !important;
  padding: 7px 9px !important;
  border: 1px solid #d9e2dc !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: #26322a !important;
  box-shadow: none !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
}
.av32-variation-option:hover { border-color: #83c99d !important; background: #f8fcf9 !important; }
.av32-variation-option.is-selected,
.av32-variation-option[aria-checked="true"] {
  border: 2px solid #111815 !important;
  padding: 6px 8px !important;
  background: #fbfefc !important;
  box-shadow: 0 0 0 2px rgba(11, 151, 75, .10) !important;
}
.av32-variation-option:focus-visible { outline: 3px solid rgba(9, 157, 81, .22) !important; outline-offset: 2px !important; }
.av32-variation-option:disabled,
.av32-variation-option.is-disabled { opacity: .38 !important; cursor: not-allowed !important; filter: grayscale(.55) !important; }
.av32-variation-option img {
  display: block !important;
  width: 58px !important;
  height: 48px !important;
  max-width: 58px !important;
  max-height: 48px !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 5px !important;
  background: #f4f6f4 !important;
}
.av32-variation-color-dot {
  display: block !important;
  width: 28px !important;
  height: 28px !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  border-radius: 50% !important;
  background: var(--av32-swatch-color, #cbd4ce) !important;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.22) !important;
}
.av32-variation-option.is-text {
  min-width: 58px !important;
  min-height: 42px !important;
  padding: 10px 15px !important;
  flex-direction: row !important;
  gap: 0 !important;
  font-size: 12px !important;
}
.av32-variation-option.is-text.is-selected { padding: 9px 14px !important; }
.av32-variation-current { display: inline-block !important; margin-left: 5px !important; color: #737f77 !important; font-weight: 500 !important; }

@media (max-width: 1100px) and (min-width: 761px) {
  body.averovasu-v2.home .np-hero,
  body.averovasu-v2.home .np-hero-slider { min-height: 390px !important; }
  body.averovasu-v2.home .np-hero-copy { width: 48% !important; }
  body.averovasu-v2.home .np-hero-copy h1 { font-size: clamp(42px, 5vw, 58px) !important; }
  body.averovasu-v2 .np-shop-benefits {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    width: calc(100% - 36px) !important;
    max-width: 1280px !important;
    padding: 19px 21px !important;
  }
  body.averovasu-v2 .np-shop-benefits .np-shop-help-actions {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-content: flex-start !important;
  }
}

@media (max-width: 760px) {
  body.averovasu-v2.home .np-hero,
  body.averovasu-v2.home .np-hero-slider {
    width: calc(100% - 24px) !important;
    max-width: none !important;
    aspect-ratio: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    margin: 10px 12px 13px !important;
    border-radius: 16px !important;
  }
  body.averovasu-v2.home .np-hero-slides {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    min-height: 0 !important;
  }
  body.averovasu-v2.home .np-hero-slide { display: none !important; }
  body.averovasu-v2.home .np-hero-slide.is-active {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
  }
  body.averovasu-v2.home .np-hero-slide .np-hero-inner {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 27px 22px 13px !important;
  }
  body.averovasu-v2.home .np-hero-copy {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    transform: none !important;
  }
  body.averovasu-v2.home .np-hero-copy .np-eyebrow { margin-bottom: 11px !important; font-size: 9px !important; }
  body.averovasu-v2.home .np-hero-copy h1 {
    max-width: 460px !important;
    margin: 0 0 11px !important;
    font-size: clamp(36px, 9vw, 46px) !important;
    line-height: .99 !important;
  }
  body.averovasu-v2.home .np-hero-copy > p { max-width: 500px !important; margin-bottom: 17px !important; font-size: 13px !important; }
  body.averovasu-v2.home .np-hero-actions { gap: 8px !important; }
  body.averovasu-v2.home .np-hero-actions .np-button { min-width: 0 !important; min-height: 42px !important; padding: 0 14px !important; font-size: 11px !important; }
  body.averovasu-v2.home .np-hero-product {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: 300px !important;
    min-height: 300px !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
  }
  body.averovasu-v2.home .np-hero-art { position: relative !important; inset: auto !important; width: 100% !important; height: 300px !important; max-height: 300px !important; }
  body.averovasu-v2.home .np-hero-art img { width: 100% !important; height: 300px !important; max-height: 300px !important; object-fit: contain !important; }
  body.averovasu-v2.home .np-hero-controls { bottom: 8px !important; }

  .av23-about-hero-art { min-height: 0 !important; padding: 0 !important; }
  .av23-about-hero-art img { height: auto !important; max-height: 270px !important; aspect-ratio: 1.4 / 1 !important; }

  body.averovasu-v2 .np-shop-benefits {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    width: calc(100% - 28px) !important;
    min-height: 0 !important;
    margin: 20px auto 30px !important;
    padding: 17px !important;
    gap: 10px 12px !important;
  }
  body.averovasu-v2 .np-shop-benefits .np-shop-help-icon { grid-column: 1 !important; grid-row: 1 !important; width: 40px !important; height: 40px !important; min-width: 40px !important; }
  body.averovasu-v2 .np-shop-benefits .np-shop-help-copy { grid-column: 2 !important; grid-row: 1 !important; min-width: 0 !important; width: 100% !important; }
  body.averovasu-v2 .np-shop-benefits .np-shop-help-copy strong { font-size: 15px !important; }
  body.averovasu-v2 .np-shop-benefits .np-shop-help-copy small { font-size: 11px !important; }
  body.averovasu-v2 .np-shop-benefits .np-shop-help-actions {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  body.averovasu-v2 .np-shop-benefits .np-shop-help-actions .np-button { flex: 1 1 145px !important; min-width: 0 !important; }

  body.averovasu-v2.single-product .np-product-summary .np-product-highlights { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 8px !important; }
  body.averovasu-v2.single-product .np-product-summary .np-product-highlights li.np-highlight-rich { grid-template-columns: 29px minmax(0,1fr) !important; min-height: 66px !important; gap: 7px !important; padding: 9px !important; }
  body.averovasu-v2.single-product .np-product-summary .np-product-highlights li.np-highlight-rich > span:first-child { width: 28px !important; height: 28px !important; min-width: 28px !important; }
  body.averovasu-v2.single-product .np-product-summary .np-highlight-copy strong { font-size: 11px !important; }
  body.averovasu-v2.single-product .np-product-summary .np-highlight-copy small { font-size: 10px !important; }
  .av32-variation-option { min-width: 70px !important; min-height: 80px !important; }
}

@media (max-width: 480px) {
  body.averovasu-v2.single-product .np-product-summary .np-product-highlights { grid-template-columns: 1fr !important; }
  .av32-variation-option { min-width: 66px !important; }
}

@media (prefers-reduced-motion: reduce) {
  body.averovasu-v2.home .np-hero-slide { transition: none !important; }
  .av32-variation-option { transition: none !important; }
}
