/** Shopify CDN: Minification failed

Line 1187:18 Expected identifier but found whitespace
Line 1188:5 Unexpected "{"
Line 1188:14 Expected ":"
Line 1188:45 Unexpected "%"
Line 1189:5 Unexpected "{"
Line 1189:14 Expected ":"
Line 1189:45 Expected identifier but found "%"
Line 1769:20 Expected identifier but found whitespace
Line 1770:7 Unexpected "{"
Line 1770:16 Expected ":"
... and 4 more hidden warnings

**/
/* START_SECTION:footer-utilities (INDEX:10) */
.utilities {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap);
    text-wrap: nowrap;
    border-top: var(--border-width) solid var(--divider-color, var(--color-border));
    color: var(--color-foreground-muted);

    @media screen and (min-width: 750px) {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      justify-content: center;
      gap: var(--gap);
      align-items: center;
      text-align: left;
    }
  }

  .utilities a,
  .utilities button {
    color: var(--color-utilities, var(--color-foreground-muted));
  }

  .utilities > * {
    text-align: center;

    @media screen and (min-width: 750px) {
      text-align: left;
      justify-self: start;
    }
  }

  /* Dynamic positioning based on number of blocks */
  @media screen and (min-width: 750px) {
    /* 1 block: Single column, left aligned */
    .utilities--blocks-1 {
      grid-template-columns: 1fr;
      justify-content: start;
    }

    .utilities--blocks-1 > * {
      justify-self: start;
      text-align: left;
    }

    /* 2 blocks: Two equal columns, start and end aligned */
    .utilities--blocks-2 {
      grid-template-columns: 1fr 1fr;
    }

    .utilities--blocks-2 > *:nth-child(2) {
      justify-self: end;
      text-align: right;
    }

    /* 3 blocks: Three columns (1fr auto 1fr), start/center/end aligned */
    .utilities--blocks-3 {
      grid-template-columns: 1fr auto 1fr;
    }

    .utilities--blocks-3 > *:nth-child(2) {
      justify-self: center;
      text-align: center;
    }

    .utilities--blocks-3 > *:nth-child(3) {
      justify-self: end;
      text-align: right;
    }
  }
/* END_SECTION:footer-utilities */
/* START_SECTION:footer (INDEX:11) */
.footer-content {
    contain: content;
    content-visibility: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--footer-gap);
    align-items: start;
  }

  .footer-content .menu__heading__default {
    font-weight: var(--font-heading--weight);
  }

  @media screen and (min-width: 750px) and (max-width: 989px) {
    .footer-content {
      grid-template-columns: repeat(min(var(--grid-columns), 3), 1fr);
      grid-auto-flow: row;
    }

    .footer-content[style*='--grid-columns: 4'] {
      grid-template-columns: repeat(2, 1fr);
    }

    .footer-content--isolated-grid-item-tablet > :last-child {
      grid-column: 1 / -1;
    }
  }

  @media screen and (min-width: 990px) {
    .footer-content {
      grid-template-columns: repeat(var(--grid-columns), 1fr);
    }

    /* Single item centered */
    .footer-content[style*='--grid-columns: 1'] {
      justify-items: center;
    }

    .footer-content--isolated-grid-item-desktop > :last-child {
      grid-column: 1 / -1;
    }
  }
/* END_SECTION:footer */
/* START_SECTION:header (INDEX:13) */
body {
  --royal-header-height: 76px;
}

.header-section:has(.royal-taj-header) {
  position: fixed !important;
  inset: 0 0 auto 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
}

.header-section:has(.royal-taj-header) .royal-taj-header {
  pointer-events: auto;
}

#header-group:has(.royal-taj-header) {
  display: contents !important;
}

.royal-taj-header {
  --royal-ivory: #f4ead8;
  --royal-dark: #17100c;
  position: relative;
  display: block;
  width: 100%;
  height: var(--royal-header-height);
  color: var(--royal-ivory);
  isolation: isolate;
}

.royal-taj-header__fade {
  position: absolute;
  inset: 0 0 auto 0;
  height: 130%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(13,8,5,.24) 0%,
    rgba(13,8,5,.17) 28%,
    rgba(13,8,5,.08) 58%,
    rgba(13,8,5,.02) 80%,
    transparent 100%
  );
  backdrop-filter: blur(8px) saturate(115%);
  -webkit-backdrop-filter: blur(8px) saturate(115%);
  -webkit-mask-image: linear-gradient(180deg,#000 0%,rgba(0,0,0,.85) 52%,transparent 100%);
  mask-image: linear-gradient(180deg,#000 0%,rgba(0,0,0,.85) 52%,transparent 100%);
  transition: opacity 700ms ease, backdrop-filter 700ms ease;
}

.royal-taj-header.is-scrolled .royal-taj-header__fade {
  opacity: .86;
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
}

.royal-taj-header__inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "left logo right";
  align-items: center;
  padding-inline: clamp(18px, 3vw, 52px);
}

.royal-taj-header__left {
  grid-area: left;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  min-width: 0;
}

.royal-taj-header__right {
  grid-area: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.royal-taj-header__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: inherit;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0);
  transition:
    opacity 1500ms cubic-bezier(.22,1,.36,1),
    transform 1700ms cubic-bezier(.22,1,.36,1),
    filter 1700ms cubic-bezier(.22,1,.36,1);
}

/* Override native Horizon logo color inside our custom wrapper */
.royal-taj-header__logo .header-logo {
  color: inherit;
}

/* HARD homepage rule: the actual Shopify logo block is hidden at page top */
.royal-taj-header--home .royal-taj-header__logo {
  opacity: 0 !important;
  visibility: hidden;
  transform: translate(-50%, calc(-50% - 5px)) scale(.985);
  filter: blur(4px);
  pointer-events: none;
}

.royal-taj-header--home.show-home-logo .royal-taj-header__logo {
  opacity: 1 !important;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.royal-taj-header__logo .header-logo__image,
.royal-taj-header__logo img,
.royal-taj-header__logo svg {
  display: block;
  width: auto;
  max-width: min(220px, 34vw);
  max-height: 52px;
  object-fit: contain;
}

.royal-header-control,
.royal-collections__trigger {
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  transition:
    background 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
}

.royal-taj-header.is-scrolled .royal-header-control,
.royal-taj-header.is-scrolled .royal-collections__trigger,
.royal-collections.is-open .royal-collections__trigger {
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 7px 24px rgba(0,0,0,.07);
  backdrop-filter: blur(17px) saturate(140%);
  -webkit-backdrop-filter: blur(17px) saturate(140%);
}

/* COLLECTION PAGE — ADAPTIVE CONTRAST */
.royal-taj-header--adaptive {
  transition: color 280ms cubic-bezier(.22,1,.36,1);
}

.royal-taj-header--adaptive.is-over-light {
  color: var(--royal-dark);
}

.royal-taj-header--adaptive.is-over-light .royal-taj-header__fade {
  opacity: 0;
}

.royal-taj-header--adaptive.is-over-light .royal-header-control,
.royal-taj-header--adaptive.is-over-light .royal-collections__trigger,
.royal-taj-header--adaptive.is-over-light .royal-taj-header__actions [data-testid='cart-drawer-trigger'] {
  color: var(--royal-dark);
  background: rgba(255,255,255,.72);
  border-color: rgba(23,16,12,.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    0 8px 24px rgba(23,16,12,.08);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.royal-taj-header--adaptive.is-over-light .royal-collections__panel,
.royal-taj-header--adaptive.is-over-light .royal-search__field {
  color: #fff;
}

.royal-taj-header--adaptive.is-over-light .royal-collections__category-title,
.royal-taj-header--adaptive.is-over-light .royal-collections__category-toggle {
  color: #fff;
}


.royal-taj-header__hamburger {
  appearance: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
}

.royal-taj-header__hamburger span {
  position: absolute;
  width: 18px;
  height: 1.2px;
  background: currentColor;
}

.royal-taj-header__hamburger span:first-child { transform: translateY(-4px); }
.royal-taj-header__hamburger span:last-child { transform: translateY(4px); }

.royal-search {
  position: relative;
  display: flex;
  align-items: center;
  height: 42px;
}

.royal-search__toggle {
  appearance: none;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
}

.royal-search__toggle svg,
.royal-search__field-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.royal-search__field {
  position: absolute;
  left: 0;
  top: 50%;
  display: flex;
  align-items: center;
  width: 42px;
  height: 42px;
  padding: 0 12px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  background: rgba(32,27,24,.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 10px 35px rgba(0,0,0,.13);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  transform: translateY(-50%);
  transform-origin: left center;
  transition: width 420ms cubic-bezier(.22,1,.36,1), opacity 180ms ease;
}

.royal-search.is-open .royal-search__field {
  width: min(310px, 42vw);
  opacity: 1;
  pointer-events: auto;
}

.royal-search.is-open .royal-search__toggle {
  opacity: 0;
  pointer-events: none;
}

.royal-search__field-icon { flex: 0 0 auto; }

.royal-search__field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 10px;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  font-family: var(--font-body--family);
  font-size: 12px;
}

.royal-search__field input::placeholder { color: rgba(255,255,255,.55); }

.royal-search__close {
  appearance: none;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: white;
  cursor: pointer;
}

.royal-collections {
  position: relative;
}

.royal-collections__trigger {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px 0 16px;
  border-radius: 999px;
  font-family: var(--font-body--family);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  white-space: nowrap;
}

.royal-collections__trigger svg,
.royal-collections__category-toggle svg,
.royal-menu-sheet__category-row button svg {
  width: 10px;
  height: 7px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 500ms cubic-bezier(.22,1,.36,1);
}

.royal-collections.is-open .royal-collections__trigger > svg {
  transform: rotate(180deg);
}

.royal-collections__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(340px, calc(100vw - 20px));
  padding: 1px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(.98);
  transform-origin: top right;
  transition:
    opacity 190ms ease,
    transform 420ms cubic-bezier(.22,1,.36,1),
    visibility 0s linear 420ms;
}

.royal-collections.is-open .royal-collections__panel {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition:
    opacity 190ms ease,
    transform 420ms cubic-bezier(.22,1,.36,1);
}

.royal-collections__glass {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  background: linear-gradient(145deg,rgba(52,45,40,.48),rgba(34,29,26,.34));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 20px 65px rgba(0,0,0,.18);
  backdrop-filter: blur(30px) saturate(145%);
  -webkit-backdrop-filter: blur(30px) saturate(145%);
}

.royal-collections__content {
  position: relative;
  z-index: 2;
  padding: 12px;
}

.royal-collections__category {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.royal-collections__category:last-child { border-bottom: 0; }

.royal-collections__category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}

.royal-collections__category-title {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 8px;
  color: inherit;
  font-family: var(--font-heading--family);
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
}

.royal-collections__category-toggle {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.royal-collections__category.is-open .royal-collections__category-toggle svg {
  transform: rotate(180deg);
}

.royal-collections__children {
  height: 0;
  overflow: hidden;
  opacity: 0;
  will-change: height, opacity;
  transition:
    height 560ms cubic-bezier(.22,1,.36,1),
    opacity 300ms ease;
}

.royal-collections__category.is-open .royal-collections__children {
  opacity: 1;
}

.royal-collections__children-inner {
  display: flex;
  flex-direction: column;
  padding: 0 8px 13px 16px;
}

.royal-collections__child {
  display: flex;
  align-items: center;
  min-height: 34px;
  color: rgba(255,255,255,.72);
  font-family: var(--font-body--family);
  font-size: 12px;
  text-decoration: none;
  opacity: .92;
}

.royal-taj-header__actions .header-actions__action:not([data-testid='cart-drawer-trigger']) {
  display: none !important;
}

.royal-taj-header__actions [data-testid='cart-drawer-trigger'] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  color: inherit;
  background: transparent;
  box-shadow: none;
}

.royal-menu-sheet {
  position: fixed;
  inset: 0;
  z-index: 99999;
  width: 100vw;
  height: 100svh;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  color: white;
  transition: opacity 320ms ease, visibility 0s linear 320ms;
}

.royal-menu-sheet.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 320ms ease;
}

.royal-menu-sheet__glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg,rgba(35,30,27,.48),rgba(30,26,24,.36) 48%,rgba(16,14,13,.54));
  backdrop-filter: blur(34px) saturate(140%);
  -webkit-backdrop-filter: blur(34px) saturate(140%);
}

.royal-menu-sheet__inner {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  height: 100%;
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
}

.royal-menu-sheet__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.royal-menu-sheet__brand {
  color: white;
  font-size: 9px;
  letter-spacing: .22em;
  text-decoration: none;
}

.royal-menu-sheet__close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: white;
  font-size: 22px;
}

.royal-menu-sheet__nav {
  display: flex;
  flex-direction: column;
  margin-top: clamp(52px, 9vh, 92px);
}

.royal-menu-sheet__home,
.royal-menu-sheet__category-row > a {
  display: flex;
  align-items: center;
  min-height: 58px;
  color: white;
  font-family: var(--font-heading--family);
  font-size: clamp(30px, 6vw, 48px);
  line-height: 1;
  text-decoration: none;
}

.royal-menu-sheet__home,
.royal-menu-sheet__category {
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.royal-menu-sheet__category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.royal-menu-sheet__category-row > a { flex: 1; }

.royal-menu-sheet__category-row button {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
}

.royal-menu-sheet__category.is-open .royal-menu-sheet__category-row button svg {
  transform: rotate(180deg);
}

.royal-menu-sheet__children {
  height: 0;
  overflow: hidden;
  opacity: 0;
  will-change: height, opacity;
  transition:
    height 560ms cubic-bezier(.22,1,.36,1),
    opacity 300ms ease;
}

.royal-menu-sheet__category.is-open .royal-menu-sheet__children {
  opacity: 1;
}

.royal-menu-sheet__children > div {
  display: flex;
  flex-direction: column;
  padding: 0 0 18px 14px;
}

.royal-menu-sheet__children a {
  display: flex;
  align-items: center;
  min-height: 36px;
  color: rgba(255,255,255,.72);
  font-family: var(--font-body--family);
  font-size: 13px;
  text-decoration: none;
}

@media screen and (max-width: 749px) {
  body { --royal-header-height: 62px; }

  .royal-taj-header__inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "left logo right";
    padding-inline: 7px;
    gap: 4px;
  }

  .royal-taj-header__left { gap: 0; }
  .royal-taj-header__right { gap: 1px; }

  .royal-taj-header__hamburger,
  .royal-search__toggle,
  .royal-taj-header__actions [data-testid='cart-drawer-trigger'] {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  .royal-search {
    height: 36px;
    position: static;
  }

  .royal-taj-header__hamburger span { width: 17px; }
  .royal-search__toggle svg { width: 17px; height: 17px; }

  .royal-search__field {
    position: fixed;
    top: calc((var(--royal-header-height) - 38px) / 2);
    left: 48px;
    right: 122px;
    width: auto;
    height: 38px;
    z-index: 1100;
    transform: none;
    opacity: 0;
  }

  .royal-search.is-open .royal-search__field {
    width: auto;
    left: 48px;
    right: 122px;
    opacity: 1;
    pointer-events: auto;
  }

  .royal-taj-header.is-searching .royal-taj-header__logo {
    opacity: 0 !important;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(.985);
    filter: blur(3px);
    pointer-events: none;
  }

  .royal-taj-header__logo .header-logo__image,
  .royal-taj-header__logo img,
  .royal-taj-header__logo svg {
    max-width: 118px;
    max-height: 36px;
  }

  .royal-collections__trigger {
    min-height: 36px;
    padding: 0 8px 0 10px;
    gap: 5px;
    font-size: 8px;
  }

  .royal-collections__trigger svg {
    width: 8px;
    height: 5px;
  }

  .royal-collections__panel {
    position: fixed;
    top: calc(var(--royal-header-height) + 7px);
    left: 8px;
    right: 8px;
    width: auto;
    max-height: calc(100svh - var(--royal-header-height) - 18px);
    overflow-y: auto;
    transform-origin: top center;
  }

  .royal-collections__category-title {
    font-size: 20px;
  }

  .royal-collections__child {
    font-size: 13px;
    min-height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .royal-taj-header *,
  .royal-menu-sheet * {
    transition: none !important;
  }
}
/* END_SECTION:header */
/* START_SECTION:hero (INDEX:14) */
.royal-taj-hero {
  --rt-ivory: #f3e8d2;
  --rt-espresso: #1b100b;
  position: relative;
  width: 100%;
  height: var(--rt-hero-height-desktop);
  min-height: var(--rt-hero-height-desktop);
  overflow: hidden;
  background: var(--rt-espresso);
  color: var(--rt-content-color);
  isolation: isolate;
}

.royal-taj-hero__media,
.royal-taj-hero__picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.royal-taj-hero__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--rt-desktop-x) var(--rt-desktop-y);
  transform: scale(1.001);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .royal-taj-hero:hover .royal-taj-hero__image {
    transform: scale(1.012);
  }
}

.royal-taj-hero__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.royal-taj-hero__placeholder svg {
  width: 100%;
  height: 100%;
}

.royal-taj-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(12, 7, 4, 0.18) 0%,
      rgba(12, 7, 4, 0.02) 28%,
      rgba(12, 7, 4, 0.03) 55%,
      rgba(12, 7, 4, 0.48) 100%
    );
  opacity: var(--rt-overlay-opacity);
}

.royal-taj-hero__content {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: var(--rt-content-bottom-desktop);
  transform: translateX(-50%);
  width: min(92%, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.royal-taj-hero__heading {
  margin: 0 0 24px;
  max-width: 850px;
  color: inherit;
  font-family: var(--font-heading--family);
  font-size: clamp(36px, 4.4vw, 70px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.18);
}

.royal-taj-hero__urgency {
  margin: 0 0 18px;
  max-width: min(90vw, 820px);
  color: inherit;
  font-family: var(--font-heading--family);
  font-size: clamp(34px, 4.2vw, 64px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.028em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow:
    0 2px 20px rgba(0, 0, 0, 0.28),
    0 1px 8px rgba(0, 0, 0, 0.22);
}

.royal-taj-hero__shop-now {
  display: inline-block;
  position: relative;
  padding: 5px 0 8px;
  color: inherit;
  font-family: var(--font-body--family);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
  transition: opacity 220ms ease;
}

.royal-taj-hero__shop-now::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
  transform: scaleX(1);
  transform-origin: center;
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease;
}

@media (hover: hover) {
  .royal-taj-hero__shop-now:hover {
    opacity: 0.72;
  }

  .royal-taj-hero__shop-now:hover::after {
    transform: scaleX(0.55);
  }
}

@media screen and (max-width: 749px) {
  .royal-taj-hero {
    height: var(--rt-hero-height-mobile);
    min-height: var(--rt-hero-height-mobile);
  }

  .royal-taj-hero__image {
    object-position: var(--rt-mobile-x) var(--rt-mobile-y);
  }

  .royal-taj-hero__content {
    bottom: var(--rt-content-bottom-mobile);
    width: calc(100% - 36px);
  }

  .royal-taj-hero__heading {
    margin-bottom: 20px;
    max-width: 92%;
    font-size: clamp(32px, 10vw, 48px);
    line-height: 0.99;
  }

  .royal-taj-hero__urgency {
    margin-bottom: 16px;
    max-width: 94%;
    font-size: clamp(28px, 8.6vw, 40px);
    line-height: 0.98;
    letter-spacing: -0.025em;
  }

  .royal-taj-hero__shop-now {
    font-size: 9px;
    letter-spacing: 0.26em;
    padding-bottom: 7px;
  }
}

@media screen and (max-width: 390px) {
  .royal-taj-hero__content {
    width: calc(100% - 28px);
  }

  .royal-taj-hero__heading {
    font-size: 31px;
  }

  .royal-taj-hero__urgency {
    max-width: 96%;
    font-size: clamp(27px, 8.4vw, 34px);
    letter-spacing: -0.024em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .royal-taj-hero__image,
  .royal-taj-hero__shop-now,
  .royal-taj-hero__shop-now::after {
    transition: none !important;
  }
}
/* END_SECTION:hero */
/* START_SECTION:product-list (INDEX:32) */
.rt-home-products {
  --rt-bg: #ededed;
  --rt-panel: #ffffff;
  --rt-ink: #111111;
  --rt-line: #d8d8d8;
  --rt-sale: #ff2d2d;
  width: 100%;
  overflow-x: clip;
  background: var(--rt-bg);
  color: var(--rt-ink);
}


/* =========================================================
   CAMPAIGN IMAGE — GENTLE PARK-STYLE
   ========================================================= */

/* =========================================================
   DESKTOP SPLIT SHOWCASE
   Left campaign stays pinned only while this product feed is scrolling.
   ========================================================= */

.rt-home-products__showcase {
  width: 100%;
}

@media screen and (min-width: 750px) {
  .rt-home-products__showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    background: var(--rt-line);
  }

  .rt-home-campaign {
    position: relative;
    min-width: 0;
    align-self: stretch;
  }

  .rt-home-campaign__link {
    position: sticky !important;
    top: 0 !important;
    height: 100svh !important;
    min-height: 100svh;
    aspect-ratio: auto !important;
    overflow: hidden;
  }

  .rt-home-campaign__picture {
    height: 100% !important;
  }

  .rt-home-campaign__image {
    height: 100% !important;
  }

  .rt-home-products__grid {
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
  }

  .rt-home-product__media-link {
    aspect-ratio: 4 / 5;
  }
}

.rt-home-campaign {
  position: relative;
  width: 100%;
  background: #ddd;
}

.rt-home-campaign__picture {
  position: relative;
  display: block;
  width: 100%;
}

.rt-home-campaign__link {
  display: block;
  width: 100%;
}

.rt-home-campaign__link {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.rt-home-campaign__picture {
  height: 100%;
}

.rt-home-campaign__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position:
    {{ section.settings.campaign_desktop_x }}%
    {{ section.settings.campaign_desktop_y }}%;
}

.rt-home-campaign__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.08) 0%,
      rgba(0,0,0,0) 38%,
      rgba(0,0,0,.16) 100%
    );
}

.rt-home-campaign__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(30px, 5vw, 72px) 18px clamp(28px, 4.2vw, 56px);
  text-align: center;
}

.rt-home-campaign__heading {
  margin: 0;
  max-width: min(88%, 520px);
  color: inherit;
  font-family: var(--font-heading--family);
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.025em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 1px 10px rgba(0,0,0,.18);
}

.rt-home-campaign__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-family: var(--font-body--family);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,.18);
}


.rt-home-products__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  width: 100%;
  gap: 1px;
  background: var(--rt-line);
}

.rt-home-product {
  position: relative;
  min-width: 0;
  background: var(--rt-panel);
  overflow: visible;
}

/* Gentle Park-like image crop: true 4:5 */
.rt-home-product__media-link {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ececec;
}

.rt-home-product__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.rt-home-product__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.001);
  transition:
    opacity 480ms cubic-bezier(.22,1,.36,1),
    transform 820ms cubic-bezier(.22,1,.36,1);
}

.rt-home-product__image--secondary {
  opacity: 0;
  transform: scale(1.014);
}

@media (hover:hover) {
  .rt-home-product:hover .rt-home-product__image--primary {
    opacity: 0;
    transform: scale(1.012);
  }

  .rt-home-product:hover .rt-home-product__image--secondary {
    opacity: 1;
    transform: scale(1.001);
  }

  .rt-home-product:not(:has(.rt-home-product__image--secondary)):hover .rt-home-product__image--primary {
    opacity: 1;
    transform: scale(1.012);
  }
}

/* compact top-left badges */
.rt-home-product__badges {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  pointer-events: none;
}

.rt-home-product__badge {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 7px;
  border-radius: 0;
  background: rgba(255,255,255,.96);
  font-family: var(--font-body--family);
  font-size: 7px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  box-shadow: none;
}

.rt-home-product__badge--sale {
  color: var(--rt-sale);
}

.rt-home-product__badge--best {
  color: var(--rt-ink);
}

.rt-home-product__badge--low {
  background: rgba(92,18,18,.92);
  color: #fff;
}

/* quick add row directly beneath image */
.rt-home-product__buy {
  position: relative;
  background: #f3f3f3;
}

.rt-home-product__add {
  appearance: none;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  border-top: 1px solid rgba(17,17,17,.06);
  border-bottom: 1px solid rgba(17,17,17,.06);
  background: #f3f3f3;
  color: var(--rt-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body--family);
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: background 160ms ease;
}

.rt-home-product__add:hover {
  background: #eeeeee;
}

.rt-home-product__add:active {
  transform: none;
}

.rt-home-product__add:disabled {
  background: #f3f3f3;
  color: rgba(17,17,17,.34);
  border-color: rgba(17,17,17,.05);
  cursor: default;
}

.rt-home-product__add-plus {
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-.5px);
}

/* title + price block */
.rt-home-product__info {
  min-height: 60px;
  padding: 10px 9px 11px;
  background: var(--rt-panel);
  color: var(--rt-ink);
  border-top: 0;
}

.rt-home-product__identity-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) 18px;
  gap: 8px;
  align-items: start;
}

.rt-home-product__title {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--rt-ink);
  font-family: var(--font-body--family);
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rt-home-product__bookmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--rt-ink);
  text-decoration: none;
}

.rt-home-product__bookmark svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rt-home-product__prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.rt-home-product__price {
  color: var(--rt-sale);
  font-family: var(--font-body--family);
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.rt-home-product__compare {
  color: rgba(17,17,17,.43);
  font-family: var(--font-body--family);
  font-size: 8px;
  font-weight: 400;
  line-height: 1;
  text-decoration: line-through;
  white-space: nowrap;
}

/* size selector keeps the existing mechanism */
.rt-home-product__sizes-panel {
  position: absolute;
  right: 8px;
  left: 8px;
  bottom: calc(100% + 8px);
  padding: 12px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(30,25,22,.88);
  color: white;
  box-shadow: 0 15px 50px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px) scale(.985);
  transform-origin: bottom center;
  transition:
    opacity 170ms ease,
    transform 300ms cubic-bezier(.22,1,.36,1),
    visibility 0s linear 300ms;
  z-index: 40;
}

.rt-home-product__buy.is-open .rt-home-product__sizes-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition:
    opacity 170ms ease,
    transform 300ms cubic-bezier(.22,1,.36,1);
}

.rt-home-product__sizes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
  color: rgba(255,255,255,.78);
  font-family: var(--font-body--family);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rt-home-product__sizes-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.rt-home-product__sizes-close {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: white;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.rt-home-product__guide-trigger {
  appearance: none;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.rt-home-product__sizes {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rt-home-product__size {
  appearance: none;
  flex: 1;
  min-width: 0;
  padding: 7px 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: white;
  font-family: var(--font-body--family);
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
}

.rt-home-product__size--unavailable,
.rt-home-product__size:disabled {
  color: rgba(255,255,255,.28);
  border-color: rgba(255,255,255,.06);
  cursor: not-allowed;
}

.rt-home-product__status {
  min-height: 10px;
  margin-top: 6px;
  color: rgba(255,255,255,.68);
  font-size: 7px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: right;
}

.rt-home-products__view-all-wrap {
  display: flex;
  justify-content: center;
  padding: 20px 14px 30px;
  background: var(--rt-bg);
}

.rt-home-products__view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(300px, calc(100vw - 28px));
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(17,17,17,.15);
  border-radius: 0;
  background: #fff;
  color: var(--rt-ink);
  font-family: var(--font-body--family);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}

.rt-home-products__empty {
  min-height: 45svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--rt-ink);
  font-family: var(--font-heading--family);
  font-size: clamp(28px,5vw,48px);
  text-align: center;
}

.rt-home-size-guide {
  position: fixed;
  inset: 0;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.rt-home-size-guide.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 220ms ease;
}

.rt-home-size-guide__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(10,7,5,.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.rt-home-size-guide__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(620px, calc(100% - 20px));
  max-height: calc(100svh - 30px);
  overflow-y: auto;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  background: rgba(32,27,24,.88);
  color: white;
  box-shadow: 0 28px 90px rgba(0,0,0,.22);
  backdrop-filter: blur(26px) saturate(135%);
  -webkit-backdrop-filter: blur(26px) saturate(135%);
  transform: translate(-50%, calc(-50% + 8px));
  opacity: 0;
  transition: opacity 200ms ease, transform 340ms cubic-bezier(.22,1,.36,1);
}

.rt-home-size-guide.is-open .rt-home-size-guide__panel {
  opacity: 1;
  transform: translate(-50%,-50%);
}

.rt-home-size-guide__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.rt-home-size-guide__eyebrow {
  margin: 0 0 6px;
  font-size: 8px;
  letter-spacing: .18em;
  opacity: .55;
}

.rt-home-size-guide__title {
  margin: 0;
  font-family: var(--font-heading--family);
  font-size: clamp(30px,5vw,44px);
  font-weight: 400;
}

.rt-home-size-guide__close {
  appearance: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  color: white;
  font-size: 22px;
  cursor: pointer;
}

.rt-home-size-guide__table-wrap {
  overflow-x: auto;
}

.rt-home-size-guide__table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body--family);
  font-size: 10px;
}

.rt-home-size-guide__table th,
.rt-home-size-guide__table td {
  padding: 13px 8px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.rt-home-size-guide__table th {
  font-size: 8px;
  letter-spacing: .12em;
}

.rt-home-size-guide__note {
  margin: 16px 0 0;
  color: rgba(255,255,255,.58);
  font-size: 8px;
}

@media screen and (max-width: 749px) {

  .rt-home-campaign__link {
    aspect-ratio: 4 / 5;
  }

  .rt-home-campaign__image {
    object-position:
      {{ section.settings.campaign_mobile_x }}%
      {{ section.settings.campaign_mobile_y }}%;
  }

  .rt-home-campaign__content {
    padding: 42px 18px 36px;
  }

  .rt-home-campaign__heading {
    max-width: 78%;
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.02;
  }

  .rt-home-campaign__cta {
    font-size: 8.5px;
    gap: 10px;
    padding-bottom: 7px;
  }

  .rt-home-product__media-link {
    aspect-ratio: 4 / 5;
  }

  .rt-home-product__badges {
    top: 7px;
    left: 7px;
    gap: 3px;
  }

  .rt-home-product__badge {
    min-height: 17px;
    padding: 0 6px;
    font-size: 6.5px;
  }

  .rt-home-product__add {
    min-height: 38px;
    padding: 0 8px;
    font-size: 9px;
  }

  .rt-home-product__add-plus {
    font-size: 15px;
  }

  .rt-home-product__info {
    min-height: 58px;
    padding: 9px 8px 10px;
  }

  .rt-home-product__identity-row {
    grid-template-columns: minmax(0,1fr) 16px;
    gap: 6px;
  }

  .rt-home-product__title {
    font-size: 8.9px;
    line-height: 1.2;
  }

  .rt-home-product__bookmark {
    width: 16px;
    height: 16px;
  }

  .rt-home-product__bookmark svg {
    width: 11px;
    height: 11px;
  }

  .rt-home-product__prices {
    margin-top: 6px;
    gap: 4px;
  }

  .rt-home-product__price {
    font-size: 8.6px;
  }

  .rt-home-product__compare {
    font-size: 7px;
  }

  .rt-home-product__sizes-panel {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    width: auto;
    z-index: 99998;
    padding: 14px;
  }

  .rt-home-product__sizes {
    gap: 5px;
  }

  .rt-home-product__size {
    font-size: 8px;
    padding: 8px 0;
  }

  .rt-home-products__view-all-wrap {
    padding: 18px 12px 28px;
  }

  .rt-home-products__view-all {
    width: 100%;
    min-width: 0;
  }

  .rt-home-size-guide__panel {
    padding: 22px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rt-home-products *,
  .rt-home-size-guide * {
    transition: none !important;
    animation: none !important;
  }
}
/* END_SECTION:product-list */
/* START_BLOCK:_header-logo (INDEX:70) */
.header-logo {
    display: flex;
    height: 100%;
    font-size: var(--font-size--md);
    font-family: var(--font-family);
    font-weight: var(--font-weight);
    font-style: var(--font-style);
    color: var(--color-foreground);
    justify-content: center;
    align-items: center;
    text-decoration: none;

    &[data-hidden-on-home-page] {
      display: none;

      #header-component:is(
          [sticky='always']:not([data-scroll-direction='none']),
          [sticky='scroll-up'][data-scroll-direction='up']
        )
        & {
        display: flex;
      }
    }

    @media screen and (max-width: 749px) {
      padding: 0;
    }

    @media screen and (min-width: 750px) {
      flex-shrink: 0;
    }

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

  .header-logo__image {
    object-fit: contain;
    height: var(--header-logo-image-height-mobile);
    width: var(--header-logo-image-width-mobile);

    @media screen and (min-width: 750px) {
      height: var(--header-logo-image-height);
      width: var(--header-logo-image-width);
    }
  }

  .header-logo__solid-header-image-container {
    display: var(--header-logo-display, block);
  }

  .header-logo__transparent-header-image-container {
    display: var(--header-logo-inverse-display, none);
  }
/* END_BLOCK:_header-logo */
/* START_BLOCK:email-signup (INDEX:103) */
.email-signup-block {
    --arrow-button-size: 58px;
    --arrow-button-size-integrated: 42px;
    --arrow-button-size-small: 20px;
    --arrow-icon-size: 32px;
    --arrow-icon-size-small: 24px;

    min-width: fit-content;

    @media screen and (max-width: 749px) {
      width: 100%;
      min-width: unset;
    }
  }

  .email-signup__heading {
    color: var(--color, inherit);
    padding-block: var(--padding-sm);
  }

  .email-signup__form {
    display: flex;
    flex-direction: column;
  }

  .email-signup__input-group {
    display: flex;
    align-items: stretch;
    background-color: transparent;
  }

  .email-signup__input-group:not(.email-signup__input-group--integrated):not(.email-signup__input-group--underline) {
    gap: var(--gap-xs);
    align-items: center;
  }

  .email-signup__input-group:not(.email-signup__input-group--arrow):not(.email-signup__input-group--underline):not(
      .email-signup__input-group--integrated
    ) {
    @media screen and (max-width: 749px) {
      flex-direction: column;
    }
  }

  .email-signup__input-group--integrated {
    border-width: var(--border-width);
    border-radius: var(--border-radius);
    border-style: solid;
    border-color: var(--color-input-border);
    background-color: var(--color-input-background);
  }

  .email-signup__input-group--integrated.email-signup__input-group--no-border {
    border: none;
  }

  .email-signup__input {
    flex: 1;
    min-width: 0;
    border-width: var(--border-width);
    border-radius: var(--border-radius);
    border-style: solid;
    border-color: var(--color-input-border);
    background-color: var(--color-input-background);
    transition: background-color var(--animation-speed) var(--animation-easing),
      color var(--animation-speed) var(--animation-easing);

    @media screen and (max-width: 749px) {
      width: 100%;
    }
  }

  .email-signup__input.paragraph {
    color: var(--color-input-text);
    outline-color: var(--color-input-background);
  }

  .email-signup__button {
    white-space: nowrap;
    padding: 0;

    @media screen and (max-width: 749px) {
      width: 100%;
    }
  }

  .email-signup__input,
  .email-signup__button--text {
    padding: var(--padding-lg) var(--padding-3xl);
  }

  .email-signup__input-group--underline {
    --box-shadow-color: var(--color-input-border);
    --box-shadow-multiplier: 1;
    --box-shadow-focused-multiplier: 1.75;

    box-shadow: 0 calc(var(--border-width) * var(--box-shadow-multiplier)) 0 var(--box-shadow-color);
    transition: box-shadow var(--animation-values);
    margin-block-end: calc(var(--border-width) * var(--box-shadow-focused-multiplier));

    &:focus-within {
      --box-shadow-multiplier: var(--box-shadow-focused-multiplier);
      --box-shadow-color: var(--color-input-text);
    }
  }

  .email-signup__input-group .email-signup__input--underline {
    color: var(--color-input-text);
    background-color: transparent;
    padding: 12px 0;
    border: none;
    border-radius: 0;

    &:focus-visible {
      outline: none;
    }
  }

  .email-signup__input::placeholder {
    color: rgb(var(--color-input-text-rgb) / var(--opacity-70));
  }

  .email-signup__input-group .email-signup__input--none {
    color: var(--color-input-text);
    background-color: var(--color-input-background);
    border: none;
  }

  .email-signup__input-group--integrated .email-signup__input {
    background-color: transparent;
    border: none;
    border-radius: 0;
  }

  .email-signup__button-icon {
    color: currentcolor;
    padding: 5px;

    @media screen and (max-width: 749px) {
      padding: 0;
      align-self: center;
      justify-self: center;
      width: var(--icon-size-lg);
      height: var(--icon-size-lg);
    }
  }

  .email-signup__button--arrow {
    width: var(--arrow-button-size-small);
    height: var(--arrow-button-size-small);
    padding: 0;

    &:not(.email-signup__button--integrated) {
      width: var(--arrow-button-size);
      height: var(--arrow-button-size);
      display: flex;
      align-items: center;
      justify-content: center;

      > .email-signup__button-icon {
        width: var(--arrow-icon-size);
        height: var(--arrow-icon-size);
        padding: 0;
      }
    }
  }

  .email-signup__button--integrated {
    --button-offset: var(--margin-xs);
    align-self: stretch;
    margin: var(--button-offset);
    flex-shrink: 0;

    @media screen and (max-width: 749px) {
      width: fit-content;
    }

    &.email-signup__button--text {
      padding: 0 var(--padding-3xl);
    }

    &.email-signup__button--text.button-unstyled {
      padding: 0 var(--padding-xl);
    }

    &.button-unstyled {
      border-radius: var(--border-radius);
    }

    > .email-signup__button-icon {
      padding: 0;
    }

    &.email-signup__button--arrow {
      width: var(--arrow-button-size-integrated);
      height: var(--arrow-button-size-integrated);
      align-self: center;
      display: flex;
      align-items: center;
      justify-content: center;

      > .email-signup__button-icon {
        width: var(--arrow-icon-size-small);
        height: var(--arrow-icon-size-small);
      }
    }
  }

  .email-signup__input--underline + .email-signup__button--integrated {
    margin: 0;
    align-self: center;

    &.email-signup__button--text {
      padding-block: 9px;
    }

    &.email-signup__button--text.button-unstyled {
      padding-inline: 0;
      min-width: 44px;
      min-height: 44px;
    }

    &.button-unstyled {
      border-radius: 0;
    }

    &.email-signup__button--arrow {
      width: var(--arrow-button-size-integrated);
      height: var(--arrow-button-size-integrated);
      display: flex;
      align-items: center;
      justify-content: center;

      > .email-signup__button-icon {
        width: var(--arrow-icon-size-small);
        height: var(--arrow-icon-size-small);
      }
    }
  }

  .email-signup__button:not(.button-unstyled) {
    background-color: var(--button-background-color);
    color: var(--button-color);
    text-transform: var(--button-text-case-primary);
  }

  .email-signup__button.button-secondary {
    text-transform: var(--button-text-case-secondary);
  }

  .email-signup__button.button-unstyled {
    background-color: transparent;
    color: var(--color-input-text);
  }

  .email-signup__button.button-unstyled:hover {
    --hover-color-rgb: var(--color-input-text-rgb);

    color: rgb(var(--hover-color-rgb) / var(--opacity-70));
    cursor: pointer;
  }

  .email-signup__message {
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
  }

  .email-signup__message-text {
    margin: 0;
  }
/* END_BLOCK:email-signup */
/* START_BLOCK:footer-copyright (INDEX:107) */
.footer-utilities__group-copyright {
    color: var(--color-utilities, var(--color-foreground-muted));
  }
/* END_BLOCK:footer-copyright */
/* START_BLOCK:footer-policy-list (INDEX:108) */
.policy-list-trigger {
    anchor-name: --terms-policies-trigger;
    cursor: pointer;
    font-size: var(--font-size, 0.75rem);
    text-transform: var(--text-transform, none);
  }

  .policy_list {
    li {
      border-radius: calc(var(--style-border-radius-popover) - 8px);

      a {
        color: var(--color-foreground);
        display: inline-block;
        padding: 8px;
        text-align: start;
        width: 100%;
        outline-color: #0000;
        font-size: var(--font-size, 0.75rem);
        text-transform: var(--text-transform, none);
      }

      &:is(:hover, :focus-within) {
        background: rgb(var(--color-foreground-rgb) / 0.15);
      }
    }
  }

  .terms-policies-popover {
    position-anchor: --terms-policies-trigger;
    inset: unset;
    bottom: calc(anchor(top) + 1rem);
    left: anchor(left);
    border-radius: var(--style-border-radius-popover);
    background: linear-gradient(var(--color-background) 0 100%),
      linear-gradient(rgb(var(--color-background-rgb) / 0.15) 0 100%);
    background-clip: padding-box, border-box;
    border: 1px solid #0000;
    box-shadow: var(--shadow-popover);
    padding: 8px;
    margin: 0;
    opacity: 0;
    scale: 0.94;
    translate: 0 6px;
    transform-origin: 3.9em 100%;
  }

  .terms-policies-popover.\:popover-open,
  .terms-policies-popover:popover-open {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }

  @media screen and (max-width: 749px) {
    .terms-policies-popover {
      left: anchor(center);
      transform: translate(-50%, 0);
      transform-origin: 0% 100%;
    }
  }

  @supports not (position-anchor: --account-button-trigger) {
    .terms-policies-popover {
      bottom: unset;
      top: calc(var(--anchor-top) * 1px);
      left: calc(var(--anchor-left) * 1px);
      transform: translate(0, calc(-100% - 1.25rem));
    }

    @media screen and (max-width: 749px) {
      .terms-policies-popover {
        left: calc((var(--anchor-left) + (var(--anchor-width) / 2)) * 1px);
        transform: translate(-50%, calc(-100% - 1.25rem));
      }
    }
  }

  @media (prefers-reduced-motion: no-preference) {
    .terms-policies-popover {
      transition-property: display, overlay, opacity, scale, translate;
      transition-behavior: allow-discrete;
      transition-duration: 0.3s;
      transition-timing-function: var(--ease-out-quad);
    }

    @starting-style {
      .terms-policies-popover.\:popover-open,
      .terms-policies-popover:popover-open {
        opacity: 0.7;
        translate: 0 6px;
        scale: 0.94;
      }
    }
  }
/* END_BLOCK:footer-policy-list */
/* START_BLOCK:social-links (INDEX:129) */
.social-icons__wrapper {
    display: flex;
    gap: var(--gap-sm);
    flex-wrap: wrap;
    justify-content: center;

    @media screen and (min-width: 750px) {
      flex-wrap: nowrap;
      justify-content: flex-start;
    }
  }

  .social-icons__icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--icon-size-lg);
  }

  .social-icons__icon {
    display: flex;
    flex-shrink: 0;
    width: var(--icon-size-lg);
    height: var(--icon-size-lg);
  }

  .social-icons__icon {
    display: none;
  }

  .social-icons__icon-wrapper:has(.social-icons__icon path) {
    width: var(--icon-size-lg);

    .social-icons__icon {
      display: block;
    }

    .social-icons__icon-label {
      display: none;
    }
  }

  /* Disabled state for editor */
  .shopify-design-mode .social-icons__icon-wrapper--disabled {
    opacity: var(--disabled-opacity, 0.5);
    cursor: not-allowed;
  }

  .shopify-design-mode .social-icons__icon-wrapper--disabled a {
    pointer-events: none;
  }
/* END_BLOCK:social-links */
/* START_SNIPPET:background-media (INDEX:139) */
.background-image-container {
    overflow: hidden;
    position: absolute;
    inset: 0;
    opacity: var(--image-opacity);
  }

  .background-image-container img,
  .background-image-container svg {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  .background-image-fit img,
  .background-image-fit svg {
    object-fit: contain;
  }
/* END_SNIPPET:background-media */
/* START_SNIPPET:card-hover-effect-styles (INDEX:148) */
.product-card:hover,
  .collection-card:hover,
  .predictive-search-results__card:hover {
    z-index: var(--layer-raised);
  }
/* END_SNIPPET:card-hover-effect-styles */
/* START_SNIPPET:cart-bubble (INDEX:149) */
.cart-bubble {
    --cart-padding: 0.2em;

    position: relative;
    width: 20px;
    aspect-ratio: 1;
    border-radius: 50%;
    border-width: 0;
    display: flex;
    line-height: normal;
    align-items: center;
    justify-content: center;
    color: var(--cart-bubble-text, var(--cart-bubble-text-fallback));
    padding-inline: var(--cart-padding);
  }

  .cart-bubble[data-maintain-ratio] {
    aspect-ratio: 1;
  }

  .cart-bubble[data-maintain-ratio] .cart-bubble__background {
    border-radius: var(--style-border-radius-50);
  }

  .cart-bubble__background {
    position: absolute;
    inset: 0;
    background-color: var(--cart-bubble-background, var(--cart-bubble-background-fallback));
    border-radius: var(--style-border-radius-lg);
  }

  .cart-bubble__text {
    font-size: var(--font-size--3xs);
    z-index: var(--layer-flat);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
/* END_SNIPPET:cart-bubble */
/* START_SNIPPET:cart-drawer (INDEX:151) */
/* ==========================================================
   ROYAL TAJ — LIGHT FROSTED GLASS CART
   ========================================================== */

cart-drawer-component {
  --cart-drawer-padding: 22px;
  display: contents;
}

.rt-cart-drawer {
  --rt-cart-ink: #1b120d;
  --rt-cart-muted: rgba(27, 18, 13, 0.66);
  --rt-cart-faint: rgba(27, 18, 13, 0.42);
  --rt-cart-line: rgba(27, 18, 13, 0.10);
  --rt-cart-white-line: rgba(255, 255, 255, 0.55);

  position: relative;
  width: min(500px, 100vw);
  max-width: 500px;
  overflow: hidden;

  color: var(--rt-cart-ink);
  background: rgba(248, 244, 237, 0.56) !important;

  border: 0;
  border-left: 1px solid var(--rt-cart-white-line);

  box-shadow: -24px 0 80px rgba(20, 12, 8, 0.14);

  backdrop-filter: blur(30px) saturate(120%);
  -webkit-backdrop-filter: blur(30px) saturate(120%);
}

.rt-cart-drawer::backdrop {
  background: rgba(14, 9, 6, 0.14);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.rt-cart-drawer__glass {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.58) 0%,
      rgba(250,247,241,0.46) 24%,
      rgba(247,243,236,0.42) 62%,
      rgba(245,240,232,0.54) 100%
    );
}

.rt-cart-drawer__glass-highlight {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.38) 0%,
      rgba(255,255,255,0.14) 26%,
      rgba(255,255,255,0.04) 55%,
      rgba(255,255,255,0) 100%
    );
}

.rt-cart-drawer,
.rt-cart-drawer * {
  box-sizing: border-box;
}

.rt-cart-drawer cart-drawer-component {
  position: relative;
  z-index: 2;
}

/* ==========================================================
   CORE
   ========================================================== */

.cart-drawer__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;

  color: var(--rt-cart-ink);
  background: transparent !important;
}

.cart-drawer__inner > .cart-items-component {
  flex: 1;
  min-height: 0;
  height: auto;
  background: transparent !important;
}

/* ==========================================================
   HEADER
   ========================================================== */

.rt-cart-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-shrink: 0;

  padding: 22px 22px 18px;

  color: var(--rt-cart-ink);
  background: rgba(255,255,255,0.18) !important;

  border-bottom: 1px solid var(--rt-cart-line);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.rt-cart-header__left {
  display: flex;
  flex-direction: column;
}

.rt-cart__eyebrow,
.rt-cart-upsells__eyebrow {
  margin: 0;
  color: var(--rt-cart-muted);
  font-family: var(--font-body--family);
  font-size: 7.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.rt-cart-header__title-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 7px;
}

.rt-cart-header__title {
  margin: 0;
  color: var(--rt-cart-ink);
  font-family: var(--font-heading--family);
  font-size: 29px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.025em;
}

.rt-cart-header__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding-inline: 5px;

  color: var(--rt-cart-ink);

  border: 1px solid rgba(27,18,13,.10);
  border-radius: 999px !important;
  background: rgba(255,255,255,.34);

  font-family: var(--font-body--family);
  font-size: 8px;
}

.rt-cart-header__brand {
  padding-top: 6px;
  color: var(--rt-cart-ink);
  font-family: var(--font-body--family);
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .22em;
}

/* ==========================================================
   CLOSE BUTTON
   ========================================================== */

.rt-cart-close {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;
  min-width: 38px;
  padding: 0;

  border: 1px solid rgba(27,18,13,.09);
  border-radius: 999px !important;
  background: rgba(255,255,255,.52);

  color: var(--rt-cart-ink);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    0 6px 18px rgba(20,12,8,.05);

  cursor: pointer;

  transition:
    background 170ms ease,
    transform 220ms cubic-bezier(.22,1,.36,1);
}

.rt-cart-close .svg-wrapper {
  width: 14px;
  height: 14px;
}

.rt-cart-close svg,
.rt-cart-close path {
  fill: currentColor;
  stroke: currentColor;
}

@media (hover:hover) {
  .rt-cart-close:hover {
    background: rgba(255,255,255,.72);
    transform: scale(1.025);
  }
}

/* ==========================================================
   CONTENT
   ========================================================== */

.cart-drawer__content,
.rt-cart-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;

  min-height: 0;
  padding: 0;

  color: var(--rt-cart-ink);
  background: transparent !important;

  overflow-y: auto;
  overscroll-behavior: contain;
}

.rt-cart-content::-webkit-scrollbar {
  width: 3px;
}

.rt-cart-content::-webkit-scrollbar-thumb {
  background: rgba(27,18,13,.16);
  border-radius: 999px;
}

/* ==========================================================
   CART ITEMS
   ========================================================== */

.cart-drawer__items,
.rt-cart-items {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 10px;
  overflow: visible;
  color: var(--rt-cart-ink);
  background: transparent !important;
}

.rt-cart-items .cart-items__table-row,
.rt-cart-items .cart-item,
.rt-cart-items .cart-items__item {
  opacity: 1 !important;
}

.rt-cart-items .cart-items__table-row {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--rt-cart-line);
  background: transparent !important;
}

.rt-cart-items .cart-items__table-row:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.rt-cart-items .cart-items__media {
  overflow: hidden;
  border: 1px solid rgba(27,18,13,.07);
  border-radius: 0;
  background: rgba(255,255,255,.32);
}

.rt-cart-items .cart-items__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* make ALL line-item text visible */
.rt-cart-drawer
:is(
  .cart-items__title,
  .cart-items__title a,
  .cart-items__details,
  .cart-items__variants,
  .cart-items__variant,
  .cart-items__price,
  .cart-items__price *,
  .cart-item__name,
  .cart-item__name a,
  .product-option,
  .price,
  .price *,
  .totals,
  .totals *
) {
  opacity: 1 !important;
}

.rt-cart-items .cart-items__title,
.rt-cart-items .cart-items__title a {
  color: var(--rt-cart-ink) !important;
  font-family: var(--font-heading--family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.08;
  text-decoration: none;
}

.rt-cart-items
:is(
  .cart-items__variants,
  .cart-items__variant,
  .cart-items__details
) {
  color: var(--rt-cart-muted) !important;
  font-size: 9px;
  letter-spacing: .02em;
}

.rt-cart-items
:is(
  .cart-items__price,
  .cart-items__price *,
  .price,
  .price *
) {
  color: var(--rt-cart-ink) !important;
}

.rt-cart-items .cart-items__price {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
}

.rt-cart-items s,
.rt-cart-items del,
.rt-cart-items .compare-at-price {
  color: var(--rt-cart-faint) !important;
  opacity: 1 !important;
}

/* ==========================================================
   QUANTITY / REMOVE — MAKE CLEARLY VISIBLE
   ========================================================== */

.rt-cart-drawer
:is(
  quantity-selector,
  .quantity-selector
) {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding-inline: 4px;

  border: 1px solid rgba(27,18,13,.13) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.42) !important;

  color: var(--rt-cart-ink) !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

.rt-cart-drawer
:is(
  quantity-selector button,
  .quantity-selector button,
  .quantity-selector__button,
  .quantity__button
) {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 40px;
  min-width: 34px;

  border: 0 !important;
  background: transparent !important;
  color: var(--rt-cart-ink) !important;
  opacity: 1 !important;
}

.rt-cart-drawer
:is(
  quantity-selector input,
  .quantity-selector input,
  .quantity-selector__input,
  .quantity__input
) {
  width: 38px;
  min-width: 38px;
  height: 40px;

  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;

  color: var(--rt-cart-ink) !important;
  opacity: 1 !important;

  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.rt-cart-drawer
:is(
  quantity-selector svg,
  .quantity-selector svg,
  .quantity-selector path,
  .quantity__button svg,
  .quantity__button path
) {
  stroke: currentColor !important;
  fill: currentColor !important;
  color: var(--rt-cart-ink) !important;
  opacity: 1 !important;
}

.rt-cart-drawer
:is(
  .cart-items__remove,
  .cart-items__remove button,
  .cart-remove-button,
  .cart-remove-button button,
  .cart-remove-button svg,
  .cart-remove-button path
) {
  color: var(--rt-cart-muted) !important;
  fill: currentColor !important;
  stroke: currentColor !important;
  opacity: 1 !important;
}

/* ==========================================================
   RESTRAINED UPSELLS
   ========================================================== */

.rt-cart-upsells {
  padding: 16px 0 18px;
  border-top: 1px solid var(--rt-cart-line);
  border-bottom: 1px solid var(--rt-cart-line);
  background: rgba(255,255,255,.12);
}

.rt-cart-upsells__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding-inline: 22px;
  margin-bottom: 10px;
}

.rt-cart-upsells__view-all {
  color: var(--rt-cart-muted);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
}

.rt-cart-upsells__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(118px, 35%);
  gap: 10px;
  overflow-x: auto;
  padding-inline: 22px;
  scrollbar-width: none;
}

.rt-cart-upsells__track::-webkit-scrollbar {
  display: none;
}

.rt-cart-upsell {
  min-width: 0;
  scroll-snap-align: start;
}

.rt-cart-upsell__image-link {
  display: block;
}

.rt-cart-upsell__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: rgba(255,255,255,.26);
  border: 1px solid rgba(27,18,13,.07);
}

.rt-cart-upsell__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.22,1,.36,1);
}

@media (hover:hover) {
  .rt-cart-upsell:hover .rt-cart-upsell__image {
    transform: scale(1.02);
  }
}

.rt-cart-upsell__info {
  padding-top: 7px;
}

.rt-cart-upsell__title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--rt-cart-ink);
  font-family: var(--font-heading--family);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.1;
  text-decoration: none;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.rt-cart-upsell__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
}

.rt-cart-upsell__price {
  color: var(--rt-cart-muted);
  font-size: 8px;
}

.rt-cart-upsell__shop {
  color: var(--rt-cart-ink);
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}

/* ==========================================================
   SUMMARY — CLEAN, READABLE
   ========================================================== */

.cart-drawer__summary,
.rt-cart-summary {
  --cart-drawer-summary-padding: 22px;

  position: sticky;
  bottom: 0;
  z-index: 5;

  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;

  width: 100%;
  padding: 18px 22px 22px;
  margin-top: auto;

  color: var(--rt-cart-ink);

  background:
    linear-gradient(
      180deg,
      rgba(248,244,237,.28) 0%,
      rgba(248,244,237,.56) 22%,
      rgba(248,244,237,.78) 100%
    ) !important;

  border-top: 1px solid var(--rt-cart-line);

  backdrop-filter: blur(24px) saturate(115%);
  -webkit-backdrop-filter: blur(24px) saturate(115%);

  mask-image: none;
}

.rt-cart-summary .cart__summary-totals:not(:has(.cart__subtotal-container:empty)) {
  border-block-start: 0;
  padding-block-start: 0;
}

.rt-cart-summary
:is(
  .cart__subtotal-container,
  .cart__total-container,
  .cart__subtotal-container *,
  .cart__total-container *,
  .money
) {
  color: var(--rt-cart-ink) !important;
  opacity: 1 !important;
}

.rt-cart-summary
:is(
  .cart__subtotal-container,
  .cart__total-container
) {
  font-size: 10px;
  letter-spacing: .02em;
  text-transform: none;
}

.rt-cart-summary
:is(
  .cart__total-value,
  .cart__subtotal,
  .money
) {
  font-weight: 650;
}

.rt-cart-summary
:is(
  .cart__tax-note,
  .cart__checkout-note,
  .tax-note,
  small
) {
  color: var(--rt-cart-muted) !important;
  line-height: 1.35;
  opacity: 1 !important;
}

/* ==========================================================
   REMOVE DISCOUNT UI FROM DRAWER
   ========================================================== */

.rt-cart-summary
:is(
  details,
  .cart-discount,
  .cart__discount,
  .discount-code,
  [data-cart-discount],
  [data-discount-form]
) {
  display: none !important;
}

/* ==========================================================
   CHECKOUT BUTTON
   ========================================================== */

.rt-cart-summary
:is(
  .button,
  button[type='submit'],
  input[type='submit']
) {
  min-height: 50px;
  width: 100%;

  color: var(--rt-cart-ink) !important;
  background: rgba(255,255,255,.64) !important;

  border: 1px solid rgba(27,18,13,.12) !important;
  border-radius: 999px !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 8px 24px rgba(20,12,8,.05);

  font-family: var(--font-body--family);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .20em;
  text-transform: uppercase;

  transition:
    background 170ms ease,
    transform 170ms ease,
    box-shadow 170ms ease;
}

@media (hover:hover) {
  .rt-cart-summary
  :is(
    .button,
    button[type='submit'],
    input[type='submit']
  ):hover {
    color: var(--rt-cart-ink) !important;
    background: rgba(255,255,255,.78) !important;
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,1),
      0 10px 30px rgba(20,12,8,.07);
  }
}

/* ==========================================================
   EMPTY CART
   ========================================================== */

.cart-drawer--empty .cart-drawer__content,
.rt-cart-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 38px 26px;
  color: var(--rt-cart-ink);
  background: transparent !important;
  text-align: center;
}

.rt-cart-empty__inner {
  width: min(320px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rt-cart-empty__title {
  margin: 12px 0;
  color: var(--rt-cart-ink);
  font-family: var(--font-heading--family);
  font-size: clamp(30px,7vw,42px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.03em;
}

.rt-cart-empty__copy {
  margin: 0 0 23px;
  color: var(--rt-cart-muted);
  font-size: 10px;
  line-height: 1.5;
}

.rt-cart-empty__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 21px;

  color: var(--rt-cart-ink);
  background: rgba(255,255,255,.56);

  border: 1px solid rgba(27,18,13,.12);
  border-radius: 999px;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 7px 22px rgba(20,12,8,.05);

  font-size: 8px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
}

/* ==========================================================
   HORIZON OVERRIDES
   ========================================================== */

.rt-cart-drawer
:is(
  .theme-drawer__header,
  .cart-drawer__content,
  .cart-drawer__items,
  .cart-items-component,
  .cart-form,
  .cart-items,
  .cart__summary,
  .cart-summary,
  scroll-hint
) {
  background: transparent !important;
}

.rt-cart-drawer
:is(
  h1,h2,h3,h4,h5,h6,
  p,span,a,button,label,div
) {
  border-color: var(--rt-cart-line);
}

.theme-drawer__dialog[cart-summary-sticky='false'] .cart-drawer__summary {
  position: static;
}

.theme-drawer__dialog[cart-summary-sticky='false'] .cart-drawer__items {
  overflow: visible;
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media screen and (max-width: 749px) {
  cart-drawer-component {
    --cart-drawer-padding: 18px;
  }

  .rt-cart-drawer {
    width: 100vw;
    max-width: 100vw;
    border-left: 0;
  }

  .rt-cart-header {
    padding: 18px 18px 15px;
  }

  .rt-cart-header__title {
    font-size: 26px;
  }

  .cart-drawer__items,
  .rt-cart-items {
    padding: 17px 18px 8px;
  }

  .rt-cart-upsells {
    padding-block: 14px 16px;
  }

  .rt-cart-upsells__header {
    padding-inline: 18px;
    margin-bottom: 10px;
  }

  .rt-cart-upsells__track {
    grid-auto-columns: 34%;
    padding-inline: 18px;
  }

  .cart-drawer__summary,
  .rt-cart-summary {
    padding: 16px 18px max(18px, env(safe-area-inset-bottom));
    gap: 10px;
  }
}

/* ==========================================================
   MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  .rt-cart-drawer *,
  .rt-cart-drawer *::before,
  .rt-cart-drawer *::after {
    transition: none !important;
  }
}

@media screen and (prefers-reduced-motion: no-preference) {
  html:active-view-transition-type(empty-cart-drawer)
  .theme-drawer__close-button {
    view-transition-name: cart-drawer-close-button;
  }
}

:active-view-transition {
  .cart-drawer__header,
  .cart-drawer__content {
    background: transparent;
  }
}
/* END_SNIPPET:cart-drawer */
/* START_SNIPPET:cart-items-component (INDEX:152) */
.cart-items-component {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  @media screen and (prefers-reduced-motion: no-preference) {
    html:active-view-transition-type(empty-cart-drawer),
    html:active-view-transition-type(fill-cart-drawer) {
      .cart-items-component {
        view-transition-name: cart-drawer-content;
      }
    }

    html:active-view-transition-type(empty-cart-page) {
      .cart-items-component {
        view-transition-name: cart-page-content;
      }
    }
  }

  ::view-transition-old(cart-page-content) {
    animation: cart-page-content-old var(--animation-speed-fast) var(--animation-easing) forwards;
  }

  @keyframes cart-page-content-old {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
      filter: blur(4px);
    }
  }

  ::view-transition-old(cart-drawer-content) {
    transform-origin: 50% 33%;
    animation: cart-contents-old var(--spring-d280-b0-duration) var(--spring-d280-b0-easing) forwards;
  }

  ::view-transition-new(cart-drawer-content) {
    transform-origin: top center;
    animation: cart-contents-new var(--spring-d280-b0-duration) var(--spring-d280-b0-easing) forwards;
  }

  @keyframes cart-contents-old {
    to {
      scale: 0.92;
      opacity: 0;
    }
  }

  @keyframes cart-contents-new {
    from {
      scale: 1.05;
      translate: 0 128px;
      filter: blur(1px);
      opacity: 0;
    }
  }
/* END_SNIPPET:cart-items-component */
/* START_SNIPPET:chat-drawer (INDEX:156) */
/* Pin the chat's mobile/desktop boundary so the theme and the chat agree
     on where standalone mode kicks in. Must stay in sync with the @media
     query below — @shopify/storefront-components reads this value once at
     init and uses it to decide when to force standalone mode. */
  shopify-chat {
    --shopify-chat-breakpoint: 768px;
  }

  shopify-chat[mode='managed'] {
    position: static;
    height: 100%;
  }

  .theme-drawer__dialog:has(shopify-chat[mode='standalone'][open]) {
    z-index: calc(var(--layer-menu-drawer) + 1);
  }

  /* Keep the panel rendered while closed so <shopify-chat>'s position-fixed
     "Ask anything" launcher stays visible. */
  .theme-drawer__dialog.chat-drawer:has(shopify-chat:defined) {
    display: flex;
  }
/* END_SNIPPET:chat-drawer */
/* START_SNIPPET:dialog-styles (INDEX:165) */
.dialog-modal {
    border: none;
    box-shadow: var(--shadow-popover);

    @media screen and (min-width: 750px) {
      border-radius: var(--style-border-radius-popover);
      max-width: var(--normal-content-width);
    }

    @media screen and (max-width: 749px) {
      max-width: 100%;
      max-height: 100%;
      height: 100dvh;
      width: 100dvw;

      /* Fullscreen dialog spans the physical viewport (viewport-fit=cover); keep its
         content clear of the status bar, notch, and home indicator */
      padding: max(var(--padding-md), var(--safe-area-inset-top)) max(var(--padding-md), var(--safe-area-inset-right))
        max(var(--padding-md), var(--safe-area-inset-bottom)) max(var(--padding-md), var(--safe-area-inset-left));
    }
  }

  .dialog-modal::backdrop {
    transition: backdrop-filter var(--animation-speed) var(--animation-easing);
    backdrop-filter: brightness(1);
    background: rgb(var(--backdrop-color-rgb) / var(--backdrop-opacity));
  }

  :where(.dialog-modal)[open] {
    animation: elementSlideInTop var(--animation-speed) var(--animation-easing) forwards;

    &::backdrop {
      animation: backdropFilter var(--animation-speed) var(--animation-easing) forwards;
      transition: opacity var(--animation-speed) var(--animation-easing);
    }
  }

  :where(.dialog-modal).dialog-closing {
    animation: elementSlideOutTop var(--animation-speed) var(--animation-easing) forwards;

    &::backdrop {
      opacity: 0;
    }
  }

  /* stylelint-disable value-keyword-case */
  .dialog-drawer {
    --dialog-drawer-opening-animation: move-and-fade;
    --dialog-drawer-closing-animation: move-and-fade;
  }
  /* stylelint-enable value-keyword-case */

  .dialog-drawer[open] {
    --start-x: var(--custom-transform-from, 100%);
    --end-x: var(--custom-transform-to, 0px);
    --start-opacity: 1;

    animation: var(--dialog-drawer-opening-animation) var(--animation-speed) var(--animation-easing) forwards;
  }

  .dialog-drawer[open].dialog-closing {
    --start-x: 0px;
    --end-x: 100%;
    --start-opacity: 1;
    --end-opacity: 1;

    animation: var(--dialog-drawer-closing-animation) var(--animation-speed) var(--animation-easing);
  }
/* END_SNIPPET:dialog-styles */
/* START_SNIPPET:group (INDEX:179) */
.group-block__link {
    position: absolute;
    inset: 0;
  }

  .group-block__link ~ :is(.group-block-content, .group-block__media-wrapper) {
    pointer-events: none;

    :is(a, button, input, textarea, select) {
      pointer-events: auto;
    }
  }

  /* Needs the .group-block__link ~ to be specific enough to take effect. */
  .group-block__link ~ .group-block-content--design-mode {
    pointer-events: auto;
  }
/* END_SNIPPET:group */
/* START_SNIPPET:header-actions (INDEX:180) */
.header {
    --account-offset-top: calc(
      var(--header-group-height) + (var(--header-height) * var(--transparent-header-offset-boolean))
    );

    &[data-sticky-state='active'] {
      --account-offset-top: calc(var(--header-height) - 1px);
    }
  }

  .account-button {
    /* Remove the background color from the color scheme, we want to inherit the color of the header */
    background: transparent;
  }

  .account-button__icon,
  .account-button__text {
    color: var(--color-account-icon);
    transition: color var(--header-content-transition-timing);
    -webkit-font-smoothing: antialiased;
  }

  shopify-account {
    --shopify-account-font-heading: var(--font-heading--family);
    --shopify-account-font-heading-weight: var(--font-heading--weight);
    --shopify-account-font-body: var(--font-body--family);
    --shopify-account-font-body-weight: var(--font-body--weight);
    --shopify-account-radius-base: var(--style-border-radius-popover);
    --shopify-account-radius-button: var(--style-border-radius-buttons-primary);
    --shopify-account-radius-button-small: var(--style-border-radius-buttons-primary);
    --shopify-account-radius-input: var(--style-border-radius-buttons-primary);
    --shopify-account-color-background: var(--color-background);
    --shopify-account-color-text: var(--color-foreground);
    --shopify-account-color-accent: var(--color-primary-button-background);
    --shopify-account-color-accent-text: var(--color-primary-button-text);
    --shopify-account-dialog-position-top: var(--account-offset-top);

    &:not(:defined) {
      min-width: 44px;
      height: 44px;
      display: flex;
      justify-content: center;
      align-items: center;
      /* Match the line height of the other buttons */
      line-height: normal;
    }
  }

  .account-button__fallback {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--shopify-account-color-accent, #0a142f);
  }

  .account-button--text shopify-account {
    color: inherit;
  }

  .cart-actions summary {
    padding-inline: 0;
    padding-block: var(--padding-sm);
    line-height: 1.2;
    min-height: var(--minimum-touch-target);
  }

  header-actions {
    display: flex;

    @media screen and (max-width: 749px) {
      justify-self: flex-end;
    }
  }

  @media screen and (min-width: 750px) {
    .header-actions--text {
      gap: var(--gap-xl);
    }

    .header-actions__text-style {
      font-size: var(--header-actions-font-size);
      font-family: var(--header-actions-font-family);
      font-weight: var(--header-actions-font-weight);
      text-transform: var(--header-actions-text-case);
    }
  }

  #header-component[data-menu-style='drawer'] header-actions {
    justify-self: flex-end;
  }

  .header__column--right header-actions {
    margin-inline-start: calc(var(--gap-md) * -1);
  }

  .header-actions__cart-icon {
    --cart-bubble-size: 20px;
    --cart-bubble-top: 4.5px;
    --cart-bubble-right: 2.5px;

    position: relative;
  }

  .header-actions__cart-icon .cart-bubble {
    position: absolute;
    width: var(--cart-bubble-size, 20px);
    top: var(--cart-bubble-top);
    right: var(--cart-bubble-right);
  }

  @media screen and (min-width: 750px) {
    .header-actions__cart-icon--text.header-actions__cart-icon .cart-bubble {
      position: relative;
      top: 0;
    }
  }

  .header-actions__cart-icon .cart-bubble__text {
    font-family: var(--font-paragraph--family);
    font-weight: var(--font-paragraph--weight);
  }

  .header-actions__cart-icon.header-actions__cart-icon--has-cart svg {
    /* Create donut mask where the cart bubble sits */
    mask: radial-gradient(
      calc(var(--cart-bubble-size) + 2px) at calc(100% - var(--cart-bubble-right)) var(--cart-bubble-top),
      transparent 45.45%,
      #fff 45.45%,
      #fff 100%
    );
  }

  .cart-bubble.cart-bubble--animating .cart-bubble__background {
    animation: grow var(--animation-speed) var(--animation-easing);
  }

  .cart-bubble--animating .cart-bubble__text {
    --start-y: -1em;
    --start-opacity: 1;
    /* Set initial transform state before animation starts */
    transform: translate(0, var(--start-y, -1em));
    opacity: var(--start-opacity, 1);
    animation: move-and-fade var(--animation-speed) var(--animation-easing);
  }

  cart-icon:has(.cart-bubble__text-count:empty) {
    --cart-bubble-size: 10px;
    --cart-bubble-top: 9px;
    --cart-bubble-right: 9px;

    .svg-wrapper {
      --cart-bubble-top: 4px;
      --cart-bubble-right: 4px;
    }
  }

  @media screen and (min-width: 750px) {
    cart-icon.header-actions__cart-icon--text:has(.cart-bubble__text-count:empty) {
      --cart-bubble-right: 2.5px;
    }
  }

  .header-actions__text {
    display: flex;
    align-items: center;
  }

  @media screen and (min-width: 750px) {
    .header-actions__cart-icon--text {
      display: flex;
      align-items: center;
      gap: var(--gap-xs);
    }

    .header__column--right .header-actions--text {
      margin-inline-start: 0;
    }
  }
/* END_SNIPPET:header-actions */
/* START_SNIPPET:payment-terms-styles (INDEX:201) */
form.payment-terms {
    padding-top: 0.5em;
    font-size: min(0.85em, var(--font-paragraph--size));
    font-weight: var(--font-paragraph--weight);
    color: var(--color, rgb(var(--color-foreground-rgb) / var(--opacity-subdued-text)));
  }

  .installments:not(:has(shopify-payment-terms)) {
    display: none;
  }
/* END_SNIPPET:payment-terms-styles */
/* START_SNIPPET:pills-styles (INDEX:202) */
/* Pills (used in facets and predictive search) */

  .pills__pill {
    --pills-pill-background-color: rgb(var(--color-foreground-rgb) / var(--opacity-5-15));

    color: var(--color-foreground);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap-sm);
    min-width: 48px;
    padding: 6px 12px;
    border-radius: var(--style-border-radius-pills);
    cursor: pointer;
    background-color: var(--pills-pill-background-color);
    transition: background-color var(--animation-speed) var(--animation-easing);

    &:hover {
      --pills-pill-background-color: rgb(var(--color-foreground-rgb) / var(--opacity-10-25));
    }

    @media screen and (max-width: 749px) {
      padding: var(--padding-xs) var(--padding-md);
    }
  }

  .pills__pill > .svg-wrapper {
    --close-icon-opacity: 0.4;
    --icon-stroke-width: 1px;

    color: var(--color-foreground);
  }

  .pills__pill--swatch {
    @media screen and (max-width: 749px) {
      padding-inline-start: var(--padding-sm);
    }
  }

  .pills__pill--swatch .swatch {
    margin-right: -4px;
  }

  .pills__pill--desktop-small {
    @media screen and (min-width: 750px) {
      font-size: var(--font-size--xs);
    }
  }
/* END_SNIPPET:pills-styles */
/* START_SNIPPET:predictive-search-styles (INDEX:206) */
/* Shared predictive search styles (used by both predictive-search and predictive-search-empty sections) */
  .predictive-search-dropdown {
    display: flex;
    flex-direction: column;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--layer-base);
  }

  .predictive-search-results__inner {
    flex-grow: 1;
    overflow-y: auto;
    padding-block: var(--padding-lg);
    container-type: inline-size;
    color: var(--color-foreground);
  }

  .predictive-search-results__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size--body-md);
    font-weight: 500;
    margin-block: var(--margin-sm) var(--margin-xs);
    width: 100%;
    text-transform: var(--title-case);

    &:first-of-type {
      margin-block-start: 0;
    }

    @media screen and (max-width: 749px) {
      margin-block: var(--margin-lg) var(--margin-sm);
    }
  }

  .predictive-search-results__no-results {
    animation-delay: 100ms;
    transition: opacity var(--animation-speed-medium) var(--animation-timing-fade-in);
  }

  .predictive-search-results__no-results:last-child {
    margin-block: var(--margin-lg);
    text-align: center;
  }

  /* Predictive search section styles */
  input[type='search']::-webkit-search-decoration {
    -webkit-appearance: none; /* stylelint-disable-line */
  }

  .search-action .predictive-search {
    z-index: calc(var(--layer-header-menu) + 2);
  }

  .search-action .search-modal .predictive-search {
    z-index: var(--layer-window-overlay);
  }

  .header__column--right .predictive-search-form__content-wrapper {
    right: 0;
    left: unset;
  }

  .search-modal .predictive-search-form__content-wrapper {
    width: 100%;

    @media screen and (min-width: 750px) {
      height: fit-content;
    }
  }
  .dialog-modal .predictive-search-form__header-inner {
    @media screen and (min-width: 750px) {
      border: 0;
    }
  }

  .search-modal__content .predictive-search-form__content {
    max-height: var(--modal-max-height);
  }

  .predictive-search:has(.predictive-search-dropdown) .search-input {
    outline-color: transparent;
  }

  .predictive-search:has(.predictive-search-dropdown) .predictive-search-form__header-inner:focus-within {
    border-top-color: transparent;
    border-right-color: transparent;
    border-left-color: transparent;

    @media screen and (max-width: 749px) {
      border-bottom-color: transparent;
    }
  }

  .predictive-search:has(.predictive-search-dropdown[aria-expanded='true'])
    .predictive-search-form__header-inner:focus-within {
    border-top-color: transparent;
    border-right-color: transparent;
    border-left-color: transparent;
    border-radius: var(--search-border-radius);

    @media screen and (max-width: 749px) {
      border-radius: var(--style-border-radius-inputs);
    }
  }

  .dialog-modal .predictive-search-form__header {
    border: 0;
    border-radius: 0;
    background-color: var(--color-background);
    border-bottom: var(--style-border-width) solid var(--color-border);

    @media screen and (min-width: 750px) {
      padding: var(--padding-2xs) var(--padding-2xs) 0;
      border-bottom: var(--search-border-width) solid var(--color-border);
    }

    @media screen and (max-width: 749px) {
      transition: box-shadow 0.2s ease;
      box-shadow: none;
    }
  }

  .search-action .predictive-search:has(.predictive-search-dropdown) .predictive-search-form__header:focus-within {
    border-radius: var(--search-border-radius) var(--search-border-radius) 0 0;
    transition: box-shadow var(--animation-speed) var(--animation-easing);
    background-color: var(--color-background);

    @media screen and (max-width: 749px) {
      border-radius: var(--style-border-radius-inputs) var(--style-border-radius-inputs) 0 0;
    }
  }

  @media screen and (max-width: 749px) {
    .dialog-modal .predictive-search__close-modal-button {
      padding-inline-start: var(--margin-xs);
      margin-inline-start: 0;
    }
  }

  .dialog-modal[open] {
    @media screen and (max-width: 749px) {
      border-radius: 0;
    }
  }

  .dialog-modal .predictive-search-form__header:has(.predictive-search-form__header-inner:focus-within) {
    @media screen and (min-width: 750px) {
      border-bottom-color: transparent;
    }
  }

  @media screen and (max-width: 749px) {
    .dialog-modal {
      .predictive-search__reset-button-icon {
        display: none;
      }

      .predictive-search__reset-button-text {
        display: block;
      }

      .predictive-search-form__content {
        /* The parent has overflow auto, we want to prevent a double scrollbar during animation */
        max-height: 100%;
      }

      .predictive-search-form__content-wrapper {
        box-shadow: none;
      }

      .predictive-search-form__header {
        box-shadow: none;
      }

      .predictive-search-form__footer {
        padding-block: var(--padding-2xl);
      }
    }
  }

  .predictive-search-results__pill {
    font-weight: 500;
    white-space: nowrap;
    color: var(--color-foreground);
    transition: background-color var(--animation-speed-medium) var(--animation-timing-hover),
      box-shadow var(--animation-speed-medium) var(--animation-timing-bounce),
      transform var(--animation-speed-medium) var(--animation-timing-bounce);
    margin: 2px;

    &:hover {
      transform: scale(1.03);
      box-shadow: 0 2px 5px rgb(0 0 0 / var(--opacity-8));
    }
  }

  .predictive-search-results__pill mark {
    background-color: transparent;
    font-weight: 200;
    color: var(--color-foreground-subdued);
  }

  .predictive-search-results__pill:focus,
  .predictive-search-results__pill:hover,
  .predictive-search-results__card--query:is([aria-selected='true'], :focus-within) .predictive-search-results__pill {
    --pill-background-color: rgb(var(--color-foreground-rgb) / var(--opacity-8));

    background-color: var(--pill-background-color);
    outline: var(--border-width-sm) solid var(--color-border);
    border: var(--border-width-sm);
    text-decoration: none;
  }

  .predictive-search-results__wrapper.predictive-search-results__wrapper-queries {
    margin-bottom: var(--margin-lg);
    padding-inline: var(--padding-xl);
    gap: var(--gap-2xs);
  }

  .predictive-search-results__card {
    --title-font-size: var(--font-size--md);
    --title-margin-block: var(--margin-xs);

    flex: 0 0 auto;
    scroll-snap-align: start;
    scroll-margin-block: calc(var(--title-font-size) + var(--title-margin-block) + var(--padding-sm))
      calc(var(--padding-xl) + var(--button-padding-block) * 2);
    transition: transform var(--animation-speed-medium) var(--animation-timing-default),
      background-color var(--animation-speed-medium) var(--animation-timing-hover),
      border-color var(--animation-speed-medium) var(--animation-timing-hover);

    &:nth-last-child(3) {
      scroll-snap-align: end;
    }

    &:active {
      transform: scale(0.97);
      transition: transform 100ms var(--animation-timing-active);
    }
  }

  .recently-viewed-wrapper .predictive-search-results__card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .recently-viewed-wrapper.removing .predictive-search-results__card {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }

  .predictive-search-results__card--product,
  .recently-viewed-wrapper .predictive-search-results__card--product {
    &:active {
      transform: scale(0.97);
      transition: transform 100ms var(--animation-timing-active);
    }

    &:hover {
      background-color: var(--card-bg-hover);
      border-radius: var(--product-corner-radius);
      padding: calc(var(--padding-2xs) + 2px);
      margin: calc((var(--padding-2xs) + 2px) * -1);
    }

    &:is([aria-selected='true'].keyboard-focus, &:focus-visible, &:has(.resource-card:focus-visible)) {
      background-color: var(--card-bg-hover);
      padding: calc(var(--padding-2xs) + 1px);
      margin: calc((var(--padding-2xs) + 1px) * -1);
      outline: var(--border-width-sm) solid var(--color-border);
      border-radius: calc(var(--product-corner-radius) + 1px);
      border-color: var(--card-border-focus);
    }
  }

  .predictive-search-results__card:not(.predictive-search-results__card--product) {
    padding: var(--padding-sm);
    border: var(--border-width-sm) solid var(--color-border);
    border-radius: var(--card-corner-radius);
    width: 60cqi;
    content-visibility: visible;

    @media screen and (min-width: 750px) {
      width: 27.5cqi;
    }

    &:hover {
      border-color: var(--card-border-hover);
      background-color: var(--card-bg-hover);
    }

    &[aria-selected='true'].keyboard-focus {
      border-color: var(--card-border-hover);
      background-color: var(--card-bg-hover);
    }

    &:active {
      transform: scale(0.97);
      transition: transform var(--animation-speed-medium) var(--animation-timing-active);
    }
  }

  @keyframes search-element-scale-in {
    0% {
      transform: scale(0.95);
      opacity: 0;
    }

    40% {
      opacity: 1;
    }

    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  @keyframes search-element-scale-out {
    0% {
      transform: scale(1);
      opacity: 1;
    }

    100% {
      transform: scale(0.95);
      opacity: 0;
    }
  }

  @keyframes search-element-slide-in-top {
    from {
      margin-top: calc(var(--modal-top-margin) + var(--padding-sm));
      opacity: 0;
    }

    to {
      margin-top: var(--modal-top-margin);
      opacity: 1;
    }
  }

  @keyframes search-element-slide-out-top {
    from {
      margin-top: var(--modal-top-margin);
      opacity: 1;
    }

    to {
      margin-top: calc(var(--modal-top-margin) + var(--padding-sm));
      opacity: 0;
    }
  }

  @keyframes content-slide {
    from {
      transform: translateY(var(--slide-from, 0));
      opacity: var(--slide-opacity-from, 1);
    }

    to {
      transform: translateY(var(--slide-to, 0));
      opacity: var(--slide-opacity-to, 1);
    }
  }

  .predictive-search-results__list {
    --slide-width: 27.5%;
    --slideshow-gap: var(--gap-md);

    /* Make space for the outline to be visible */
    padding-block-start: var(--border-width-sm);
  }

  .predictive-search-results__list slideshow-arrows {
    @media screen and (max-width: 749px) {
      display: none;
    }
  }

  .predictive-search-results__no-results,
  .predictive-search-results__wrapper,
  .predictive-search-results__wrapper-products .predictive-search-results__card {
    animation: search-element-slide-up var(--animation-speed-medium) var(--animation-timing-bounce) backwards;
  }

  slideshow-slide .resource-card {
    /* stylelint-disable-next-line declaration-no-important */
    animation-delay: 0ms !important;
  }

  .predictive-search-results__list,
  .predictive-search-results__wrapper {
    animation-duration: var(--animation-speed-medium);
  }

  .predictive-search-results__wrapper-queries {
    animation-delay: 50ms;
  }

  .predictive-search-results__list:nth-of-type(2) {
    animation-delay: 150ms;
  }

  .predictive-search-results__list:nth-of-type(3) {
    animation-delay: 200ms;
  }

  .predictive-search-results__list:nth-of-type(4) {
    animation-delay: 250ms;
  }

  .predictive-search-results__list:last-child {
    margin-block-end: 0;
  }

  [data-resource-type] {
    /* stylelint-disable-next-line declaration-no-important */
    animation-delay: 0ms !important;
  }

  .predictive-search-results__no-results.removing,
  .predictive-search-results__wrapper.removing {
    animation: search-element-slide-down var(--animation-speed-medium) var(--animation-timing-fade-out) forwards;
  }

  .predictive-search-results__card.removing {
    animation: fadeOut var(--animation-speed-medium) var(--animation-timing-fade-out) forwards;
  }

  .predictive-search-results__wrapper {
    transition: opacity var(--animation-speed-medium) var(--animation-timing-fade-in);
  }

  @keyframes search-element-slide-up {
    from {
      opacity: 0;
      transform: translateY(8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes search-element-slide-down {
    from {
      opacity: 1;
      transform: translateY(0);
    }

    to {
      opacity: 0;
      transform: translateY(8px);
    }
  }

  .predictive-search-results__card--query {
    transition: transform var(--animation-speed-medium) var(--animation-timing-bounce);
    transform-origin: center;

    &:active {
      transform: scale(0.97);
    }
  }

  /* Products list styles */
  .predictive-search-results__products {
    padding-inline: var(--padding-xl);
  }

  .recently-viewed-wrapper {
    display: grid;
    grid-template-rows: auto auto;
    max-height: 1000px;
    opacity: 1;
    overflow: visible;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top center;
    transform: translateY(0);
  }

  .recently-viewed-wrapper.removing {
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }

  .predictive-search-results__clear.button-unstyled {
    color: var(--color-foreground);
    opacity: 0.68;
    transition: opacity var(--animation-speed-medium) var(--animation-easing);
    padding: 0;
    margin-left: var(--margin-sm);

    &:hover {
      opacity: 1;
    }
  }

  .recently-viewed-wrapper.removing .predictive-search-results__card {
    transition: none;
    transform: none;
    opacity: 1;
  }

  .recently-viewed-wrapper > * {
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .predictive-search-results__wrapper-products .predictive-search-results__card:nth-child(1) {
    animation-delay: 30ms;
  }

  .predictive-search-results__wrapper-products .predictive-search-results__card:nth-child(2) {
    animation-delay: 60ms;
  }

  .predictive-search-results__wrapper-products .predictive-search-results__card:nth-child(3) {
    animation-delay: 90ms;
  }

  .predictive-search-results__wrapper-products .predictive-search-results__card:nth-child(4) {
    animation-delay: 120ms;
  }

  .predictive-search-results__wrapper-products .predictive-search-results__card:nth-child(n + 5) {
    animation-delay: 150ms;
  }

  .predictive-search-results__wrapper-products {
    animation-delay: 50ms;
  }

  /* Resource carousel styles */
  .predictive-search-results__wrapper {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    padding-block-end: var(--padding-sm);
    padding-inline: 0;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--padding-xl);
    scrollbar-width: none;
    -ms-overflow-style: none;

    &::-webkit-scrollbar {
      display: none;
    }
  }

  .predictive-search-results__wrapper slideshow-slides {
    --gutter-slide-width: var(--padding-xl);

    /* Add padding to prevent hover animations from being clipped in slideshow
       15px accommodates:
       - Scale effect (9px on each side from 1.03 scale)
       - Lift effect (4px upward movement)
       - Shadow (15px spread with -5px offset)
       Using 16px for better alignment with our spacing scale */
    padding-block: var(--padding-xl);
    margin-block: calc(-1 * var(--padding-xl));
    gap: var(--gap-md);
  }

  .predictive-search-results__resource-header {
    display: flex;
    padding-inline: var(--padding-xl);
    justify-content: space-between;
    align-items: center;
    height: 32px;
  }

  .predictive-search-results__resource-header .svg-wrapper {
    width: var(--icon-size-xs);
  }

  .predictive-search-results__wrapper-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding-block-end: var(--padding-sm);
    gap: var(--gap-md);
    transition: height var(--animation-speed-medium) var(--animation-easing);

    @container (min-width: 550px) {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  .predictive-search-results__wrapper-products:last-child {
    padding-block-end: var(--padding-lg);

    @media screen and (min-width: 750px) {
      padding-block-end: var(--padding-sm);
    }
  }

  .predictive-search-results__resource-header .predictive-search-results__title {
    margin-block-end: 0;
  }

  .predictive-search-results__resource-header:has(slideshow-controls) .predictive-search-results__title {
    margin-block-end: 0;
  }

  .predictive-search-results__resource-header slideshow-controls {
    @media screen and (max-width: 749px) {
      display: none;
    }
  }
/* END_SNIPPET:predictive-search-styles */
/* START_SNIPPET:price-styles (INDEX:208) */
.price,
  .compare-at-price,
  .unit-price {
    white-space: nowrap;
  }

  .unit-price {
    display: block;
    font-size: min(0.85em, var(--font-paragraph--size));
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-subdued-text));
  }

  .tax-note.tax-note.tax-note {
    font-size: min(0.85em, var(--font-paragraph--size));
    font-weight: var(--font-paragraph--weight);
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-subdued-text));
  }

  .tax-note:empty {
    display: none;
  }

  product-price.text-block:is(.h1, .h2, .h3, .h4, .h5, .h6) > *:not(.tax-note) {
    margin-block: 0;
  }

  /* Volume pricing note should match unit-price styling (small, grey text) */
  product-price .volume-pricing-note,
  product-price.text-block:is(.h1, .h2, .h3, .h4, .h5, .h6) .volume-pricing-note {
    display: block;
    font-family: var(--font-body--family);
    font-weight: normal;
    font-size: var(--font-size--xs);
    line-height: normal;
    letter-spacing: normal;
    text-transform: none;
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-subdued-text));
  }

  .compare-at-price {
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-subdued-text));
    text-decoration-line: line-through;
    text-decoration-thickness: 1.5px;
    text-decoration-color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-30));
  }

  .price-item__group {
    display: inline-block;
  }
/* END_SNIPPET:price-styles */
/* START_SNIPPET:product-media-container-styles (INDEX:216) */
:where(:not(.dialog-zoomed-gallery)) > .product-media-container {
    --slide-width: 100%;

    display: flex;
    aspect-ratio: var(--gallery-aspect-ratio, var(--media-preview-ratio));
    max-height: var(--constrained-height);
    width: var(--slide-width, 100%);

    /* Relative position needed for video and 3d models */
    position: relative;
    overflow: hidden;

    &:where(.constrain-height) {
      /* arbitrary offset value based on average theme spacing and header height */
      --viewport-offset: 400px;
      --constrained-min-height: 300px;
      --constrained-height: max(var(--constrained-min-height), calc(100vh - var(--viewport-offset)));

      margin-right: auto;
      margin-left: auto;
    }

    @supports (--test: round(up, 100%, 1px)) {
      /* width and overflow forces children to shrink to parent width */
      --slide-width: round(up, 100%, 1px);
    }
  }

  @media screen and (max-width: 749px) {
    .product-media-container.constrain-height {
      max-height: none;
    }
  }

  @media screen and (min-width: 750px) {
    .product-media-container.constrain-height {
      --viewport-offset: var(--header-height, 100px);
      --constrained-min-height: 500px;
    }

    body:has(header-component[transparent]) .product-media-container.constrain-height {
      --viewport-offset: 0px;
    }
  }

  .product-media-container img {
    aspect-ratio: inherit;
    object-fit: contain;
  }

  .product-media-container.media-fit-contain img {
    object-position: center center;
  }

  .product-media-container.media-fit {
    --product-media-fit: cover;

    img {
      object-fit: var(--product-media-fit);
    }
  }
/* END_SNIPPET:product-media-container-styles */
/* START_SNIPPET:product-media-gallery-content-styles (INDEX:217) */
/* Product Media */
  media-gallery {
    display: block;
    width: 100%;
  }

  :where(media-gallery, .product-grid__item) {
    .media-gallery__grid {
      grid-template-columns: 1fr;
      gap: var(--image-gap);
    }
  }

  @media screen and (min-width: 750px) {
    .media-gallery--large-first-image .product-media-container:first-child,
    .media-gallery--two-column .product-media-container:only-child {
      /* First child spans 2 columns */
      grid-column: span 2;
    }
  }

  media-gallery:where(.media-gallery--grid) .media-gallery__grid {
    display: none;
  }

  media-gallery.media-gallery--grid .media-gallery__grid .product-media-container {
    /* Needed for safari to stretch to full grid height */
    height: 100%;
  }

  @media screen and (min-width: 750px) {
    .media-gallery--two-column .media-gallery__grid {
      grid-template-columns: repeat(2, 1fr);
    }

    /* Display grid view as a carousel on mobile, grid on desktop */
    media-gallery:is(.media-gallery--grid) slideshow-component {
      display: none;
    }

    media-gallery:where(.media-gallery--grid) .media-gallery__grid {
      display: grid;
    }
  }

  zoom-dialog dialog {
    width: 100vw;
    height: 100vh;
    border: none;
    margin: 0;
    padding: 0;
    max-width: 100%;
    max-height: 100%;
    background: #fff;
    opacity: 0;
    transition: opacity var(--animation-speed) var(--animation-easing);
    scrollbar-width: none;

    &[open] {
      opacity: 1;
    }

    @media (prefers-reduced-motion: no-preference) {
      scroll-behavior: smooth;
    }

    &::backdrop {
      background: transparent;
    }
  }

  .product-media-container__zoom-button {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: var(--layer-flat);
    cursor: zoom-in;
    background-color: transparent;

    &:hover {
      background-color: transparent;
    }
  }

  slideshow-slide.product-media-container--tallest {
    content-visibility: visible;
  }

  .product-media__drag-zoom-wrapper {
    aspect-ratio: inherit;
    min-height: inherit;
    min-width: inherit;
    display: inherit;
    flex: inherit;
  }

  .media-gallery__mobile-controls {
    grid-area: auto;
  }

  .product-media-container--zoomable.product-media-container--image {
    cursor: zoom-in;
  }
/* END_SNIPPET:product-media-gallery-content-styles */
/* START_SNIPPET:quick-add-modal-styles (INDEX:223) */
#quick-add-dialog {
    display: contents;
  }

  /* Inputs inside the quick-add modal use the global Input Fields settings,
     not any per-block overrides set on the product page. */
  .quick-add-modal .quantity-selector-wrapper {
    --color-input-background: inherit;
    --color-input-text: inherit;
    --color-input-text-rgb: inherit;
    --color-input-border: inherit;
    --style-border-width-inputs: inherit;
    --style-border-radius-inputs: inherit;
    --style-border-radius-buttons-primary: var(--style-border-radius-inputs);
    --style-border-radius-buttons-secondary: var(--style-border-radius-inputs);
  }

  .quick-add-modal .product-details .quantity-selector {
    border-radius: var(--style-border-radius-inputs);
  }

  @media screen and (min-width: 750px) {
    .quick-add-modal {
      width: var(--quick-add-modal-width);
      height: var(--quick-add-modal-height);
      max-width: none;
    }
  }

  .quick-add-modal {
    padding: 0;
    border: var(--style-border-popover);
    overflow: hidden;
    box-shadow: 0 5px 30px rgb(0 0 0 / var(--opacity-15));

    @media screen and (max-width: 749px) {
      position: fixed;
      margin: auto 0 0 0;
      min-height: unset;
      max-width: 100%;
      border-radius: 0;
      overflow: clip;
      height: fit-content;

      /* Bottom sheet touches the physical bottom edge (viewport-fit=cover); keep the
         buy buttons above the home indicator while the background fills the safe area */
      padding-block-end: var(--safe-area-inset-bottom);
    }
  }

  .quick-add-modal[open] {
    @media screen and (max-width: 750px) {
      border-top-left-radius: var(--style-border-radius-popover);
      border-top-right-radius: var(--style-border-radius-popover);
    }
  }

  .quick-add-modal[open] {
    @media screen and (min-width: 750px) {
      display: flex;
    }
  }

  .quick-add-modal .view-more-details__wrapper {
    @media screen and (max-width: 749px) {
      display: none;
    }
  }

  .quick-add-modal[open] {
    animation: modalSlideInTop var(--animation-speed) var(--animation-easing) forwards;
  }

  .quick-add-modal.dialog-closing {
    animation: modalSlideOutTop var(--animation-speed) var(--animation-easing) forwards;
  }

  .quick-add-modal__close {
    position: absolute;
    top: var(--margin-2xs);
    right: var(--margin-2xs);
    transition: transform 0.15s var(--animation-timing-bounce);
    z-index: var(--layer-raised);
    overflow: visible;
    transform-origin: center;
  }

  .quick-add-modal__close:active {
    transform: scale(0.99) translateY(1px);
  }

  .quick-add-modal__close {
    &:focus-visible {
      outline: none;
    }

    &:focus-visible::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: calc(var(--style-border-radius-popover) - var(--margin-2xs));
      outline: var(--focus-outline-width) solid currentColor;
    }
  }

  .quick-add-modal__content {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: 100% 1fr;
    position: relative;
    overflow-y: auto;
    max-height: 100vh;
    flex-grow: 1;

    @media screen and (max-width: 749px) {
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: auto;
      padding-inline: var(--padding-xl);
      padding-block: var(--padding-xl);
      gap: var(--gap-lg);
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      height: auto; /* Prevent a bug in Safari where height:fit-content is not respected */
      max-height: 100vh;
    }
  }

  .quick-add-modal__content .media-gallery--grid .media-gallery__grid {
    grid-template-columns: 1fr;
  }

  .quick-add-modal__content .media-gallery--grid.media-gallery--two-column .product-media-container:first-child {
    grid-column: auto;
  }

  .quick-add-modal__content {
    /* One column */
    .media-gallery--grid:not(.media-gallery--two-column) .product-media > *,
      /* Two column, small first image */
      .media-gallery--grid.media-gallery--two-column:not(.media-gallery--large-first-image)
      .product-media-container:nth-of-type(odd)
      .product-media > *,
      /* Two column, large first image */
      .media-gallery--grid.media-gallery--two-column.media-gallery--large-first-image
        .product-media-container:is(:first-of-type, :nth-of-type(even))
        .product-media > *,
        /* Carousel */
      .media-gallery--carousel slideshow-container {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
    }
  }

  .quick-add-modal__content .view-more-details__wrapper {
    display: flex;
    justify-content: flex-start;
    width: 100%;
  }

  .view-more-details__wrapper .view-more-details {
    display: flex;
    align-items: center;
    width: fit-content;
  }

  .quick-add-modal__content .product-header {
    @media screen and (max-width: 749px) {
      display: flex;
      flex-direction: column;
      grid-column: 2 / -1;
      grid-row: 1;
      padding-right: var(--padding-2xl);
    }
  }

  .quick-add-modal__content .product-header a:not(product-price *) {
    @media screen and (max-width: 749px) {
      font-size: var(--font-size--md);
      font-weight: 500;
      color: inherit;
      width: fit-content;
    }
  }

  .quick-add-modal__content variant-picker,
  .quick-add-modal__content product-form-component {
    @media screen and (max-width: 749px) {
      grid-column: 1 / -1;
    }
  }

  .quick-add-modal__content .product-media-container__zoom-button {
    cursor: default;
  }

  .quick-add-modal__content .product-details {
    grid-column: 4 / -1;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    position: relative;

    dialog[open] & {
      animation: fadeSlideIn 0.3s var(--animation-timing-fade-in) both;
      animation-delay: 0.1s;
    }

    @media screen and (max-width: 749px) {
      grid-column: 2 / span 2;
      grid-row: span 1;
      max-height: 100%;
      height: 100%;
    }
  }

  @property --quick-add-modal-mask-start {
    syntax: '<length>';
    initial-value: 0px;
    inherits: false;
  }

  @property --quick-add-modal-mask-end {
    syntax: '<length>';
    initial-value: 0px;
    inherits: true;
  }

  @keyframes detect-scroll {
    from,
    to {
      --can-scroll: ;
    }
  }

  @supports (animation-timeline: scroll(self)) {
    dialog[open] .quick-add-modal__content .product-details {
      mask-image: linear-gradient(to bottom, transparent 0%, #000 var(--quick-add-modal-mask-start), #000 100%);
      animation: 0.3s var(--animation-timing-fade-in) 0.1s both fadeSlideIn, scrollStart 1s linear both,
        scrollEnd 1s linear both, detect-scroll 1ms linear none;
      animation-timeline: auto, scroll(self), scroll(self), scroll(self);
      animation-range: normal, 0px 48px, calc(100% - 48px) 100%, 0% 100%;
    }
  }

  @keyframes scrollStart {
    from {
      --quick-add-modal-mask-start: 0px;
    }
    to {
      --quick-add-modal-mask-start: 48px;
    }
  }

  @keyframes scrollEnd {
    from {
      --quick-add-modal-mask-end: 0px;
    }
    to {
      --quick-add-modal-mask-end: 48px;
    }
  }

  .quick-add-modal__content .product-details > .group-block {
    flex-grow: 1;
    width: auto;
  }

  .quick-add-modal__content > * {
    min-height: 0;
  }

  .quick-add-modal__content .product-details :is(.view-product-title, .buy-buttons-block) {
    flex: 0 0 auto;
  }
  .quick-add-modal__content .product-details :is(.buy-buttons-block) {
    margin-top: auto;
    position: sticky;
    bottom: 0;
    padding-bottom: var(--padding-3xl);
    background-color: var(--color-background);
    z-index: var(--layer-raised);

    &::before {
      --quick-add-modal-mask-end-progressive-enhanced: 0px;

      position: absolute;
      content: '';
      display: block;
      inset: auto 0 100% 0;
      pointer-events: none;
      height: min(var(--gap-2xl), var(--gap));
      background-color: inherit;
      mask-image: linear-gradient(
        to top,
        #000 0%,
        #000 calc(var(--gap-2xs)),
        transparent calc(100% - var(--quick-add-modal-mask-end-progressive-enhanced)),
        transparent
      );
    }
  }

  .quick-add-modal__content .product-details .buy-buttons-block:has(gift-card-recipient-form) {
    position: static;
    padding-bottom: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .quick-add-modal__content .product-details .buy-buttons-block:has(gift-card-recipient-form) > product-form-component {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .quick-add-modal__content .product-details .buy-buttons-block:has(gift-card-recipient-form) form {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .quick-add-modal__content .product-details .buy-buttons-block:has(gift-card-recipient-form)::before {
    display: none;
  }

  .quick-add-modal__content .product-details .buy-buttons-block__bar {
    display: block;
    position: sticky;
    bottom: 0;
    margin-top: auto;
    padding-block: var(--gap-md) var(--padding-3xl);
    background-color: var(--color-background);
    z-index: var(--layer-raised);

    &::before {
      --quick-add-modal-mask-end-progressive-enhanced: 0px;

      position: absolute;
      content: '';
      display: block;
      inset: auto 0 100% 0;
      pointer-events: none;
      height: min(var(--gap-2xl), var(--gap));
      background-color: inherit;
      mask-image: linear-gradient(
        to top,
        #000 0%,
        #000 calc(var(--gap-2xs)),
        transparent calc(100% - var(--quick-add-modal-mask-end-progressive-enhanced)),
        transparent
      );
    }
  }

  @supports (animation-timeline: scroll(self)) {
    .quick-add-modal__content .product-details :is(.buy-buttons-block)::before,
    .quick-add-modal__content .product-details .buy-buttons-block__bar::before {
      --mask-if-scroll: var(--can-scroll) var(--quick-add-modal-mask-end);
      --mask-if-no-scroll: 48px;
      --quick-add-modal-mask-end-progressive-enhanced: var(--mask-if-scroll, var(--mask-if-no-scroll));
      height: calc(var(--gap-2xs) + 48px);
    }
  }

  .quick-add-modal__content .product-details .variant-picker {
    flex: 0 0 auto;

    padding-block: min(var(--gap-2xl), var(--gap));
    margin-block-end: calc(var(--focus-outline-offset) + var(--focus-outline-width));
  }

  .quick-add-modal__content .variant-option--swatches {
    padding-inline-start: var(--padding-2xs);
  }

  .quick-add-modal__content .variant-option--swatches legend {
    margin-inline-start: calc(-1 * var(--padding-2xs));
  }

  .quick-add-modal__content:not(:has(.product-information__media)) .product-details {
    grid-column: 1 / -1;
  }

  .quick-add-modal__content .view-product-title {
    display: flex;
    padding-block: 0;
    margin-block-end: 12px;

    /* Prevent overlap between title and close button */
    padding-inline-end: calc(var(--padding-2xl) + calc(var(--minimum-touch-target) / 2));
  }

  .quick-add-modal__content .view-product-title a {
    color: inherit;
    text-decoration: none;
    text-align: left;
    font-size: var(--font-size--2xl);
    font-weight: 600;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s var(--animation-easing);
  }

  .quick-add-modal__content .product-details product-price {
    --text-align: left;
  }

  .quick-add-modal__content .product-details product-price.text-block--align-center {
    margin-inline: 0;
  }

  .quick-add-modal__content .product-details product-price.text-center {
    --text-align: left;
  }

  .quick-add-modal__content .product-details product-price > * {
    text-align: left;
  }

  .quick-add-modal__content
    .product-details
    *:not(
      .group-block,
      .group-block-content,
      .buy-buttons-block,
      .buy-buttons-block *,
      .view-product-title,
      .view-product-title *,
      variant-picker,
      variant-picker *,
      product-price,
      product-price *,
      product-inventory,
      product-inventory *,
      .view-more-details__wrapper,
      .view-more-details__wrapper *
    ) {
    @media screen and (min-width: 750px) {
      /* stylelint-disable-next-line declaration-no-important */
      display: none !important;
    }
  }

  .quick-add-modal__content
    .group-block:not(
      :has(
          .buy-buttons-block,
          .buy-buttons-block *,
          .view-product-title,
          .view-product-title *,
          variant-picker,
          variant-picker *,
          product-price,
          product-price *,
          product-inventory,
          product-inventory *,
          .view-more-details__wrapper,
          .view-more-details__wrapper *
        ),
      .buy-buttons-block
    ) {
    display: none;
  }

  @media screen and (min-width: 750px) {
    .quick-add-modal__content .group-block-content {
      gap: 0;
    }

    .quick-add-modal__content .media-gallery__grid {
      gap: min(var(--gap-2xs), var(--image-gap));
      border-radius: var(--style-border-radius-popover, 0);
    }

    .quick-add-modal__content .media-gallery--grid .product-media img {
      border-radius: 0;
    }
  }

  .quick-add-modal__content .product-details > .group-block {
    padding-block: var(--padding-3xl) 0;
  }

  .quick-add-modal__content :where(.product-details > .group-block > .group-block-content > *) {
    padding-inline: var(--padding-3xl);
  }

  .quick-add-modal__content slideshow-slide:not([aria-hidden='false']) {
    content-visibility: auto;
  }

  .quick-add-modal__content .product-information__media {
    width: 100%;
    grid-column: 1 / span 1;
    grid-row: 1;
    position: relative;
    top: 0;
    animation: fadeIn 0.4s var(--animation-timing-fade-in) both;

    @media screen and (min-width: 750px) {
      position: sticky;
      grid-column: 1 / 4;
      width: var(--quick-add-modal-gallery-width);
      overflow-y: auto;
      -ms-overflow-style: none;
      scrollbar-width: none;
    }

    &::-webkit-scrollbar {
      display: none;
    }
  }

  .quick-add-modal__content .product-information__media media-gallery {
    pointer-events: none;

    @media screen and (min-width: 750px) {
      position: absolute;
      inset: 0;
    }
  }

  .quick-add-modal media-gallery {
    padding: 0;
  }

  .quick-add-modal__content .product-information__media slideshow-arrows {
    display: none;
  }

  .quick-add-modal__content .product-information__media slideshow-container {
    display: block;
  }

  .quick-add-modal__content .product-information__media slideshow-slides {
    display: flex;
    flex-direction: column;
    gap: var(--gap-2xs);
    overflow: visible;
    scroll-snap-type: none;
  }

  .quick-add-modal__content .product-information__media slideshow-slide {
    width: 100%;
    flex: none;
    scroll-snap-align: unset;
    position: relative;
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s var(--animation-easing);
  }

  .quick-add-modal__content .product-information__media slideshow-slide[aria-hidden='true'] {
    @media screen and (max-width: 749px) {
      display: none;
    }
  }

  .quick-add-modal__content .product-information__media slideshow-slide:nth-child(1) {
    animation: fadeSlideIn 0.3s var(--animation-timing-fade-in) both;
  }

  .quick-add-modal__content .product-information__media slideshow-slide:nth-child(2) {
    animation: fadeSlideIn 0.3s var(--animation-timing-fade-in) both;
    animation-delay: 0.05s;
  }

  .quick-add-modal__content .product-information__media slideshow-slide:nth-child(3) {
    animation: fadeSlideIn 0.3s var(--animation-timing-fade-in) both;
    animation-delay: 0.1s;
  }

  .quick-add-modal__content .product-information__media :is(slideshow-controls, slideshow-controls[thumbnails]) {
    display: none;
  }

  .quick-add-modal__content .sticky-content,
  .quick-add-modal__content .sticky-content--desktop {
    top: 0;
  }

  .quick-add-modal__content .text-block.rte:not(product-price),
  .quick-add-modal__content .view-more-details__wrapper {
    display: none;
  }

  @keyframes fadeSlideIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
/* END_SNIPPET:quick-add-modal-styles */
/* START_SNIPPET:resource-card (INDEX:228) */
.resource-card__wrapper {
    display: block;
    height: 100%;
  }

  .resource-card {
    --resource-card-secondary-image-opacity: 0;
    --resource-card-primary-image-opacity: calc(1 - var(--resource-card-secondary-image-opacity));

    display: flex;
    flex-direction: column;
    row-gap: var(--padding-xs);
    position: relative;
    text-decoration: none;
    height: 100%;
    opacity: 0;
    animation: fadeIn var(--animation-speed-medium) var(--animation-timing-fade-in) forwards;
  }

  .resource-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  .resource-card__content {
    display: flex;
    flex-direction: column;
    color: var(--color-foreground);
    gap: var(--padding-3xs);

    .price {
      font-weight: 500;
    }

    .volume-pricing-note {
      display: block;
      margin-top: var(--padding-3xs);
      font-family: var(--font-body--family);
      font-weight: normal;
      font-size: min(0.85em, var(--font-paragraph--size));
      line-height: normal;
      letter-spacing: normal;
      text-transform: none;
      color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-subdued-text));
    }
  }

  .resource-card[data-resource-type='article'] .resource-card__content,
  .resource-card[data-resource-type='page'] .resource-card__content {
    gap: var(--padding-xs);
  }

  .resource-card__image {
    aspect-ratio: var(--resource-card-aspect-ratio, auto);
    object-fit: cover;
    border-radius: var(--resource-card-corner-radius);
    opacity: var(--resource-card-primary-image-opacity);
  }

  .resource-card__image--secondary {
    position: absolute;
    top: 0;
    opacity: var(--resource-card-secondary-image-opacity);
    border-radius: var(--resource-card-corner-radius);
  }

  .resource-card__media:empty {
    display: none;
  }

  .resource-card__image-placeholder {
    padding: var(--padding-sm);
    font-size: var(--font-size--lg);
    line-height: var(--line-height--display-loose);
    word-break: break-word;
    background-color: rgb(var(--color-foreground-rgb) / var(--opacity-5));
    aspect-ratio: var(--resource-card-aspect-ratio, auto);
    border-radius: var(--resource-card-corner-radius);
    color: var(--color-foreground);
  }

  .resource-card__title {
    margin-block: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .resource-card__title.paragraph {
    line-height: 1.3;
  }

  .resource-card--overlay {
    height: 100%;

    &::before {
      content: '';
      position: absolute;
      inset: 50% 0 0;
      background: var(--gradient-image-overlay);
      border-radius: var(--resource-card-corner-radius);
      pointer-events: none;
      z-index: var(--layer-flat);
    }
  }

  .resource-card--overlay .resource-card__image {
    height: 100%;
  }

  .resource-card--overlay .resource-card__content {
    position: absolute;
    inset: auto 0 0;
    padding: var(--padding-lg) var(--padding-lg) var(--padding-sm);
    z-index: var(--layer-raised);
  }

  .resource-card--overlay .resource-card__title {
    color: var(--color-white);
  }

  /* Collection images */
  .resource-card__image-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-2xs);
  }

  .resource-card__collection-image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: calc(var(--card-corner-radius) - (var(--padding-xs) / 2));
  }

  .resource-card__subtext {
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-subdued-text));
    margin-block-start: 0;
  }

  .resource-card__subtext.paragraph {
    font-size: var(--font-size--body-sm);
    line-height: var(--line-height--body-tight);
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-subdued-text));
  }

  .resource-card:has(.resource-card__image--secondary) {
    &:hover,
    &:focus {
      --resource-card-secondary-image-opacity: 1;
    }
  }
/* END_SNIPPET:resource-card */
/* START_SNIPPET:search-modal (INDEX:234) */
/* Search modal style */
  .search-modal {
    --search-border-radius: var(--style-border-radius-popover);
    --search-border-width: var(--style-border-width);
  }

  .search-modal__content {
    /* Approx set the top so when the content is at max height, the modal is centered */
    --modal-top-margin: calc(50dvh - var(--modal-max-height) / 2 - 2rem);
    --modal-width: 66dvw;

    padding: 0;
    border: var(--style-border-popover);

    @media screen and (min-width: 750px) {
      width: var(--modal-width);
      margin-block-start: var(--modal-top-margin);
      overflow: hidden;
    }
  }

  /* Hide the default dialog backdrop on small screens */
  @media screen and (max-width: 749px) {
    .search-modal__content::backdrop {
      display: none;
    }
  }

  .dialog-modal[open].search-modal__content {
    transform-origin: bottom center;
    animation: search-element-slide-in-bottom 300ms var(--ease-out-quad) forwards;
    border-radius: var(--search-border-radius);
    box-shadow: var(--shadow-popover);

    @media screen and (max-width: 749px) {
      border-radius: 0;
    }
  }

  .dialog-modal.search-modal__content.dialog-closing {
    animation: search-element-slide-out-bottom 200ms var(--ease-out-quad) forwards;
  }

  .search-modal__content[open] {
    display: flex;
  }

  .search-modal__content :is(.predictive-search-dropdown, .predictive-search-form__content-wrapper) {
    position: relative;
  }

  .dialog-modal
    .predictive-search-form__header:has(
      .predictive-search__reset-button:not(.predictive-search__reset-button[hidden])
    )::before {
    content: '';
    position: absolute;
    right: calc(var(--padding-sm) + var(--minimum-touch-target));
    top: 0;
    bottom: 0;
    width: var(--border-width-sm);
    background-color: var(--color-border);
  }

  .dialog-modal
    .predictive-search-form__header:has(.predictive-search__reset-button:not(.predictive-search__reset-button[hidden]))
    > .predictive-search__close-modal-button {
    &::before {
      content: none;
    }
  }

  @media screen and (min-width: 750px) {
    .dialog-modal
      .predictive-search-form__header:has(
        .predictive-search__reset-button:not(.predictive-search__reset-button[hidden])
      )::before {
      right: calc(var(--padding-2xl) * 2);
    }
  }

  predictive-search-component {
    --resource-card-corner-radius: var(--product-corner-radius);

    display: flex;
    width: 100%;
    position: relative;
    margin-inline: auto;
    align-items: center;
    background-color: var(--color-background);
    z-index: var(--layer-heightened);
  }

  .predictive-search-form__footer {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    @media screen and (min-width: 750px) {
      --to-top-gradient-background: linear-gradient(
        to top,
        rgb(var(--color-background-rgb) / var(--opacity-90)),
        rgb(var(--color-background-rgb) / var(--opacity-80)),
        rgb(var(--color-background-rgb) / var(--opacity-40)),
        transparent
      );

      padding-block: var(--padding-xs) var(--padding-lg);
      background-image: var(--to-top-gradient-background);
    }
  }

  predictive-search-component:has([data-search-results]):not(:has(.predictive-search-results__no-results))
    .predictive-search-form__footer {
    display: block;
  }

  .predictive-search-form {
    position: relative;
    width: 100%;
    align-self: flex-start;
  }

  .predictive-search-form__content {
    max-height: 50dvh;
    overflow-y: auto;
    background-color: var(--color-background);

    /* Firefox */
    scrollbar-width: none;

    /* Webkit browsers */
    &::-webkit-scrollbar {
      display: none;
    }
  }

  .predictive-search-form__content-wrapper {
    position: absolute;
    top: 100%;
    width: 100%;
    left: 0;
    z-index: var(--layer-raised);
    display: flex;
    flex-direction: column;
    border-radius: 0 0 var(--search-border-radius) var(--search-border-radius);
    transition: box-shadow var(--animation-speed) var(--animation-easing);
    transform: translateZ(0);
    overflow: hidden;

    @media screen and (max-width: 749px) {
      border-radius: 0;
    }

    @media screen and (min-width: 750px) {
      max-height: var(--modal-max-height);
    }
  }

  /* Add new rule to apply bottom padding only when search button exists */
  .predictive-search-form__content-wrapper:has([data-search-results]):not(:has(.predictive-search-results__no-results))
    > .predictive-search-form__content {
    padding-block-end: var(--padding-6xl);
  }

  .predictive-search-form__header-inner {
    background: var(--color-background);
    border: var(--search-border-width) solid var(--color-border);
    color: var(--color-foreground);
    border-radius: var(--style-border-radius-popover);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;

    @media screen and (max-width: 749px) {
      border-radius: var(--style-border-radius-inputs);
      border: none;
    }
  }

  .predictive-search-form__header-inner:focus-within {
    outline-offset: var(--focus-outline-offset);

    @media screen and (min-width: 750px) {
      outline: var(--focus-outline-width) solid var(--color-foreground);
    }
  }

  .predictive-search-form__header {
    display: flex;
    position: sticky;
    top: 0;
    z-index: var(--layer-heightened);
    width: 100%;
    align-items: center;
    background-color: var(--color-input-background);
    border: var(--search-border-width) solid var(--color-border);
    border-radius: var(--style-border-radius-inputs);

    @media screen and (max-width: 749px) {
      padding: var(--padding-2xs) var(--padding-sm);
    }
  }

  .predictive-search-form__header:focus-within,
  .predictive-search-form__header-inner:focus-within,
  .predictive-search-form__header-inner:has(.search-input:is(:focus, :focus-visible)) {
    outline: none;
    box-shadow: none;
    /* stylelint-disable-next-line declaration-no-important */
    border-color: var(--color-border) !important;
  }

  input.search-input {
    border-radius: var(--style-border-radius-inputs);
    padding-block: var(--padding-sm);
    font-size: var(--font-size--md);
    width: 100%;
    color: var(--color-foreground);
    padding-inline: calc(var(--margin-lg) + var(--icon-size-lg)) 0;
    background: transparent;
    text-overflow: ellipsis;
    overflow: hidden;
    outline: none;
    border: 0;
  }

  input.search-input::placeholder {
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-muted-text));
  }

  input.search-input,
  input.search-input:is(:focus, :focus-visible, :focus-within),
  .predictive-search-form__header *:is(:focus, :focus-visible) {
    outline: none;
    box-shadow: none;
  }

  input.search-input:hover {
    background-color: transparent;
  }

  .predictive-search__icon {
    position: absolute;
    left: var(--margin-xl);
    top: auto;
    width: var(--icon-size-lg);
    height: var(--icon-size-lg);
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-60));

    @media screen and (min-width: 750px) {
      left: var(--margin-md);
    }
  }

  .predictive-search__icon > svg {
    width: var(--icon-size-md);
    height: var(--icon-size-md);
  }

  .predictive-search__reset-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: var(--minimum-touch-target);
    height: var(--minimum-touch-target);
    padding: 0;
    margin-inline-end: var(--margin-md);
    background: transparent;
    color: var(--color-foreground);
    opacity: 0.68;
    transition: opacity var(--animation-speed-medium) var(--animation-timing-fade-out),
      visibility var(--animation-speed-medium) var(--animation-timing-fade-out);

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

    &:active {
      transform: scale(0.9);
      transition: transform 100ms var(--animation-timing-active);
    }

    @media screen and (min-width: 750px) {
      margin-inline-end: var(--margin-2xs);
    }
  }

  .predictive-search__reset-button[hidden] {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .predictive-search__reset-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--icon-size-lg);
    height: var(--icon-size-lg);
    transition: background-color var(--animation-speed-medium) ease-in-out,
      transform var(--animation-speed-medium) var(--animation-timing-bounce);
    border-radius: 50%;

    &:hover {
      background-color: rgb(var(--color-foreground-rgb) / var(--opacity-8));
    }
  }

  .predictive-search__reset-button:active .predictive-search__reset-button-icon {
    transform: scale(0.85);
    transition-timing-function: var(--animation-timing-active);
    transition-duration: 100ms;
  }

  .predictive-search__reset-button svg {
    width: var(--icon-size-md);
    height: var(--icon-size-md);
  }

  .predictive-search__reset-button-text {
    display: none;
  }

  .predictive-search__search-button {
    margin: auto;
    z-index: var(--layer-raised);
    transition: transform var(--animation-speed-medium) var(--animation-timing-bounce),
      box-shadow var(--animation-speed-medium) var(--animation-timing-hover);
    transform-origin: center;

    &:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgb(0 0 0 / var(--opacity-5));
    }

    &:active {
      transform: scale(0.97);
      transition: transform 100ms var(--animation-timing-active);
      box-shadow: none;
    }
  }

  .predictive-search__close-modal-button {
    --button-color: var(--color-foreground);
    --button-background-color: transparent;

    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--minimum-touch-target);
    height: var(--minimum-touch-target);
    margin-inline-start: var(--margin-sm);
    padding: 0;
    box-shadow: none;

    &:active {
      transform: scale(0.8);
      transition: transform 100ms var(--animation-timing-active);
    }

    .svg-wrapper,
    svg {
      width: var(--icon-size-xs);
      height: var(--icon-size-xs);
    }
  }

  .predictive-search__close-modal-button:hover {
    --button-color: var(--color-foreground);
    --button-background-color: transparent;
  }
/* END_SNIPPET:search-modal */
/* START_SNIPPET:skip-to-content-link (INDEX:238) */
.skip-to-content-link {
    position: absolute;
    inset-inline-start: -99999px;
  }

  .skip-to-content-link:focus {
    z-index: var(--layer-temporary);
    overflow: auto;
    width: auto;
    height: auto;
    padding: var(--padding-lg) var(--padding-4xl);
    inset-inline-start: var(--margin-lg);
    top: var(--margin-lg);
    background-color: var(--color-background);
    box-shadow: 0 0 0 var(--focus-outline-offset) var(--color-background);
  }
/* END_SNIPPET:skip-to-content-link */
/* START_SNIPPET:text-block-styles (INDEX:256) */
.text-block {
    width: var(--width, 100%);
  }

  .text-block--align-center,
  .text-block--align-center > * {
    margin-inline: auto;
  }

  .text-block--align-right,
  .text-block--align-right > * {
    margin-inline-start: auto;
  }

  .text-block--background {
    background-color: var(--text-background-color);
    border-radius: var(--text-corner-radius);

    /* To avoid text being cropped when using a border radius we add a minimum padding. */
    padding-block-start: max(var(--text-padding), var(--padding-block-start, 0));
    padding-block-end: max(var(--text-padding), var(--padding-block-end, 0));
    padding-inline-start: max(var(--text-padding), var(--padding-inline-start, 0));
    padding-inline-end: max(var(--text-padding), var(--padding-inline-end, 0));
  }

  .custom-color,
  .custom-color > :is(h1, h2, h3, h4, h5, h6, p, *) {
    color: var(--color);
  }

  .text-block:not(.text-block--full-width).rte,
  .text-block:not(.text-block--full-width).paragraph {
    /* Safari doesn't support pretty, so fallback to balance */
    text-wrap: balance;
    text-wrap: pretty;
  }

  .text-block:not(.text-block--full-width):is(.h1, .h2, .h3, .h4, .h5, .h6) {
    text-wrap: balance;
  }

  /* Hide underline unless text is using paragraph styles. The doubled class beats the global paragraph-link styles in base.css. */
  .text-block.text-block:is(.h1, .h2, .h3, .h4, .h5, .h6) a {
    text-decoration-line: none;
    color: currentColor;

    &:hover {
      text-decoration-line: none;
      color: currentColor;
    }
  }

  .text-block h1,
  .text-block.h1 > * {
    margin-block: var(--font-h1--spacing);
  }

  .text-block h2,
  .text-block.h2 > * {
    margin-block: var(--font-h2--spacing);
  }

  .text-block h3,
  .text-block.h3 > * {
    margin-block: var(--font-h3--spacing);
  }

  .text-block h4,
  .text-block.h4 > * {
    margin-block: var(--font-h4--spacing);
  }

  .text-block h5,
  .text-block.h5 > * {
    margin-block: var(--font-h5--spacing);
  }

  .text-block h6,
  .text-block.h6 > * {
    margin-block: var(--font-h6--spacing);
  }

  .text-block p,
  .text-block.p > * {
    margin-block: var(--font-paragraph--spacing);
  }

  /* The doubled class lets these edge resets beat heading/paragraph margins without relying on source order. */
  .text-block.text-block > *:last-child,
  .text-block.text-block > *:has(+ *:last-child:empty) {
    margin-block-end: 0;
  }

  .text-block.text-block > style + *,
  .text-block.text-block > *:first-child,
  .text-block.text-block > *:first-child:empty + * {
    margin-block-start: 0;
  }
/* END_SNIPPET:text-block-styles */
/* START_SNIPPET:text (INDEX:258) */
:root {
    --text-align-default: left;
  }

  /* Base text-block sizing, spacing, wrapping, and helper classes live in text-block-styles.liquid. */
  .text-block {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: var(--horizontal-alignment);
    color: var(--color, var(--color-foreground));
  }

  [style*='--horizontal-alignment: center'] .text-block {
    --text-align-default: center;
  }

  [style*='--horizontal-alignment: flex-end'] .text-block {
    --text-align-default: right;
  }

  [style*='--horizontal-alignment: flex-start'] > .text-block {
    --text-align-default: left;
  }

  [style*='--horizontal-alignment: center'] > .text-block {
    --text-align-default: center;
  }

  [style*='--horizontal-alignment: flex-end'] > .text-block {
    --text-align-default: right;
  }

  .text-block > * {
    width: var(--width, 100%);
    max-inline-size: min(100%, var(--max-width, 100%));
    text-align: var(--text-align, var(--text-align-default));
    text-wrap: var(--text-wrap);
  }
/* END_SNIPPET:text */
/* START_SNIPPET:theme-drawer-styles (INDEX:260) */
theme-drawer {
    display: contents;
  }

  .theme-drawer__dialog {
    --theme-drawer-padding: var(--padding-xl);

    z-index: calc(var(--layer-sticky) + var(--drawer-stack-order, 0));
    position: fixed;
    inset: unset;
    top: 0;
    right: calc(-1 * var(--theme-drawer-width, var(--sidebar-width)));
    flex-direction: column;
    width: var(--theme-drawer-width, var(--sidebar-width));
    max-width: 100%;
    max-height: none;
    height: 100dvh;

    /* Right-anchored drawer spans the full physical viewport (viewport-fit=cover); keep its
       content clear of the status bar, right-side notch, and home indicator */
    padding: var(--safe-area-inset-top) var(--safe-area-inset-right) var(--safe-area-inset-bottom) 0;
    border: none;
    border-left: var(--style-border-drawer);
    background-color: var(--color-background);
    color: var(--color-foreground);
  }

  .theme-drawer__dialog[open] {
    display: flex;
    right: 0;
  }

  .theme-drawer__dialog--opening {
    animation: drawer-slide-in var(--animation-speed) var(--animation-timing-fade-in);
  }

  .theme-drawer__dialog--opening-inline-start {
    animation: drawer-slide-in-inline-start var(--animation-speed) var(--animation-timing-fade-in);
  }

  .theme-drawer__dialog--closing {
    animation: drawer-slide-out var(--animation-speed) var(--animation-timing-fade-out) forwards;
  }

  .theme-drawer__dialog-instant {
    animation: none;
  }

  @keyframes drawer-slide-in {
    from {
      right: calc(-1 * var(--theme-drawer-width, var(--sidebar-width)));
    }
  }

  @keyframes drawer-slide-in-inline-start {
    from {
      right: calc(var(--theme-drawer-width, var(--sidebar-width)) / 2);
    }
  }

  @keyframes drawer-slide-out {
    to {
      right: calc(-1 * var(--theme-drawer-width, var(--sidebar-width)));
    }
  }

  .theme-drawer__dialog::backdrop {
    background: rgb(var(--backdrop-color-rgb) / var(--backdrop-opacity));
  }

  /* Exclude open drawers from the page navigation cross-fade so they
     stay frozen (visually unchanged) while the rest of the page transitions. */
  html:active-view-transition-type(page-navigation) .theme-drawer__dialog[open] {
    view-transition-name: theme-drawer;
  }

  ::view-transition-old(theme-drawer),
  ::view-transition-new(theme-drawer) {
    animation: none;
  }

  .theme-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--theme-drawer-padding);
    flex-shrink: 0;
    color: var(--color-foreground);
  }

  .theme-drawer__title {
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
    margin: 0;
  }

  .theme-drawer__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: var(--style-border-radius-lg);
    background-color: rgb(var(--color-foreground-rgb) / 0.1);
    font-family: var(--font-paragraph--family);
    font-weight: var(--font-paragraph--weight);
    color: var(--color-foreground);
    font-size: clamp(var(--font-size--3xs), 0.75em, var(--font-size--xs));
    padding-inline: 0.5em;
    line-height: 1;
  }

  .theme-drawer__badge[data-maintain-ratio] {
    aspect-ratio: 1 / 1;
    padding-inline: 0.2em;
  }

  .theme-drawer__close-button {
    --private-button-size: 34px;
    --private-focus-ring-size: 2px;
    --private-motion-speed: 150ms;
    --private-motion-ease: cubic-bezier(0.25, 0, 0.1, 1);
    --private-border-width: 1px;
    --private-button-border-color: rgb(0, 0, 0, 0.06);
    --private-button-shadow: 0 2px 6px 0 var(--private-button-border-color);

    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline-start: auto;
    width: var(--private-button-size);
    height: var(--private-button-size);
    border-radius: var(--private-button-size);
    background-color: var(--color-background);
    outline: var(--private-focus-ring-size) solid transparent;
    outline-offset: var(--private-focus-ring-size);
    transition-property: color, outline-color, background-color;
    transition-duration: var(--private-motion-speed);
    transition-timing-function: var(--private-motion-ease);

    /* Legacy non-contrast-aware color scheme */
    --button-icon-opacity: 0.8;
    color: var(--color-foreground);
    border: var(--private-border-width) solid var(--private-button-border-color);
    box-shadow: var(--private-button-shadow);

    &:hover:not(:active) {
      /* Legacy non-contrast-aware color scheme */
      --button-icon-opacity: 1;
    }

    &:focus-visible {
      outline-color: var(--color-foreground);
    }
  }

  @supports (color: oklch(from red l c h)) {
    .theme-drawer__close-button {
      --contrast-color: oklch(from var(--color-background) clamp(0, (0.6 / l - 1) * infinity, 1) 0 0);
      --button-icon-opacity: 1;
      --private-button-border-color: color-mix(in srgb, var(--contrast-color) 6%, transparent);
      --private-button-shadow: 0 2px 6px 0 var(--private-button-border-color);

      color: color-mix(in srgb, var(--contrast-color) 50%, transparent);

      &:hover:not(:active) {
        color: color-mix(in srgb, var(--contrast-color) 70%, transparent);
      }
    }

    .theme-drawer__close-button:hover:not(:active) {
      background-color: color-mix(in srgb, var(--contrast-color) 6%, var(--color-background));
    }
  }
/* END_SNIPPET:theme-drawer-styles */
/* START_SNIPPET:video-background-styles (INDEX:275) */
.video-background,
  .video-background * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .video-background--cover * {
    object-fit: cover;
  }

  .video-background--contain * {
    object-fit: contain;
  }

  @media (prefers-reduced-motion: reduce) {
    video-background-component video {
      display: none;
    }
  }
/* END_SNIPPET:video-background-styles */
