/* Grid container */
.narrow {
  max-width: 800px;
  @media (max-width: 798px) {
    max-width: 600px;
    &.content {
      padding-bottom: 30px;
    }
  }
}
.narrow-medium {
  max-width: 1250px;
  @media (max-width: 798px) {
    max-width: 600px;
    &.content {
      padding-bottom: 30px;
    }
  }
}

.is-position-relative {
  position: relative;
}
.is-block {
  display: block !important;
}
.w-100 {
  width: 100%;
}
.is-overflow-hidden {
  overflow: hidden !important;
}
@media (max-width: 798px) {
  .medium-down--is-justify-center {
    justify-content: center !important;
  }
  .medium-down--order-1 {
    order: 1;
  }
  .medium-down--order-2 {
    order: 2;
  }
  .medium-down--order-3 {
    order: 3;
  }
}
@media (max-width: 480px) {
  .small-down--order-1 {
    order: 1;
  }
  .small-down--order-2 {
    order: 2;
  }
  .small-down--order-3 {
    order: 3;
  }
}

// .grid {
//   display: flex;
//   flex-wrap: wrap;
//   width: 100%;
// }

// /* Grid item (column) */
// .grid__item {
//   padding-left: 1rem;  /* gutter */
//   padding-right: 1rem;
//   box-sizing: border-box;
// }

.bg-blue {
  background-color: var(--color-blue) !important;
}
.bg-gold {
  background-color: var(--color-gold) !important;
}
.bg-gold-light {
  background-color: var(--color-gold-light) !important;
}
.bg-blue-light {
  background-color: var(--color-blue-light) !important;
}
.bg-white {
  background-color: var(--color-white) !important;
}
.bg-offwhite {
  background-color: var(--color-offwhite) !important;
}
.text-blue {
  color: var(--color-blue) !important;
}
.text-gold {
  color: var(--color-gold) !important;
}
.text-gold-light {
  color: var(--color-gold-light) !important;
}
.text-white {
  color: var(--color-white) !important;
}
.text-offwhite {
  color: var(--color-offwhite) !important;
}

.text-inherit {
  text-transform: inherit !important;
}
.text-uppercase {
  text-transform: uppercase !important;
}

.font-primary-black {
  font-family: var(--font-primary), var(--font-headline), var(--font-fallback);
  font-weight: 600 !important;
}
.font-primary-bold {
  font-family: var(--font-primary), var(--font-headline), var(--font-fallback);
  font-weight: 400 !important;
}
.font-primary-regular {
  font-family: var(--font-primary), var(--font-headline), var(--font-fallback);
  font-weight: 200 !important;
  strong {
    font-weight: 400;
  }
}
.font-primary-light {
  font-family: var(--font-primary), var(--font-headline), var(--font-fallback);
  font-weight: 100 !important;
}

.font-weight-bolder {
  font-weight: 600 !important;
}
.font-weight-bold {
  font-weight: 400 !important;
}
.letter-spacing-0 {
  letter-spacing: 0 !important;
}

.line-height-1-25 {
  line-height: 1.25em !important;
}
.line-height-1-30 {
  line-height: 1.30em !important;
}
.line-height-1-50 {
  line-height: 1.50em !important;
}

.text-nowrap {
  white-space: nowrap;
}

.text--headline {
  font-family: var(--font-primary);
  font-size: 40px;
  line-height: 1.15em;
  font-weight: 400;
  text-transform: inherit;
  letter-spacing: inherit;
  margin-top: 0;
  @media only screen and (max-width: 798px) {
    font-size: 32px;
  }
}

.text--headline-medium {
  font-family: var(--font-primary);
  font-size: 36px;
  line-height: 1.15em;
  font-weight: 400;
  text-transform: inherit;
  letter-spacing: inherit;
  margin-top: 0;
  @media only screen and (max-width: 798px) {
    font-size: 28px;
  }
}

.text--headline-small {
  font-family: var(--font-primary);
  font-size: 32px;
  line-height: 1.15em;
  font-weight: 400;
  text-transform: inherit;
  letter-spacing: inherit;
  margin-top: 0;
  @media only screen and (max-width: 798px) {
    font-size: 22px;
  }
}

.text--headline-xsmall {
  font-family: var(--font-primary);
  font-size: 24px;
  line-height: 1.15em;
  font-weight: 200;
  text-transform: inherit;
  letter-spacing: inherit;
  margin-top: 0;
  @media only screen and (max-width: 798px) {
    font-size: 18px;
  }
}

.list--featured {
  font-family: var(--font-primary);
  list-style: none;
  padding: 0;
  margin: 0;
  font-weight: 400;
  font-size: 21px;
  li {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
    .icon-wrap {
      width: 20px !important;
      height: 20px !important;
      margin-bottom: 3px;
    }
  }
  @media only screen and (max-width: 798px) {
    font-size: 18px;
  }
}

.divider-vertical {
  width: 2px;
  height: 87.5px;
  margin-left: auto;
  margin-right: auto;
}
.divider-horizontal {
  width: 100%;
  height: 1px;
  margin-left: auto;
  margin-right: auto;
}

.border-radius {
  border-radius: 10px;
}
.border-radius-small {
  border-radius: 8px;
}
.border-gold-1 {
  border: 1px solid var(--color-gold)
}

.gap-5 {
  gap: 5px !important;
}
.gap-y-20 {
  row-gap: 20px;
}

.padding-top-0 {
  padding-top: 0 !important;
}
.padding-bottom-0 {
  padding-bottom: 0 !important;
}
.margin-top-0 {
  margin-top: 0 !important;
}
.margin-bottom-0 {
  margin-bottom: 0 !important;
}

.z-index-1 {
  z-index: 1;
}

/* Square image wrapper with fill */
.square-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* Makes the wrapper always square */
  overflow: hidden;
  display: block;
}
.square-image-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;   /* Ensures the image covers the square */
  object-position: center;
  display: block;
}
.vertical-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16; /* 9:16 portrait ratio */
  overflow: hidden;
  display: block;
}
.vertical-image-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;     /* Cover the container without distortion */
  object-position: center;
  display: block;
}
.image-rounded {
  border-radius: 50%;
}

.card {
  padding: 20px;
}
.card h3 {
  font-size: 28px;
}

.discount-badge {
  position: absolute;
  width: 80px;
  height: 80px;
  font-size: 18px;
  line-height: 1.25em;
  border-radius: 100%;
  font-weight: 400;
  color: var(--color-white);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}
.discount-badge strong {
  font-size: 28px;
  font-weight: 400;
}

.review-badge {
  display: inline-flex;
  padding: 0 1em;
  font-size: 14px;
  gap: 5px;
  align-items: center;
}

.btn-cta {
  font-family: var(--font-primary), var(--font-headline), var(--font-fallback);
  font-weight: 400 !important;
  display: inline-block;
  padding: 12px 1.5em;
  gap: 10px;
  border-radius: 999px;
  margin-left: auto;
  margin-right: auto;

  position: relative;
  font-family: var(--font-primary), var(--font-headline), var(--font-fallback);
  font-weight: 400 !important;
  display: inline-block;
  padding: 12px 1.5em;
  gap: 10px;
  border-radius: 999px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  background-color: var(--color-gold) !important;
  color: var(--color-white);
  text-decoration: none;
  transition: transform 0.2s ease-in-out;
}

.btn-cta:hover {
  transform: scale(1.03);
}

/* Shine effect */
.btn-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
}

/* Animate shine on hover */
.btn-cta:hover::before {
  animation: shine 0.9s forwards;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

.label--options {
  font-family: var(--font-primary), var(--font-headline), var(--font-fallback);
  font-weight: 400 !important;
  padding: 0;
  font-size: 18px;
  border-radius: 10px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  color: var(--color-blue);
  border: 1px solid var(--color-blue);
  transition: background-color .3s ease-in-out;
  cursor: pointer;
  &.active {
    background-color: var(--color-blue);
    color: var(--color-white);
  }
}


/* Timeline */
.timeline__item {
  display: flex;
  .timeline__empty {
    flex: 1 45%;
  }
  .timeline__title {
    transform: translateY(100%) translateX(-210px);
  }
  &.is-flex-row-reverse .timeline__title {
    text-align: right;
    transform: translateY(100%) translateX(210px);
  }

  .timeline__border {
    position: relative;
    width: 2px;
    margin: 0 3rem;
    &::before {
      position: relative;
      content: '';
      display: block;
      width: 13px;
      height: 13px;
      border-radius: 13px;
      background-color: var(--color-blue);
      border: 3px solid var(--color-blue);
      margin-left: -8px;
      margin-top: -8px;
      z-index: 2;
      transition: background-color 0.5s ease-in-out;
    }
    &.active::before {
      background-color: var(--color-gold);
    }
    .filled__border {
      position: absolute;
      top: 0;
      left: 0;
      width: 2px;
      background-color: var(--color-gold);
      z-index: 1;
    }
  }
  .timeline__content {
    flex: 1 45%;
    margin-top: -50px;
    .timeline__content__inner {
      max-width: 480px;
      border: 1px solid var(--color-gold);
      padding: 1rem;
    }
  }
  &.is-flex-row-reverse {
    .timeline__content__inner {
      margin-left: auto;
    }
  }
  @media only screen and (max-width: 798px) {
    &.is-flex-row-reverse {
      flex-direction: row;
    }
    .timeline__empty {
      display: none !important;
    }
    .timeline__border {
      margin-left: 1rem;
      margin-right: 1.5rem;
    }
    .timeline__title {
      transform: none !important;
      text-align: left !important;
    }
    .timeline__content {
      order: 2;
      margin-top: -1.25em;
      .timeline__content__inner {
        margin-left: inherit;
        margin-bottom: 20px;
        width: 95%;
      }
    }
    .timeline__border {
      order: 1;
    }
  }
}


  

/* Animation */
@keyframes flash {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 1; }
}
.flash {
  animation: flash 0.3s ease;
}

@keyframes bouncing {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
	40% {transform: translateY(-30px);}
	60% {transform: translateY(-15px);}
}
.animation--bounce {
  animation: bouncing 1.5s ease-in-out 0.5s infinite;
}






// 
.slick-slider-section {
  .heading {
    font-family: var(--font-primary);
    font-size: 36px;
    line-height: 1.15em;
    font-weight: 400;
    text-transform: inherit;
    letter-spacing: inherit;
    margin-top: 0;
    @media only screen and (max-width: 798px) {
      font-size: 28px;
    }
  }
  .paragraph {
    font-size: inherit;
    font-weight: 200;
    font-family: var(--font-primary);
    letter-spacing: inherit;
    color: inherit;
    line-height: inherit;
  }
}