/* HygINOX 1.0.13.1 - precision gallery arrow hotfix.
 * Uniform 1:1 circular buttons in list/grid/shortcode cards and single-product
 * gallery, independent of Woodmart button padding/min dimensions.
 * Scoped: no other buttons, arrows, modal controls or settings are changed.
 */
.hx-design-scope .hx-card-v104 .hx-rich-gallery-controls > button[data-hx-slide-prev],
.hx-design-scope .hx-card-v104 .hx-rich-gallery-controls > button[data-hx-slide-next] {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 44px !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  border: 1px solid #cbdce9 !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
  text-indent: 0 !important;
  background: #fff !important;
  color: #0b3153 !important;
  box-shadow: 0 3px 12px rgba(11,49,83,.13) !important;
  overflow: hidden !important;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease !important;
}
.hx-design-scope .hx-card-v104 .hx-rich-gallery-controls > button[data-hx-slide-prev] :is(svg, img),
.hx-design-scope .hx-card-v104 .hx-rich-gallery-controls > button[data-hx-slide-next] :is(svg, img) {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  flex: 0 0 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
}
.hx-design-scope .hx-card-v104 .hx-rich-gallery-controls > button[data-hx-slide-prev] svg,
.hx-design-scope .hx-card-v104 .hx-rich-gallery-controls > button[data-hx-slide-next] svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
}
.hx-design-scope .hx-card-v104 .hx-rich-gallery-controls > button:is(:hover, :focus-visible)[data-hx-slide-prev],
.hx-design-scope .hx-card-v104 .hx-rich-gallery-controls > button:is(:hover, :focus-visible)[data-hx-slide-next] {
  background: #f2f7fb !important;
  border-color: #9bb8d0 !important;
  color: #0b3153 !important;
  box-shadow: 0 4px 14px rgba(11,49,83,.17) !important;
}
.hx-design-scope .hx-card-v104.hx-arrows-overlay .hx-rich-gallery-controls > button[data-hx-slide-prev],
.hx-design-scope .hx-card-v104.hx-arrows-overlay .hx-rich-gallery-controls > button[data-hx-slide-next],
.hx-design-scope .hx-card-v104.hx-arrows-overlay .hx-rich-gallery-controls > button:is(:hover, :focus-visible)[data-hx-slide-prev],
.hx-design-scope .hx-card-v104.hx-arrows-overlay .hx-rich-gallery-controls > button:is(:hover, :focus-visible)[data-hx-slide-next] {
  transform: translateY(-50%) !important;
}
.hx-design-scope .hx-card-v104:not(.hx-arrows-overlay) .hx-rich-gallery-controls > button[data-hx-slide-prev],
.hx-design-scope .hx-card-v104:not(.hx-arrows-overlay) .hx-rich-gallery-controls > button[data-hx-slide-next] {
  transform: none !important;
}
/* Single product: exactly circular as well, retaining the current overlay position. */
.hx-product-page.hx-design-scope .hx-gallery-main-stage .hx-gallery-carousel-nav {
  box-sizing: border-box !important;
  display: inline-flex !important;
  flex: 0 0 44px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  border: 1px solid #cbdce9 !important;
  background: #fff !important;
  box-shadow: 0 3px 12px rgba(11,49,83,.13) !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  text-indent: 0 !important;
  overflow: hidden !important;
  transform: translateY(-50%) !important;
}
.hx-product-page.hx-design-scope .hx-gallery-main-stage .hx-gallery-carousel-nav img,
.hx-product-page.hx-design-scope .hx-gallery-main-stage .hx-gallery-carousel-nav svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  padding: 0 !important;
  margin: 0 !important;
  object-fit: contain !important;
}
@media (max-width: 760px) {
  .hx-design-scope .hx-card-v104 .hx-rich-gallery-controls > button[data-hx-slide-prev],
  .hx-design-scope .hx-card-v104 .hx-rich-gallery-controls > button[data-hx-slide-next],
  .hx-product-page.hx-design-scope .hx-gallery-main-stage .hx-gallery-carousel-nav {
    flex-basis: 40px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
  }
}
