/* ========================= TYPOGRAPHY ========================= */
@font-face {
  font-family: ylem-modena;
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  font-feature-settings: "case" 1;
  src: url("/cdn/shop/files/YLEMModena-Medium.woff2?v=1741540974")
      format("woff2"),
    url("/cdn/shop/files/YLEMModena-Medium.woff?v=1741540973")
      format("woff");
}

body {
  background: var(--color-white) !important;

  & > *,
  .heading,
  .display-xl,
  .display-l,
  .display-m,
  .h1,
  .h2,
  .h3,
  .h4,
  .h5,
  .h6,
  .h7,
  .prose,
  .prose :where(h1, h2, h3, h4, h5, h6),
  a,
  .link,
  button,
  .button,
  ul li,
  ul li a,
  .subheading {
    font-family: ylem-modena, sans-serif;
    line-height: var(--lh-standard);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  & > *,
  .subheading,
  .header__logo-text {
    font-size: var(--fs-m);
  }
}

h3 {
  font-size: var(--fs-l);
}

.prose
  :where(
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .display-xl,
    .display-l,
    .display-m,
    .h1,
    .h2,
    .h3,
    .h4,
    .h5,
    .h6,
    .h7
  ) {
  margin-block-start: 0 !important;
}

/* ========================= GENERAL ========================= */
html,
body {
  /* touch-action: pan-x pan-y; */
  /* overscroll-behavior: none; */
}

/* ========================= BUTTONS / LINKS ========================= */
.link,
.prose a {
  background: none !important;
}

/* ========================= HEADER ========================= */
header {
  background: transparent;
  mix-blend-mode: difference;
  transition: var(--trans-fade);
  z-index: 6 !important;

  &:has(.menu-drawer__panel.is-visible) {
    mix-blend-mode: unset;
    transition: var(--trans-fade);
  }

  .header__hamburger {
    gap: 3px;

    * {
      width: 0.9em;
      height: 0.12em !important;
    }
  }

  [aria-expanded="true"] .header__hamburger {
    * {
      width: 1em;
    }
  }

  .header__hamburger > :nth-child(2) {
    opacity: 1;
  }

  [aria-expanded="true"] .header__hamburger > :first-child {
    transform: translateY(calc(var(--icon-stroke-width, 1px) * 4)) rotate(45deg);
  }

  [aria-expanded="true"] .header__hamburger > :nth-child(2) {
    opacity: 0;
  }

  [aria-expanded="true"] .header__hamburger > :last-child {
    transform: translateY(calc(-1 * var(--icon-stroke-width, 1px) * 5))
      rotate(-45deg);
  }

  .menu-drawer {
    background: var(--color-black);

    &::part(overlay) {
      inset-block-start: 0 !important;
    }

    &::part(content) {
      inset-block-start: 0 !important;
    }

    .menu-drawer__panel {
      height: 100vh;
    }

    .menu-drawer__panel-body {
      display: flex;
      flex-wrap: wrap;
      align-content: center;
      justify-content: center;

      ul {
        gap: 12px;

        li {
          * {
            font-size: var(--fs-l);
            color: var(--color-grey-c8);
          }
        }
      }
    }
  }
}

.header {
  padding: 12px 16px !important;
  column-gap: 1em !important;
  background: none !important;
  align-items: start !important;

  @media (max-width: 991px) {
    padding: 12px !important;
  }

  a,
  svg,
  p,
  span,
  .header__logo-text,
  .subheading,
  span:not(.header__hamburger span) {
    color: var(--color-white);
  }

  &.is-solid {
    background: transparent;
  }

  .header__primary-nav {
    gap: 1em;
    justify-content: flex-end;

    a {
      padding: 0;
    }
  }

  .header__search-link {
    display: none;
  }

  .header__menu-link {
    .tap-area:before {
      width: 2em;
      height: 2em;
      top: calc(50% - 2em / 2);
      left: calc(50% - 2em / 2);
    }
  }

  .header__cart-link {
    .icon {
      display: none;
    }

    .sr-only {
      position: relative;
      width: auto;
      height: auto;
      margin: 0;
      clip: unset;
    }
  }

  .header__logo,
  .header__primary-nav,
  .header__secondary-nav {
    z-index: 4;
  }

  .header__secondary-nav {
    @media (max-width: 991px) {
      column-gap: 8px;
    }
  }
}

.header__cart-link {
  .header__active-dot {
    position: relative;
    inset-inline-end: 0;
    inset-block-start: 0;
    background: none !important;

    .sr-only {
      &::before {
        content: "(";
      }
      &::after {
        content: ")";
      }
    }
  }
}

/* ========================= COMING SOON PAGE ========================= */
.shopify-section--custom-liquid {
  .container {
    padding: 0;
  }
}
#coming-soon-header {
  background: transparent;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  padding: 12px 16px !important;
  color: var(--color-white);
  opacity: 0.5;

  @media (max-width: 991px) {
    padding: 12px !important;
  }
}

#coming-soon-logo {
  background: transparent;
  position: absolute;
  left: 60%;
  top: 30%;
  z-index: 2;

  .container {
    padding: 12px 16px !important;
    margin: 0;

    @media (max-width: 991px) {
      padding: 12px !important;
    }
  }

  p {
    font-size: var(--fs-l);
    color: var(--color-white);

    &::before {
      content: "•";
      display: block;
      height: 0;
      transform: translate(-0.67em, -0.01em);
      font-size: var(--fs-l);
    }
  }
}

.shopify-section--countdown {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--color-white);
  z-index: 2;

  @media screen and (max-width: 991px) {
    top: 8em;
  }

  .color-scheme {
    background: transparent;
    color: var(--color-white);
    opacity: 0.5;

    .section-spacing {
      padding: 0;
    }
  }

  .container {
    margin: 0;
    width: 100%;
    padding: 12px 16px;

    @media (max-width: 991px) {
      padding: 12px;
    }

    .v-stack {
      display: flex;
      width: 100%;
      max-width: 100%;
      justify-content: flex-end;

      @media screen and (max-width: 991px) {
        flex-direction: column;
        gap: 0;
      }
    }
  }

  .prose {
    text-align: left;
    display: flex;
    align-items: center;
  }

  h2,
  .countdown__timer-item .h3,
  .countdown__timer-unit.subheading {
    font-size: var(--fs-m);
  }

  .countdown__timer {
    border: none;
    width: 100%;
    padding: 0;
    margin: 0;
    justify-content: flex-end;
    gap: 20px;

    @media screen and (max-width: 991px) {
      justify-content: flex-start;
      gap: 12px;
    }

    .countdown__timer-item {
      display: flex;
      gap: 5px;
    }
  }
}

/* ========================= SECTIONS ========================= */
/* Intro block */
#intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 100;
  background-color: var(--color-black);
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);

  .prose {
    position: absolute;
    height: 100%;
    min-width: 100%;
    width: 100%;
    top: 0;
    left: 0;
    padding-left: 16px;
    bottom: auto;
    right: auto;
    text-align: left;

    @media (max-width: 991px) {
      padding-left: 12px;
    }

    .max-w-sm {
      max-width: unset;
    }

    /* #intro-header {
      opacity: 0.5;
    } */

    #intro-logo {
      display: block;
      position: absolute;
      left: 60%;
      top: 30%;
      z-index: 2;
      font-size: var(--fs-l);
      color: var(--color-white);
      margin: 0;

      &::before {
        content: "•";
        display: block;
        height: 0;
        transform: translate(-0.67em, -0.01em);
        font-size: var(--fs-l);
      }
    }
  }
}

.template-index #main {
  position: relative;
  overflow: hidden; /* prevent content from showing outside main during transition */
}

.content-wrapper {
  position: fixed;
  top: 100vh; /* start below the viewport */
  left: 0;
  width: 100%;
  height: auto;
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 1;
  /* ensure the wrapper maintains its integrity during animation */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.template-index.has-intro-active {
  overflow: hidden;
  height: 100vh; /* prevent scrolling on mobile */
  position: fixed; /* extra measure to prevent scrolling */
  width: 100%;
}

.intro-scrolled #intro {
  transform: translateY(-100%);
}

.intro-scrolled .content-wrapper {
  transform: translateY(-100vh); /* move up by full viewport height */
}

.template-index.intro-complete {
  overflow: auto;
}

.intro-complete #intro {
  display: none; /* remove from DOM flow after animation */
}

.intro-complete .content-wrapper {
  position: relative;
  top: 0;
  transform: none;
  transition: none;
  height: auto;
}

/* intro animations */
#intro-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--color-grey-92);
}

#intro-header span {
  display: inline-block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#viewing-from {
  visibility: hidden;
}

#coordinates {
  visibility: hidden;
}

#time-current {
  visibility: hidden;
}

#intro-logo {
  animation: fadeIn var(--trans-fade-softer) forwards;
  animation-delay: 3.5s;
  opacity: 0;
}

/* Multi-column */
.shopify-section--multi-column {
  .container {
    padding: 0;
    margin: 0;
  }

  .multi-column {
    column-gap: 0;
    row-gap: 0;
    padding: 0;
    margin: 0;
    height: 100vh;

    @media (max-width: 991px) {
      height: auto;
      display: flex;
      flex-direction: column;
    }
  }

  .color-scheme {
    &.bg-purple {
      background-color: var(--color-purple);

      .prose {
        color: var(--color-white);
      }

      .multi-column__item:has(img) {
        .prose {
          color: var(--color-grey-c8);
        }
      }
    }

    &.bg-white {
      background-color: var(--color-white);

      .prose {
        color: var(--color-black);
      }
    }

    &.bg-black {
      background-color: var(--color-black);

      .prose {
        color: var(--color-grey-c8);
      }
    }
  }

  .multi-column__item {
    background: none;
    padding: 0 !important;
    height: 100%;
    max-height: 100vh;

    @media (max-width: 991px) {
      min-height: 90vh;
      max-height: unset;

      &:has(img) {
        height: 90vh;
        max-height: 90vh;
      }
    }

    .prose {
      padding: 84px;
      height: 100%;

      .max-w-sm {
        max-width: unset;
      }

      @media (max-width: 991px) {
        padding: 60px 48px;
      }

      .content-visible {
        position: absolute;
        width: calc(100% - 84px * 2);

        @media (max-width: 991px) {
          width: calc(100% - 48px * 2);
        }
      }

      .content-hidden {
        visibility: hidden;
      }

      &:has(img) {
        padding: 0;

        img {
          height: 100%;
          width: 100%;
        }
      }
    }

    &.absolute {
      .text-wrap {
        position: absolute;
        z-index: 2;
        /* temporary positioning / to be replaced by customizer values */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }

      a {
        position: absolute;
        z-index: 2;
        right: 16px;
        bottom: 12px;

        @media (max-width: 991px) {
          right: 12px;
        }
      }

      img,
      video {
        margin-block: 0 !important;
      }
    }

    a {
      transition: opacity var(--trans-fade);

      &:hover {
        opacity: 0.7;
        transition: opacity var(--trans-fade);
      }
    }
  }

  #about {
    .decypher-trans {
      h3 {
        font-size: var(--fs-l-alt);
      }
    }
  }

  #stockists-list {
    .section-header {
      padding: 16px;

      h2,
      h3 {
        font-size: var(--fs-l);
      }
    }

    .prose {
      h3 {
        height: 1em;
        display: table-row;

        a {
          &:hover {
            color: var(--color-purple);
            opacity: 1;
           } 
        }
      }
    }

    @media (max-width: 991px) {
      .multi-column__item {
        height: auto;
        min-height: unset;

        .prose {
          h3 {
            font-size: var(--fs-l-alt);
          }
        }

        &:first-child {
          .prose {
            padding-bottom: 0;
          }
        }

        &:last-child {
          .prose {
            padding-top: 0;
          }
        }
      }
    }
  }
}

#contact {
  .multi-column__item {
    &.absolute {
      .text-wrap {
        @media (max-width: 991px) {
          left: calc(50% + 24px);
          width: calc(50% + 48px);
        }
      }
    }
  }
}

.decypher-trans {
  visibility: hidden;
}

/* Slideshow */
.shopify-section--ef-slideshow,
.shopify-section--related-products {
  position: relative;
  overflow: hidden;
  background-color: rgb(var(--ef-slideshow-background));
}

.ef-slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;

  @media (max-width: 991px) {
    height: auto;
  }

  .ef-slideshow__container {
    display: flex;
    height: 100vh;
    width: fit-content;
    will-change: transform;
    transition: transform 0.1s ease;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    /* Improve rendering performance */
    will-change: transform;

    /* Force hardware acceleration */
    -webkit-perspective: 1000;
    perspective: 1000;

    @media (max-width: 991px) {
      flex-direction: column;
      height: auto;
    }

    &.no-transition {
      -webkit-transition: none !important;
      transition: none !important;
    }
  }

  .ef-slideshow__set {
    display: flex;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    min-width: 0;
  }

  .ef-slideshow__slide {
    position: relative;
    height: 100vh;
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    overflow: hidden;
    border-right: 1px solid var(--color-grey-d9);
    width: 75vh;

    @media (max-width: 991px) {
      height: 90vh;
      width: 100vw;
      border-right: none;
      border-bottom: 1px solid var(--color-grey-d9);
    }

    &:hover {
      .ef-content-box {
        .prose {
          opacity: 1;
        }
      }
    }

    .ef-content-box {
      display: grid;
      height: 100vh;
      width: auto;
      position: relative;

      @media (max-width: 991px) {
        height: 90vh;
        width: 100%;
        min-height: 90vh !important;
      }

      .place-self-center {
        place-self: end !important;
        margin-top: 0;
        z-index: 2;
        background: var(--color-white-lighter);
        width: 100%;
      }

      .prose {
        z-index: 2;
        /* position: absolute; */
        padding: 12px 16px;
        color: var(--color-black);
        opacity: 0;
        transition: var(--trans-default);
        text-align: right;

        @media (max-width: 991px) {
          opacity: 1;
          padding: 12px;
        }
      }
    }

    .ef-content-box__background-media {
      position: relative;
      width: auto;
      height: 100%;
      overflow: hidden;

      .ef-video-container {
        height: 100vh;
        position: relative;

        @media (max-width: 991px) {
          height: 90vh;
        }

        .ef-video-poster {
          position: absolute;
          left: 0;
          top: 0;
          z-index: 1;
          width: 100% !important;
          object-fit: contain;
          object-position: center;
          background: var(--color-white-lighter);
          transition: opacity 0.3s ease-in-out;

          &.hidden {
            opacity: 0 !important;
          }
        }

        video {
          position: absolute;
          left: 0;
          top: 0;
          z-index: 2;
        }
      }

      img,
      video {
        height: 100vh;
        object-position: center;

        @media (max-width: 991px) {
          width: 100% !important;
          height: 90vh;
        }
      }

      img {
        width: auto !important;
        object-fit: cover;
      }

      video {
        width: 100% !important;
        object-fit: contain;
        object-position: center;
        background: var(--color-white-lighter);
      }
    }

    .product-card {
      opacity: 1 !important;
      flex-shrink: 0;

      .product-card__media {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;

        img,
        video {
          width: auto !important;
          height: 100vh !important;
          object-fit: cover;
          object-position: center;
          max-width: none;
          max-height: none;

          @media (max-width: 991px) {
            height: 90vh !important;
          }
        }
      }
    }
  }
}

/* Rich text */
.prose {
  .dot {
    display: block;
    height: 0;
    transform: translate(-1em, 1.5em);
    font-size: var(--fs-m);
  }
}

/* Image with text overlay */
.shopify-section--image-with-text-overlay {
  .color-scheme {
    height: 100vh;

    @media (max-width: 991px) {
      height: 90vh;
    }
  }

  .content-box {
    height: 100%;
    min-height: 90vh !important;
  }

  .prose {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    min-width: 100vw;
    height: 100%;
    padding-top: 12px;

    a {
      position: absolute !important;
      right: 16px;
      bottom: 12px;

      @media (max-width: 991px) {
        right: 12px;
      }
    }
  }

  #stockists {
    .prose {
      color: var(--color-black);
      padding: 60px 84px 0;

      /* temporarily hide the link to more stockists */
      a {
        display: none;
      }

      @media (max-width: 991px) {
        padding: 60px 48px;
        text-align: left;
      }
    }
  }
}

main:has(.shopify-section--countdown) {
  .shopify-section--image-with-text-overlay {
    .color-scheme,
    .content-box {
      @media (max-width: 991px) {
        height: 100vh;
      }
    }
  }
}

/* ========================= COOKIES ========================= */
body.has-intro-active #shopify-pc__banner {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity var(--trans-fade-softer);
}

body.intro-complete #shopify-pc__banner {
  opacity: 1;
  pointer-events: auto;
  transition: opacity var(--trans-fade-softer);
}

#shopify-pc__banner {
  border-radius: 0;
  box-shadow: none;
  background: var(--color-black);
  width: 50%;
  max-width: unset;
  padding: 0;

  @media (max-width: 991px) {
    width: 100%;
  }

  .shopify-pc__banner__body {
    margin: 0 0 24px;
    padding: 24px;
    width: auto;
    color: var(--color-white);

    @media (max-width: 991px) {
      margin: 0 0 16px;
      padding: 12px;
    }
  }

  p,
  #shopify-pc__banner__body-policy-link {
    text-transform: none;
  }

  #shopify-pc__banner__body-policy-link {
    &:hover {
      color: var(--color-grey-61);
      transition: var(--trans-default);
    }
  }

  .shopify-pc__banner__btns {
    justify-content: flex-end;
    gap: unset;

    @media (max-width: 991px) {
      flex-direction: column;
    }
  }
}

#shopify-pc__banner__btn-accept,
#shopify-pc__prefs__header-accept {
  order: 3;
  background: var(--color-acid-green);
  color: var(--color-black);
}

#shopify-pc__banner__btn-decline,
#shopify-pc__prefs__header-decline {
  background: var(--color-grey-4a);
}

#shopify-pc__banner__btn-manage-prefs,
#shopify-pc__prefs__header-save {
  text-decoration: none;
  background: none;
  color: var(--color-white) !important;

  &:hover {
    color: var(--color-black) !important;
  }
}

#shopify-pc__prefs__header-save {
  order: 1;
}

#shopify-pc__prefs__header-decline {
  order: 2;
}

#shopify-pc__prefs__header-accept {
  order: 3;
}

.shopify-pc__prefs__overlay {
  display: none !important;
}

#shopify-pc__prefs__dialog {
  flex-direction: column-reverse;
  box-shadow: none;
  border-radius: 0;
  width: 50%;
  left: auto;
  right: 0;
  bottom: 0;
  top: auto;
  transform: none;
  background: var(--color-black);

  @media (max-width: 991px) {
    width: 100%;
  }
}

.shopify-pc__banner__dialog h2 {
  font-weight: normal !important;
  font-size: 100% !important;
  margin-bottom: 16px !important;
  color: var(--color-white) !important;
  line-height: normal !important;
}

.shopify-pc__banner__dialog p {
  color: var(--color-white) !important;
  line-height: normal !important;
}

.shopify-pc__banner__dialog button,
.shopify-pc__prefs__header-actions button {
  padding: 20px !important;
  flex-basis: auto !important;
  border: none !important;
  margin: 0 !important;
  width: 33.33%;
  border-radius: 0 !important;
  transition: var(--trans-default);

  @media (max-width: 991px) {
    padding: 16px 12px !important;
    width: 100%;
  }

  &:hover {
    background: var(--color-white) !important;
    color: var(--color-black) !important;
    transition: var(--trans-default);

    span {
      color: var(--color-black) !important;
    }
  }
}

.shopify-pc__prefs__header-actions {
  width: 100% !important;
  padding: 0 !important;
}

.shopify-pc__prefs__header-actions button {
  font-size: 100% !important;
  line-height: normal !important;
}

.shopify-pc__prefs__dialog header {
  border: none !important;
  padding: 0 !important;
}

.shopify-pc__prefs__header-close {
  display: none !important;
}

.shopify-pc__prefs__dialog header h2,
.shopify-pc__prefs__intro-main {
  display: none;
}

.shopify-pc__prefs__options {
  padding: 24px 60px 48px 24px !important;

  @media (max-width: 991px) {
    padding: 16px 24px 28px 12px !important;
  }
}

.shopify-pc__prefs__option:first-child {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.shopify-pc__prefs__option {
  padding: 36px 0 0 0 !important;

  @media (max-width: 991px) {
    padding: 24px 0 0 0 !important;
  }
}

.shopify-pc__prefs__option label {
  font-size: 100% !important;
  line-height: normal !important;
  color: var(--color-white) !important;
  gap: 36px !important;
  font-weight: normal !important;
  margin: 0 !important;

  @media (max-width: 991px) {
    gap: 16px !important;
  }
}

.shopify-pc__prefs__option p {
  line-height: normal !important;
  text-transform: none;
  color: var(--color-white) !important;
  padding: 0 0 0 60px !important;

  @media (max-width: 991px) {
    padding: 0 0 0 36px !important;
  }
}

.shopify-pc__prefs__option label span {
  border-radius: 3px;

  @media (max-width: 991px) {
    width: 20px !important;
    height: 20px !important;
  }
}

.shopify-pc__prefs__option label span svg {
  background-color: var(--color-black) !important;
  height: 26px;

  @media (max-width: 991px) {
    width: 20px;
    height: 20px;
  }
}

/* ========================= FOOTER ========================= */
.shopify-section--footer {
  mix-blend-mode: difference;
}

.shopify-section-group-footer-group {
  &.shopify-section--newsletter {
    border-top: 1px solid var(--color-grey-92);
  }

  &.shopify-section--newsletter,
  &.shopify-section--ef-social {
    height: 100vh;
    width: 50%;
    display: inline-block;

    @media (max-width: 991px) {
      height: 90vh;
      width: 100%;
      display: block;
      position: relative;
      z-index: 5;
    }

    .color-scheme {
      height: 100%;
    }

    .container {
      padding: 0;
      margin: 0;
      position: relative;
      height: 100%;

      .v-stack {
        max-width: 100%;
      }
    }

    h2,
    h3 {
      font-size: var(--fs-l);
      font-weight: normal;
    }
  }

  &.shopify-section--newsletter {
    .prose {
      position: absolute;
      z-index: 3;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);

      @media (max-width: 991px) {
        top: calc(50% - 45px);
      }
    }
  }

  &.shopify-section--ef-social {
    position: absolute;

    @media (max-width: 991px) {
      position: relative;
    }

    .ef-social-title {
      position: absolute;
      text-align: center;
      z-index: 3;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: var(--color-white);
    }
  }
}

/* newsletter */
.shopify-section--newsletter {
  .v-stack.max-w-lg.mx-auto {
    display: flex;
    height: 100%;
    align-items: flex-end;
  }

  .v-stack.justify-self-center.w-full {
    gap: 0;

    .banner.banner--success.text-center {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: var(--color-white);
      width: 100%;
      z-index: 3;
      color: var(--color-black);
      height: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: var(--fs-l);

      @media (max-width: 991px) {
        top: calc(50% - 45px);
      }
    }

    p {
      order: 1;
      text-align: left;
      padding: 16px;
      font-size: var(--fs-xs);
      color: var(--color-grey-98);
      line-height: var(--lh-wider);

      @media (max-width: 991px) {
        padding: 12px;
      }
    }

    form {
      order: 2;

      .input-with-connected-submit {
        flex-direction: column !important;
        gap: 0;

        .form-control {
          input {
            border-radius: 0;
            border-top: 1px solid var(--color-grey-98) !important;
            border: none;
            padding: 18px 16px;
            font-size: var(--fs-m);
            line-height: var(--lh-1) !important;
            font-weight: normal;
            height: 50px;

            @media (max-width: 991px) {
              padding: 16px 12px 12px;
              height: 45px;
            }

            &::placeholder {
              color: var(--color-grey-92);
              font-size: var(--fs-m);
              line-height: var(--lh-1) !important;
            }

            & ~ .floating-label {
              color: var(--color-grey-92);
              inset-inline-start: 16px !important;

              @media (max-width: 991px) {
                inset-inline-start: 12px !important;
              }
            }
          }
        }

        button {
          border-radius: 0;
          font-size: var(--fs-m);
          line-height: var(--lh-1) !important;
          padding: 18px 16px;
          color: var(--color-white);
          transition: var(--trans-default);
          border: none;

          @media (max-width: 991px) {
            padding: 16px 12px;
          }

          &:hover {
            background: var(--color-black);
            transition: var(--trans-default);
          }

          .button__content {
            padding: 0;
          }

          svg {
            display: none;
          }
        }
      }
    }
  }
}

/* social */
.shopify-section--ef-social {
  z-index: 5;

  .ef-social {
    height: 100%;
  }

  .ef-social-container-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
  }

  .ef-social-slideshow {
    position: relative;
    margin: 0 auto;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
    height: 100%;
  }

  .ef-social-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0s;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;

    img {
      height: 100%;
    }
  }

  .ef-social:hover .ef-social-slide {
    transition: opacity 0s;
  }

  .ef-social-slide.active {
    opacity: 1;
    z-index: 2;
    position: relative;
  }

  .ef-social-image,
  .ef-social-placeholder {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
  }
}

/* bottom footer */
footer {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 5;
  width: 50%;

  @media (max-width: 991px) {
    width: 100%;
  }

  .footer {
    background: none;
    border: none;
  }

  .container {
    padding: 0;
    margin: 0;
  }

  .footer__content {
    padding: 12px 16px;
    color: var(--color-white);

    @media (max-width: 991px) {
      padding: 12px;
    }
  }

  .v-stack {
    display: flex !important;
  }

  .footer__block {
    width: 100%;
    max-width: 100%;
    margin-block-start: 0 !important;

    accordion-disclosure {
      display: none;
    }
  }

  ul {
    width: 100%;
    display: flex !important;
    gap: 1em !important;
    justify-content: flex-end;

    li {
      transition: opacity var(--trans-fade);

      &:hover {
        opacity: 0.7;
        transition: opacity var(--trans-fade);
      }

      .link-tap-area {
        background: none !important;
      }

      .link-tap-area:before {
        display: none !important;
      }
    }
  }

  hr.separator,
  .footer__aside {
    display: none;
  }
}

/* ========================= PRODUCT PAGE ========================= */
.shopify-section--main-product {
  .container {
    margin: 0;
  }
}

/* sticky add to cart */
.product-sticky-add-to-cart {
  visibility: visible !important;
  opacity: 1 !important;
  color: var(--color-white) !important;
  background: var(--color-purple) !important;
  border: none;
  box-shadow: none !important;
  width: 50% !important;
  inset-inline-end: 0 !important;
  inset-block-end: 0 !important;
  padding: 0 0 0 16px !important;
  z-index: 5 !important;
  transition: var(--trans-default);

  @media (max-width: 991px) {
    width: 100% !important;
    padding: 0 0 0 12px !important;
  }

  &:hover {
    background: var(--color-black) !important;
    transition: var(--trans-default);
  }

  product-rerender {
    display: flex;
  }

  .v-stack span:first-child,
  img {
    display: none;
  }

  .price-list {
    .subheading,
    .text-subdued {
      color: var(--color-white);
    }
  }

  .button {
    color: var(--color-white);
    flex-grow: 1;
    justify-items: flex-end;
    border: none;
    font-size: var(--fs-m);
    line-height: var(--lh-1) !important;
    border-radius: 0;

    .button__content {
      padding: 18px 16px;

      @media (max-width: 991px) {
        padding: 16px 12px;
      }
    }
  }

  .sm-max\:hidden {
    @media (max-width: 991px) {
      display: flex !important;
      justify-content: flex-end;
    }
  }

  .sm\:hidden {
    @media (max-width: 991px) {
      display: none !important;
    }
  }
}

.button:has(.button__content[up-text]) .button__content {
  transition: none !important;
}

.button:has(.button__content[up-text]):hover:not([aria-busy="true"])
  .button__content[up-text] {
  transform: none !important;
}

/* main */
.product {
  grid-template-columns: 100% !important;
  padding-block-start: 0 !important;
  padding: 0;
  height: calc(100vh - var(--header-height));

  @media (max-width: 991px) {
    display: flex !important;
    flex-direction: column;
    gap: 1.5rem !important;
    margin-top: calc(-1 * var(--header-height));
    height: auto;
    padding-block-end: 0 !important;
  }

  .scroll-marker-group {
    display: none;
  }

  .circle-button:before {
    background: none;
  }

  .product-gallery {
    margin-top: calc(-1 * var(--header-height));

    @media (max-width: 991px) {
      order: 2;
    }

    .product-gallery__carousel {
      margin: 0;
      padding: 0;
    }
  }

  .product-gallery__media {
    height: 100vh;
    width: auto;

    @media (max-width: 991px) {
      height: auto;
    }

    img,
    video {
      height: 100%;
      width: 100%;
      margin: 0 auto;
    }

    img {
      object-fit: contain;
    }

    video {
      object-fit: cover;
    }
  }

  .product-info {
    position: absolute;
    top: 0;
    left: 112px;
    padding-top: 12px;
    z-index: 5;
    color: var(--color-white);
    mix-blend-mode: difference;

    @media (max-width: 991px) {
      display: block;
      left: 0;
      padding-left: 17%;
      position: relative;
      order: 1;
      width: 100%;
      overflow: clip;
    }

    .product-info__block-list {
      display: flex;
      flex-direction: column;

      .product-info__block-item {
        margin: 0;

        p {
          line-height: var(--lh-wider);
        }

        &:first-child {
          position: fixed;
        }

        &:not(:first-child) {
          position: relative;
          max-width: 20vw;

          @media (max-width: 991px) {
            margin-left: 0 !important;
            max-width: 70%;
            margin-top: 2.4em;
          }

          .prose {
            text-transform: none;

            p:not(:first-child) {
              margin-block-start: 20px;
            }
          }
        }

        &:has(product-form) {
          margin: 0 !important;
        }
      }

      .product-title {
        white-space: nowrap;
        font-size: var(--fs-m);
        line-height: var(--lh-standard);
      }

      /* ingredients */
      .ingredients-accordion {
        margin-top: 20px;

        @media (max-width: 991px) {
          display: none;
        }

        .ingredients-summary {
          cursor: pointer;
          display: flex;
          list-style: none;
          user-select: none;
          gap: 6px;
          text-transform: none;
          transition: opacity var(--trans-fade);

          &:hover {
            opacity: 0.7;
            transition: opacity var(--trans-fade);
          }
        }

        .ingredients-summary::-webkit-details-marker {
          display: none;
        }

        .ingredients-toggle-icon {
          position: relative;
          width: 16px;
          height: 16px;
          display: inline-block;
          flex-shrink: 0;
        }

        .ingredients-toggle-icon::before,
        .ingredients-toggle-icon::after {
          content: "";
          position: absolute;
          background-color: currentColor;
          transition: transform var(--trans-fade);
        }

        .ingredients-toggle-icon::before {
          top: 50%;
          left: 50%;
          width: 1em;
          height: 0.11em;
          transform: translate(-50%, -50%);
        }

        .ingredients-toggle-icon::after {
          top: 50%;
          left: 50%;
          width: 0.11em;
          height: 1em;
          transform: translate(-50%, -50%);
        }

        .ingredients-details[open] .ingredients-toggle-icon::after {
          transform: translate(-50%, -50%) rotate(90deg);
        }

        .ingredients-content {
          overflow: hidden;
          max-height: 0;
          opacity: 0;
          transition: max-height var(--trans-fade), opacity var(--trans-fade),
            padding var(--trans-fade);
          padding: 0 !important;
        }

        .ingredients-details[open] .ingredients-content {
          max-height: 500px;
          opacity: 1;
          padding: 0 0 1rem 0;
        }
      }
    }
  }

  .product-info-mobile-custom {
    width: 100%;
    order: 3;

    @media (min-width: 992px) {
      display: none;
    }

    .product-info {
      padding-top: 0;
      padding-bottom: 17vw;
    }

    .product-info__block-item:not(.ingredients-accordion) {
      display: none;
    }

    .product-info__block-item.ingredients-accordion {
      display: block !important;
      margin-top: 0 !important;
    }
  }

  product-form {
    visibility: hidden;
    height: 0;
    display: block;
  }
}

/* sections */
main:has(.shopify-section--main-product) {
  #scent-anatomy {
    .multi-column__item:first-child {
      .prose,
      .max-w-sm,
      .text-wrap,
      .metafield-rich_text_field {
        height: 100%;
      }

      .metafield-rich_text_field {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;

        ul {
          list-style: none;
          margin: 0;

          li {
            padding: 2px;

            &:first-child {
              &:before {
                content: "•";
                font-size: var(--fs-m);
                position: absolute;
                transform: translate(-1em, 0);
              }
            }

            &:not(:first-child) {
              text-transform: none;
              padding-left: 20px;
            }
          }
        }
      }
    }
  }

  .shopify-section--image-with-text-overlay .prose,
  .shopify-section--video .prose {
    position: absolute;
    height: auto;
    min-width: unset;
    width: auto;
    bottom: 12px;
    right: 16px;
    top: auto;
    left: auto;
    text-transform: none;
    text-align: right;

    @media (max-width: 991px) {
      right: 12px;
    }
  }

  .shopify-section--image-with-text-overlay {
    .content-box {
      display: block;
    }

    div:has(.prose) {
      mix-blend-mode: difference;
    }

    .prose {
      color: var(--color-white);
    }
  }

  .shopify-section--video {
    .content-box {
      display: block;
    }

    .placement-grid {
      color: var(--color-white);
      mix-blend-mode: difference;
    }
  }
}

/* related products */
.shopify-section--related-products {
  z-index: 5;
}

product-recommendations {
  /* border-bottom: 1px solid var(--color-grey-d9); */

  product-list {
    padding: 0 !important;
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
  }

  .container {
    padding: 0;
    margin: 0;
  }

  .product-card__media {
    height: 100vh;
    max-height: 100vh;
    min-height: unset;

    @media (max-width: 991px) {
      height: 90vh;
      max-height: 90vh;
    }

    img {
      height: 100%;
      max-height: 100%;

      @media (max-width: 991px) {
        height: 90vh;
        max-height: 90vh;
      }
    }
  }

  .product-card--bordered {
    outline: none;
    border-right: 1px solid var(--color-grey-d9);

    @media (max-width: 991px) {
      border-right: none;
      border-bottom: 1px solid var(--color-grey-d9);
    }
  }

  .product-card {
    background: var(--color-white);

    .product-card__quick-buy {
      display: none;
    }

    .product-card__info {
      justify-self: end;
      padding: 12px 16px;

      .v-stack {
        gap: 0 !important;
      }

      @media (max-width: 991px) {
        padding: 12px;
      }

      div {
        justify-items: end;
        text-align: right;
      }

      a,
      span,
      price-list,
      .text-subdued {
        font-size: var(--fs-m);
        color: var(--color-black);
      }
    }
  }
}

/* mobile style for sections */
#main:has(.shopify-section--main-product) {
  @media (max-width: 991px) {
    .shopify-section--image-with-text-overlay {
      .color-scheme,
      .content-box {
        height: 90vh;
        min-height: 90vh !important;
      }
    }

    .shopify-section--multi-column .multi-column__item:has(img) {
      height: 90vh;
      min-height: 90vh !important;
    }
  }
}

/* ========================= CART ========================= */
:where(.drawer, .drawer-popover, .modal, .popover)::part(overlay) {
  background: rgb(0 0 0 / 25%) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.drawer::part(content) {
  width: 50% !important;
  max-width: 50% !important;
  color: var(--color-black);
}

@media (max-width: 991px) {
  .drawer::part(content) {
    width: 83% !important;
    max-width: 83% !important;
  }
}

#cart-drawer {
  .icon-cart {
    display: none;
  }

  .empty-state {
    .button {
      display: none;
    }
  }

  h2,
  .h7 {
    font-size: var(--fs-m) !important;
    line-height: var(--lh-standard);
  }

  button {
    .sr-only {
      display: contents;
    }
  }
}

.drawer::part(close-button) {
  font-family: ylem-modena, sans-serif;
  line-height: var(--lh-standard);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: var(--fs-m) !important;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  transition: opacity var(--trans-fade);

  &:hover {
    opacity: 0.7;
    transition: opacity var(--trans-fade);
  }
}

:where(.drawer, .drawer-popover, .modal, .popover)::part(icon) {
  width: 0.95em;
  height: 0.95em;
  stroke-width: 0.09em;
}

:where(.drawer, .drawer-popover, .modal, .popover)::part(close-button):before {
  display: none;
}

.drawer::part(header) {
  background: var(--color-white);
  border: none !important;
  padding: 12px 16px !important;
  display: flex !important;
  flex-direction: row-reverse;
  place-items: unset !important;
  justify-content: space-between;
  color: var(--color-black);
}

@media (max-width: 991px) {
  .drawer::part(header) {
    padding: 12px !important;
  }
}

.drawer::part(body) {
  background: var(--color-white);
  color: var(--color-black);
  padding: 0 8% !important;
}

.drawer::part(footer) {
  background: var(--color-white);
  border: none !important;
  color: var(--color-black);
}

.cart-drawer__footer-inner {
  padding: 0 !important;

  .v-stack {
    gap: 0;

    .text-subdued {
      padding: 16px;
      text-align: left;
      color: var(--color-black);
      font-size: var(--fs-xs);
      line-height: var(--lh-wider);

      @media (max-width: 991px) {
        padding: 12px;
      }
    }
  }

  .h-stack {
    padding: 18px 16px;
    background: var(--color-grey-d4);
    line-height: var(--lh-1);

    @media (max-width: 991px) {
      padding: 16px 12px;
    }
  }

  button {
    color: var(--color-white) !important;
    background: var(--color-purple) !important;
    border: none;
    font-size: var(--fs-m);
    line-height: var(--lh-1);
    transition: var(--trans-default);
    border-radius: 0;

    .button__content {
      padding: 18px 16px;

      @media (max-width: 991px) {
        padding: 16px 12px;
      }
    }

    &:hover {
      background: var(--color-black) !important;
      transition: var(--trans-default);
    }
  }
}

.cart-drawer__footer-actions {
  display: none !important;
}

.line-item__remove-button {
  display: none !important;
}

.line-item {
  @media (max-width: 991px) {
    justify-content: center;
    column-gap: 1.5rem !important;
  }

  .line-item-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 1.5rem;

    @media (max-width: 991px) {
      flex-direction: column;
      row-gap: 12px;
      order: 2;
    }
  }

  .line-item__quantity-selector {
    width: 33.33%;

    @media (max-width: 991px) {
      width: 100%;
    }

    .h-stack {
      justify-content: flex-end;

      @media (max-width: 991px) {
        justify-content: flex-start;
      }
    }

    .quantity-selector--line-item {
      border: none;
      grid-template-columns: 1.6rem auto 1.6rem !important;

      .quantity-selector__button {
        opacity: 0.4;
        transition: var(--trans-default);

        &:hover {
          opacity: 1;
          transition: var(--trans-default);
        }

        &:has(.icon-quantity-minus) {
          svg {
            visibility: hidden;
          }

          &:before {
            display: block;
            content: "";
            position: absolute;
            background: var(--color-black);
            top: 50%;
            left: 50%;
            width: 0.85em;
            height: 0.1em;
            transform: translate(-50%, -50%);
          }
        }

        &:has(.icon-quantity-plus) {
          svg {
            visibility: hidden;
          }

          &:before,
          &:after {
            display: block;
            content: "";
            position: absolute;
            background: var(--color-black);
          }

          &:before {
            top: 50%;
            left: 50%;
            width: 0.85em;
            height: 0.1em;
            transform: translate(-50%, -50%);
          }

          &:after {
            top: 50%;
            left: 50%;
            width: 0.1em;
            height: 0.85em;
            transform: translate(-50%, -50%);
          }
        }
      }
    }
  }

  .line-item__media {
    &.mobile {
      @media (min-width: 992px) {
        display: none;
      }
    }
  }

  .line-item__media {
    &:not(.mobile) {
      @media (max-width: 991px) {
        display: none;
      }
    }
  }

  img {
    width: 33.33%;
    flex: auto;

    @media (max-width: 991px) {
      order: 1;
      width: 40%;
      max-width: 40%;
    }
  }

  .line-item__info-with-line-price {
    flex-direction: column;
    flex-grow: 0 !important;
    width: 33.33%;
    gap: 1em;

    @media (max-width: 991px) {
      width: 100%;
    }

    .line-item__line-price {
      color: var(--color-purple);
    }

    .line-item__quantity-selector {
      display: none;
    }
  }
}

/* ========================= LEGAL PAGES ========================= */
.shopify-section--main-page {
  @media (max-width: 991px) {
    .container {
      margin-inline-start: 12px;
      margin-inline-end: 12px;
    }
  }
  .section-spacing {
    padding-block-start: 100px;
    padding-block-end: 140px;

    @media (max-width: 991px) {
      padding-block-start: 120px;
    }
  }

  .section-stack {
    row-gap: 40px;

    @media (max-width: 991px) {
      row-gap: 16px;
    }
  }

  h1 {
    font-size: var(--fs-l);
  }

  h2,
  h3,
  span {
    font-size: var(--fs-m) !important;
    font-family: ylem-modena, sans-serif !important;
    line-height: normal;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  h2 {
    padding: 140px 0 0 0 !important;

    @media (max-width: 991px) {
      padding: 120px 0 0 0 !important;
    }

    span {
      text-transform: uppercase;
    }
  }

  span {
    text-transform: none;
  }

  h3 {
    margin-block-start: 40px !important;

    span {
      text-transform: uppercase;
    }
  }

  p,
  ul {
    text-transform: none;
    margin-block-start: 0;
    text-align: left !important;
  }
}
