:root {
  --font-size-body: 15px;
  --base-line-height: normal;
  --heading-font-family: var(--secondary-font);
  --font-size-section-heading: 34px;
}

#rawa-button {
  --rawa-position-bottom: 80px;
}

html {
  scroll-padding-top: var(--header-height);
}

body {
  line-height: var(--base-line-height);
}

/* Headings */
.subcollections-list__content[data-subcollections-layout=menu] .subcollections-menu__menu-items h2,
.highlights-banner__heading,
.featured-collection__title-card-heading,
.slideshow-slide__heading,
.age-gate__heading,
.spr-header-title,
.product-recently-viewed__heading,
.product-section--title,
.home-section--title,
.shoppable-image__section-heading,
.image-with-text__section-heading,
.custom-html--container .home-section--title,
.custom-liquid--container .home-section--title,
.faq__section-heading,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font-family);
}

/* Buttons */
/* Primary button */
.button,
.button-primary,
.button-secondary,
.slideshow-slide__button--primary,
.slideshow-slide__button--secondary,
.countdown-timer__caption-button.countdown-timer__caption-button--primary,
.countdown-timer__caption-button.countdown-timer__caption-button--secondary,
.promo-grid--container .promo-block--button,
.dynamic-bundle-container .rebuy-widget.widget-type-dynamic-bundle .rebuy-bundle__actions-buttons .rebuy-button,
.image-with-text__button,
.productgrid--no-results-button {
  --button-background-color: var(--secondary-color);
  --button-text-color: var(--white);
  --button-border-color: var(--secondary-color);
  --button-background-color-hover: var(--primary-background-color);
  --button-text-color-hover: var(--primary-color);
  --button-border-color-hover: var(--primary-background-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 48px;
  border-radius: 6px;
  background-color: var(--button-background-color);
  color: var(--button-text-color);
  font-weight: 600;
  font-size: 15px;
  line-height: 17px;
  border-color: var(--button-border-color);

  @media (max-width: 834px) {
    min-height: 34px;
    padding: 0 32px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 15px;
  }

  &:not(.disabled):hover {
    box-shadow: none;
  }

  @media (hover: hover) {
    transition: all 0.3s ease;

    &:not(.disabled):hover {
      background-color: var(--button-background-color-hover);
      color: var(--button-text-color-hover);
      border-color: var(--button-border-color-hover);
      box-shadow: none;
    }
  }

  &:active {
    background-color: var(--button-background-color-hover);
    color: var(--button-text-color-hover);
    border-color: var(--button-border-color-hover);
  }

  &::before,
  &::after {
    content: none;
  }

  &.disabled,
  &[disabled] {
    background-color: var(--light-text-color);
    color: var(--secondary-background-color);
    border-color: var(--light-text-color);
    pointer-events: none;
  }

  &:focus {
    box-shadow: none;
  }
}

/* Secondary button */
.button-secondary,
.button.button--secondary,
.slideshow-slide__button--secondary,
.dynamic-bundle-container .rebuy-widget.widget-type-dynamic-bundle .rebuy-bundle__actions-buttons .rebuy-button,
.productgrid--no-results-button {
  --button-background-color: var(--primary-color);
  --button-text-color: var(--white);
  --button-border-color: var(--primary-color);
  --button-background-color-hover: var(--red-accent-color);
  --button-text-color-hover: var(--white);
  --button-border-color-hover: var(--red-accent-color);
}

/* Tertiary button */
.button.button--tertiary,
.countdown-timer__caption-button.countdown-timer__caption-button--secondary,
.promo-grid--container .promo-block--button.button-secondary {
  --button-background-color: var(--primary-background-color);
  --button-text-color: var(--primary-color);
  --button-border-color: var(--primary-background-color);
  --button-background-color-hover: var(--red-accent-color);
  --button-text-color-hover: var(--white);
  --button-border-color-hover: var(--red-accent-color);
}

/* Link underline */
.link-underline {
  display: inline-flex;
  align-items: center;
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: 12px;
  line-height: normal;
  text-decoration: underline;
  text-transform: uppercase;
  color: var(--secondary-color);
  border: 0;
  background-color: transparent;
  padding: 0;
  cursor: pointer;

  @media (hover: hover) {
    &:hover {
      text-decoration: none;
    }
  }

  &:active {
    text-decoration: none;
  }
}

/* Announcement bar */
.site-announcement {
  z-index: 10;
  position: relative;
}

announcement-bar {
  .swiper:not(.swiper-initialized) {
    opacity: 1;
  }

  .swiper-buttons-container {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 100%;
    pointer-events: none;

    button {
      border: 0;
      background-color: transparent;
      cursor: pointer;
      padding: 0;
    }
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
    pointer-events: all;

    &::after {
      content: none;
    }
  }

  .swiper-button-prev {
    left: 0;
    transform: translateY(-50%) rotate(180deg);
  }

  .swiper-button-next {
    right: 0;
  }
  
  @media (max-width: 999px) {
    .swiper-button-prev {
      left: 10px;
    }
  
    .swiper-button-next {
      right: 10px;
    }
  }
}

.announcement-bar {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 10px 0;
  box-sizing: border-box;
}

.announcement-bar-swiper-wrapper {
  position: relative;
  max-width: 782px;
  width: 100%;
  margin: 0 auto;
  
  @media (max-width: 999px) {
    max-width: 742px;
    width: calc(100% - 20px);
  }
}

.announcement-bar-swiper {
  margin: 0 58px;

  @media (max-width: 999px) {
    margin: 0 38px;
  }
}

.announcement-bar-text {
  a {
    text-decoration: none;
  }
}

/* Header */
.site-logo-image {
  max-height: auto;
  max-width: 100px;
}

.live-search-form:hover,
.live-search--focused .live-search-form,
.live-search-form {
  box-shadow: none;
  border: 0;
}

.live-search-filter-wrapper:focus-within {
  box-shadow: none;
}

.live-search-filter-wrapper .live-search-filter {
  cursor: pointer;
}

.form-field-select.live-search-filter-label {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0 40px 0 18px;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  font-weight: 600;
}

.form-field-select-wrapper svg {
  color: var(--white);
  right: 18px;
}

.live-search-form-field {
  background-color: var(--secondary-background-color);
  border: 0;
  color: var(--primary-color);
  padding-left: 16px;
  padding-right: 0;

  &::placeholder {
    color: var(--dark-text-color);
    opacity: 1 !important;
  }
}

.live-search-button {
  background-color: var(--secondary-background-color);
  color: var(--dark-text-color);
  border: 0;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;

  @media (hover: hover) {
    transition: 0.3s ease;
  }

  &:not(.disabled):hover,
  &:not(.disabled):active {
    background-color: var(--secondary-background-color);
    color: var(--primary-color);
    border: 0;
    box-shadow: none;
  }
}

.small-promo-content--link {
  @media (hover: hover) {
    .small-promo {
      transition: 0.3s ease;
    }

    &:hover {
      .small-promo-custom-icon {
        filter: brightness(0) saturate(100%) invert(34%) sepia(0%) saturate(1063%) hue-rotate(186deg) brightness(96%) contrast(82%);
      }

      .small-promo {
        color: var(--dark-text-color);
      }
    }
  }

  &:active {
    .small-promo-custom-icon {
      filter: brightness(0) saturate(100%) invert(34%) sepia(0%) saturate(1063%) hue-rotate(186deg) brightness(96%) contrast(82%);
    }

    .small-promo {
      color: var(--dark-text-color);
    }
  }
}

.site-header-actions {
  .site-header-actions__account-link svg {
    max-width: 28px;
    max-height: 28px;
  }

  .site-header_account-link-text {
    display: none;
  }
}

.site-navigation .site-navigation__secondary-menu {
  .navmenu-item {
    opacity: 1;
  }

  .navmenu-link {
    color: var(--dark-text-color);

    @media (hover: hover) {
      transition: 0.3s ease;

      &:hover {
        color: var(--primary-color);
      }
    }

    &:hover {
      opacity: 1;
    }

    &:active {
      opacity: 1;
      color: var(--primary-color);
    }
  }
}

.navmenu-depth-1 .navmenu-item:has(.navmenu-link-button) {
  display: flex;
  align-items: center;
}

.navmenu-depth-1 .navmenu-link {
  &.navmenu-link-highlighted {
    color: var(--secondary-color);

    @media (hover: hover) {
      transition: 0.3s ease;

      &:hover {
        color: var(--red-accent-color);
      }
    }

    &:active {
      color: var(--red-accent-color);
    }
  }

  &.navmenu-link-discount {
    position: relative;

    &::after {
      content: '';
      display: block;
      position: absolute;
      top: 1px;
      right: -8px;
      width: 12px;
      height: 12px;
      background-image: url('icon-discount.svg');
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
    }
  }

  &.navmenu-link-button {
    padding: 8px 20px;
    background-color: var(--red-accent-color);
    color: var(--white);
    border-radius: 100px;

    &:hover {
      opacity: 1;
    }

    &:active {
      opacity: 1;
      background-color: var(--secondary-color);
    }

    @media (hover: hover) {
      transition: 0.3s ease;

      &:hover {
        background-color: var(--secondary-color);
      }
    }
  }
}

.site-navigation {
  .navmenu-depth-2 .navmenu-link:hover {
    @media (hover: hover) {
      transition: 0.3s ease;

      &:hover {
        color: var(--red-accent-color);
      }
    }

    &:active {
      color: var(--red-accent-color);
    }
  }

  .navmenu-depth-1 > li > a:hover {
    opacity: 1;
  }
}

.site-navigation .navmenu-link-depth-1:focus,
.site-navigation .navmenu-depth-2 .navmenu-link:focus,
.site-navigation .header-account-link a:focus,
.site-navigation .navmenu-meganav-standard__item > a:focus,
.site-navigation .navmenu-meganav-standard__image-text > a:focus,
.search-flydown__list-item a:focus,
.search-flydown--product:focus,
.search-flydown__continue:focus {
  outline: none;
}

.navmenu-meganav-standard__image-wrapper,
.navmenu-meganav-standard__image-link:not(.navmenu-meganav-standard__image-text) {
  border-radius: 10px;
  overflow: hidden;
}

.site-header-cart--count {
  display: block;
  height: 22px;
  min-width: 22px;
  padding: 3px;
  font-size: 0.6875rem;
  line-height: 12px;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  background-color: #e21227;
  border: 2px solid rgb(255, 255, 255);
  border-radius: 50%;

  &::after {
    content: none;
  }
}

.site-mobile-nav {
  height: calc(100dvh + 1px);
}

.mobile-nav-content {
  .navmenu-link.navmenu-link-discount {
    &::after {
      position: relative;
      top: -5px;
      right: 0;
      display: inline-block;
      opacity: 1;
      transform: none;
      background-color: transparent;
    }
  }

  .navmenu-link.navmenu-link-button {
    margin: 5px 25px 0;
  }
}

/* Back to top button */
.back-to-top__button svg {
  transform: rotate(-90deg);
}

/* Slideshow */
.slideshow-slide__content--text-left {
  text-align: left;
}

.slideshow-slide__content--text-right {
  text-align: right;
}

.slideshow-slide__content--text-center {
  text-align: center;
}

/* Countdown timer section */
.shopify-section--countdown-timer {
  margin-top: 0;

  .countdown-timer {
    max-width: none;
    padding: 0;
  }

  .countdown {
    .countdown__item-heading {
      font-size: 36px;
    }

    .countdown__item-text {
      font-weight: 700;
    }
  }

  .countdown--has-background {
    border-radius: 8px;
    background-color: var(--red-accent-color);
    padding: 16px;

    .countdown__items {
      padding: 0;
      background-color: transparent;
      color: var(--white);
    }

    .countdown__item {
      &::after {
        content: none;
      }
    }
  }
}

@media (max-width: 719px) {
  .countdown-timer__caption-header .countdown-timer__caption-button {
    display: none;
  }
}

/* Collection list section */
.collection-list--section {
  padding-top: 2.9296875rem;
  padding-bottom: 2.9296875rem;
  background-color: var(--tertiary-color);

  .home-section--title {
    margin-top: 0;
  }

  @media (min-width: 1024px) {
    padding-top: 3.984375rem;
    padding-bottom: 3.984375rem;
  }

  .collection__item-image {
    border-radius: 10px;
    overflow: hidden;
  }

  .collection__item-info {
    @media (hover: hover) {
      &:hover {
        text-decoration: underline;
        text-decoration-thickness: 0.5px;
      }
    }
    
    &:active {
      text-decoration: underline;
      text-decoration-thickness: 0.5px;
    }
  }
}

/* Product items */
.productitem {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;

  &:hover {
    box-shadow: none;
  }

  .productitem__badges-container {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    width: auto;
    height: auto;
    z-index: 1;

    .productitem__badge:not(:nth-child(1), :nth-child(2)) {
      display: none;
    }
  }

  .productitem__badge {
    position: static;
  }

  .productitem--action .button-primary {
    padding: 0;
  }

  .price__compare-at {
    color: var(--light-text-color);
  }

  .price__current--on-sale {
    color: var(--sale-color);
  }
}

.productitem--title {
  font-weight: 500;
}

.productitem--vendor a {
  text-transform: uppercase;
}

.product-stock-level__badge-text {
  font-weight: 500;
}

/* Product rating */
.rating__star-wrapper {
  gap: 2px;
}

.rating__star {
  width: 12px;
  height: 12px;
}

.revie-star-content {
  display: inline-flex;
  align-items: center;
}

/* Badges */
.productitem__badge,
.product__badge {
  font-weight: 600;
  padding: 4px 6px;
  border-radius: 2px;
}

.product__badge--soldout,
.hotspot__badge--soldout,
.productitem__badge--soldout {
  background-color: var(--light-text-color);
  color: var(--secondary-background-color);
}

.product__badge--oferta-flash,
.productitem__badge--oferta-flash,
.product__badge--oferta-hot-sale,
.productitem__badge--oferta-hot-sale,
.product__badge--oferta-buen-fin,
.productitem__badge--oferta-buen-fin {
  background-color: var(--red-accent-color);
  color: var(--white);
}

.product__badge--2x1,
.productitem__badge--2x1,
.product__badge--3x2,
.productitem__badge--3x2,
.product__badge--cupon-adicional,
.productitem__badge--cupon-adicional,
.product__badge--regalo-adicional,
.productitem__badge--regalo-adicional {
  background-color: var(--border-color);
  color: var(--red-accent-color);
}

.product__badge--recomendado,
.productitem__badge--recomendado {
  background-color: var(--border-color);
  color: var(--primary-color);
}

.product__badge--mas-vendido,
.productitem__badge--mas-vendido {
  background-color: var(--in-stock-color);
  color: var(--white);
}

.product__badge--exclusivo-online,
.productitem__badge--exclusivo-online {
  background-color: var(--tertiary-color);
  color: var(--in-stock-color);
}

.product__badge--recien-llegado,
.productitem__badge--recien-llegado {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Theme slider arrow buttons */
.testimonials,
.featured-collection__content {
  .flickity-button {
    width: 40px;
    height: 40px;
    opacity: 1;
    background-color: var(--primary-background-color);
    border-radius: 50px;
    border: 1px solid var(--border-color);
    box-shadow: none;
    background-image: url('icon-slider-right.svg');
    background-size: 6px;
    background-repeat: no-repeat;
    background-position: center;

    &:not([disabled]):hover {
      opacity: 1;
      background-color: var(--secondary-color);
      border-color: var(--secondary-color);
      background-image: url('icon-slider-right-white.svg');
      box-shadow: none;
      transform: translateY(-50%);
    }

    &[disabled] {
      background-image: url('icon-slider-right-gray.svg');
    }

    &:disabled {
      opacity: 1;
    }

    .flickity-button-icon {
      display: none;
    }

    &.previous {
      transform: rotateY(180deg) translateY(-50%);

      &:not([disabled]):hover {
        transform: rotateY(180deg) translateY(-50%);
      }
    }
  }
}

/* Featured collection section */
.featured-collection--section {
  .featured-collection__title-card {
    border-radius: 10px;
    overflow: hidden;
  }

  .featured-collection__title-card-button {
    svg {
      display: none;
    }
  }
}

/* Grid section */
.promo-grid--section {
  padding-top: 18px;
  padding-bottom: 18px;
  
  @media (min-width: 860px) {
    padding-bottom: 26px;
    padding-top: 26px;
  }

  .promo-block {
    border-radius: 10px;
    overflow: hidden;

    @media (max-width: 719px) {
      &:not(:first-child) {
        margin-top: 10px;
      }
    }
  }

  .promo-block--header {
    color: var(--promo-block-heading-color, #191919);
  }

  .promo-block--content {
    margin-top: 0;
  }

  @media (hover: hover) {
    .promo-block .promo-block--background {
      transform: scale3d(1, 1, 1);
      transition: 0.5s cubic-bezier(0,0,.2,1);
    }

    .promo-block:has(a.promo-block--content:hover) {
      .promo-block--background {
        transform: scale3d(1.05, 1.05, 1.05);
      }
    }
  }

  .promo-block--background {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    object-fit: cover;
    object-position: center;
  }
}

/* Testimonials section */
.testimonials--section {
  .testimonials-section {
    padding-bottom: 38px;
  }

  .testimonial {
    border-radius: 10px;
  }

  .testimonials {
    position: relative;

    .flickity-page-dots {
      position: absolute;
      bottom: -38px;
      left: 0;
      width: 100%;
    }
  }

  @media (min-width: 860px) {
    padding-bottom: calc(2.1875rem + 38px);
  }
}

/* Collection page */
.collection-cover {
  position: relative;
  overflow: hidden;
}

.collection-cover-image {
  display: flex;
}

.collection-cover-img {
  width: 100%;
  height: auto;
}

.collection-cover-info {
  position: absolute;
  top: 50%;
  left: 0;
  max-width: 770px;
  margin: 0 625px 0 45px;
  transform: translateY(-50%);
  color: var(--white);

  @media (max-width: 859px) {
    margin: 0 16px;
    max-width: none;
  }
}

.collection-cover-title {
  font-size: 38px;
  line-height: 50px;
  margin-top: 0;
  margin-bottom: 0;
}

.collection-cover-description {
  font-size: 15px;
  line-height: 24px;
  margin-top: 13px;

  >*:first-child {
    margin-top: 0;
  }

  >*:last-child {
    margin-bottom: 0;
  }
}

.template-collection,
.template-search {
  .utils-compare-toggle__label {
    font-size: 14px;
    line-height: 16px;
    margin-right: 7px;
  }

  .utils-compare-toggle__checkbox-label {
    background-color: var(--light-text-color);
    height: 24px;

    &::after {
      left: 3px;
      width: 18px;
      height: 18px;
    }
  }

  .utils-compare-toggle__checkbox:checked+.utils-compare-toggle__checkbox-label {
    background-color: var(--secondary-color);

    &:after {
      left: calc(100% - 3px);
    }
  }

  .utils-compare-toggle__checkbox-icon {
    display: none;
  }

  .collection-filters__filter-link,
  .filter-icon--checkbox {
    .checkmark {
      path {
        display: none;
      }

      &[data-animation-state=checked] {
        box-shadow: none;
        background-color: var(--secondary-color);
        background-image: url('icon-checkmark.svg');
        background-size: 8px 5px;
        background-repeat: no-repeat;
        background-position: center;
        border-color: var(--secondary-color);
      }
    }
  }

  .collection-filters__filter-link[data-filter-active] .collection-filters__filter-list-item-text {
    color: var(--secondary-color);
  }

  .active-filter-group__item-wrapper {
    .active-filter-group__item {
      display: flex;
      align-items: center;
      gap: 0 10px;
      height: 40px;
      padding: 0 14px;
      background-color: var(--border-color);
      border-radius: 6px;
      text-decoration: none;
    }
    
    .active-filter-text {
      font-weight: 500;
      font-size: 15px;
      line-height: 17px;
      color: var(--primary-color);
    }

    .filter-icon--remove {
      position: static;
      width: 12px;
      height: 12px;
      padding: 0;
      transform: none;

      svg {
        width: 100%;
        height: 100%;
      }

      &::before {
        content: none;
      }
    }
  }

  @media (min-width: 860px) {
    .productgrid--sidebar-title {
      font-size: 20px;
    }
  }

  @media (max-width: 859px) {
    .productgrid--utils.productgrid--utils--visible-mobile {
      justify-content: center;
    }
  }
}

.productgrid--masthead {
  padding-top: 72px;

  @media (max-width: 859px) {
    padding-top: 40px;
  }
}

.template-search .productgrid--outer {
  padding-bottom: 3.046875rem;

  @media (max-width: 859px) {
    padding-bottom: 0;
  }
}

.filter-item--grid-simple .filter-item-clear-all,
.filter-item-clear-all {
  color: var(--primary-color);
  text-decoration: underline;

  &:hover {
    color: var(--primary-color);
  }

  @media (hover: hover) {
    &:hover {
      color: var(--primary-color);
      text-decoration: none;
    }
  }

  &:active {
    color: var(--primary-color);
    text-decoration: none;
  }
}

/* Pagination */
.productgrid--outer .pagination {
  padding-top: 60px;

  @media (max-width: 859px) {
    padding-top: 30px;
  }
}

.pagination-list {
  display: flex;
  justify-content: center;
  gap: 0 36px;
  list-style: none;
  padding: 0;
  margin: 0;

  @media (max-width: 859px) {
    gap: 0 24px;
  }
}

.pagination-page {
  @media (max-width: 859px) {
    &.hide-mobile {
      display: none;
    }
  }
}

.pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-weight: 400;
  font-size: clamp( 13px, calc( 13px + (15 - 13) * ( (100vw - 360px) / (1440 - 360) ) ), 15px );
  line-height: clamp( 15px, calc( 15px + (19 - 15) * ( (100vw - 360px) / (1440 - 360) ) ), 19px );
  color: var(--primary-color);
  text-decoration: none;

  &.current {
    font-weight: 700;
    color: var(--secondary-color);
  }

  @media (max-width: 859px) {
    width: 32px;
    height: 32px;
  }
}

a.pagination-link {
  @media (hover: hover) {
    &:hover {
      text-decoration: underline;
    }
  }

  &:active {
    text-decoration: underline;
  }
}

.pagination-button {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
  color: var(--primary-color);
  text-decoration: none;

  &.disabled {
    color: var(--light-text-color);

    .pagination-button-icon {
      color: var(--light-text-color);
    }
  }

  &.prev .pagination-button-icon {
    transform: rotate(180deg);
  }

  &:not(.disabled) {
    @media (hover: hover) {
      .pagination-button-icon {
        transition: 0.2s ease;
      }

      &:hover .pagination-button-icon {
        background-color: var(--secondary-color);
        border-color: var(--secondary-color);
        color: var(--white);
      }
    }

    &:active .pagination-button-icon {
      background-color: var(--secondary-color);
      border-color: var(--secondary-color);
      color: var(--white);
    }
  }

  @media (max-width: 859px) {
    span {
      display: none;
    }
  }
}

.pagination-button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-background-color);
  border-radius: 50%;
  border: 1px solid var(--border-color);
  color: var(--primary-color);

  @media (max-width: 859px) {
    width: 32px;
    height: 32px;

    svg {
      width: 5px;
    }
  }
}

/* Product page */
/* Shoppable image section */
.shoppable-image-section {
  max-width: none;
  padding: 0;
}

.product-hotspots:not(.hotspots-positionated) {
  display: block;
  overflow: hidden;
}

.product-hotspots {
  .hotspot__tooltip {
    padding: 15px;
  }
}

/* Image with text section */
.image-with-text--section {
  background-color: var(--tertiary-color);

  &.product-image-with-text-section {
    .image-with-text__image-wrapper {
      aspect-ratio: 676 / 596;
    }
  }

  .image-with-text.no-section-heading {
    margin-top: 0;
    padding-top: 1.171875rem;
    padding-bottom: 1.171875rem;

    @media (min-width: 860px) {
      padding-top: 1.640625rem;
      padding-bottom: 1.640625rem;
    }
  }

  .image-with-text__container {
    flex-wrap: nowrap;
    align-items: center;
  }

  .image-with-text__image-wrapper {
    display: flex;
    width: calc(676 / 1350 * 100%);
    flex-shrink: 0;
  }

  .image-with-text__content {
    width: 100%;
  }

  .image-with-text__image {
    border-radius: 10px;
  }

  .image-with-text__button:not(:first-child) {
    margin-top: 24px;
  }

  @media (max-width: 719px) {
    .image-with-text__container {
      flex-wrap: wrap;
    }

    .image-with-text__image-wrapper {
      width: 100%;

      &:not(:has(img)) {
        display: none;
      }
    }
  }
}

/* Revie reviews */
.shopify-section--reviews {
  /* &:not(:has(#content-rl-w)),
  &:has(#revieDataIA:empty),
  &:has(#revieList:empty) {
    display: none;
  } */

  &:has(#revieDataIA:empty):has(#revieList:empty), &:has(.shopify-app-block:empty) {
    display: none;
  }

  #cont-rl-w {
    [data-stre] {
      font-size: 16px;
      line-height: 16px;
    }

    h2 {
      display: none;
    }

    hr {
      background-color: var(--border-color);
      height: 1px;
      border: 0;
      margin: 24px 0;
    }

    .review-revie {
      display: none;
    }

    #revieList {
      padding: 22px 22px 0;
    }

    .summary {
      display: none;
    }
  }

  #revieDataIA {
    padding: 0 22px 22px;

    > .content-flex:first-child {
      @media (max-width: 700px) {
        justify-content: center;
      }
    }

    .star-list {
      max-width: 216px;

      @media (max-width: 700px) {
        padding-right: 0;
      }
    }

    .info-dt-r,
    .op-text {
      font-size: 17px;
      line-height: 24px;
      font-weight: 500;
    }

    .op-text {
      margin-left: 8px;
    }

    .ng-label {
      justify-content: flex-end;
      flex-shrink: 0;
      font-size: 15px;
      line-height: 24px;
      font-weight: 500;
      color: var(--primary-color);
      width: 30px;

      .ng-star {
        font-size: 14px;
        line-height: 14px;
      }
    }

    .ng-star-content {
      &:has(.ng-row-bar-foreground[style*="width: 0%"]) {
        .ng-ratingBreakdownGraph {
          color: var(--light-text-color);
        }
      }
    }

    .c-ratingBreakdownGraph-row-bar {
      top: 3px;
    }

    .ng-bar-background,
    .ng-row-bar-foreground {
      height: 8px;
    }

    .ng-bar-background {
      background-color: var(--secondary-background-color);
    }

    .ng-row-bar-foreground {
      background-color: var(--red-accent-color);
    }

    .ng-ratingBreakdownGraph {
      font-size: 15px;
      line-height: 24px;
      font-weight: 500;
      color: var(--primary-color);
      flex-shrink: 0;
      width: 30px;

      @media (max-width: 700px) {
        width: 15px;
      }
    }

    .content-start {
      .slide {
        flex-shrink: 0;
        max-width: 150px;
        width: 100%;
        height: auto;
        margin: 0 5px;

        img {
          aspect-ratio: 150 / 196;
          object-fit: cover;
          border-radius: 8px;
          max-width: 100%;
          max-height: 100%;
        }

        @media (max-width: 700px) {
          max-width: 82px;
          margin: 0 4px;

          img {
            aspect-ratio: 82 / 107;
            border-radius: 8px;
          }
        }
      }
    }

    .slide-track {
      justify-content: flex-start;
    }
  }

  #revieList {
    [data-stre] {
      font-size: 12px;
      line-height: 12px;
    }

    .detail-star {
      label {
        margin: 0;
        font-size: 14px !important;
        line-height: 20px !important;
        color: var(--light-text-color);
        font-weight: 400;
      }

      b {
        color: var(--black);
        font-size: 17px;
        line-height: 22px;
        font-weight: 700;
        margin-right: 4px;
      }

      svg {
        width: 15px;
        height: 15px;

        circle {
          fill: #00C240 !important;
        }
      }
    }

    .commentRevie {
      font-size: 15px;
      line-height: 24px;
      color: var(--black);
      font-weight: 500;
    }

    .detail-star > div {
      .imgn-rv {
        img,
        video {
          aspect-ratio: 108 / 140;
          width: 108px;
          border-radius: 8px;
  
          @media (max-width: 700px) {
            aspect-ratio: 82 / 104;
            width: 82px;
            border-radius: 3px;
          }
        }
      }
    }

    .content-media-revie {
      &:has(audio):has(.content-convert) {
        flex-direction: column;
        align-items: flex-end !important;

        .content-convert {
          position: static;
          margin: 0;
        }

        @media (max-width: 700px) {
          align-items: flex-start !important;
        }
      }
    }
  }

  .paginationRevie {
    gap: 37px;
    align-items: center;

    a {
      width: 40px;
      height: 40px;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 15px;
      line-height: 19px;
      text-decoration: none;
      font-weight: 400;
      color: var(--primary-color);
      border: 0;
      background-color: transparent;
      padding: 0;

      @media (hover: hover) {
        &:hover:not(.active) {
          background-color: transparent;
          text-decoration: underline;
        }

        &:active {
          background-color: transparent;
          text-decoration: underline;
        }
      }

      &[onclick] {
        border-radius: 50%;
        background-color: var(--white);
        font-size: 0;
        background-image: url('icon-arrow-right-black.svg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: 6px;
        border: 1px solid var(--border-color);

        @media (hover: hover) {
          &:hover {
            background-image: url('icon-arrow-right-white.svg');
            background-color: var(--secondary-color);
          }
        }

        &:active {
          background-image: url('icon-arrow-right-white.svg');
          background-color: var(--secondary-color);
        }

        &:first-child {
          transform: rotateZ(180deg);
        }

        &.disabled {
          background-image: url('icon-arrow-right-gray.svg');
          background-color: var(--white);
          pointer-events: none;
        }
      }
    }

    @media (max-width: 700px) {
      gap: 24px;

      a {
        width: 32px;
        height: 32px;
        font-size: 13px;
        line-height: 15px;
      }
    }
  }
}

/* FAQ section */
.shopify-section--faq:not(:has(.site-page)) {
  .faq-section-wrapper {
    background-color: var(--faqs-background-color, #FFFFFF);
  }

  .faq {
    padding-top: 2.9296875rem;
    padding-bottom: 2.9296875rem;
    margin-top: 0;

    @media (min-width: 1024px) {
      padding-top: 3.984375rem;
      padding-bottom: 3.984375rem;
    }
  }

  .faq__heading,
  .faq__section-heading {
    font-size: var(--font-size-section-heading);
  }
}

/* Product recommendations section */
.product-recommendations--section {
  .product-recommendations--container {
    margin-bottom: 2.9296875rem;

    @media (min-width: 1024px) {
      margin-bottom: 3.984375rem;
    }
  }
}

/* Footer */
body:has(.highlights-banner:last-child) {
  .site-footer-wrapper {
    margin-top: 0;
  }
}

.highlights-banner + .shopify-section-group-footer-group {
  .site-footer-wrapper {
    margin-top: 0;
  }
}

@media (max-width: 1023px) {
  .highlights-banner__content.slider-on-mobile:not(.flickity-enabled) {
    display: none;
  }
}

.site-footer-wrapper {
  position: relative;

  &::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(813 / 1440 * 100%);
    aspect-ratio: 813 / 184;
    background-image: url('logo-footer.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
  }

  @media (max-width: 1023px) {
    padding-bottom: 28%;

    &::before {
      width: 100%;
    }
  }
}

.site-footer-block-item.site-footer-block-newsletter {
  max-width: 451px;
  width: 100%;
  margin-right: auto;

  @media (max-width: 1023px) {
    max-width: none;
    padding-bottom: 20px;
  }
}

.site-footer-block-menu {
  width: auto;
  padding-right: 0;
  margin-right: 0;

  &:last-child {
    margin-left: clamp( 40px, calc( 40px + (80 - 40) * ( (100vw - 1024px) / (1440 - 1024) ) ), 80px );
  }


  @media (max-width: 1023px) {
    &:last-child {
      margin-left: 0;
    }
  }
}

.site-footer-block-menu .navmenu-link {
  color: var(--white);

  &:hover {
    color: var(--white);
  }

  @media (hover: hover) {
    &:hover {
      text-decoration: underline;
    }
  }

  &:active {
    color: var(--white);
    text-decoration: underline;
  }
}

.site-footer-item .newsletter {
  .pxs-newsletter-form-fields {
    flex-wrap: nowrap;
    margin: 0;
    width: 100%;
    gap: 4px;
  }

  .newsletter-input {
    flex: auto;
    margin-inline: 0;
    max-width: none;
    min-width: 0;
    width: 100%;
    overflow: hidden;

    @media (max-width: 1023px) {
      margin-top: 0;
    }
  }

  .form-field-input {
    height: 44px;
    border-radius: 6px;
    border: 0;
    padding-top: 20px;
    padding-inline: 16px;
    color: var(--primary-color);
    font-size: 14px;
    line-height: 23px;

    &:-internal-autofill-selected,
    &:-webkit-autofill,
    &:-webkit-autofill:hover, 
    &:-webkit-autofill:focus, 
    &:-webkit-autofill:active {
      -webkit-box-shadow: 0 0 0 30px var(--white) inset;
    }

    &:-webkit-autofill::first-line {
      font-size: 14px;
      line-height: 23px;
      color: var(--primary-color);
    }
  }

  .form-field-title {
    color: var(--light-text-color);
    opacity: 1;
    font-size: 14px;
    line-height: 23px;
    left: 16px;
  }

  .form-field-input:focus+.form-field-title,
  .form-field-filled.form-field-input + .form-field-title {
    font-size: 10px;
    line-height: 15px;
  }

  .newsletter-submit {
    flex: auto;
    margin-inline: 0;
    width: auto;

    @media (max-width: 1023px) {
      margin-top: 0;
    }
  }

  .button-primary {
    height: 44px;
    padding: 0 34px;
    font-size: 15px;
    line-height: 17px;

    @media (max-width: 1023px) {
      padding: 0 32px;
    }
  }
}

.site-footer-block-newsletter .site-footer-block-content:last-child {
  margin-bottom: 0;
}

.site-footer-block-content {
  .social-icons {
    display: flex;
    gap: 10px;
    margin: 0;
  }

  .social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    border-radius: 50%;
    color: var(--white);
    border: 0;
    margin: 0;

    svg {
      max-width: 18px;
      max-height: 16px;
    }

    &::before {
      content: none;
    }

    @media (hover: hover) {
      transition: 0.3s ease;

      &:hover {
        background-color: var(--red-accent-color);
      }
    }

    &:active {
      background-color: var(--red-accent-color);
    }
  }
}

.site-footer__row-inner-wrapper-left {
  display: flex;
  justify-content: space-between;
  gap: 8px 40px;

  @media (max-width: 1023px) {
    flex-direction: column-reverse;
    align-items: center;
  }
}

.site-footer__legal-payments-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;

  @media (max-width: 1023px) {
    align-items: center;
  }
}

.siter-footer__credits-wrapper {
  display: flex;
  align-items: flex-end;
}

.site-footer-credits {
  line-height: 15px;
}

.site-footer-item--information .navmenu {
  display: flex;
  gap: 18px;

  .navmenu-item {
    margin-bottom: 0;
  }

  .navmenu-item:not(:last-child) {
    padding-right: 0;
    border-right: 0;
    margin-right: 0;
  }

  .navmenu-link {
    line-height: 15px;
    color: var(--white);

    &:hover {
      color: var(--white);
    }

    @media (hover: hover) {
      transition: 0.3s ease;

      &:hover {
        opacity: 0.78;
        text-decoration: underline;
      }
    }

    &:active {
      opacity: 0.78;
      color: var(--white);
      text-decoration: underline;
    }
  }
}

.site-footer-item--information {
  @media (max-width: 1023px) {
    gap: 0;
  }
}

.site-footer__payments-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 212px;
}

.site-footer__payments-image {
  max-width: 100%;
  height: auto;
}

/* Compare checkboxes */
.productitem__compare {
  cursor: pointer;
}

.productitem__compare-wrapper {
  display: flex;
  transition: 0.2s;
}

.productitem[data-animation-state="open"] {
  height: calc(var(--base-height) + 36px + 51.5px);

  .productitem__compare-wrapper {
    height: 36px;
    opacity: 1;
  }
}

.productitem__compare-wrapper.open {
  height: 36px;
  opacity: 1;
}

.productitem__compare-checkbox-label {
  font-weight: 500;
  font-size: 13px;
  line-height: 17px;
}

.productitem__compare-checkbox-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  background-color: var(--border-color);
  border-radius: 2px;
  color: transparent;
  margin-right: 6px;
}

.productitem__compare-checkbox:checked + .productitem__compare-checkbox-label {
  font-weight: 500;

  .productitem__compare-checkbox-icon {
    background-color: var(--primary-color);
    color: var(--white);
  }
}

/* Spinner */
.spinner svg {
  transform-origin: center;
  margin: auto;
  animation: 2s linear infinite spinnerRotate;
}

.spinner circle {
  animation: 1.5s ease-in-out infinite spinnerDash, 6s ease-in-out infinite spinnerColor;
}

@keyframes spinnerRotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spinnerDash {
  0% {
    stroke-dasharray: 1 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 89 200;
    stroke-dashoffset: -35px;
  }

  100% {
    stroke-dasharray: 89 200;
    stroke-dashoffset: -124px;
  }
}

@keyframes spinnerColor {
  0% {
    stroke: currentcolor;
  }

  40% {
    stroke: currentcolor;
  }

  66% {
    stroke: currentcolor;
  }

  80%, 90% {
    stroke: currentcolor;
  }
}

#rebuy-bubble-global-alert-modal {
  padding: 0 !important;
}


.page-text {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    line-height: normal;
    letter-spacing: 0px;
    margin-top: 0;
  }
}

.page-text h1 {
  font-size: 2em;
}

.page-text h2 {
  font-size: 1.5em;
}

.page-text h3 {
  font-size: 1.17em;
}

.page-text h4 {
  font-size: 1em;
}

.page-text h5 {
  font-size: 0.83em;
}

.page-text h6 {
  font-size: 0.6em;
}

.page-text p {
  margin: 0;

  &:not(:last-child) {
    margin-bottom: 1em;
  }
}

.page-text {
  --lists-offset: 10px;

  &,
  & * {
    font-family: var(--page-text-font);
    font-size: var(--page-text-font-size);
    line-height: var(--page-text-line-height);
    color: var(--page-text-color);
  }

  & *:last-child {
    margin-bottom: 0;
  }

  &:empty {
    margin: 0;
  }

  p:empty {
    height: 1px;
  }

  p + ul,
  p + ol {
    margin-top: -1em;
  }

  & ul,
  & ol {
    padding-left: 0;
    margin-left: calc(var(--lists-offset) + 18px);
    margin-top: 0;
    list-style-position: outside;
    margin-bottom: 1em;

    /* stylelint-disable-next-line selector-max-compound-selectors */
    & li::marker {
      font-size: var(--page-text-font-size);
    }
  }

  /* stylelint-disable-next-line selector-max-compound-selectors */
  & :is(h1, h2, h3, h4, h5, h6),
  & :is(h1, h2, h3, h4, h5, h6) * {
    font-family: var(--page-heading-font);
    font-weight: 700;
  }

  /* stylelint-disable-next-line selector-no-qualifying-type */
  & :is(iframe[src*="youtube"]),
  & :is(iframe[src*="youtu.be"]),
  & :is(iframe[src*="vimeo"]) {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  img {
    max-width: 100%;
    max-height: 100%;
  }

  blockquote {
    font-style: italic;
    padding-left: 1rem;
    border-left: 2px solid var(--primary-color);
    margin: 0;

    &:not(:last-child) {
      margin-bottom: 1rem;
    }
  }

  table {
    border-collapse: collapse;
    max-width: 100%;
    height: auto;
    overflow: auto;
    white-space: nowrap;
    box-shadow: 0 1px 4px #8080801c;

    td {
      padding: .75rem 1rem;
    }

    th,
    td {
      border: 1px solid rgba(128,128,128,.16);
    }
  }
}

.page-text,
.rte {
  a {
    color: var(--secondary-color);
    text-decoration: underline;
  }

  a:active {
    text-decoration: none;
    color: var(--secondary-color);
  }

  @media (hover: hover) {
    a:hover {
      text-decoration: none;
      color: var(--secondary-color);
    }
  }
}

.pswp__img {
  border-radius: 10px;
}

/* Cart page */
.cart--section {
  margin-bottom: 60px;
}

.cartitems--list {
  .cart-item {
    border-radius: 10px;
  }
}

.cartitems-empty--inner .button-secondary,
.cart-checkout .button-secondary {
  gap: 6px;
}

/* About us page */
.site-page {
  margin-top: 0;
  margin-bottom: 0;
  padding: 30px 0;
  background-color: var(--site-page-background-color, #FFFFFF);

  .page-masthead,
  .page-title {
    margin-top: 0;
    margin-bottom: 0;
  }

  @media (min-width: 1024px) {
    padding: 50px 0;
  }
}

/* Contact page */
.contact-page-content {
  .form-action-row .button-secondary {
    transition: background-color 0.3s ease;
  }
}