/* body:not(.template-index) .announcement__wrapper .announcement__bar-holder, */
.hxoSelectTheme .buckscc-select-options li:hover .bucksItem {
  color: var(--primary-color) !important;
}
.hxoSelectTheme .buckscc-select-options li:hover {
    background: transparent !important;
}
body:not(.template-index) .theme__header:after {
  background: var(--header-bg) !important;
  & p {
    color: var(--primary-color);
  }
}
.wrapper--full-padded {
    position: relative;
}

body:not(.template-index) .theme__header {
  & p,
  & .navtext,
  & .header__mobile__hamburger,
  & .header__logo__link,
  & .btn {
    color: var(--primary-color);
  }
  & .icon {
    stroke: var(--primary-color);
  }
  & .logo__img {
    filter: invert(100%);
  }
  & .navlink--cart--icon .header__cart__status {
    color: var(--secondary-color);
  }
}

body.template-product .product__wrapper {
  @media only screen and (max-width: 700px) {
    .radio__buttons .radio__button {
      width: 20%;
    }
  }
  @media (max-width: 749px) {
    margin: 0;
    & .product__title__wrapper {
      padding-right: 0;
    }
  }
  @media (max-width: 750px) {
    .radio__fieldset .radio__button label {
      min-width: 60px;
      height: 30px;
      padding: 0;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      max-width: 90px;
    }
  }
  @media only screen and (min-width: 480px) {
    & .product__submit__buttons--inline {
      grid-template-columns: repeat(1, minmax(0, 1fr));
    }
  }
   & .sale-box {
    top: 10px !important;
    left: 10px !important;
   }
  & .slider__button {
    background: transparent;
    &::after {
      display:none;
    }
    &::before {
      background: #fff;
    }
  }
  & .product__title {
    font-weight: 700;
  }
  & .product__block {
    &[style*='--text'] {
      & .product__subheading * {
        color: var(--text) !important;
      }
    }
  }
  & .custom-badge {
    position: absolute;
    z-index: 1;
    top: 10%;
    left: 0;
    width: auto;
    display: flex;
    align-items: center;
    @media (min-width: 750px) {
      top: 5%;
    }
    & .badge__image {
      max-width: 85px;
      height: 85px;
      & img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
      }
    }
  }
  & .form__wrapper--classic .radio__legend__label--text {
    justify-content: space-between;
  }
  & product-modal > svg {
    transform: rotate(45deg);
  }
  & .accordion__title {
    font-size: 1.1rem !important;
  }
  & .product__submit__item button {
    min-height: 40px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: 12px;
    padding: 0;
    @media (min-width: 750px) {
      font-size: 16px;
    }
    & .product__price {
      font-size: inherit;
    }
    & .product__price--strike {
      font-weight: 500;
    }

    & .product__sale {
      display: none;
    }
    & .btn__text-wrapper {
      display: flex;
      gap: 5px;
      align-items: center;
      width: 100%;
      justify-content: center;
      flex-wrap: wrap;
    }
    & .block-padding {
      padding: 0;
      margin: 0;
    }
    & .product__price--sale {
      color: var(--secondary-color);
      margin: 0;
    }
    & .shop-pay-terms {
      display: none;
    }
  }
  & .cart__payment-icons {
    padding-top: 0rem;
    justify-content: center;
  }
  & .cart__payment-icons svg {
    width: 30px;
    height: calc(30px - 10px);
  }
  & .product__price {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.6rem;
  }
  & .product__price--strike {
    color: #646464;
  }
  & .form__wrapper .product__sale {
    visibility: visible !important;
  }
  & .product__price--off {
    border-radius: 20px;
    padding: 7px 10px 5px;
    font-weight: 500;
    margin-left: 10px;
    line-height: 1;
  }
  & .product__price__wrap[data-sale_cust='on_sale'] span.product__price--off {
    position: relative;
    top: -2px;
    right: 0;
  }
  & .form__wrapper .bss_pb_img {
    display: none !important;
    height: 0 !important;
  }
  .radio__fieldset .radio__button label {
    border-width: 2px;
  }
  & .radio__fieldset .radio__button input:checked ~ label {
    border: 2px solid var(--primary);
  }
  & .product__photo {
    padding-top: 125%;
  }
  & .product__wrapper__inner {
    overflow-x: hidden;
  }
  & .product__thumbs {
    margin: 3px 0;
  }
  & .fera-wrapper {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 5px;
    & .fera-widget {
      margin: 0;
      display: block;
    }
    & .fera-link {
      font-size: 14px;
    }
    & .fera-link span:last-child {
      font-weight: 500;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
  }
  @media only screen and (max-width: 749px) {
    & .product__slides {
      margin-bottom: 0;
    }
    & .bss_parent_text {
      margin-top: 12px !important;
      margin-left: 15px !important;
    }
  }
}

.product-quick-add__form .product__submit__buttons {
  & .btn__added,
  & .dash,
  & .product__block {
    display: none;
  }
}

.grid .grid-item,
body.template-product .product__wrapper {
  & .bss_parent_text {
    margin-left: 0 !important;
    top: 5px !important;
    left: 5px !important;
    & .bss_pl_label_text {
      background: #a50606 !important;
      padding: 5px 14px 3px !important;
      width: auto !important;
      max-width: fit-content;
      border: 1px solid #fff !important;
      border-radius: 30px !important;
      height: auto !important;
      white-space: nowrap !important;
      font-size: 10px !important;
    }
  }
}
.sale-box {
  position: absolute;
  margin-left: 0 !important;
  top: 5px !important;
  left: 5px !important;
  padding: 8px 14px 5px !important;
  width: auto !important;
  max-width: fit-content;
  border: 1px solid #fff !important;
  border-radius: 30px !important;
  height: auto !important;
  white-space: nowrap !important;
  font-size: 10px !important;
  line-height: 1;
}

@media only screen and (max-width: 749px) {
  .grid--mobile-slider.two-columns {
    gap: var(--gap);
    & .grid-item {
      width: calc(50% - var(--gap)) !important;
      margin-right: 0;
    }
  }
  .grid-item .product-item__info {
    padding-inline: 0;
  }
  body.template-product .product__wrapper .product__content {
    margin: 0 var(--outer);
  }
  body.template-product .product__wrapper .slider__button {
    display: block;
  }
}

/* Buttons appear only on mobile; hide above the breakpoint */
@media (max-width: 749px) {
  .mobile-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    inline-size: 40px;
    block-size: 40px;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    z-index: 2;
    /* keep clicks from being swallowed by overflow-scroller */
    pointer-events: auto;
  }
  .mobile-slider-nav svg {
    width: 36px;
    height: 36px;
  }
  .mobile-slider-nav--prev {
    left: 8px;
  }
  .mobile-slider-nav--next {
    right: 8px;
  }

  .mobile-slider-nav.is-disabled {
    opacity: 0.4;
    cursor: default;
  }

  /* Optional: hide buttons while user is actively scrolling with touch */
  .grid--mobile-slider:active .mobile-slider-nav {
    opacity: 0.8;
  }

  /* Ensure scroll snapping works (if not already set per-item) */
  .grid--mobile-slider > * {
    scroll-snap-align: start;
  }
}
@media (min-width: 750px) {
  .mobile-slider-nav {
    display: none !important;
  }
}
