.overlay--eme-hero {
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.68) 0%, rgb(0 0 0 / 0.22) 28%, rgb(0 0 0 / 0.08) 50%, rgb(0 0 0 / 0.52) 100%);
}

.overlay--eme-teaser {
  background: linear-gradient(160deg, rgb(12 11 9 / 0.18) 0%, rgb(12 11 9 / 0.55) 60%, rgb(12 11 9 / 0.82) 100%);
}

.overlay--eme-editorial {
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.3) 0%, rgb(0 0 0 / 0.35) 50%, rgb(0 0 0 / 0.6) 100%);
}

.overlay--eme-mood {
  background: linear-gradient(to top, rgb(0 0 0 / 0.8) 0%, rgb(0 0 0 / 0.35) 50%, rgb(0 0 0 / 0) 100%);
}

.hero:has(.overlay--eme-hero) {
  --hero-height-offset: 0px;
}

@media screen and (max-width: 749px) {
  .hero:has(.overlay--eme-hero) {
    min-block-size: min(78svh, 740px);
  }

  .hero:has(.overlay--eme-hero) .hero__container {
    padding-block: max(80px, 12svh) calc(max(40px, 6svh) + 32px);
  }

  .hero:has(.overlay--eme-hero) .hero__content-wrapper {
    row-gap: 24px;
  }

  .hero:has(.overlay--eme-hero) .eme-text--display-xl {
    padding-inline: 20px;
  }

  .hero:has(.overlay--eme-hero) .button-custom.eme-button--on-media-outline {
    display: none;
  }

  .hero:has(.overlay--eme-hero) .button-custom.eme-button--on-media-solid {
    --button-padding-block: 0px;

    display: inline-flex;
    align-items: center;
    min-block-size: 48px;
    font-weight: 600;
    border-radius: var(--eme-radius-button);
  }
}

@media screen and (max-width: 749px) {
  .shopify-section:has(.eme-grid--mobile-marquee) .custom-section-content {
    grid-column: 1 / -1;
    border: 0;
  }

  .shopify-section:has(.eme-grid--mobile-marquee) .section-content-wrapper.spacing-style {
    padding-block: 12px;
  }
}

@media screen and (max-width: 749px) {
  .shopify-section:has(.eme-grid--mobile-carousel) .section-content-wrapper.spacing-style {
    padding-block: 44px 52px;
  }

  .shopify-section:has(.eme-grid--mobile-carousel) .group-block:has(.eme-grid--mobile-carousel) {
    padding-block-end: 0;
  }

  .shopify-section:has(.eme-grid--mobile-carousel) .group-block-content:has(.eme-grid--mobile-carousel) {
    row-gap: 0;
  }

  .shopify-section:has(.eme-grid--mobile-carousel) .text-block.eme-text--heading-l-tight {
    padding-block-end: 24px;
    padding-inline: 40px;
  }
}

.hero:has(.overlay--eme-teaser) {
  min-block-size: clamp(460px, 69svh, 661px);
}

.overlay--eme-collection {
  background:
    linear-gradient(to bottom, var(--overlay-color), var(--overlay-color--end)),
    linear-gradient(to top, rgb(0 0 0 / 0.65), rgb(0 0 0 / 0.25), transparent);
}

.overlay--eme-page-light {
  background:
    linear-gradient(to bottom, var(--overlay-color), var(--overlay-color--end)),
    linear-gradient(to top, rgb(0 0 0 / 0.5), rgb(0 0 0 / 0.2), transparent);
}

.hero:has(.eme-breadcrumb--top) .overlay--eme-page-light {
  @media screen and (max-width: 749px) {
    background:
      var(--eme-overlay-crumb-band),
      linear-gradient(to bottom, var(--overlay-color), var(--overlay-color--end)),
      linear-gradient(to top, rgb(0 0 0 / 0.5), rgb(0 0 0 / 0.2), transparent);
  }
}

.overlay--eme-page-crumb {
  background:
    var(--eme-overlay-crumb-band),
    linear-gradient(to bottom, var(--overlay-color), var(--overlay-color--end)),
    linear-gradient(to top, rgb(0 0 0 / 0.65), rgb(0 0 0 / 0.25), transparent);
}

.overlay--eme-page-crumb-mobile {
  background:
    var(--eme-overlay-crumb-band),
    linear-gradient(to bottom, var(--overlay-color), var(--overlay-color--end)),
    linear-gradient(to top, rgb(0 0 0 / 0.65), rgb(0 0 0 / 0.25), transparent);

  @media screen and (min-width: 750px) {
    background:
      linear-gradient(to bottom, var(--overlay-color), var(--overlay-color--end)),
      linear-gradient(to top, rgb(0 0 0 / 0.65), rgb(0 0 0 / 0.25), transparent);
  }
}

.hero.hero--eme-page {
  min-block-size: clamp(260px, 36vw, 400px);

  @media screen and (max-width: 749px) {
    min-block-size: 320px;
  }
}

.hero.hero--eme-page-s {
  min-block-size: 320px;

  @media screen and (min-width: 750px) {
    min-block-size: clamp(260px, 32vw, 380px);
  }
}

.hero:is(.hero--eme-page, .hero--eme-page-s) .hero__content-wrapper {
  @media screen and (max-width: 749px) {
    justify-content: flex-end;
    padding-block-end: 24px;
  }
}

.hero:is(.hero--eme-page, .hero--eme-page-s) :is(.eme-text--page-title, .eme-text--page-title-l) {
  @media screen and (min-width: 750px) {
    padding-block-start: 220px;
  }
}

.hero.hero--eme-band {
  min-block-size: clamp(300px, 55vw, 520px);

  @media screen and (max-width: 749px) {
    min-block-size: clamp(260px, 50vw, 520px);
  }
}

.hero.hero--eme-band-l {
  min-block-size: clamp(300px, 60vw, 720px);

  @media screen and (max-width: 749px) {
    min-block-size: clamp(240px, 60vw, 720px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero:is(.hero--eme-page, .hero--eme-page-s) .hero__media {
    animation: eme-hero-media-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero:is(.hero--eme-page, .hero--eme-page-s) :is(.eme-text--page-title, .eme-text--page-title-l) {
    animation: eme-hero-title-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
  }
}

@keyframes eme-hero-media-in {
  from {
    scale: 1.03;
  }
}

@keyframes eme-hero-title-in {
  from {
    opacity: 0;
    translate: 0 12px;
  }
}

.button-custom:is(.eme-button--on-media-solid, .eme-button--on-media-outline, .eme-button--on-media-outline-l) {
  --button-padding-block: 12px;
  --button-padding-inline: 28px;

  font-size: 11px;
  letter-spacing: var(--eme-tracking-button);
  font-weight: 500;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.button-custom.eme-button--on-media-solid:hover {
  --button-background-color: rgb(var(--eme-color-white-rgb) / 0.9);
  --button-color: var(--color-foreground);
  --button-border-color: rgb(var(--eme-color-white-rgb) / 0.9);
}

.button-custom.eme-button--on-media-outline {
  font-weight: 400;
}

.button-custom.eme-button--on-media-outline:hover {
  --button-background-color: transparent;
  --button-color: var(--eme-color-white);
  --button-border-color: var(--eme-color-white);
}

.button-custom.eme-button--on-media-outline-l {
  --button-padding-block: 16px;
  --button-padding-inline: 32px;
  --button-border-color: rgb(var(--eme-color-white-rgb) / var(--eme-opacity-control));

  letter-spacing: 0.16em;
  transition-property: color, background-color, box-shadow;
  transition-duration: 300ms;
}

.button-custom.eme-button--on-media-outline-l:hover {
  --button-background-color: var(--eme-color-white);
  --button-color: var(--color-foreground);
  --button-border-color: rgb(var(--eme-color-white-rgb) / 0.3);
}

.button-custom.eme-button--on-card-solid {
  --button-padding-block: 12px;
  --button-padding-inline: 28px;

  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--eme-tracking-button);
  border-radius: var(--eme-radius-input);
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.button-custom.eme-button--on-card-solid:hover {
  --button-background-color: rgb(var(--eme-color-white-rgb) / 0.9);
  --button-color: var(--palette-darkest);
  --button-border-color: rgb(var(--eme-color-white-rgb) / 0.9);
}

.button-custom.eme-button--outline {
  --button-padding-block: 12px;
  --button-padding-inline: 32px;
  --button-border-color: rgb(var(--color-foreground-rgb) / var(--eme-opacity-control));

  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--eme-tracking-button);
  border-radius: var(--eme-radius-button);
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.button-custom.eme-button--outline:hover {
  --button-background-color: var(--color-foreground);
  --button-color: var(--eme-color-white);
  --button-border-color: var(--color-foreground);
}

.button-custom.eme-button--outline-arrow {
  --button-padding-block: 12px;
  --button-padding-inline: 28px;

  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--eme-radius-button);
  transition-duration: 200ms;
  transition-timing-function: ease;

  &::after {
    content: '';
    flex: none;
    inline-size: 11px;
    block-size: 11px;
    background-color: currentcolor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cpolyline points='19 12 12 19 5 12'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  @media (hover: hover) {
    &:hover {
      --button-background-color: var(--color-foreground);
      --button-color: var(--eme-color-white);
      --button-border-color: var(--color-foreground);
    }
  }
}

.button-custom.eme-button--solid-plum {
  --button-padding-block: 12px;
  --button-padding-inline: 28px;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--eme-tracking-button);
  text-transform: uppercase;
  border-radius: var(--eme-radius-button);
  transition-property: opacity;
  transition-duration: 150ms;

  @media (hover: hover) {
    &:hover {
      --button-background-color: var(--color-foreground);
      --button-color: var(--eme-color-white);
      --button-border-color: var(--color-foreground);

      opacity: 0.8;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    transition: none;
  }
}

.button-custom:is(.eme-button--on-media-solid, .eme-button--on-media-outline, .eme-button--on-media-outline-l, .eme-button--on-card-solid):focus-visible {
  outline: 2px solid var(--eme-color-white);
  outline-offset: 2px;
  box-shadow:
    inset 0 0 0 var(--button-border-width) var(--button-border-color),
    0 0 0 2px rgb(var(--color-foreground-rgb));
}

.button-unstyled.eme-button--on-media-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block-end: 3px;
  overflow: visible;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--eme-color-white);
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
  transition: background-size 300ms ease-out;

  &::after {
    content: '';
    flex-shrink: 0;
    inline-size: 10px;
    block-size: 8px;
    background-color: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M0.713888 3.69231L8.25235 3.69231L5.02158 0.461538L5.42773 0L9.42773 4L5.42773 8L5.02158 7.53846L8.25235 4.30769L0.713888 4.30769Z'/%3E%3C/svg%3E") no-repeat center / contain;
    transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  &:hover {
    color: var(--eme-color-white);
    background-size: calc(100% - 18px) 1px;
  }

  &:hover::after {
    transform: translateX(2px);
  }

  &:focus-visible {
    outline: 2px solid var(--eme-color-white);
    outline-offset: 4px;
    box-shadow: 0 0 0 6px rgb(var(--color-foreground-rgb));
  }
}

.slideshow-section slideshow-component[data-eme-transition='fade'] slideshow-slide {
  cursor: pointer;
}

.slideshow-section.eme-slideshow--editorial slideshow-component {
  slideshow-slides {
    min-block-size: clamp(260px, 55vw, 480px);
    block-size: clamp(260px, 55vw, 480px);
  }

  :where(.slide__content) .group-block-content {
    position: static;
  }

  .eme-button--on-media-link {
    position: absolute;
    inset-block-end: 52px;
    inset-inline: 0;
    inline-size: fit-content;
    margin-inline: auto;
  }

  slideshow-controls {
    inset-block-end: 1px;
    mix-blend-mode: normal;
  }

  :where(.slideshow-controls__dots) {
    gap: 0;
    padding: 0;

    button {
      --size: 6px;
      --color: rgb(var(--eme-color-white-rgb) / 0.4);
      --color-hover: rgb(var(--eme-color-white-rgb) / 0.7);
      --color-active: var(--eme-color-white);

      margin: 0;
      inline-size: 24px;
      block-size: 24px;
    }

    button[aria-selected='true'] {
      --color: var(--color-active);
    }

    button:where(:not([aria-selected='true'])):hover {
      --color: var(--color-hover);
    }

    button:focus-visible {
      border-radius: 50%;
      outline: 2px solid var(--eme-color-white);
      outline-offset: -4px;
      box-shadow: inset 0 0 0 2px rgb(var(--palette-darkest-rgb));
    }

    button::after,
    button[aria-selected='true']::after {
      box-shadow: none;
      transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1);
    }
  }
}

@media screen and (max-width: 749px) {
  .slideshow-section.eme-slideshow--editorial {
    --eme-body-oil-media: clamp(240px, 55vw, 480px);
    --eme-body-oil-cta-gap: 32px;
    --eme-body-oil-cta-height: 48px;
    --eme-body-oil-cta-space: calc(var(--eme-body-oil-cta-gap) + var(--eme-body-oil-cta-height));

    padding-block: 10px 44px;
  }

  .slideshow-section.eme-slideshow--editorial slideshow-component {
    slideshow-slides {
      min-block-size: calc(var(--eme-body-oil-media) + var(--eme-body-oil-cta-space));
      block-size: calc(var(--eme-body-oil-media) + var(--eme-body-oil-cta-space));
    }

    slideshow-slide {
      border-radius: 0;
    }

    :is(.slide__image-container, .slide__content) {
      inset-block-end: auto;
      block-size: var(--eme-body-oil-media);
      border-radius: var(--corner-radius, 16px);
    }

    slideshow-controls {
      inset-block-end: calc(var(--eme-body-oil-cta-space) - 3px);
    }

    .slideshow-control:is(.icon-pause, .icon-play) {
      display: none;
    }

    .eme-button--on-media-link {
      inset-block-end: calc(-1 * var(--eme-body-oil-cta-space));
      inline-size: 100%;
    }
  }

  .eme-slideshow--editorial .button-unstyled.eme-button--on-media-link {
    justify-content: center;
    min-block-size: var(--eme-body-oil-cta-height);
    padding-block: 0;
    padding-inline: 16px;
    border: 1px solid rgb(var(--color-foreground-rgb) / var(--eme-opacity-control));
    border-radius: var(--eme-radius-button);
    font-size: var(--eme-font-size-2xs);
    letter-spacing: 0.16em;
    color: var(--color-foreground);
    background: none;
    transition:
      background-color 300ms ease,
      border-color 300ms ease,
      color 300ms ease;

    &::after {
      content: none;
    }

    &:focus-visible {
      outline: 2px solid var(--color-foreground);
      outline-offset: -4px;
      box-shadow: none;
    }
  }
}

@media screen and (max-width: 749px) and (hover: hover) {
  .eme-slideshow--editorial .button-unstyled.eme-button--on-media-link:hover {
    border-color: var(--color-foreground);
    color: var(--eme-color-white);
    background: var(--color-foreground);
  }
}

.eme-slideshow--notes {
  .slide__image-container {
    display: none;
  }

  .slide__content {
    background-color: transparent;
  }

  slideshow-controls {
    min-block-size: 36px;
    margin-block-start: 32px;
  }

  .slideshow-controls__arrows {
    block-size: auto;
  }

  .slideshow-controls__arrows .slideshow-control,
  slideshow-controls > .slideshow-control {
    --icon-stroke-width: 1.4px;

    inline-size: 36px;
    block-size: 36px;
    border: 1px solid rgb(var(--color-foreground-rgb) / 0.25);
    border-radius: 50%;
    color: var(--color-foreground);
    background-color: transparent;

    .svg-wrapper,
    svg {
      inline-size: 12px;
      block-size: 12px;
    }

    &[disabled],
    &[aria-disabled='true'] {
      opacity: 0.2;
    }

    &:focus-visible {
      outline: 2px solid var(--color-foreground);
      outline-offset: 2px;
    }
  }
}

:is(.eme-slideshow--notes, .carousel-content--eme-dots) {
  slideshow-controls:has(.slideshow-controls__dots) {
    mix-blend-mode: normal;
  }

  .slideshow-controls__dots {
    gap: 0;
    padding: 0;
  }

  .slideshow-controls__dots button {
    inline-size: 24px;
    block-size: 24px;
    margin: 0;
    animation: none;

    &::after {
      inline-size: 6px;
      block-size: 6px;
      border-radius: 999px;
      box-shadow: none;
      background-color: rgb(var(--color-foreground-rgb) / var(--eme-opacity-control));
      transition: inline-size 0.3s ease, background-color 0.3s ease;
    }

    &[aria-selected='true']::after {
      inline-size: 20px;
      box-shadow: none;
      background-color: var(--eme-dots-active, var(--color-foreground));
    }

    &:focus-visible {
      outline: 2px solid var(--color-foreground);
      outline-offset: 0;
      border-radius: 4px;
    }
  }
}

.carousel-content.carousel-content--eme-wide {
  --eme-dots-active: var(--eme-color-rose);
  --eme-wide-offset: 48px;

  @media screen and (min-width: 1024px) {
    --eme-wide-offset: 80px;
  }

  slideshow-controls {
    margin-block-start: 28px;

    @media screen and (max-width: 749px) {
      min-block-size: 0;
      margin-block-start: 8px;
    }
  }

  slideshow-slides > .card {
    inline-size: 85vw;
    border-radius: var(--eme-radius-panel);
    background-color: var(--eme-color-surface);

    @media screen and (max-width: 749px) {
      inline-size: min(84vw, 500px);
      scroll-snap-align: start;
    }

    @media screen and (min-width: 750px) {
      inline-size: min(85vw, calc((100% + 2 * var(--gutter-slide-width, 0px) - var(--eme-wide-offset)) * 0.68));
    }
  }

  .card__content {
    flex-grow: 1;
    aspect-ratio: auto;
    min-block-size: clamp(340px, 44vw, 480px);
  }

  .card__inner {
    align-items: stretch;
  }

  .card__inner > :is(.image-block, .group-block) {
    block-size: auto;
  }

  .card__inner > :where(.group-block) > .group-block-content {
    block-size: 100%;
  }

  .card__inner > .image-block {
    overflow: hidden;

    @media screen and (max-width: 749px) {
      aspect-ratio: 1;
    }
  }

  .card__inner > :where(.image-block) .image-block__image {
    inline-size: 100%;
    block-size: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .eme-text--body-m {
    flex: 1;
  }
}

[data-eme-grid] > .accordion:has(.details--eme-note) {
  display: flex;
  flex-direction: column;

  > accordion-custom {
    display: flex;
    flex: 1;
    flex-direction: column;
  }
}

.details.details--eme-note {
  position: relative;
  flex: 1;
  min-block-size: 200px;
  padding: 26px 26px 41px;
  border: 0;
  border-radius: var(--eme-radius-card);
  background-color: var(--eme-color-surface);
  box-shadow: 0 1px 4px rgb(var(--color-shadow-rgb) / 0.05);
  transition: box-shadow 0.25s ease;

  &[open] {
    box-shadow: 0 6px 28px rgb(var(--color-shadow-rgb) / 0.1);
  }

  &:has(> .details__header:focus-visible) {
    outline: 2px solid var(--eme-color-rose);
    outline-offset: -2px;
  }

  > .details__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-block-size: 0;
    padding: 0;
    cursor: pointer;
    list-style: none;

    &::-webkit-details-marker {
      display: none;
    }

    &::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: var(--eme-radius-card);
    }

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

  .details__eme-note-label {
    margin-block-end: 12px;
    font-size: 10px;
    letter-spacing: 0.15em;
    line-height: 1.5;
    text-transform: uppercase;
    color: rgb(var(--color-foreground-rgb) / var(--eme-opacity-muted));
  }

  .details__eme-note-question {
    margin-block-end: 16px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-foreground);
  }

  .details__eme-note-cta {
    position: absolute;
    inset-block-end: 22px;
    inset-inline-start: 26px;
    font-size: 10px;
    letter-spacing: 0.1em;
    line-height: 1.5;
    text-transform: uppercase;
    color: rgb(var(--color-foreground-rgb) / var(--eme-opacity-muted));
    transition: color 200ms ease;
  }

  .details__eme-note-read,
  .details__eme-note-close {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .details__eme-note-close,
  &[open] .details__eme-note-read {
    display: none;
  }

  &[open] .details__eme-note-close {
    display: inline-flex;
  }

  &[open] .details__eme-note-cta {
    color: var(--eme-color-rose);
  }

  .details-content {
    border-block-start: 1px solid rgb(var(--color-foreground-rgb) / 0.1);
  }

  &[open] .details-content {
    padding-block: 14px;
  }

  .details-content .text-block > * {
    font-size: 13px;
    line-height: 1.75;
    color: rgb(var(--color-foreground-rgb) / var(--eme-opacity-muted));
  }
}

@media (prefers-reduced-motion: reduce) {
  .details.details--eme-note,
  .details--eme-note .details-content,
  .details--eme-note .details__eme-note-cta,
  :is(.eme-slideshow--notes, .carousel-content--eme-dots) .slideshow-controls__dots button::after {
    transition: none !important;
  }

  .details.details--eme-note::details-content {
    transition: none !important;
  }
}

@media screen and (min-width: 750px) {
  .section-content-wrapper:has(> .eme-grid--paged) {
    padding-block-end: calc(var(--padding-block-end) / var(--spacing-scale));
  }
}

@media screen and (max-width: 749px) {
  .section-content-wrapper:has(> .eme-grid--paged) {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: start;
    gap: 0 8px;
    padding-block: 44px 30px;

    > .group-block,
    > .group-block > .group-block-content,
    > eme-grid-dots {
      display: contents;
    }

    > .group-block > .group-block__media-wrapper {
      display: none;
    }

    .eme-text--heading-fluid-s {
      grid-area: 1 / 1;
      align-self: center;
    }

    .eme-text--note-intro {
      grid-area: 2 / 1 / auto / -1;
      margin-block-start: 12px;
    }

    .eme-text--note-intro > * {
      max-inline-size: none;
      text-align: start;
    }

    > [data-eme-grid] {
      grid-area: 3 / 1 / auto / -1;
      margin-block-start: 32px;
    }

    > eme-grid-dots > [ref='previous'] {
      grid-area: 1 / 2;
    }

    > eme-grid-dots > [ref='next'] {
      grid-area: 1 / 3;
    }

    > eme-grid-dots > :not(button) {
      grid-area: 4 / 1 / auto / -1;
      margin-block-start: 24px;
    }

    .eme-text--heading-fluid-s > * {
      font-size: clamp(22px, 3vw, 32px);
    }

    .details--eme-note {
      min-block-size: 0;
      padding: 22px 22px 45px;
      border-radius: 16px;
    }

    .details__eme-note-label {
      margin-block-end: 10px;
    }

    .details__eme-note-question {
      margin-block-end: 14px;
    }

    .details__eme-note-cta {
      inset-block-end: 22px;
      inset-inline-start: 22px;
    }
  }
}

.eme-collection-list--offset {
  .resource-list--grid {
    align-items: start;
  }

  .resource-list__item {
    block-size: auto;
  }

  .resource-list__item:nth-child(even) {
    margin-block-start: 48px;
  }

  .collection-card.collection-card--image-bg {
    aspect-ratio: 3 / 4;
  }

  .resource-list__item:nth-child(even) .collection-card--image-bg {
    aspect-ratio: 3 / 3.5;
  }
}

.eme-collection-card--floating-card {
  &.collection-card.collection-card--image-bg .collection-card__content {
    padding: 12px;
  }

  .collection-card__content > .group-block {
    box-shadow:
      0 4px 6px -1px var(--eme-shadow-color),
      0 2px 4px -2px var(--eme-shadow-color);
  }

  .collection-card__content > .group-block > .layout-panel-flex--row {
    flex-wrap: nowrap;
  }

  .collection-card__image--placeholder {
    background-color: var(--eme-color-secondary);
  }

  .collection-card__image--placeholder svg {
    visibility: hidden;
  }

  .collection-card__image .resource-image__image {
    transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .icon-block {
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    inline-size: 32px;
    block-size: 32px;
    border: 1px solid rgb(var(--color-foreground-rgb) / 0.3);
    border-radius: 50%;
    transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  @media (hover: hover) {
    &:hover .icon-block {
      border-color: rgb(var(--color-foreground-rgb));
    }

    @media (prefers-reduced-motion: no-preference) {
      &:hover .resource-image__image {
        transform: scale(1.05);
      }
    }
  }
}

.resource-list__carousel slideshow-arrows .slideshow-control {
  opacity: 1;
}

.resource-list__carousel slideshow-arrows .slideshow-control[disabled] {
  display: flex;
  opacity: 0.3;
  cursor: not-allowed;
}

.shopify-section:has(.eme-collection-card--chip) {
  --eme-chips-divider: #ebebeb;

  border-block-end: 1px solid var(--eme-chips-divider);
}

.resource-list--grid:has(.eme-collection-card--chip) {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  inline-size: calc(100% + 16px);
  margin: -8px;
  padding: 8px;
  overflow-x: auto;
  scrollbar-width: none;

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

  .resource-list__item {
    flex: none;
    inline-size: auto;
  }

  @media screen and (min-width: 750px) {
    justify-content: center;
    gap: 24px;
  }

  @media screen and (max-width: 749px) {
    gap: 20px;
    inline-size: auto;
    margin-block: 0;
    margin-inline: calc(var(--page-margin) * -1);
    padding-block: 20px;
    padding-inline: var(--page-margin);
    scroll-padding-inline: var(--page-margin);
  }
}

@media screen and (max-width: 749px) {
  .shopify-section:has(.eme-collection-card--chip) .section-resource-list {
    padding-block: 0;
  }
}

.eme-collection-card--chip {
  --eme-chip-ring-rgb: var(--color-foreground-rgb);

  .collection-card__inner {
    align-items: center;
    overflow: visible;
  }

  .collection-card__content {
    align-items: center;
  }

  .collection-card__image {
    inline-size: 48px;
    block-size: 48px;
    border-radius: 50%;
    box-shadow:
      0 0 0 2px var(--eme-color-white),
      0 0 0 3px rgb(var(--eme-chip-ring-rgb) / 0.2);
    opacity: 0.6;
    transition-property: opacity, box-shadow;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }

  .collection-card__image .resource-image__image {
    object-fit: cover;
  }

  .text-block {
    position: relative;
  }

  .text-block > * {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--color-foreground);
  }

  .text-block::after {
    content: '';
    position: absolute;
    inset-block-end: -2px;
    inset-inline-start: 0;
    inline-size: 0;
    block-size: 1px;
    background-color: currentColor;
    transition: inline-size 300ms ease-out;
  }

  &:has([aria-current='page']) .collection-card__image {
    opacity: 1;
  }

  &:has([aria-current='page']) .text-block::after {
    inline-size: 100%;
  }

  @media (hover: hover) {
    &:hover .collection-card__image {
      opacity: 1;
    }

    &:hover .text-block::after {
      inline-size: 100%;
    }
  }

  &:has([aria-current='page']) .collection-card__image {
    box-shadow:
      0 0 0 2px var(--eme-color-white),
      0 0 0 4px rgb(var(--eme-chip-ring-rgb));
  }

  .collection-card__link:focus-visible {
    outline: none;
  }

  &:has(.collection-card__link:focus-visible) {
    outline: 2px solid var(--color-foreground);
    outline-offset: 4px;
  }

  @media screen and (max-width: 749px) {
    .collection-card__inner {
      gap: 8px;
    }

    .collection-card__image {
      inline-size: 56px;
      block-size: 56px;
    }

    .text-block > * {
      font-size: 11px;
      letter-spacing: 1px;
      line-height: 1;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .eme-collection-card--chip .collection-card__image,
  .eme-collection-card--chip .text-block::after,
  :is(.eme-toolbar, .eme-toolbar-mobile) .sorting-filter .icon-caret svg {
    transition: none !important;
  }
}

.facets--horizontal.eme-toolbar {
  @media screen and (min-width: 750px) {
    .facets__form {
      flex-wrap: wrap;
      gap: 12px;
      border: 0;
    }

    .column-options-wrapper {
      margin-inline: 0;
    }

    .products-count-wrapper {
      position: absolute;
      inline-size: 1px;
      block-size: 1px;
      overflow: hidden;
      clip-path: inset(50%);
      white-space: nowrap;
    }
  }
}

.eme-toolbar__spacer {
  flex: 1;
}

.eme-toolbar :is(.eme-toolbar__filters, .sorting-filter .facets__summary) {
  display: none;

  @media screen and (min-width: 750px) {
    display: inline-flex;
    align-self: center;
    align-items: center;
    gap: 8px;
    block-size: auto;
    padding: 8px 16px;
    border: 1px solid rgb(var(--color-foreground-rgb) / var(--eme-opacity-control));
    border-radius: var(--eme-radius-button);
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: var(--eme-tracking-button);
    text-transform: uppercase;
    color: var(--color-foreground);
    transition: border-color 150ms;

    &:hover {
      border-color: var(--color-foreground);
    }
  }
}

.eme-toolbar .eme-toolbar__filters {
  .svg-wrapper {
    display: none;
  }

  .filter-count-bubble {
    inline-size: 16px;
  }

  .filter-count-bubble__text {
    font-size: 10px;
  }
}

:is(.eme-toolbar, .eme-toolbar-mobile) .sorting-filter .icon-caret {
  --icon-stroke-width: 0.9px;

  inline-size: 14px;
  block-size: 14px;
  margin: 0;
  color: currentColor;

  svg {
    inline-size: 14px;
    block-size: 14px;
    transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
  }
}

.eme-toolbar .sorting-filter .facets__summary {
  @media screen and (min-width: 750px) {
    gap: 6px;
    padding-inline-end: 14px;
  }
}

.eme-toolbar .sorting-filter {
  align-self: center;

  .facets__panel {
    padding: 0;
  }

  .facets__summary {
    opacity: 1;
  }

  .facets__label {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .facets__panel .facets__status {
    display: inline;
    inline-size: auto;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: inherit;
  }

  .sorting-filter__options {
    margin-block-start: 2.5px;
    min-inline-size: 200px;
    border: 1px solid var(--eme-color-gray-line);
    border-radius: var(--eme-radius-button);
    box-shadow: 0 10px 15px -3px var(--eme-shadow-color), 0 4px 6px -4px var(--eme-shadow-color);
    background-color: var(--eme-color-surface);
  }

  .sorting-filter__options-inner {
    padding: 8px 0;
  }

  .sorting-filter__option {
    display: block;
    min-inline-size: 0;
    max-inline-size: none;
    padding: 10px 20px;
    border-radius: 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--color-foreground);
    transition: background-color 150ms;

    &:hover {
      border-radius: 0;
      background-color: var(--eme-color-gray-hover);
    }
  }

  .sorting-filter__checkmark {
    display: none;
  }

  :checked + .sorting-filter__checkmark + .sorting-filter__label {
    font-weight: 700;
  }
}

@media screen and (max-width: 749px) {
  .eme-toolbar-mobile .sorting-filter {
    .facets__panel {
      padding: 0;
    }

    .facets__summary {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-block-size: 44px;
      padding-block: 0;
      padding-inline: 12px 10px;
      border: 1px solid rgb(var(--color-foreground-rgb) / var(--eme-opacity-control));
      border-radius: var(--eme-radius-button);
      font-size: 11px;
      line-height: 1.5;
      letter-spacing: var(--eme-tracking-button);
      text-transform: uppercase;
      color: var(--color-foreground);
      opacity: 1;
      transition: border-color 150ms;

      @media (hover: hover) {
        &:hover {
          border-color: var(--color-foreground);
        }
      }
    }

    .facets__summary .facets__label {
      margin: 0;
      font-size: inherit;
      letter-spacing: inherit;
      color: inherit;
    }

    .facets__summary .facets__status {
      display: inline;
      position: absolute;
      inline-size: 1px;
      block-size: 1px;
      overflow: hidden;
      clip-path: inset(50%);
      white-space: nowrap;
    }

    .sorting-filter__options {
      margin-block-start: 12px;
      min-inline-size: 200px;
      border: 1px solid var(--eme-color-gray-line);
      border-radius: var(--eme-radius-button);
      box-shadow: 0 10px 15px -3px var(--eme-shadow-color), 0 4px 6px -4px var(--eme-shadow-color);
      background-color: var(--eme-color-surface);
    }

    .sorting-filter__options-inner {
      gap: 0;
      padding: 8px 0;
    }

    .sorting-filter__option {
      display: block;
      min-inline-size: 0;
      max-inline-size: none;
      padding: 12px 20px;
      border-radius: 0;
      font-size: 12px;
      line-height: 1.5;
      color: rgb(var(--color-foreground-rgb) / 0.7);
      transition: background-color 150ms;

      @media (hover: hover) {
        &:hover {
          border-radius: 0;
          background-color: var(--eme-color-gray-hover);
        }
      }
    }

    .sorting-filter__checkmark {
      display: none;
    }

    :checked + .sorting-filter__checkmark + .sorting-filter__label {
      font-weight: 600;
      color: var(--color-foreground);
    }
  }
}

.main-collection-grid .pagination {
  --pagination-size: 36px;

  margin-block-start: 48px;
  padding: 0;
}

.main-collection-grid .pagination__list {
  justify-content: center;
  gap: 8px;

  &::before {
    content: none;
  }
}

.main-collection-grid .pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 36px;
  block-size: 36px;
  min-inline-size: 0;
  padding: 0;
  border-radius: var(--eme-radius-button);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: rgb(var(--color-foreground-rgb) / var(--eme-opacity-muted));
  text-decoration: none;
  transition: border-color 150ms, color 150ms, background-color 150ms;

  svg {
    inline-size: 12px;
    block-size: 12px;
  }
}

.main-collection-grid .pagination .pagination__link::before {
  content: none;
}

.main-collection-grid .pagination__link:not(.pagination__link--gap) {
  border: 1px solid rgb(var(--color-foreground-rgb) / var(--eme-opacity-control));

  &:where(a):hover {
    border-color: var(--color-foreground);
    color: var(--color-foreground);
  }

  &.pagination__link--current {
    border-color: var(--color-foreground);
    background-color: var(--color-foreground);
    color: var(--eme-color-white);
  }
}

.main-collection-grid__empty {
  padding-block: 96px;
  text-align: center;
}

.main-collection-grid__empty .main-collection-grid__empty-title {
  margin-block: 0 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
  color: rgb(var(--color-foreground-rgb) / var(--eme-opacity-muted));
}

.main-collection-grid__empty .main-collection-grid__empty-link {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--color-foreground);
  border-radius: var(--eme-radius-button);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: var(--eme-tracking-button);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-foreground);
  transition: background-color 150ms, color 150ms;

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

.facets--drawer {
  --eme-drawer-icon-color: #8a919d;

  .theme-drawer__header {
    padding: 32px 32px 24px;
    border-block-end: 1px solid rgb(var(--color-foreground-rgb) / 0.1);
  }

  .theme-drawer__title {
    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.025em;
    text-transform: none;
  }

  .theme-drawer__badge[hidden] {
    display: none;
  }

  .facets-drawer__filters :is(.facets__item, .sorting-filter)::before {
    inline-size: calc(100% - 64px);
    border-block-start-color: var(--eme-color-gray-line);
  }

  .facets__item:first-of-type::before {
    content: none;
  }

  .facets__panel {
    padding-inline: 0;
  }

  .sorting-filter__container {
    margin-inline-end: 0;
    padding-inline: 32px;
  }

  .sorting-filter__container .facets__label {
    font-size: 16px;
  }

  .facets__summary {
    align-items: center;
    padding: 20px 32px;
    font-size: 16px;
    line-height: 1.5;
  }

  .facets__label {
    font-size: 16px;
    text-transform: none;
  }

  .facets__summary .facets__status {
    font-size: 10px;
    font-weight: 400;
    color: rgb(var(--color-foreground-rgb) / var(--eme-opacity-muted));
  }

  .facets__summary .icon-caret {
    position: relative;
    inline-size: 14px;
    block-size: 14px;
    margin-block: 0;
    margin-inline: 12px 0;
    rotate: none;
    transform: none;

    svg {
      display: none;
    }

    &::before,
    &::after {
      content: '';
      position: absolute;
      inset-block-start: 50%;
      inset-inline-start: 50%;
      inline-size: 12px;
      block-size: 1.4px;
      border-radius: 1px;
      background-color: var(--eme-drawer-icon-color);
      translate: -50% -50%;
    }

    &::after {
      rotate: 90deg;
    }
  }

  [open] > summary .icon-caret::after {
    content: none;
  }

  .facets__panel-content {
    padding-block-end: 20px;
  }

  .facets__panel-content > * {
    padding-inline: 32px;
  }

  .facets__inputs-wrapper {
    margin-block: 0;
  }

  .facets__inputs-list {
    gap: 16px;
  }

  .checkbox {
    --checkbox-size: 20px;
    --checkbox-border: 1px solid var(--eme-color-swatch-ring);
    --checkbox-border-radius: 0;
    --checkbox-label-padding: 12px;
  }

  .checkbox__input:checked + .checkbox__label .icon-checkmark {
    background-color: var(--color-foreground);
    border-color: var(--color-foreground);
  }

  .checkbox .icon-checkmark path {
    stroke: var(--eme-color-white);
  }

  .checkbox__input:focus-visible + .checkbox__label .icon-checkmark {
    outline: 2px solid var(--color-foreground);
    outline-offset: 2px;
  }

  .facets__inputs-list .checkbox:not(.checkbox--disabled) .checkbox__label-text {
    font-size: 11px;
    letter-spacing: var(--eme-tracking-button);
    text-transform: uppercase;
    color: var(--color-foreground);
  }
}

.facets__drawer-actions:has(.facets__clear-all--active),
.facets__drawer-actions:has(.facets__see-results) {
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border-block-start: 1px solid rgb(var(--color-foreground-rgb) / 0.1);
  background-image: none;
}

.facets__drawer-actions :is(.facets__clear-all, .facets__see-results) {
  inline-size: 100%;
  min-inline-size: 0;
  padding-block: 16px;
  border-radius: var(--eme-radius-button);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: var(--eme-tracking-button);
  text-transform: uppercase;
}

.facets__drawer-actions .facets__clear-all {
  box-shadow: inset 0 0 0 1px var(--color-foreground);
  background-color: transparent;
  color: var(--color-foreground);

  &:hover {
    background-color: rgb(var(--color-foreground-rgb) / 0.05);
  }
}

.facets__drawer-actions .facets__see-results {
  box-shadow: none;
  background-color: var(--color-foreground);
  color: var(--eme-color-white);

  &:hover {
    background-color: rgb(var(--color-foreground-rgb) / 0.9);
  }
}

@media screen and (max-width: 749px) {
  .facets-toggle:has(.eme-column-option) {
    --eme-toolbar-divider: #f0f0f0;

    gap: 10px;
    block-size: auto;
    margin-block-end: 24px;
    border-block-end: 1px solid var(--eme-toolbar-divider);

    .facets-mobile-wrapper {
      display: contents;
    }

    .column-options-wrapper {
      margin-inline: 0 auto;
    }

    .column-options {
      gap: 2px;
    }

    .eme-column-picker {
      --eme-column-picker-opacity: var(--eme-opacity-control);
      --eme-column-picker-checked-bg: rgb(var(--color-foreground-rgb) / 0.1);
      --eme-column-picker-focus-radius: 8px;

      justify-content: center;
      inline-size: 44px;
      block-size: 44px;
      padding: 0;
      border-radius: 8px;
    }

    .facets-toggle__wrapper {
      margin-inline-start: 0;
    }

    :is(.facets-toggle__button, .sorting-filter__select-wrapper) {
      min-block-size: 44px;
      border: 1px solid rgb(var(--color-foreground-rgb) / var(--eme-opacity-control));
      border-radius: var(--eme-radius-button);
      font-size: 11px;
      line-height: 1.5;
      letter-spacing: var(--eme-tracking-button);
      text-transform: uppercase;
      color: var(--color-foreground);
      transition: border-color 150ms;

      @media (hover: hover) {
        &:hover {
          border-color: var(--color-foreground);
        }
      }
    }

    .facets-toggle__button {
      gap: 6px;
      padding-inline: 12px;
    }

    .facets-toggle__button .svg-wrapper {
      inline-size: 14px;
      block-size: 11px;
      overflow: visible;
    }

    .facets-toggle__button svg {
      flex: none;
      inline-size: 21px;
      max-inline-size: none;
      block-size: 20px;
      margin-inline-start: -3.8px;
    }

    .filter-count-bubble {
      inline-size: auto;
      min-inline-size: 18px;
      block-size: 18px;
      padding-inline: 4px;
      border: 0;
      color: var(--eme-color-white);
    }

    .filter-count-bubble__background {
      background-color: var(--eme-color-rose);
    }

    .filter-count-bubble__text {
      font-size: 9px;
      font-weight: 600;
      line-height: 1;
    }

    facets-form-component {
      min-inline-size: 0;
    }

    .sorting-filter__container {
      margin-inline-end: 0;
    }

    .sorting-filter__select-wrapper {
      gap: 8px;
      padding: 0 12px;
    }

    .sorting-filter__select {
      min-inline-size: 0;
      min-block-size: 42px;
      padding: 0;
      font: inherit;
      letter-spacing: inherit;
      text-transform: inherit;
      text-align: start;
      text-align-last: start;
      color: inherit;
      background-color: transparent;
    }
  }

  .facets-toggle:has(.sorting-filter) ~ .facets-block-wrapper--vertical .sorting-filter {
    display: none;
  }

  .main-collection-grid .product-grid {
    column-gap: 12px;
    row-gap: 28px;
  }

  .main-collection-grid .product-grid[product-grid-view='mobile-single'] {
    row-gap: 24px;
  }

  .facets--drawer {
    .theme-drawer__header {
      padding: 24px 24px 20px;
    }

    .facets-drawer__filters :is(.facets__item, .sorting-filter)::before {
      inline-size: calc(100% - 48px);
    }

    .facets__summary {
      padding: 20px 24px;
    }

    .facets__label {
      font-size: 15px;
      font-weight: 500;
    }

    .facets__panel-content > * {
      padding-inline: 24px;
    }

    .facets__inputs-list {
      --facets-mobile-gap: 4px;
    }

    .facets__inputs-list .checkbox {
      min-block-size: 44px;
    }

    .facets__inputs-list .checkbox:not(.checkbox--disabled) .checkbox__label-text {
      font-size: 12px;
      letter-spacing: 0.08em;
    }
  }

  .facets__drawer-actions:has(.facets__clear-all--active),
  .facets__drawer-actions:has(.facets__see-results) {
    padding: 24px;
  }

  .facets__drawer-actions :is(.facets__clear-all, .facets__see-results) {
    min-block-size: 52px;
  }

  .facets__drawer-actions .facets__clear-all {
    box-shadow: inset 0 0 0 1px rgb(var(--color-foreground-rgb) / var(--eme-opacity-control));
  }

  .facets__drawer-actions .facets__see-results {
    background-color: var(--eme-color-rose);

    @media (hover: hover) {
      &:hover {
        background-color: var(--eme-color-rose-hover);
      }
    }
  }

  .facets--drawer .theme-drawer__close-button {
    position: relative;

    &::after {
      content: '';
      position: absolute;
      inset: -5px;
    }
  }

  .main-collection-grid .pagination {
    --pagination-size: 44px;

    margin-block-start: 40px;
  }

  .main-collection-grid .pagination__link {
    inline-size: 44px;
    block-size: 44px;
    color: rgb(var(--color-foreground-rgb) / var(--eme-opacity-muted-mobile));
  }
}

.shopify-section:has([data-eme-empty]:not([data-eme-grid] *)) {
  display: none;
}

.eme-comparison-slider .comparison-slider__media-wrapper[data-orientation='horizontal']::after {
  inline-size: 2px;
  box-shadow: none;
}

.eme-comparison-slider .cs-slider__handle {
  inline-size: 40px;
  block-size: 40px;
  padding: 0;
  gap: 4px;
  box-shadow: 0 10px 15px -3px var(--eme-shadow-color), 0 4px 6px -4px var(--eme-shadow-color);
}

.eme-comparison-slider .comparison-slider__media-wrapper:hover .cs-slider__handle {
  gap: 4px;
}

.eme-comparison-slider .cs-slider__chevron svg {
  --icon-stroke-width: 1.867px;

  inline-size: 6px;
  block-size: 10px;
}

.eme-comparison-slider :where(.comparison-slider__media-wrapper):has(.cs-slider:focus-visible) .cs-slider__handle {
  outline: 2px solid var(--eme-color-white);
  outline-offset: 2px;
  box-shadow:
    0 10px 15px -3px var(--eme-shadow-color),
    0 4px 6px -4px var(--eme-shadow-color),
    0 0 0 2px rgb(var(--color-foreground-rgb));
}

.eme-comparison-slider [data-orientation='horizontal'][data-text-position='end'] .comparison-slider__text {
  inset-block-end: 20px;
}

.eme-comparison-slider [data-orientation='horizontal'] .comparison-slider__text--before {
  inset-inline-start: 24px;
}

.eme-comparison-slider [data-orientation='horizontal'] .comparison-slider__text--after {
  inset-inline-end: 24px;
}

.eme-comparison-slider .comparison-slider__text {
  padding: 4px 12px;
}

.eme-comparison-slider .comparison-slider__text--with-bg {
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.eme-comparison-slider .comparison-slider__text > div {
  font-family: var(--font-body--family);
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color);
}

.eme-comparison-slider__empty {
  margin: 0;
  padding: 24px;
  border: 1px dashed currentcolor;
  text-align: center;
}

@media screen and (min-width: 750px) and (max-width: 1023px) {
  .section-resource-list:has(.eme-text--heading-collection) .resource-list--grid {
    grid-template-columns: var(--resource-list-columns-mobile);
  }
}

.section-password .section-content-wrapper {
  min-block-size: 100svh;
  padding-inline: 24px;
  background-image: linear-gradient(to bottom, rgb(0 0 0 / 0.55) 0%, rgb(0 0 0 / 0.22) 40%, rgb(0 0 0 / 0.62) 100%);
}

.section-password eme-video video {
  filter: blur(14px);
  scale: 1.05;
}

.section-password .group-block {
  inline-size: 100%;
  max-inline-size: 420px;
  padding-block: 40px;
  padding-inline: 32px;

  @media screen and (min-width: 768px) {
    padding: 48px;
  }
}

.section-password eme-countdown {
  padding-block-start: 15px;
}

.section-password .social-icons__wrapper {
  --icon-size-lg: 21.25px;

  gap: 24px;
}

.section-password .social-icons__icon-wrapper a {
  color: rgb(var(--eme-color-ivory-rgb) / 0.55);
}

.section-password .social-icons__icon-wrapper:has(a[href*="instagram."]) {
  --icon-size-lg: 20px;
}

@media (hover: hover) {
  .section-password .social-icons__icon-wrapper a {
    transition: color 200ms ease;
  }

  .section-password .social-icons__icon-wrapper a:hover {
    color: rgb(var(--eme-color-ivory-rgb) / 0.8);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .section-password .logo-block {
    --eme-password-from: -8px;

    animation: eme-password-in 1s ease 0.18s both;
  }

  .section-password .group-block {
    --eme-password-from: 20px;

    animation: eme-password-in 1s ease 0.38s both;
  }

  .section-password .social-icons__wrapper {
    animation: eme-password-fade 1s ease 1.08s both;
  }
}

@keyframes eme-password-in {
  from {
    opacity: 0;
    translate: 0 var(--eme-password-from, 0);
  }
}

@keyframes eme-password-fade {
  from {
    opacity: 0;
  }
}

.blog-post-details {
  --color-details: rgb(var(--color-foreground-rgb) / var(--eme-opacity-muted));
}

@media screen and (max-width: 749px) {
  .shopify-section:has(.eme-text--heading-l) .section-content-wrapper.spacing-style {
    padding-block: 50px;
    padding-inline: max(0px, calc(20px - var(--page-margin)));
  }

  .shopify-section:has(.eme-text--heading-l) .eme-text--heading-l > * {
    max-inline-size: 100%;
  }
}

@media screen and (max-width: 749px) {
  .section-resource-list:has(.product-card) .resource-list__carousel {
    --eme-product-card-width: calc((100vw - 2 * var(--page-margin)) * 0.45 - 6px);
  }

  .section-resource-list:has(.product-card) .resource-list__slide {
    --slide-width: var(--eme-product-card-width);
  }

  product-recommendations .section-resource-list .resource-list--grid {
    --eme-product-card-width: calc((100vw - 2 * var(--page-margin)) * 0.45 - 6px);
    --eme-related-focus-room: 8px;

    display: flex;
    gap: 12px;
    inline-size: auto;
    margin-block: calc(var(--eme-related-focus-room) * -1);
    margin-inline: calc(var(--eme-related-focus-room) * -1) calc(var(--page-margin) * -1);
    padding-block: var(--eme-related-focus-room);
    padding-inline: var(--eme-related-focus-room) var(--page-margin);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline-start: var(--eme-related-focus-room);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  product-recommendations .section-resource-list .resource-list--grid::-webkit-scrollbar {
    display: none;
  }

  product-recommendations .section-resource-list .resource-list--grid > .resource-list__item {
    flex: 0 0 var(--eme-product-card-width);
    min-inline-size: 0;
    scroll-snap-align: start;
  }

  product-recommendations .section-resource-list__content .text-block > * {
    font-size: 22px;
  }

  :where([data-template='index']) .section-resource-list.spacing-style:has(.resource-list__carousel .product-card) {
    padding-block: 42px;
  }

  :where(.section-resource-list:has(.resource-list__carousel .product-card)) .section-resource-list__header .text-block.eme-text--heading-s > * {
    font-size: 26px;
  }
}

:where(.section-resource-list:has(.resource-list__carousel .product-card)) .section-resource-list__header a.button-unstyled {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-block-size: 44px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--color-foreground);
  text-decoration: none;
  background: linear-gradient(currentcolor, currentcolor) no-repeat 0 calc(50% + 11px) / 0 1px;
  transition: background-size 300ms ease-out;

  &::after {
    content: '';
    flex: none;
    inline-size: 10px;
    block-size: 8px;
    background-color: currentcolor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M0.713888 3.69231L8.25235 3.69231L5.02158 0.461538L5.42773 0L9.42773 4L5.42773 8L5.02158 7.53846L8.25235 4.30769L0.713888 4.30769Z'/%3E%3C/svg%3E") no-repeat center / contain;
    transition: translate 200ms ease;
  }

  @media (hover: hover) {
    &:hover {
      color: var(--color-foreground);
      background-size: calc(100% - 16px) 1px;
    }

    &:hover::after {
      translate: 2px 0;
    }
  }
}

.section-resource-list__header .text-block :is(h1, h2, h3) > a:only-child {
  color: inherit;
  text-decoration: none;
  background: linear-gradient(currentcolor, currentcolor) 0 100% / 0 1.5px no-repeat;
  transition: background-size 300ms ease;
}

@media (hover: hover) {
  .section-resource-list__header .text-block :is(h1, h2, h3) > a:only-child:hover {
    background-size: 100% 1.5px;
  }
}

@media screen and (max-width: 749px) {
  :where(.shopify-section):has(.eme-countdown--tiles:not(.eme-countdown--accent)) {
    .section-content-wrapper.spacing-style {
      padding-block: 0 54px;
    }

    .eme-grid--card {
      row-gap: 16px;
    }

    .eme-grid--card > .group-block {
      block-size: clamp(460px, 60vw, 480px);
      padding: 32px 24px;
    }

    .eme-text--eyebrow {
      padding-block-end: 20px;
    }

    .eme-text--heading-m {
      padding-block-start: 32px;
    }

    .eme-text--body-s {
      padding-block-end: 28px;
    }

    .eme-text--heading-m > * {
      max-inline-size: 340px;
      font-size: 22px;
      font-weight: 500;
      line-height: 1.25;
    }

    .eme-text--body-s > * {
      max-inline-size: 300px;
    }

    .eme-button--on-card-solid {
      --button-padding-block: 0px;

      display: inline-flex;
      align-items: center;
      min-block-size: 48px;
      font-size: var(--eme-font-size-2xs);
    }

    eme-video {
      block-size: clamp(460px, 60vw, 480px);
      min-block-size: 260px;
      aspect-ratio: auto;
    }

    .eme-video__sound {
      inline-size: 40px;
      block-size: 40px;
    }
  }
}

@media screen and (max-width: 749px) {
  :where(.shopify-section):has(.eme-media-carousel--mobile-slide) {
    .section-content-wrapper.spacing-style {
      padding-block: 40px;
    }

    .group-block:has(.group-block .eme-media-carousel--mobile-slide) {
      padding-block: 0;
    }

    .group-block:has(> .group-block-content > .eme-grid--mobile-columns-3) {
      padding-block: 32px 0;
    }

    .eme-text--body-s {
      padding-block-end: 32px;
    }

    .eme-text--body-s > * {
      max-inline-size: 320px;
    }

    .eme-button--outline {
      --button-padding-block: 0px;
      --button-padding-inline: 28px;

      display: inline-flex;
      align-items: center;
      min-block-size: 48px;
    }
  }

  .hero:has(.overlay--eme-teaser) {
    min-block-size: clamp(360px, 90vw, 620px);
  }

  .hero:has(.overlay--eme-teaser) .hero__container {
    padding-block: 0;
  }

  .hero:has(.overlay--eme-teaser) .hero__content-wrapper {
    row-gap: 24px;
    padding-inline: max(0px, calc(24px - var(--page-margin)));
  }

  .hero:has(.overlay--eme-teaser) .eme-button--on-media-outline-l {
    --button-padding-block: 0px;
    --button-padding-inline: 28px;

    display: inline-flex;
    align-items: center;
    min-block-size: 48px;
  }
}

@media screen and (max-width: 749px) {
  :where(.shopify-section):has(.eme-benefit-list--mobile-marquee) .section-content-wrapper.spacing-style {
    row-gap: 32px;
    padding-block: 40px 50px;
  }

  :where(.shopify-section):has(.eme-text--statement) {
    .comparison-slider {
      aspect-ratio: 4 / 3;
    }

    .text-block.eme-text--statement {
      padding-block: 50px;
      padding-inline: 24px;
    }
  }
}

@media screen and (max-width: 749px) {
  .shopify-section:has(.eme-grid--mobile-carousel-full > eme-video) .section-content-wrapper.spacing-style {
    padding-block: 50px 70px;
  }

  :where(.shopify-section):has(.eme-grid--mobile-carousel-full > eme-video) {
    .eme-grid--card > .group-block {
      padding: 32px 24px;
    }

    .eme-text--eyebrow {
      padding-block-end: 20px;
    }

    .eme-text--body-s {
      padding-block-end: 28px;
    }

    .eme-text--heading-m > * {
      max-inline-size: 340px;
      font-size: clamp(20px, 5.5vw, 38px);
      line-height: 1.25;
    }

    .eme-text--body-s > * {
      max-inline-size: 300px;
    }

    .eme-button--on-card-solid {
      --button-padding-block: 0px;

      display: inline-flex;
      align-items: center;
      min-block-size: 48px;
      font-size: var(--eme-font-size-2xs);
    }

    eme-video {
      aspect-ratio: auto;
    }

    .eme-video__sound {
      inline-size: 40px;
      block-size: 40px;
    }
  }
}

@media screen and (min-width: 750px) {
  :where(.shopify-section):has(.eme-switcher--steps) .text-block.eme-text--heading-section > * {
    letter-spacing: -1.5px;
  }
}

@media screen and (max-width: 749px) {
  :where(.shopify-section):has(.eme-switcher--steps) {
    .section-content-wrapper.spacing-style {
      padding-block: 44px;
    }

    .text-block.eme-text--heading-section {
      padding-block-end: 32px;
    }

    .text-block.eme-text--heading-section > * {
      font-size: 27px;
    }
  }
}

@media screen and (min-width: 750px) {
  :where(.shopify-section):has(.eme-switcher--tabs) {
    .text-block.eme-text--heading-section-l > * {
      font-size: 36px;
    }

    .eme-text--heading-card:has(+ .eme-benefit-list--checks) br {
      display: none;
    }

    .eme-text--heading-card:has(+ .eme-claims) > * {
      font-size: 30px;
      letter-spacing: -0.7px;
    }

    .text-block.eme-text--display-card > * {
      font-size: var(--eme-font-size-display-card-wide);
      font-weight: 500;
    }

    .text-block.eme-text--display-words > * {
      letter-spacing: -0.7px;
    }
  }
}

@media screen and (max-width: 749px) {
  .shopify-section:has(.eme-switcher--tabs) .section-content-wrapper.spacing-style {
    padding-block: calc(40px + var(--section-top-offset, 0px)) 60px;
  }

  :where(.shopify-section):has(.eme-switcher--tabs) {
    .text-block.eme-text--heading-section-l {
      padding-block-end: 16px;
    }

    .text-block.eme-text--heading-section-l > * {
      font-size: 27px;
      line-height: 32px;
    }

    .group-block:has(> .group-block-content > .eme-benefit-list--checks) {
      padding: 24px;
    }

    .eme-text--heading-card:has(+ .eme-benefit-list--checks) {
      padding-block-end: 16px;
    }

    eme-grid-dots {
      margin-block-end: -9px;
    }
  }

  :where([data-template='product'] .shopify-section):has(.marquee__wrapper) .section.spacing-style {
    padding-block: 16px;
  }

  :where([data-template='product'] .shopify-section):is(:has(.eme-faq), :has(.eme-review-widget)) .text-block.eme-text--heading-2xs > * {
    font-size: 27px;
    letter-spacing: -0.005em;
    color: var(--color-foreground);
  }

  :where([data-template='product'] .shopify-section):has(.eme-review-widget) .text-block.eme-text--heading-2xs {
    padding-block-end: 32px;
  }

  :where([data-template='product']) product-recommendations .section-resource-list.spacing-style {
    padding-block-end: 32px;
  }
}

@media screen and (max-width: 749px) {
  .shopify-section:has(.eme-text--statement-tones) .section-content-wrapper.spacing-style {
    padding-block: 44px;
  }

  .shopify-section:has(.eme-grid--split.eme-grid--mobile-lead-second) .section-content-wrapper {
    padding-block: 20px 38px;
  }

  .shopify-section:has(.eme-grid--story) .section-content-wrapper.spacing-style {
    padding-block: 48px;
  }

  .shopify-section:has(.eme-text--statement-close) .section-content-wrapper.spacing-style {
    padding-block: 36px 44px;
  }

  .shopify-section:has(.eme-switcher--questions) .section-content-wrapper.spacing-style {
    padding-block: 44px;
  }

  .shopify-section:has(.eme-text--intro-lead) .section-content-wrapper.spacing-style {
    gap: 16px;
    padding-block: 48px;
    padding-inline: calc(24px - var(--page-margin));
  }

  .shopify-section:has(.eme-text--statement-cta) .section-content-wrapper.spacing-style {
    padding-block: 56px;
    padding-inline: calc(24px - var(--page-margin));
  }

  :where([data-template='page.stores']) .hero.hero--eme-page {
    min-block-size: clamp(260px, 36vw, 400px);
  }

  :where([data-template='page.stores']) .hero--eme-page .text-block.eme-text--page-title > * {
    font-size: clamp(28px, 6vw, 52px);
    line-height: 1.25;
  }
}

.shopify-section:is(:has(.eme-text--intro-lead), :has(.eme-text--statement-cta)) .section-content-wrapper.spacing-style {
  --spacing-scale: var(--spacing-scale-default);
  --gap-scale: var(--spacing-scale-default);
}

@media (prefers-reduced-motion: no-preference) {
  .shopify-section:has(.eme-text--intro-lead) .text-block:is(.eme-text--heading-fluid-l-strong, .eme-text--intro-lead) {
    animation: eme-hero-title-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) 160ms both;
  }
}

@media screen and (min-width: 750px) {
  :where([data-template='page.endless-summer'] .shopify-section):has(.eme-text--heading-carousel) .card__inner > .group-block {
    background-color: rgb(var(--eme-color-line-rgb) / 0.1);
  }
}

@media screen and (max-width: 749px) {
  :where([data-template='page.endless-summer']) .shopify-section:has(.eme-text--lead) .section-background,
  :where([data-template='page.endless-summer']) .shopify-section:has(.eme-switcher--names) .section-background {
    background-color: var(--eme-color-secondary);
  }

  :where([data-template='page.endless-summer']) .shopify-section:has(.eme-ugc) .section-background {
    background-color: var(--eme-color-surface);
  }

  :where([data-template='page.endless-summer'] .shopify-section):has(.eme-text--lead) .section-content-wrapper.spacing-style {
    padding-block: 44px 36px;
  }

  :where([data-template='page.endless-summer'] .shopify-section):has(.eme-switcher--names) .section-content-wrapper.spacing-style {
    padding-block: 16px 44px;
  }

  :where([data-template='page.endless-summer'] .shopify-section):has(.eme-text--heading-collection) .section.spacing-style {
    padding-block: 54px 0;
  }

  :where([data-template='page.endless-summer'] .shopify-section):has(.eme-text--heading-collection) .resource-list--grid {
    row-gap: 28px;
  }

  :where([data-template='page.endless-summer'] .shopify-section):has(a[href='#bundle']) .section-content-wrapper.spacing-style {
    padding-block: 32px 54px;
  }

  :where([data-template='page.endless-summer'] .shopify-section):has(.eme-text--heading-carousel) .section.spacing-style {
    padding-block: clamp(36px, 8vw, 58px) 0;
  }

  :where([data-template='page.endless-summer'] .shopify-section):has(.carousel-content--eme-wide) .group-block:has(> .group-block-content > .eme-carousel-arrows) {
    padding-block-end: 32px;
  }

  :where([data-template='page.endless-summer'] .shopify-section):has(.carousel-content--eme-wide) .group-block-content:has(> .eme-carousel-arrows) {
    align-items: center;
  }

  .carousel-content.carousel-content--eme-wide slideshow-slides {
    gap: 16px;
  }

  .carousel-content.carousel-content--eme-wide .card__inner > .group-block {
    padding: 20px;
    background-color: rgb(var(--eme-color-line-rgb) / 0.2);
  }

  .carousel-content.carousel-content--eme-wide .button-custom {
    min-block-size: 44px;
  }

  .carousel-content.carousel-content--eme-wide .text-block.eme-text--label-muted {
    padding-block-end: 8px;
  }

  .carousel-content.carousel-content--eme-wide .text-block.eme-text--label-muted > * {
    color: rgb(var(--color-foreground-rgb) / var(--eme-opacity-muted-strong));
  }

  .carousel-content.carousel-content--eme-wide .text-block.eme-text--body-m {
    padding-block: 16px 20px;
  }

  :where([data-template='page.endless-summer'] .shopify-section):has(.eme-text--quote) .section-content-wrapper.spacing-style {
    row-gap: 20px;
    padding-block: 50px;
  }

  :where([data-template='page.endless-summer'] .shopify-section):has(.eme-text--quote) .text-block.spacing-style {
    padding-inline: 24px;
  }

  :where([data-template='page.endless-summer'] .shopify-section):has(.eme-product-set) .section-content-wrapper.spacing-style {
    padding-block: 48px;
  }

  :where([data-template='page.endless-summer'] .shopify-section):has(.eme-product-set) [data-eme-grid] {
    row-gap: 32px;
  }

  :where([data-template='page.endless-summer'] .shopify-section):has(.eme-product-set) .text-block.eme-text--heading-routine {
    padding-block-end: 32px;
  }

  :where([data-template='page.endless-summer'] .shopify-section):has(.eme-ugc) .section-content-wrapper.spacing-style {
    padding-block: max(20px, calc(var(--spacing-scale) * 56px));
  }

  :where([data-template='page.endless-summer']) .button-custom.eme-button--outline[href='#bundle'] {
    --button-background-color: var(--color-foreground);
    --button-color: var(--eme-color-white);
    --button-border-color: var(--color-foreground);

    min-block-size: 48px;
    font-weight: 600;
    letter-spacing: 0.12em;
  }
}

@media screen and (max-width: 749px) {
  :where([data-template='page.faq'] .shopify-section):has(.eme-text--heading-page) .section-content-wrapper.spacing-style {
    padding-block: 40px 32px;
  }

  :where([data-template='page.faq']) .text-block.eme-text--eyebrow-s > * {
    font-size: 11px;
    line-height: 1.5;
  }

  :where([data-template='page.faq']) .text-block.eme-text--heading-page > *,
  :where([data-template='page.faq']) .text-block.eme-text--heading-page :is(h1, h2, h3, h4, h5, h6) {
    font-size: 28px;
    line-height: 1.25;
  }

  :where([data-template='page.faq'] .shopify-section):has(.eme-faq--page) .section-content-wrapper.spacing-style {
    padding-block-start: 40px;
  }

  :where([data-template='page.faq'] .shopify-section):has(.eme-text--heading-3xs) .section-content-wrapper.spacing-style {
    padding-block: 72px 40px;
  }

  :where([data-template='page.faq']) .text-block.eme-text--heading-3xs > * {
    font-size: 20px;
    line-height: 1.375;
  }
}

@media screen and (max-width: 749px) {
  :where([data-template='page.contact'] .shopify-section):has(.eme-text--heading-form-intro) .text-block.eme-text--heading-form-intro {
    padding-inline: 50px;
  }

  :where([data-template='page.contact'] .shopify-section):has(.eme-text--heading-form-intro) .text-block.eme-text--body-s-muted {
    padding-inline: 40px;
    padding-block-end: 44px;
  }
}
