*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: calc(1rem * var(--body-scale));
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: var(--color-foreground);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1;
}

main:focus {
  outline: none;
}

[class*='color-scheme-'] {
  color: var(--color-foreground);
  background-color: var(--color-background);
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  margin: 0;
}

:where(ul[role='list']) {
  list-style: none;
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--color-foreground);
  color: var(--color-background);
}

.skip-link:focus {
  top: 1rem;
}

.page-width {
  width: 100%;
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.page-narrow {
  max-width: 46rem;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.rte > * + * {
  margin-top: 1em;
}

.rte a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.rte ul,
.rte ol {
  padding-left: 1.25em;
}

.rte img {
  border-radius: var(--radius);
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.heading--medium {
  font-size: calc(clamp(1.75rem, 3vw, 2.25rem) * var(--heading-scale));
}

.heading--large {
  font-size: calc(clamp(2.25rem, 4.5vw, 3.5rem) * var(--heading-scale));
}

.heading--xlarge {
  font-size: calc(clamp(2.75rem, 7vw, 5.5rem) * var(--heading-scale));
  letter-spacing: -0.035em;
  line-height: 1;
}

.page-title {
  font-size: calc(clamp(2rem, 4vw, 3rem) * var(--heading-scale));
  margin-bottom: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--color-button);
  border-radius: var(--button-radius);
  background: var(--color-button);
  color: var(--color-button-label);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  transition: opacity 0.2s, transform 0.2s, background-color 0.2s, color 0.2s;
}

.button:hover {
  opacity: 0.88;
}

.button:active {
  transform: scale(0.98);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.button--secondary {
  background: transparent;
  color: var(--color-foreground);
  border-color: color-mix(in srgb, var(--color-foreground) 30%, transparent);
}

.button--secondary:hover {
  opacity: 1;
  border-color: var(--color-foreground);
}

.button--full {
  width: 100%;
}

.button .icon {
  width: 1rem;
  height: 1rem;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  list-style: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.icon-button::-webkit-details-marker {
  display: none;
}

.icon-button:hover {
  background: color-mix(in srgb, var(--color-foreground) 6%, transparent);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.link-arrow .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

.section--small {
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

.section--medium {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section--large {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section__header--center {
  justify-content: center;
  text-align: center;
}

.section__heading {
  font-size: calc(clamp(1.625rem, 3vw, 2.25rem) * var(--heading-scale));
}

.section__text {
  margin-top: 0.5rem;
  max-width: 36rem;
  color: var(--color-muted);
}

.grid {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem) clamp(0.75rem, 1.5vw, 1.25rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 750px) {
  .grid--3,
  .grid--4,
  .grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 990px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .grid--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 989px) {
  .grid--carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(clamp(1.25rem, 4vw, 3rem) * -1);
    padding-inline: clamp(1.25rem, 4vw, 3rem);
    scroll-padding-inline: clamp(1.25rem, 4vw, 3rem);
  }
  .grid--carousel::-webkit-scrollbar {
    display: none;
  }
  .grid--carousel > li {
    flex: 0 0 min(72%, 20rem);
    scroll-snap-align: start;
  }
}

.announcement {
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
}

.announcement__track {
  display: grid;
  min-height: 2.5rem;
  align-items: center;
  padding-inline: 1rem;
}

.announcement__message {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
}

.announcement__message.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.announcement a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.section-header {
  position: relative;
  z-index: 20;
}

.section-header:has(.header--sticky) {
  position: sticky;
  top: 0;
}

.header {
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.25s;
}

.header.is-scrolled {
  box-shadow: 0 1px 12px rgb(0 0 0 / 0.06);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.header__name {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.header__nav {
  display: none;
}

.header__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
}

.header__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding-block: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 450;
  cursor: pointer;
  list-style: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 calc(100% - 0.375rem);
  transition: background-size 0.25s;
}

.header__link::-webkit-details-marker {
  display: none;
}

.header__link:hover,
.header__link.is-active {
  background-size: 100% 1px;
}

.header__link .icon {
  width: 0.875rem;
  height: 0.875rem;
}

.header__dropdown {
  position: relative;
}

.header__submenu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: -1rem;
  min-width: 13rem;
  padding: 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.08);
}

.header__submenu a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: calc(var(--radius) / 2);
  font-size: 0.9375rem;
}

.header__submenu a:hover {
  background: color-mix(in srgb, var(--color-foreground) 6%, transparent);
}

.header__icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.125rem;
}

.header__cart-count {
  position: absolute;
  top: 0.25rem;
  right: 0.125rem;
  min-width: 1.125rem;
  height: 1.125rem;
  padding-inline: 0.25rem;
  border-radius: 999px;
  background: var(--color-button);
  color: var(--color-button-label);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.125rem;
  text-align: center;
}

.header__drawer > summary {
  margin-left: -0.75rem;
}

.header__account {
  display: none;
}

@media (min-width: 990px) {
  .header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 2.5rem;
  }
  .header__drawer {
    display: none;
  }
  .header__nav {
    display: block;
  }
  .header__account {
    display: inline-flex;
  }
  .header--logo-center .header__inner {
    grid-template-columns: 1fr auto 1fr;
  }
  .header--logo-center .header__logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }
  .header--logo-center .header__nav {
    grid-column: 1;
    grid-row: 1;
  }
}

@media (max-width: 989px) {
  .header__inner {
    grid-template-columns: 1fr auto 1fr;
  }
  .header__logo {
    justify-self: center;
    text-align: center;
  }
  .header__name {
    font-size: 1.125rem;
    line-height: 1.2;
  }
}

.menu-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: min(24rem, 88vw);
  padding: 1rem 1.5rem 1.5rem;
  box-shadow: 0 0 48px rgb(0 0 0 / 0.15);
  animation: slide-in-left 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.header__drawer[open]::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgb(0 0 0 / 0.35);
}

.menu-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.menu-drawer__title {
  font-weight: 600;
}

.menu-drawer__list {
  display: grid;
  gap: 0.25rem;
}

.menu-drawer__link {
  display: block;
  padding-block: 0.625rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: var(--heading-weight);
  letter-spacing: -0.02em;
}

.menu-drawer__sublist {
  padding: 0 0 0.5rem 1rem;
  color: var(--color-muted);
}

.menu-drawer__sublist a {
  display: block;
  padding-block: 0.375rem;
}

.menu-drawer__footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.menu-drawer__footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.search-modal {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 16px 32px rgb(0 0 0 / 0.08);
  animation: fade-in 0.2s;
}

.search-modal__form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.25rem;
}

.search-modal__form input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 0;
  border: 0;
  background: transparent;
  font-size: 1.125rem;
  outline: none;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 40rem;
  margin-bottom: 2rem;
  padding: 0.375rem 0.375rem 0.375rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--button-radius);
}

.search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
}

.hero {
  position: relative;
  display: flex;
  overflow: hidden;
  isolation: isolate;
}

.hero--small {
  min-height: 24rem;
}

.hero--medium {
  min-height: 34rem;
}

.hero--large {
  min-height: min(48rem, 82vh);
}

.hero--full {
  min-height: calc(100svh - 6.75rem);
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image--placeholder svg {
  width: 100%;
  height: 100%;
  background: color-mix(in srgb, var(--color-foreground) 8%, var(--color-background));
  fill: color-mix(in srgb, var(--color-foreground) 30%, transparent);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgb(0 0 0 / calc(var(--overlay) * 1.6)), rgb(0 0 0 / var(--overlay)) 55%, rgb(0 0 0 / calc(var(--overlay) * 0.4)));
}

.hero:not(.hero--has-image)::after {
  display: none;
}

.hero__content {
  display: flex;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.hero--bottom-left .hero__content {
  align-items: flex-end;
}

.hero--center-left .hero__content {
  align-items: center;
}

.hero--center-center .hero__content {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero--bottom-center .hero__content {
  align-items: flex-end;
  justify-content: center;
  text-align: center;
}

.hero__box {
  display: grid;
  gap: 1.25rem;
  max-width: 44rem;
}

.hero--has-image .hero__box,
.hero--has-image .eyebrow {
  color: #fff;
}

.hero--has-image .button {
  background: #fff;
  border-color: #fff;
  color: #121212;
}

.hero--has-image .button--secondary {
  background: transparent;
  color: #fff;
  border-color: rgb(255 255 255 / 0.6);
}

.hero--center-center .buttons,
.hero--bottom-center .buttons {
  justify-content: center;
}

.hero__text {
  max-width: 34rem;
  font-size: 1.125rem;
  opacity: 0.9;
}

.hero--center-center .hero__text,
.hero--bottom-center .hero__text {
  margin-inline: auto;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.card__media {
  position: relative;
  display: block;
  aspect-ratio: var(--card-ratio);
  overflow: hidden;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--color-foreground) 4%, var(--color-background));
}

.card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card__image--hover {
  opacity: 0;
}

.card:hover .card__image {
  transform: scale(1.03);
}

.card:hover .card__image--hover {
  opacity: 1;
}

.card__placeholder,
.card__media > svg {
  width: 100%;
  height: 100%;
  fill: color-mix(in srgb, var(--color-foreground) 25%, transparent);
}

.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: var(--color-background);
  color: var(--color-foreground);
  font-size: 0.75rem;
  font-weight: 500;
}

.badge--sale {
  background: var(--color-sale);
  color: #fff;
}

.card__visual {
  position: relative;
}

.card__quick {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
}

.card__quick-button {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.5rem;
  padding: 0 0.875rem 0 0.75rem;
  border-radius: 999px;
  background: var(--color-background);
  color: var(--color-foreground);
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.08);
  transition: opacity 0.25s, transform 0.25s;
}

.card__quick-button .icon {
  width: 1rem;
  height: 1rem;
}

@media (hover: hover) {
  .card .card__quick-button {
    opacity: 0;
    transform: translateY(6px);
  }
  .card:hover .card__quick-button,
  .card:focus-within .card__quick-button {
    opacity: 1;
    transform: none;
  }
}

.card__info {
  display: grid;
  gap: 0.25rem;
}

.card__title {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 450;
  letter-spacing: -0.005em;
  line-height: 1.4;
}

.card__title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

.card__quick,
.card .badge {
  z-index: 1;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.9375rem;
}

.price--sale .price__current {
  color: var(--color-sale);
}

.price__compare {
  color: var(--color-muted);
  font-size: 0.875em;
}

.price__from {
  color: var(--color-muted);
}

.tile {
  position: relative;
  display: block;
}

.tile__media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--color-foreground) 4%, var(--color-background));
}

.tile__media img,
.tile__media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tile__media svg {
  fill: color-mix(in srgb, var(--color-foreground) 25%, transparent);
}

.tile:hover img {
  transform: scale(1.03);
}

.tile__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.tile__label .icon {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.2s;
}

.tile:hover .tile__label .icon {
  transform: translateX(3px);
}

.tile--below .tile__label {
  margin-top: 0.875rem;
}

.tile--overlay .tile__label {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: calc(var(--radius) * 0.75);
  background: var(--color-background);
  color: var(--color-foreground);
}

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

@media (min-width: 990px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--right .split__media {
    order: 2;
  }
}

.split__media {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: color-mix(in srgb, var(--color-foreground) 6%, var(--color-background));
}

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

.split__media svg {
  fill: color-mix(in srgb, var(--color-foreground) 25%, transparent);
}

.split__content {
  display: grid;
  gap: 1.25rem;
  max-width: 32rem;
}

.split__content .rte {
  color: var(--color-muted);
  font-size: 1.0625rem;
}

.prose-block {
  display: grid;
  gap: 1.25rem;
  max-width: 44rem;
}

.prose-block--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.prose-block__text {
  color: var(--color-muted);
  font-size: 1.125rem;
}

.feature {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.features--center .feature {
  justify-items: center;
  text-align: center;
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-foreground) 6%, transparent);
}

.feature__image {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature__title {
  font-size: 1.125rem;
  letter-spacing: -0.015em;
}

.feature__text {
  max-width: 22rem;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

@media (max-width: 749px) {
  .features {
    grid-template-columns: 1fr;
  }
  .quotes {
    grid-template-columns: 1fr;
  }
}

.quote {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--color-background) 60%, #fff);
}

.quote__stars {
  display: flex;
  gap: 0.125rem;
}

.quote__stars .icon {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.quote__text {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.quote__author {
  color: var(--color-muted);
  font-size: 0.875rem;
}

.faq {
  display: grid;
  gap: 2rem;
}

@media (min-width: 990px) {
  .faq {
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
  }
}

.faq__intro {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.faq__intro .rte {
  color: var(--color-muted);
}

.accordion {
  border-bottom: 1px solid var(--color-border);
}

.faq__items .accordion:first-child,
.product__sticky .accordion:first-of-type {
  border-top: 1px solid var(--color-border);
}

.accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.125rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.accordion__summary::-webkit-details-marker {
  display: none;
}

.accordion__summary > span {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.accordion__summary > .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.25s;
}

.accordion[open] > .accordion__summary > .icon {
  transform: rotate(45deg);
}

.accordion__content {
  padding-bottom: 1.25rem;
  color: var(--color-muted);
}

.product {
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
}

@media (min-width: 990px) {
  .product {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: start;
  }
  .product__sticky {
    position: sticky;
    top: 6rem;
  }
  .gallery {
    display: grid;
    gap: 0.75rem;
  }
  .product__gallery--grid .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .product__gallery--grid .gallery__item:first-child {
    grid-column: 1 / -1;
  }
  .gallery__dots {
    display: none;
  }
}

@media (max-width: 989px) {
  .product__gallery {
    margin-inline: calc(clamp(1.25rem, 4vw, 3rem) * -1);
  }
  .gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar {
    display: none;
  }
  .gallery__item {
    flex: 0 0 100%;
    scroll-snap-align: center;
  }
  .gallery__item img {
    border-radius: 0 !important;
  }
}

.gallery__item {
  overflow: hidden;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--color-foreground) 4%, var(--color-background));
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery__item svg {
  width: 100%;
  aspect-ratio: 4 / 5;
  fill: color-mix(in srgb, var(--color-foreground) 25%, transparent);
}

.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 0.375rem;
  padding-top: 0.875rem;
}

.gallery__dots span {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-foreground) 25%, transparent);
  transition: width 0.25s, background-color 0.25s;
}

.gallery__dots span.is-active {
  width: 1.25rem;
  background: var(--color-foreground);
}

.product__sticky {
  display: grid;
  gap: 1.5rem;
}

.product__sticky > .accordion + .accordion {
  margin-top: -1.5rem;
}

.product__title {
  font-size: calc(clamp(1.875rem, 3.5vw, 2.75rem) * var(--heading-scale));
}

.product__price .price {
  font-size: 1.25rem;
}

.product__text,
.product__description {
  color: var(--color-muted);
}

.variants {
  display: grid;
  gap: 1.25rem;
}

.variants__option {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.variants__legend {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 500;
}

.variants__selected {
  color: var(--color-muted);
  font-weight: 400;
}

.variants__values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  position: relative;
}

.pill input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.pill span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.125rem;
  border: 1px solid var(--color-border);
  border-radius: var(--button-radius);
  font-size: 0.9375rem;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.pill:hover span {
  border-color: var(--color-foreground);
}

.pill input:checked + span {
  border-color: var(--color-foreground);
  background: var(--color-foreground);
  color: var(--color-background);
}

.pill input:focus-visible + span {
  outline: 2px solid var(--color-foreground);
  outline-offset: 2px;
}

.pill.is-unavailable span {
  color: var(--color-muted);
  text-decoration: line-through;
}

.buy {
  display: grid;
  gap: 0.75rem;
}

.buy__row {
  display: flex;
  gap: 0.75rem;
}

.buy__error {
  color: var(--color-sale);
  font-size: 0.875rem;
}

.quantity {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--button-radius);
}

.quantity button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 3rem;
}

.quantity .icon {
  width: 1rem;
  height: 1rem;
}

.quantity input {
  width: 2.5rem;
  border: 0;
  background: transparent;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

.quantity input::-webkit-inner-spin-button,
.quantity input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity--small button {
  width: 2.25rem;
  height: 2.25rem;
}

.quantity--small span {
  min-width: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
}

.perks {
  display: grid;
  gap: 0.625rem;
  padding: 1.125rem 1.25rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--color-foreground) 4%, var(--color-background));
  font-size: 0.9375rem;
}

.perks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.collection-hero {
  display: grid;
  gap: 0.75rem;
  padding-block: clamp(1rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
}

.collection-hero__title {
  font-size: calc(clamp(2.25rem, 5vw, 4rem) * var(--heading-scale));
  letter-spacing: -0.035em;
}

.collection-hero__text {
  max-width: 40rem;
  color: var(--color-muted);
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-block: 0.875rem;
  border-block: 1px solid var(--color-border);
}

.toolbar__count {
  color: var(--color-muted);
  font-size: 0.875rem;
}

.toolbar__sort {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.select {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.select select {
  appearance: none;
  padding: 0.5rem 2.25rem 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--button-radius);
  background: transparent;
  cursor: pointer;
}

.select .icon {
  position: absolute;
  right: 0.75rem;
  width: 1rem;
  height: 1rem;
  pointer-events: none;
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding-inline: 0.75rem;
  border-radius: 999px;
  font-size: 0.9375rem;
}

.pagination a:hover {
  background: color-mix(in srgb, var(--color-foreground) 6%, transparent);
}

.pagination [aria-current] {
  background: var(--color-foreground);
  color: var(--color-background);
}

.empty {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  padding-block: 3rem;
  text-align: center;
  color: var(--color-muted);
}

.empty--left {
  justify-items: start;
  text-align: left;
}

.empty--page .page-title {
  color: var(--color-foreground);
  margin: 0;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: transparent;
}

.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.35);
  animation: fade-in 0.25s;
}

.drawer__panel {
  position: absolute;
  inset: 0 0 0 auto;
  display: flex;
  flex-direction: column;
  width: min(28rem, 100vw);
  background: var(--color-background);
  box-shadow: 0 0 48px rgb(0 0 0 / 0.15);
  animation: slide-in-right 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  outline: none;
}

.drawer__panel > [data-cart-contents] {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.drawer__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
}

.drawer__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding-inline: 0.375rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-foreground) 8%, transparent);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
}

.drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 0 1.5rem;
}

.drawer__empty {
  display: grid;
  flex: 1;
  place-content: center;
  justify-items: center;
  gap: 1.25rem;
  padding: 2rem;
  color: var(--color-muted);
}

.drawer__footer {
  display: grid;
  gap: 0.875rem;
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--color-border);
}

.drawer__subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 1.0625rem;
  font-weight: 500;
}

.drawer__note {
  color: var(--color-muted);
  font-size: 0.8125rem;
}

.drawer__view {
  justify-self: center;
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.is-loading [data-cart-contents] {
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.2s;
}

.line {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 1rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.line:last-child {
  border-bottom: 0;
}

.line__media {
  display: block;
  overflow: hidden;
  border-radius: calc(var(--radius) * 0.75);
  aspect-ratio: 4 / 5;
  background: color-mix(in srgb, var(--color-foreground) 4%, var(--color-background));
}

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

.line__media svg {
  fill: color-mix(in srgb, var(--color-foreground) 25%, transparent);
}

.line__info {
  display: grid;
  gap: 0.25rem;
  align-content: start;
  min-width: 0;
}

.line__title {
  font-weight: 500;
  line-height: 1.35;
}

.line__variant,
.line__price {
  color: var(--color-muted);
  font-size: 0.875rem;
}

.line__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.line__remove {
  color: var(--color-muted);
  font-size: 0.8125rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.line__total {
  font-weight: 500;
}

.cart-page__layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 990px) {
  .cart-page__layout {
    grid-template-columns: minmax(0, 1fr) 24rem;
    align-items: start;
    gap: 4rem;
  }
  .summary {
    position: sticky;
    top: 6rem;
  }
}

.cart-page__items {
  border-top: 1px solid var(--color-border);
}

.cart-page__items .line {
  grid-template-columns: 7rem 1fr auto;
}

.summary {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--color-foreground) 4%, var(--color-background));
}

.summary--plain {
  margin-block: 1.5rem 2rem;
}

.summary__title {
  font-size: 1.25rem;
}

.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.summary__row dt,
.summary__row dd {
  margin: 0;
}

.summary__row--muted {
  color: var(--color-muted);
}

.summary__row--total {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-size: 1.125rem;
  font-weight: 600;
}

.summary__note {
  color: var(--color-muted);
  font-size: 0.8125rem;
  text-align: center;
}

.order-lines {
  border-block: 1px solid var(--color-border);
  margin-top: 2rem;
}

.account-card {
  max-width: 28rem;
}

.account-card .page-title {
  margin-bottom: 0.75rem;
}

.account-card__lead {
  margin-bottom: 1.5rem;
  color: var(--color-muted);
}

.account-card__forgot {
  justify-self: start;
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.account-card__switch {
  display: block;
  margin-top: 1.5rem;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.account-card__switch a {
  color: var(--color-foreground);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.field {
  position: relative;
}

.field input {
  width: 100%;
  height: 3.5rem;
  padding: 1.375rem 1rem 0.375rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: transparent;
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus {
  border-color: var(--color-foreground);
}

.field label {
  position: absolute;
  left: 1rem;
  top: 1.0625rem;
  color: var(--color-muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.2s, top 0.2s;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  top: 0.5rem;
  transform: scale(0.75);
}

.field--error input {
  border-color: var(--color-sale);
}

.field__error {
  margin-top: -0.5rem;
  color: var(--color-sale);
  font-size: 0.8125rem;
}

.notice {
  margin-bottom: 1.25rem;
  padding: 0.875rem 1.125rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--color-foreground) 5%, var(--color-background));
  font-size: 0.9375rem;
}

.notice--success {
  background: color-mix(in srgb, #16a34a 12%, var(--color-background));
}

.notice--error {
  background: color-mix(in srgb, var(--color-sale) 12%, var(--color-background));
}

.account-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.account-head .page-title {
  margin-bottom: 0.25rem;
}

.account-head__who {
  color: var(--color-muted);
}

.account-subtitle {
  margin-bottom: 1rem;
  font-size: 1.375rem;
}

.table-wrap {
  overflow-x: auto;
}

.orders {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.orders th,
.orders td {
  padding: 0.875rem 1rem 0.875rem 0;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  white-space: nowrap;
}

.orders th {
  color: var(--color-muted);
  font-weight: 500;
  font-size: 0.8125rem;
}

.orders a {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.orders__total {
  text-align: right !important;
  padding-right: 0 !important;
}

.status {
  display: inline-flex;
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-foreground) 6%, transparent);
  font-size: 0.8125rem;
}

.status--paid {
  background: color-mix(in srgb, #16a34a 14%, transparent);
}

.footer {
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
  font-size: 0.9375rem;
}

.footer__top {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 750px) {
  .footer__top {
    grid-auto-flow: column;
    grid-template-columns: minmax(0, 2fr);
    grid-auto-columns: minmax(0, 1fr);
  }
}

.footer__brand {
  display: grid;
  gap: 1rem;
  align-content: start;
  max-width: 22rem;
}

.footer__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.footer__text {
  color: var(--color-muted);
}

.footer__social {
  display: flex;
  gap: 0.25rem;
  margin-left: -0.625rem;
}

.footer__heading {
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.footer__links {
  display: grid;
  gap: 0.625rem;
}

.footer__links a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.8125rem;
}

.search-hit h3 {
  font-size: 1.125rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 70;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: #121212;
  color: #fff;
  font-size: 0.875rem;
  transform: translateX(-50%);
  animation: fade-in 0.2s;
}

[data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes slide-in-right {
  from {
    transform: translateX(100%);
  }
}

@keyframes slide-in-left {
  from {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-animate] {
    opacity: 1;
    transform: none;
  }
}
