:root {
  --color-bg-1: #0d5054;
  --color-bg-3: #f4f4f4;
}

@media (max-width: 991.98px) {
  .copy-summary {
    font-size: 0.9em;
  }
}

.shop-main-nav--inverse :is(.nav-link, .nav-icon-btn__label, .navbar-toggler) {
  color: var(--color-fg-1);
}

.shop-main-nav--inverse .nav-icon-btn {
  color: var(--color-fg-1) !important;
}

.shop-main-nav--inverse .hamburger-inner,
.shop-main-nav--inverse .hamburger-inner::before,
.shop-main-nav--inverse .hamburger-inner::after {
  background-color: var(--color-fg-1) !important;
}

.shop-main-nav--inverse .shop-cart-badge {
  background-color: var(--color-fg-1);
  color: var(--color-bg-1);
}

.shop-main-nav--inverse :is(a, button):focus-visible {
  outline: 2px solid var(--color-fg-1);
  outline-offset: 3px;
}

.editorial-surface {
  --editorial-rule: color-mix(in srgb, var(--color-fg-1) 18%, transparent);
  background-image: linear-gradient(var(--editorial-rule), var(--editorial-rule)),
    linear-gradient(var(--editorial-rule), var(--editorial-rule));
  background-position: 25% 0, 75% 0;
  background-size: 1px 100%;
  background-repeat: no-repeat;
}

.editorial-rail {
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--editorial-rule);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.editorial-intro__body {
  padding-block: clamp(3rem, 5vw, 5rem);
}

.editorial-title {
  font-size: clamp(3.75rem, 7.7vw, 8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.editorial-lead {
  max-width: 40rem;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.65;
}

.editorial-scroll {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.editorial-portrait img {
  max-height: 28rem;
  object-fit: cover;
}

/* Restore Bootstrap's landscape ratio after the theme's square default. */
.ratio-16x9 {
  --bs-aspect-ratio: 56.25%;
}

@media screen and (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .parallax-frame {
      --parallax-shift: 18%;
      view-timeline-name: --parallax-frame;
      view-timeline-axis: block;
    }

    .parallax-frame--slow {
      --parallax-shift: 14%;
    }

    .parallax-frame > img {
      top: -30%;
      height: 160%;
      animation: parallax-image linear both;
      animation-timeline: --parallax-frame;
    }
  }
}

@keyframes parallax-image {
  from { transform: translateY(calc(-1 * var(--parallax-shift))); }
  to { transform: translateY(var(--parallax-shift)); }
}

.scroll-story {
  scroll-margin-top: calc(var(--navbar-offset) + var(--promobar-height, 0px));
}

.scroll-story__canvas,
.scroll-story__chapters {
  position: relative;
}

.scroll-story__canvas {
  overflow: clip;
}

.scroll-story__watermark {
  display: none;
  pointer-events: none;
}

.scroll-story__chapter {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 1rem;
  border-top: 1px solid var(--editorial-rule);
}

.scroll-story__chapter:last-child {
  border-bottom: 1px solid var(--editorial-rule);
}

.scroll-story__copy-inner {
  padding: 1rem 0 2.5rem;
  text-align: center;
}

.scroll-story__title {
  font-size: clamp(1.5rem, 2.5vw, 2.65rem);
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.scroll-story__subtitle {
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  line-height: 1.5;
}

.scroll-story__media {
  align-self: flex-end;
  width: 80%;
  max-width: 26rem;
  aspect-ratio: 2 / 3;
}

.scroll-story__chapter:nth-child(even) .scroll-story__media {
  align-self: flex-start;
}

@media (min-width: 992px) {
  .scroll-story__chapter {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    min-height: clamp(32rem, 70svh, 46rem);
    padding: 0;
  }

  .scroll-story__copy {
    display: flex;
    align-items: center;
    grid-column: 2;
    grid-row: 1;
  }

  .scroll-story__copy-inner {
    padding: 3rem;
  }

  .scroll-story__media {
    align-self: stretch;
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    max-width: none;
    aspect-ratio: auto;
    min-height: 0;
  }

  .scroll-story__chapter:nth-child(even) .scroll-story__media {
    align-self: stretch;
    grid-column: 1;
  }
}

/* Clip each viewport-fixed caption to its own chapter: no scroll script. */
@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  .scroll-story__watermark {
    display: block;
    position: sticky;
    top: calc(var(--navbar-offset) + var(--promobar-height, 0px));
    height: 0;
    opacity: 0.055;
  }

  .scroll-story__watermark-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: calc(100svh - var(--navbar-offset) - var(--promobar-height, 0px));
    overflow: hidden;
    padding-inline: 2vw;
    font-size: 19vw;
    line-height: 0.95;
    letter-spacing: -0.065em;
  }

  .scroll-story__watermark-inner span:last-child {
    align-self: flex-end;
    font-style: italic;
  }

  .scroll-story__copy {
    clip-path: inset(0);
  }

  .scroll-story__copy-inner {
    position: fixed;
    inset: calc(var(--navbar-offset) + var(--promobar-height, 0px)) 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    margin-inline: auto;
    padding: 3rem clamp(2rem, 4vw, 5rem);
  }

  @supports (animation-timeline: view()) {
    .scroll-story__chapter {
      view-timeline-name: --chapter;
      view-timeline-axis: block;
    }

    .scroll-story__copy-inner {
      animation: editorial-caption linear both;
      animation-timeline: --chapter;
    }
  }
}

@keyframes editorial-caption {
  0%, 30%, 70%, 100% { opacity: 0; }
  40%, 60% { opacity: 1; }
}

@media print {
  .scroll-story__watermark {
    display: none;
  }

  .scroll-story__copy {
    clip-path: none;
  }

  .scroll-story__copy-inner {
    position: static;
    width: auto;
    animation: none;
  }
}

.sticky-fit {
  --sticky-content-height: 0px;
}

@media (min-width: 992px) {
  .sticky-fit {
    top: min(
      calc(var(--navbar-offset) + var(--promobar-height, 0px)),
      calc(100dvh - var(--sticky-content-height) - 1rem)
    );
  }
}

.site-footer__logo,
.site-footer__credit-logo {
  filter: brightness(0) invert(1);
}

#shopWishlistPage .ui-btn {
  min-height: 46px;
}

.gift-card-hero__copy {
  min-height: clamp(320px, 38vw, 480px);
}

.gift-card-hero__media {
  min-height: 300px;
}

.gift-card-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-label,
.form-step-title {
  font-family: "Poppins", arial, helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--color-bg-1);
  font-size: 0.8rem;
}

.gift-card-amounts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 0.75rem;
}

.gift-card-amount {
  padding: 1rem 0.5rem;
  border: 1px solid var(--bs-btn-border-color);
  border-radius: 0;
  background-color: #fff;
  color: var(--bs-btn-color);
  font-family: "Poppins", arial, helvetica, sans-serif;
}

.gift-card-amounts .btn-check:checked + .gift-card-amount,
.gift-card-amounts .btn-check:not(:disabled) + .gift-card-amount:hover {
  background-color: var(--bs-btn-active-bg);
  border-color: var(--bs-btn-active-border-color);
  color: var(--bs-btn-active-color);
}

.gift-card-amounts .btn-check:focus-visible + .gift-card-amount {
  outline: 2px solid var(--bs-btn-border-color);
  outline-offset: 3px;
}

.gift-card-page #giftCardPaymentMethods > label {
  border-radius: 0 !important;
  background-color: #fff;
}

.gift-card-guide__item {
  border-top: 1px solid var(--bs-border-color, #dee2e6);
}

.gift-card-guide__item:last-child {
  border-bottom: 1px solid var(--bs-border-color, #dee2e6);
}

.gift-card-guide__item > summary {
  position: relative;
  padding: 1.5rem 2.75rem 1.5rem 0;
  font-family: "Poppins", arial, helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.gift-card-guide__item > summary::-webkit-details-marker {
  display: none;
}

.gift-card-guide__item > summary::before,
.gift-card-guide__item > summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.5rem;
  width: 18px;
  height: 1px;
  background-color: currentColor;
}

.gift-card-guide__item > summary::after {
  transform: rotate(90deg);
}

.gift-card-guide__item[open] > summary::after {
  display: none;
}

.gift-card-guide__item > summary:focus-visible {
  outline: 2px solid var(--color-bg-1);
  outline-offset: 3px;
}

.gift-card-guide__answer {
  max-width: 65ch;
  padding: 0 2rem 1.5rem 0;
  color: var(--ui-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.gift-card-guide__answer p:last-child {
  margin-bottom: 0;
}

#shop-category-body :is(h1, h2, h3, h4, h5, h6) {
  --font-serif-wght: 500;
  font-size: calc(0.925rem + 0.15vw);
  font-weight: 500 !important;
  text-transform: uppercase;
}

.shop-category-body-copy {
  position: relative;
}

.shop-category-body-copy.is-collapsed {
  max-height: 15em;
  overflow: hidden;
}

.shop-category-body-toggle {
  color: inherit;
}

.shop-category-body-toggle:hover,
.shop-category-body-toggle:focus {
  color: inherit;
}

@media (max-width: 991.98px) {
  .shop-main-nav__mobile {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .shop-main-nav__mobile .navbar-brand {
    justify-self: center;
  }

  .shop-main-nav__mobile .nav-icon-btn,
  .shop-main-nav__mobile .shop-mobile-menu-toggle {
    padding: 0.2rem calc(0.35rem - 1px) !important;
  }

  .shop-main-nav__mobile .shop-mobile-menu-toggle {
    display: flex;
    align-items: center;
    margin-left: 0;
  }

  .shop-main-nav__mobile .shop-mobile-menu-toggle .hamburger {
    display: flex;
  }

  .shop-main-nav__mobile .hamburger-inner,
  .shop-main-nav__mobile .hamburger-inner:before,
  .shop-main-nav__mobile .hamburger-inner:after {
    height: 1px;
  }

  .shop-main-nav__mobile .hamburger-inner {
    margin-top: -0.5px;
  }

  .shop-main-nav__mobile .hamburger-inner:before {
    top: -6px;
  }

  .shop-main-nav__mobile .hamburger-inner:after {
    bottom: -6px;
  }
}

@media (min-width: 1200px) {
  #shop-category-body :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.1rem;
  }
}
