/** Shopify CDN: Minification failed

Line 21:16 Expected identifier but found whitespace
Line 22:6 Unexpected "{"
Line 23:14 Expected ":"

**/
/* Variable declarations */

.item-slider-container {
  /* Product */
  --product-min-width: 300px;
  --product-max-width: 400px;
  --product-gap: 0.5em;

  /* Collection */
  --collection-min-width: 300px;
  --collection-max-width: 300px;
  --collection-gap: 0.5em;

  --font-family: {
      {
      settings.type_body_font.family
    }
  }

  ;

  /* Font */
}

/* WARNING IF WEBKIT-BOX, WEBKIT-LINE-CLAMP deprecates in the future */
/* REFER TO THIS */
/* https://drafts.csswg.org/css-overflow-4/#propdef-line-clamp */
/* https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-line-clamp */

.item-slider-header {
  /* font-size: 3em; */
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  margin: 0.5em 0;
  color: rgb(30, 33, 53);
  padding: 0.2em 1.5em;
  /* background: rgb(30, 33, 53);
  background: linear-gradient(90deg,
      rgba(30, 33, 53, 1) 45%,
      rgba(255, 255, 255, 1) 100%); */

  container-name: header-container;
  container-type: inline-size;
  text-wrap: nowrap;

  & span {
    width: 100%;
    font-size: 3em;
  }
}

@media screen and (max-width: 768px) {
  .item-slider-header {
    text-wrap: wrap;
    
    & span {
      text-wrap: wrap;
      line-height: 1.2;
    }
  }
}

.item-slider-container {
  position: relative;
  width: 100%;
  height: auto;
  padding-left: 10px;
  padding-right: 10px;
  display: flex;
  gap: 0.5em;
  /* justify-content: center; */
  align-items: center;

  & ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  & button {
    font: inherit;
    margin: 0;
    text-align: inherit;
    border: none;
    cursor: pointer;
  }

  & a {
    text-decoration: none;
    color: inherit;
    -webkit-user-drag: none;
    display: inline;
  }

  & .track {
    width: 100%;
    display: grid;
    grid-auto-flow: column;
    overflow-x: scroll;
    touch-action: auto;

    order: 2;
    /* scroll-snap-type: x mandatory; */

    & .item {
      transition: all 0.3s ease-in-out;
      width: 100%;
      box-sizing: border-box;
      border: 2px solid #f3f3f3;
      border-radius: 15px;
      align-content: center;
    }

    & .item:hover {
      border-color: var(--colors_default_select_hover, #8cabff);
      & .collection-icon-content {
        scale: 1;
      }
    }
  }

  & .track::-webkit-scrollbar {
    height: 2px;
    display: none;
  }

  & .track::-webkit-scrollbar-thumb,
  ::-webkit-scrollbar-track {
    border-radius: 92px;
  }

  & .track::-webkit-scrollbar-thumb {
    background: var(--colors_default_nav_button_hover, #8cabff);
  }

  & .track::-webkit-scrollbar-track {
    background: white;
  }
}

.slider_navbutton {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--colors_default_nav_button_background, rgba(30, 33, 53, 1));
  z-index: 2;
  transition: all 0.2s ease-in-out;
  border-radius: 10px;
  /* position: absolute;
    top: 50%;
    transform: translateY(-50%); */

  &:active {
    background-color: var(--colors_default_nav_button_background, #8cabff);
  }

  & svg {
    stroke: white;
    stroke-width: 1.3;
  }
}

.nav_prev {
  order: 1;
  left: 1em;
}

.nav_next {
  order: 3;
  right: 1em;
}

@media (-moz-touch-enabled: 0),
(pointer: fine) {
  .slider_navbutton:hover {
    background-color: var(--colors_default_nav_button_hover, #8cabff);
    scale: 1.2;
  }
}

.item-product {
  margin: 0 0.5em;
  padding: 0.5em;
  /* Give a slight gray thin border */
  border: 2px solid #f3f3f3;
  border-radius: 15px;
  width: 100%;
  display: grid;
  position: relative;
  grid-row: span 12;
  grid-column: span 1;
  grid-template-areas:
    "image"
    "practical-text"
    "vendor"
    "name"
    "tags"
    "rating"
    "short-text"
    "stock-status"
    "pickup-availability"
    "price-before"
    "price"
    "add-to-cart";
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
  box-sizing: border-box;
  /* overflow: hidden; */
  /* container: item-slider-header / normal; */

  /* text */
  line-height: normal;
  text-align: left;

  & div {
    /* width: 100%; */
    margin: 0;
    text-wrap: wrap;
  }

  .product-image-frame {
    grid-area: image;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;


    .product-features {
      height: fit-content;
      list-style-type: disc;
      margin: 0;
      padding-left: 1.5em;
      font-size: 0.7em;
      color: lightslategray;
      width: 100%;
      flex-grow: 0;
    }
  }

  .product-info {
    display: grid;
    grid-row: span 10;
    grid-area: practical-text / practical-text / add-to-cart / add-to-cart;
    grid-column: span 1;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    margin: 0.5em 0 0 0;
    gap: 0.25em 0;

    & span {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      overflow: hidden;
      -webkit-line-clamp: 1;
      line-clamp: 1;
    }

    & .product-form__error-message {
      color: red;
      font-size: 0.8em;
      font-weight: 500;
      margin: 0;
      display: block;
    }

    & .practical-text {
      grid-area: practical-text;
      color: lightslategray;
      font-size: 0.6em;
      font-weight: 500;
      -webkit-line-clamp: 1;
      line-clamp: 1;
    }

    & .vendor {
      grid-area: vendor;
      font-size: 0.7em;
      font-weight: 600;
      -webkit-line-clamp: 1;
      line-clamp: 1;
      color: lightslategray;
    }

    & .name {
      grid-area: name;
      font-size: 0.9em;
      font-weight: bold;
      -webkit-line-clamp: 1;
      line-clamp: 1;
    }

    & .tags {
      grid-area: tags;
      font-size: 0.8em;
      font-weight: normal;
      -webkit-line-clamp: 1;
      line-clamp: 1;
    }

    & .rating {
      grid-area: rating;
      font-size: 0.7em;
      font-weight: 600;
      -webkit-line-clamp: 1;
      line-clamp: 1;
    }

    & .short-text {
      grid-area: short-text;
      font-size: 0.8em;
      font-weight: 300;
      -webkit-line-clamp: 2;
      line-clamp: 2;
    }

    & .stock-status {
      grid-area: stock-status;
      display: inline-flex;
      gap: 0.3em;
      font-size: 0.7em;

      align-items: center;
    }

    & .pickup-availability {
      grid-area: pickup-availability;
      font-size: 0.7em;
    }

    & .price {
      grid-area: price;
      font-size: 1.5em;
      font-weight: 600;
      margin: 0;
    }

    & .price-before {
      grid-area: price-before;
      box-sizing: border-box;
      margin: 0;
      text-transform: capitalize;
      text-decoration: line-through;
      /* padding: 2px; */
      font-weight: 500;
      font-size: 0.8em;
    }

    & .price-after {
      color: red;
    }

    & .discount {
      position: absolute;
      top: -2px;
      right: -2px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-family, 'Inter');
      font-weight: 600;
      text-transform: uppercase;
      background-color: red;
      border-radius: 4px;
      color: white;
      padding: 5px 10px;
      font-size: 0.8em;
      border: solid white;
      border-width: 0 0 5px 5px;
      border-radius: 0 15px;
    }

    .new-tag {
      position: absolute;
      top: -2px;
      left: -2px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-family, 'Inter');
      font-weight: 600;
      text-transform: uppercase;
      /* background-color: #6bbdf4; */
      background-color: #47649c;
      border-radius: 4px;
      color: white;
      padding: 5px 10px;
      font-size: 0.8em;
      border: solid white;
      border-width: 0 5px 5px 0;
      border-radius: 15px 0 ;

    }

    .buy-button {
      grid-area: add-to-cart;
    }

    .product-form__submit {
      background-color: var(--color-buy-button-background, #1e2135);
      color: var(--color-buy-button-text, #fff);
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      /* width: max-content; */
      width: 100%;
      padding: 10px;
      text-align: center;
      text-decoration: none;
      font-size: 0.6em;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      border-radius: 10px;
      line-height: normal;
      box-shadow: none;
      min-height: initial;

      &.loading {
        color: transparent !important;
      }

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

      &:hover {
        background-color: var(--color-buy-button-hover, #8cabff);
      }
    }

    .product-form__submit[disabled] {
      background-color: #1e213538;
      color: #1e2135;
      cursor: not-allowed;
    }
  }
}

.product-image {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  align-self: center;
  justify-self: center;
  display: block !important;
  margin: auto;
  height: 100%;
  flex-shrink: 0;
  transition: flex-shrink 0.5s linear;


  & img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: visibility 0.2s linear, opacity 0.2s linear;
    position: absolute;
    border-radius: 10px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-user-drag: none;
  }

  .image-primary {
    visibility: visible;
    opacity: 1;
  }

  .image-secondary {
    visibility: hidden;
    opacity: 0;
    background-color: white;
  }
}

.item-product:hover .product-image {
  flex-shrink: 1;
}

/* .item-product:hover .image-primary {
  visibility: hidden;
  opacity: 0;
} */ /* removed to prevent flashing */

.item-product:hover .image-secondary {
  visibility: visible;
  opacity: 1;
}

.item-product:hover {
  border-color: var(--colors_default_select_hover, #8cabff);
}

.track-products {
  grid-auto-columns: clamp(140px, 22%, 300px);
  padding-bottom: 5px;
  grid-template-areas:
    "image"
    "practical-text"
    "vendor"
    "name"
    "tags"
    "rating"
    "short-text"
    "stock-status"
    "pickup-availability"
    "price-before"
    "price"
    "add-to-cart";
}

@media screen and (max-width: 768px) {
  .track-products {
    scroll-snap-type: x mandatory;
    scroll-padding-left: 140px; /* Matches with .track-products{grid-auto-columns:clamp(140)} */

    & .item-product {
      scroll-snap-align: center;
    }
  }
}

@container header-container (max-width: 768px) {
  .item-slider-header {
    & span {
      /* Responsive size given containersize */
      font-size: calc(16px + 2cqi);
    }
  }
}

.loader {
  border: 2px solid #f3f3f3;
  /* Light grey */
  border-top: 2px solid #3498db;
  /* Blue */
  border-radius: 50%;
  height: 50%;
  aspect-ratio: 1/1;
  animation: spin 1s ease-in-out infinite;
  display: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

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




.track-collections {
  grid-auto-columns: clamp(280px, 22%, 300px);
  gap: 0.5em;
}

.collection-content {
  position: relative;
  aspect-ratio: 1/1;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
  flex: 0;

  & img {
    position: absolute;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 10px;
    z-index: 0;
    transition: all 0.3s ease-in-out;
    -webkit-user-drag: none;
  }

  &:hover img {
    filter: brightness(0.7);
    scale: 1;
  }

  & .item-header {
    width: 100%;
    text-align: center;
    font-size: 25px;
    font-weight: 600;
    line-height: normal;
    z-index: 1;
    flex: 0;
    background-color: rgba(255, 255, 255, 0.74);
    display: flex;
    justify-content: center;
    align-items: center;
  }
}


.track-collection-icons {
  grid-auto-columns: clamp(calc(var(--img-size, 75px) + 1rem), calc(100% / 10), 150px);
  gap: 1em;
}


.collection-icon-content {
  position: relative;
  width: 100%;
  padding: 0.5rem 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  z-index: 1;
  flex: 0;
  box-sizing: border-box;
  border-radius: 10px;

  & img {
    height: 100% !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover;
    z-index: 0;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    -webkit-user-drag: none;
  }

  & .item-header {
    width: 100%;
    text-align: center;
    font-size: 1em;
    font-weight: 600;
    line-height: normal;
    word-break: break-word;
    padding: 0;
    z-index: 1;
    flex: 0;
    background-color: rgba(255, 255, 255, 0.74);
    margin-top: -1rem;
  }
}

.practical-tag {
  text-transform: uppercase;
  font-weight: bold;
  background-color: #00558d;
  border-radius: 4px;
  color: white;
  width: fit-content;
  padding: 2px 5px;
}


.item-instagram {
    transition: all 0.3s ease-in-out;
    width: 100%;
    box-sizing: border-box;
    border: 0px !important;
    border-radius: 0px;
    scroll-snap-align: center;
    margin: 0 0.5em;
}


.track-instagram {
    gap: 10px;
    grid-auto-columns: clamp(280px, 22%, 300px);
    scroll-snap-type: x mandatory;
}

@media screen and (min-width: 990px) {
  .collection-icon-content {
    scale: 0.9;
    transition: scale 0.3s ease-in-out;
  }
}

@media screen and (max-width: 989px) {
  .mobile-slider {
    & img {
      width: var(--img-size, 100px);
    }
    & .item-header {
      font-size: 0.7em;
      position: absolute;
      bottom: 0;
      background-color: #eeee;
      padding: 2px;
    }
  }
}
@media screen and (max-width: 749px) {
  .mobile-slider {
    grid-template-rows: repeat(var(--number-of-rows, 3), 1fr);
  }
  .mobile-slider.few-items {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
  }
}
