/* Final interaction and stacking fixes for theme 5230. */

/* Keep the cart drawer above the product-page floating purchase bar. */
.f-cart-drawer {
  z-index: 120 !important;
}

body.template-product .f-sticky-addtocart {
  z-index: 90 !important;
}

/* Footer policy links should only show their clickable cursor over the text. */
.f-footer--middle .f-footer--block-menu .f-link-lists--item {
  cursor: default !important;
  pointer-events: none;
}

.f-footer--middle .f-footer--block-menu .f-link-lists--item > .f-link {
  cursor: pointer !important;
  pointer-events: auto;
}

/* Prevent hidden currency options from creating page-level horizontal scrolling. */
body.template-product {
  max-width: 100%;
  overflow-x: clip;
}

body.template-product .f-currency-switcher .f-select-custom--options {
  right: 0 !important;
  left: auto !important;
  max-width: calc(100vw - 24px) !important;
  box-sizing: border-box;
}

/* Hide legacy product videos that are no longer publicly embeddable. */
.simig-akira-detail .ak-section:has(iframe[src*="1129388222"]) {
  display: none !important;
}

/* Keep modal and drawer focus behaviour explicit for keyboard users. */
.bf5230-modal-open,
.bf5230-modal-open body {
  overflow: hidden !important;
}

button.f-menu-button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  pointer-events: auto !important;
  cursor: pointer;
}

button.f-sidebar--close {
  border: 0;
  background: transparent;
  color: inherit;
}

.bf5230-product-banner__currency-note {
  margin: -4px 0 12px;
  font-size: 12px;
  line-height: 1.45;
  opacity: 0.78;
}

/* Preserve text contrast on the bright Best Sellers feature image. */
.section_id_custom-content-DTcx1PzCcv .f-image-card__inner {
  position: relative;
}

.section_id_custom-content-DTcx1PzCcv .f-image-card__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.28) 42%,
    rgba(0, 0, 0, 0.04) 72%
  );
}

.section_id_custom-content-DTcx1PzCcv .f-image-card__content {
  z-index: 2;
}
