/** Shopify CDN: Minification failed

Line 3590:0 Unexpected "}"

**/
/* BlockPoint Forge — theme styles. Edit colors, fonts and spacing in the theme editor. */

/* ==========================================================================
   1. Foundations
   ========================================================================== */

@property --p {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height, 72px) + 16px);
}

body {
  --gutter: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgb(var(--c-bg));
  color: rgb(var(--c-text));
  font-family: var(--font-body);
  font-style: var(--font-body-style);
  font-weight: var(--font-body-weight);
  font-size: var(--body-size);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 750px) {
  body { --gutter: 28px; }
}

@media (min-width: 1200px) {
  body { --gutter: 44px; }
}

.main-content {
  flex: 1 0 auto;
  outline: none;
}

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

img,
video {
  height: auto;
}

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

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

button {
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

b,
strong {
  font-weight: var(--font-body-bold);
}

hr {
  border: 0;
  border-top: 1px solid rgb(var(--c-text) / 0.12);
  margin: 2rem 0;
}

summary {
  cursor: pointer;
  list-style: none;
}

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

[hidden],
.hidden {
  display: none !important;
}

.no-js .js-only,
.js .no-js-only {
  display: none !important;
}

:focus-visible {
  outline: 2px solid rgb(var(--c-text));
  outline-offset: 3px;
}

::selection {
  background: rgb(var(--c-accent));
  color: rgb(var(--c-accent-label));
}

[class*='color-scheme-'],
[class*='color-'] {
  color: rgb(var(--c-text));
}

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

/* Two classes so this wins over .button, which sets its own position. */
.skip-link.button {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 200;
  transform: translateY(-300%);
}

.skip-link.button:focus {
  transform: none;
}

@media (max-width: 749px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 750px) {
  .hide-desktop { display: none !important; }
}

/* Type ---------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6,
.h0, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  font-style: var(--font-heading-style);
  font-weight: var(--font-heading-weight);
  letter-spacing: var(--heading-tracking);
  text-transform: var(--heading-case);
  line-height: 1.08;
  text-wrap: balance;
}

.h0 { font-size: calc(var(--heading-scale) * clamp(2.6rem, 1.5rem + 5.2vw, 5.75rem)); line-height: 0.98; }
h1, .h1 { font-size: calc(var(--heading-scale) * clamp(2.1rem, 1.55rem + 2.7vw, 3.75rem)); }
h2, .h2 { font-size: calc(var(--heading-scale) * clamp(1.7rem, 1.3rem + 1.9vw, 2.75rem)); }
h3, .h3 { font-size: calc(var(--heading-scale) * clamp(1.35rem, 1.15rem + 0.9vw, 1.875rem)); line-height: 1.14; }
h4, .h4 { font-size: calc(var(--heading-scale) * 1.3rem); line-height: 1.2; }
h5, .h5 { font-size: calc(var(--heading-scale) * 1.1rem); line-height: 1.25; }
h6, .h6 { font-size: calc(var(--heading-scale) * 0.95rem); line-height: 1.3; }

.label {
  font-family: var(--font-label);
  font-weight: var(--font-label-weight);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.text-muted { color: rgb(var(--c-text) / 0.68); }
.text-small { font-size: 0.875rem; }
.text-large { font-size: 1.125rem; }
.text-center { text-align: center; }

.rte > * + * { margin-top: 1em; }
.rte h1, .rte h2, .rte h3, .rte h4 { margin-top: 1.5em; }
.rte > :first-child { margin-top: 0; }
.rte a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.rte a:hover { text-decoration-thickness: 2px; }
.rte ul, .rte ol { padding-left: 1.3em; }
.rte ul { list-style: disc; }
.rte ol { list-style: decimal; }
.rte li + li { margin-top: 0.35em; }
.rte img { border-radius: var(--radius-card); }
.rte blockquote { padding-left: 1.2em; border-left: 3px solid rgb(var(--c-accent)); font-size: 1.1em; }
.rte table { width: 100%; border-collapse: collapse; }
.rte th, .rte td { padding: 0.6em 0.8em; border-bottom: 1px solid rgb(var(--c-text) / 0.12); text-align: left; }
.rte iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-card); }

.link {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  background: none;
  border: 0;
  padding: 0;
}

.link:hover { text-decoration-thickness: 2px; }

/* Layout -------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--page-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.container--medium { max-width: calc(1100px + var(--gutter) * 2); }
.container--full { max-width: none; }

.section {
  position: relative;
  padding-block: calc(var(--pt, 64px) * 0.62) calc(var(--pb, 64px) * 0.62);
  background-color: rgb(var(--c-bg));
  background-image: var(--c-bg-gradient);
}

@media (min-width: 750px) {
  .section { padding-block: var(--pt, 64px) var(--pb, 64px); }
}

.grid {
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: repeat(var(--cols-mobile, 2), minmax(0, 1fr));
}

@media (max-width: 749px) {
  .grid { gap: calc(var(--grid-gap) * 0.6); row-gap: calc(var(--grid-gap) * 1.1); }
}

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

@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
}

.stack > * + * { margin-top: var(--stack, 1rem); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cluster, 0.75rem);
}

/* Section header ------------------------------------------------------ */

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.25rem, 2.6vw, 2.25rem);
}

.section-header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-header__text { max-width: 60ch; }
.section-header__eyebrow { margin-bottom: 0.5rem; color: rgb(var(--c-text) / 0.7); font-size: 1rem; }
.section-header__sub { margin-top: 0.75rem; color: rgb(var(--c-text) / 0.72); }
.section-header__actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

@media (max-width: 749px) {
  .section-header { align-items: flex-start; flex-direction: column; }
  .section-header--center { align-items: center; }
  .section-header__actions { width: 100%; justify-content: space-between; }
}

/* Buttons ------------------------------------------------------------- */

.button {
  --btn-bg: var(--c-button);
  --btn-fg: var(--c-button-label);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 50px;
  padding: 0.7em 1.7em;
  border: 1.5px solid rgb(var(--btn-bg));
  border-radius: var(--radius-button);
  background: rgb(var(--btn-bg));
  color: rgb(var(--btn-fg));
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 1.0625rem;
  line-height: 1.15;
  letter-spacing: 0.015em;
  text-align: center;
  text-transform: var(--button-case);
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
}

.button .icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.button--secondary {
  background: transparent;
  color: rgb(var(--c-outline));
  border-color: rgb(var(--c-outline) / 0.9);
}

.button--secondary:hover {
  background: rgb(var(--c-outline));
  color: rgb(var(--c-bg));
}

.button--inverse {
  --btn-bg: var(--c-text);
  --btn-fg: var(--c-bg);
}

.button--accent {
  --btn-bg: var(--c-accent);
  --btn-fg: var(--c-accent-label);
}

.button--small {
  min-height: 40px;
  padding: 0.45em 1.15em;
  font-size: 0.95rem;
}

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

.button[disabled],
.button[aria-disabled='true'] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
}

.button-feedback .button:not(.button--secondary):hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -8px rgb(var(--btn-bg) / 0.65);
}

.button-feedback .button:active { transform: scale(0.97); }

.button.is-loading {
  color: transparent !important;
  pointer-events: none;
}

.button.is-loading::after,
.spinner {
  content: '';
  width: 1.25em;
  height: 1.25em;
  border-radius: 50%;
  border: 2px solid rgb(var(--btn-fg, var(--c-text)) / 0.3);
  border-top-color: rgb(var(--btn-fg, var(--c-text)));
  animation: spin 0.7s linear infinite;
}

.button.is-loading::after {
  position: absolute;
  inset: 0;
  margin: auto;
}

.spinner { display: inline-block; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: inherit;
  flex-shrink: 0;
  transition: background-color 0.2s, transform 0.2s var(--ease);
}

.icon-button:hover { background: rgb(var(--c-text) / 0.08); }
.icon-button .icon { width: 22px; height: 22px; }

.icon-button--solid {
  background: rgb(var(--c-bg));
  color: rgb(var(--c-text));
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.14);
}

.icon-button--solid:hover { background: rgb(var(--c-bg)); transform: scale(1.06); }
.icon-button--outline { border: 1.5px solid rgb(var(--c-text) / 0.2); }
.icon-button[disabled] { opacity: 0.3; cursor: default; }

.icon { width: 24px; height: 24px; flex-shrink: 0; }

/* Forms --------------------------------------------------------------- */

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field + .field { margin-top: 1rem; }
.field__label { font-size: 0.9rem; font-weight: var(--font-body-bold); }

.input,
.select,
.textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.7em 1em;
  border: 1.5px solid rgb(var(--c-text) / 0.2);
  border-radius: var(--radius-input);
  background: rgb(var(--c-bg));
  color: rgb(var(--c-text));
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.textarea { min-height: 140px; resize: vertical; }

.input::placeholder,
.textarea::placeholder { color: rgb(var(--c-text) / 0.5); }

.input:hover,
.select:hover,
.textarea:hover { border-color: rgb(var(--c-text) / 0.45); }

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: rgb(var(--c-text));
  box-shadow: 0 0 0 3px rgb(var(--c-button) / 0.25);
}

.select {
  padding-right: 2.6em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23808080' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9em center;
  background-size: 1.1em;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
}

.checkbox input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  accent-color: rgb(var(--c-button));
}

.form-message {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-input);
  font-size: 0.95rem;
}

.form-message--error { background: rgb(var(--c-error) / 0.1); color: rgb(var(--c-error)); }
.form-message--success { background: rgb(var(--c-success) / 0.12); color: rgb(var(--c-success)); }
.form-message ul { list-style: disc; padding-left: 1.1em; }

/* Media --------------------------------------------------------------- */

.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: rgb(var(--c-text) / 0.05);
}

.media > img,
.media > video,
.media > svg,
.media > iframe,
.media > picture > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--rounded { border-radius: var(--radius-media); }
.media--card { border-radius: var(--radius-card); }

.placeholder-svg {
  width: 100%;
  height: 100%;
  fill: rgb(var(--c-text) / 0.28);
  background: rgb(var(--c-text) / 0.05);
}

/* Badges, price, rating ----------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.28em 0.62em;
  border-radius: 7px;
  font-family: var(--font-label);
  font-weight: var(--font-label-weight);
  font-size: 0.875rem;
  line-height: 1.15;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.badge--sale { background: var(--badge-sale-bg); color: var(--badge-sale-text); }
.badge--soldout { background: var(--badge-soldout-bg); color: var(--badge-soldout-text); }
.badge--custom { background: var(--badge-custom-bg); color: var(--badge-custom-text); }
.badge--plain { background: rgb(var(--c-bg) / 0.92); color: rgb(var(--c-text)); box-shadow: 0 1px 4px rgb(0 0 0 / 0.1); }
.badge .icon { width: 1em; height: 1em; }

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15em 0.55em;
  font-family: var(--font-label);
  font-weight: var(--font-label-weight);
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.price__compare {
  font-size: 0.86em;
  color: rgb(var(--c-text) / 0.55);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.price__unit { flex-basis: 100%; font-size: 0.72em; color: rgb(var(--c-text) / 0.6); }
.price--large { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }

.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  line-height: 1;
}

.rating__stars {
  --fill: 100%;
  position: relative;
  display: inline-block;
  width: 5.2em;
  height: 1em;
  font-size: 0.95rem;
  background:
    linear-gradient(90deg, rgb(var(--c-rating)) var(--fill), rgb(var(--c-text) / 0.18) 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.6 2.9 6 6.5.9-4.8 4.6 1.2 6.5-5.8-3.2-5.8 3.2 1.2-6.5L2.6 9.5l6.5-.9L12 2.6Z'/%3E%3C/svg%3E") 0 50% / 1.04em 1em repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.6 2.9 6 6.5.9-4.8 4.6 1.2 6.5-5.8-3.2-5.8 3.2 1.2-6.5L2.6 9.5l6.5-.9L12 2.6Z'/%3E%3C/svg%3E") 0 50% / 1.04em 1em repeat-x;
}

/* Stud meter: the signature progress indicator ------------------------- */

.studs {
  --stud: 10px;
  --pitch: 16px;
  display: block;
  width: 100%;
  height: var(--stud);
  background: linear-gradient(90deg, rgb(var(--stud-fill, var(--c-button))) calc(var(--p) * 100%), rgb(var(--c-text) / 0.16) 0);
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 0 calc(var(--stud) / 2 - 0.5px), transparent calc(var(--stud) / 2)) 0 0 / var(--pitch) var(--stud) round;
  mask: radial-gradient(circle at 50% 50%, #000 0 calc(var(--stud) / 2 - 0.5px), transparent calc(var(--stud) / 2)) 0 0 / var(--pitch) var(--stud) round;
  transition: --p 0.9s var(--ease);
}

.studs--5 { width: calc(var(--pitch) * 5); }
.studs--small { --stud: 8px; --pitch: 12px; }

/* Reveal on scroll ---------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal-subtle [data-reveal],
  .js .reveal-lively [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
    transition-delay: calc(var(--reveal-i, 0) * 70ms);
  }

  .js .reveal-lively [data-reveal] { transform: translateY(34px) scale(0.985); transition-duration: 0.8s, 0.9s; }
  .js .reveal-lively [data-reveal='left'] { transform: translateX(-40px); }
  .js .reveal-lively [data-reveal='right'] { transform: translateX(40px); }
  .js .reveal-lively [data-reveal='zoom'] { transform: scale(0.92); }

  .js [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
  }
}

.is-editor [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

/* View transitions ---------------------------------------------------- */

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.28s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

::view-transition-group(product-hero) {
  animation-duration: 0.45s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.vt-product [data-product-hero] { view-transition-name: product-hero; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Toasts -------------------------------------------------------------- */

.toasts {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 300;
  display: grid;
  gap: 8px;
  transform: translateX(-50%);
  pointer-events: none;
}

.toast {
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.25);
  animation: toast-in 0.35s var(--ease);
}

.toast.is-leaving { opacity: 0; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s; }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px); }
}

/* ==========================================================================
   2. Site chrome: announcement, header, menus, drawers, footer
   ========================================================================== */

/* Announcement bar ---------------------------------------------------- */

.announcement {
  display: block;
  background-color: rgb(var(--c-bg));
  background-image: var(--c-bg-gradient);
  font-size: 0.9rem;
}

.announcement__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 40px;
  padding-block: 0.4rem;
}

.announcement__center {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 1.25rem;
  text-align: center;
  min-width: 0;
}

.announcement__side--start { grid-column: 1; justify-self: start; }
.announcement__side--end { grid-column: 3; justify-self: end; }

/* The stack is as tall as its longest message, so a short one is centred in it. */
.announcement__messages {
  display: grid;
  align-items: center;
  min-width: 0;
}

.announcement__message {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0s 0.45s;
}

.announcement__message.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.announcement__message a { text-decoration: underline; text-underline-offset: 3px; }

/* Countdown ----------------------------------------------------------- */

.countdown { display: inline-flex; align-items: center; gap: 0.75rem; }
.countdown__label { font-weight: var(--font-body-bold); }
.countdown__units { display: inline-flex; gap: 0.5rem; font-size: 1rem; }
.countdown__unit { display: inline-flex; align-items: baseline; gap: 0.15em; }
.countdown__unit b { font-size: 1.15em; font-variant-numeric: tabular-nums; }

.countdown--blocks .countdown__units { gap: 0.6rem; }

.countdown--blocks .countdown__unit {
  flex-direction: column;
  align-items: center;
  min-width: 3.4em;
  padding: 0.55em 0.5em 0.45em;
  border-radius: 12px;
  background: rgb(var(--c-text) / 0.1);
  font-size: 0.8rem;
}

.countdown--blocks .countdown__unit b { font-size: 1.9rem; line-height: 1; }

/* Header -------------------------------------------------------------- */

/* Review and upsell apps put their carousel arrows at z-index 100, so the header sits above
   that, and above everything on the page while its menu is open. */
.section-site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  transition: transform 0.4s var(--ease);
}

.section-site-header:has(.drawer.is-open) { z-index: 1000; }

/* The announcement bar holds the currency and language panel, which opens down over the header. */
.section-announcement { position: relative; z-index: 111; }

.section-site-header:has(.header[data-sticky='none']) { position: relative; }
.section-site-header.is-hidden { transform: translateY(-100%); }

.header {
  position: relative;
  display: block;
  background: rgb(var(--c-bg));
  border-bottom: 1px solid rgb(var(--c-text) / 0.08);
  transition: box-shadow 0.3s;
}

.section-site-header.is-scrolled .header { box-shadow: 0 8px 24px -16px rgb(0 0 0 / 0.35); }

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

.header__menu-toggle { justify-self: start; margin-left: -10px; }

.header__logo {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  padding-block: 0.5rem;
}

.header__logo-image { width: var(--logo-w-mobile); height: auto; }
.header__logo-text { white-space: nowrap; }
.header__nav { display: none; }

.header__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.1rem;
  margin-right: -10px;
}

.header__localization,
.header__action--account { display: none; }

.header__cart { position: relative; }

.cart-count {
  position: absolute;
  top: 3px;
  right: 1px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgb(var(--c-button));
  color: rgb(var(--c-button-label));
  font-size: 0.75rem;
  line-height: 1;
}

.cart-count.is-bumped { animation: bump 0.45s var(--ease); }

@keyframes bump {
  40% { transform: scale(1.45); }
}

@media (min-width: 990px) {
  .header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 2rem;
    min-height: 76px;
  }

  .header__menu-toggle { display: none; }
  .header__logo { justify-self: start; }
  .header__logo-image { width: var(--logo-w); }
  .header__nav { display: block; justify-self: center; }
  .header__actions { margin-right: -8px; gap: 0.2rem; }

  .header__localization,
  .header__action--account { display: inline-grid; }
  .header__localization { margin-right: 0.4rem; }
}

.header__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.header__item { position: static; }
.header__item--list { position: relative; }

.header__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 1.55rem 0.8rem;
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
}

.header__link > span { position: relative; }

.header__link > span::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.header__item:hover > .header__link > span::after,
.header__item.is-open > .header__link > span::after,
.header__link.is-active > span::after { transform: scaleX(1); }

.header__link .icon {
  width: 13px;
  height: 13px;
  stroke-width: 2.2;
  transition: transform 0.3s var(--ease);
}

.header__item.is-open > .header__link .icon { transform: rotate(180deg); }

/* Dropdown and mega menu */

.dropdown,
.mega {
  position: absolute;
  top: 100%;
  z-index: 5;
  background: rgb(var(--c-bg));
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s, transform 0.35s var(--ease), visibility 0s 0.35s;
}

.header__item.is-open > .dropdown,
.header__item.is-open > .mega {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.dropdown {
  left: 0;
  min-width: 230px;
  padding: 0.6rem;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 22px 40px -18px rgb(0 0 0 / 0.3);
  transform: translateY(-6px);
}

.dropdown__link {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  transition: background-color 0.2s;
}

.dropdown__link:hover,
.dropdown__link.is-active { background: rgb(var(--c-text) / 0.06); }

.mega {
  left: 0;
  right: 0;
  border-top: 1px solid rgb(var(--c-text) / 0.08);
  box-shadow: 0 30px 50px -28px rgb(0 0 0 / 0.4);
  transform: translateY(-10px);
  max-height: calc(100vh - var(--header-height, 76px) - 40px);
  overflow-y: auto;
}

.mega__inner {
  display: grid;
  gap: 2.5rem 3.5rem;
  padding-block: 2.2rem 2.8rem;
}

.mega__inner--promos { grid-template-columns: minmax(0, 1fr) auto; }

.mega__columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 2rem 2.5rem;
  align-content: start;
}

.mega__column {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  transition-delay: calc(var(--i, 0) * 45ms + 60ms);
}

.header__item.is-open .mega__column {
  opacity: 1;
  transform: none;
}

.mega__heading {
  display: block;
  margin-bottom: 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgb(var(--c-text) / 0.12);
  font-size: 1.05rem;
  color: rgb(var(--c-text) / 0.62);
}

.mega__heading:hover { color: rgb(var(--c-text)); }

.mega__link {
  display: inline-block;
  padding: 0.32rem 0;
  font-size: 1.02rem;
  transition: transform 0.25s var(--ease), color 0.2s;
}

.mega__link:hover,
.mega__link.is-active {
  transform: translateX(5px);
  color: rgb(var(--c-button));
}

.mega__promos {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(170px, 230px);
  gap: 1rem;
  align-items: start;
}

.promo-card {
  position: relative;
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  isolation: isolate;
}

.promo-card__media { aspect-ratio: 4 / 5; }
.promo-card__media img { transition: transform 0.7s var(--ease); }
.promo-card:hover .promo-card__media img { transform: scale(1.06); }

.promo-card__title {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem 0.9rem;
  color: #fff;
  background: linear-gradient(to top, rgb(0 0 0 / 0.72), transparent);
}

/* Localization -------------------------------------------------------- */

.localization--compact { position: relative; }

.localization__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.localization__toggle:hover { background: rgb(var(--c-text) / 0.08); }
.localization__toggle .icon { width: 17px; height: 17px; }
.localization__toggle .icon--chevron-down { width: 12px; height: 12px; stroke-width: 2.2; transition: transform 0.25s; }
.localization--compact[open] .icon--chevron-down { transform: rotate(180deg); }

.localization__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 70;
  width: 290px;
  padding: 1rem;
  border-radius: 16px;
  background: rgb(var(--c-bg));
  color: rgb(var(--c-text));
  box-shadow: 0 18px 44px -12px rgb(0 0 0 / 0.35), 0 0 0 1px rgb(var(--c-text) / 0.08);
  animation: pop-in 0.25s var(--ease);
}

.footer .localization__panel { top: auto; bottom: calc(100% + 8px); }

@keyframes pop-in {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
}

.localization__form { display: grid; gap: 0.75rem; }
.localization__label { display: block; margin-bottom: 0.3rem; font-size: 0.8rem; color: rgb(var(--c-text) / 0.65); }
.localization__select { min-height: 44px; font-size: 0.95rem; }

/* Social links -------------------------------------------------------- */

.social-links { display: flex; flex-wrap: wrap; gap: 0.25rem; }

.social-links__link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color 0.2s, transform 0.25s var(--ease);
}

.social-links__link:hover { background: rgb(var(--c-text) / 0.1); transform: translateY(-2px); }
.social-links__link .icon { width: 20px; height: 20px; }
.social-links--small .social-links__link { width: 30px; height: 30px; }
.social-links--small .icon { width: 16px; height: 16px; }

/* Drawers and modals -------------------------------------------------- */

html.scroll-lock {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0px);
}

.drawer,
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: block;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s 0.5s;
}

.drawer.is-open,
.modal.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.drawer__overlay,
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.55);
  opacity: 0;
  transition: opacity 0.4s;
}

.is-open > .drawer__overlay,
.is-open > .modal__overlay { opacity: 1; }

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(470px, 100vw);
  display: flex;
  flex-direction: column;
  background: rgb(var(--c-bg));
  transform: translateX(102%);
  transition: transform 0.5s var(--ease);
  outline: none;
}

.drawer--left .drawer__panel {
  right: auto;
  left: 0;
  width: min(410px, 92vw);
  transform: translateX(-102%);
}

.drawer--top .drawer__panel {
  left: 0;
  bottom: auto;
  width: auto;
  max-height: min(88vh, 860px);
  transform: translateY(-102%);
}

.is-open > .drawer__panel { transform: none; }

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid rgb(var(--c-text) / 0.1);
  flex-shrink: 0;
}

.drawer__header .icon-button { margin-right: -8px; }

.drawer__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.25rem;
}

.drawer__footer {
  flex-shrink: 0;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgb(var(--c-text) / 0.1);
}

.modal { display: grid; place-items: center; padding: 16px; }

.modal__panel {
  position: relative;
  width: min(1020px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: calc(var(--radius-card) + 6px);
  background: rgb(var(--c-bg));
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.3s, transform 0.45s var(--ease);
  outline: none;
}

.modal.is-open > .modal__panel { opacity: 1; transform: none; }

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  background: rgb(var(--c-bg) / 0.9);
}

.modal__content { min-height: 200px; }
.modal__content.is-loading { display: grid; place-items: center; min-height: 360px; }

/* Mobile navigation --------------------------------------------------- */

.mobile-nav__item { border-bottom: 1px solid rgb(var(--c-text) / 0.1); }

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.mobile-nav__link .icon,
.mobile-nav__sublink .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.1;
  transition: transform 0.3s var(--ease);
}

.mobile-nav__details[open] > summary .icon { transform: rotate(180deg); }
.mobile-nav__sub { padding: 0 0 1rem; }

.mobile-nav__sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0 0.6rem 0.25rem;
  font-size: 1.05rem;
}

.mobile-nav__sublink--all { color: rgb(var(--c-text) / 0.65); font-size: 0.95rem; }
.mobile-nav__subsub { padding: 0.1rem 0 0.6rem 1rem; border-left: 2px solid rgb(var(--c-text) / 0.12); margin-left: 0.3rem; }
.mobile-nav__subsublink { display: block; padding: 0.45rem 0; }

.mobile-nav__link[aria-current='page'],
.mobile-nav__sublink[aria-current='page'],
.mobile-nav__subsublink[aria-current='page'] { color: rgb(var(--c-button)); }

.mobile-nav__promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.mobile-nav__footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem 1rem;
}

/* Country and language sit side by side so the menu keeps most of the height. */
.mobile-nav__footer .localization { grid-column: 1 / -1; }
.mobile-nav__footer .localization__form { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0.6rem; }
.mobile-nav__footer .localization__label { font-size: 0.75rem; }
.mobile-nav__footer .localization__select { min-height: 42px; padding-block: 0.35rem; font-size: 0.9rem; }
.mobile-nav__account { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: var(--font-body-bold); }

/* Footer -------------------------------------------------------------- */

.footer {
  background-color: rgb(var(--c-bg));
  background-image: var(--c-bg-gradient);
  padding-block: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
}

.footer__top {
  display: grid;
  gap: 2.25rem 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer__block--brand,
.footer__block--newsletter,
.footer__block--text { grid-column: 1 / -1; }

@media (min-width: 990px) {
  .footer__top {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem 3.5rem;
  }

  .footer__block { flex: 1 1 140px; }
  .footer__block--brand { flex: 1.7 1 280px; }
  .footer__block--newsletter { flex: 1.6 1 300px; }
  .footer__block--text { flex: 1.4 1 240px; }
}

.footer__logo { width: min(var(--footer-logo-w, 150px), 60%); height: auto; margin-bottom: 1.1rem; }
.footer__tagline { max-width: 26ch; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.footer__brand-text { margin-top: 0.9rem; max-width: 42ch; color: rgb(var(--c-text) / 0.7); }
.footer__block--brand .social-links { margin: 1.1rem 0 0 -9px; }

.footer__heading {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: rgb(var(--c-text) / 0.6);
}

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

.footer__link {
  display: inline-block;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 0.35s var(--ease);
}

.footer__link:hover { background-size: 100% 1px; }

.newsletter-form { position: relative; display: flex; gap: 0.5rem; margin-top: 1rem; }
.newsletter-form .input { flex: 1; min-width: 0; background: rgb(var(--c-text) / 0.06); border-color: transparent; }
.newsletter-form .button { flex-shrink: 0; padding-inline: 1.2em; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgb(var(--c-text) / 0.14);
  font-size: 0.875rem;
  color: rgb(var(--c-text) / 0.7);
}

.footer__legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.footer__legal a:hover { color: rgb(var(--c-text)); text-decoration: underline; text-underline-offset: 3px; }
.footer__payments { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.footer__payments .payment-icon { width: 38px; height: 24px; }
.footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }

.newsletter-form { flex-wrap: wrap; }
.newsletter-form__status { flex: 1 0 100%; margin: 0; }

/* ==========================================================================
   3. Shared components
   ========================================================================== */

/* Slider -------------------------------------------------------------- */

.slider {
  --per: var(--per-mobile, 1.35);
  display: flex;
  gap: var(--grid-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.slider::-webkit-scrollbar { display: none; }

.slider > * {
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--grid-gap)) / var(--per));
  min-width: 0;
  scroll-snap-align: start;
}

@media (max-width: 749px) {
  .slider { gap: calc(var(--grid-gap) * 0.6); }
  .slider > * { flex-basis: calc((100% - (var(--per) - 1) * var(--grid-gap) * 0.6) / var(--per)); }

  .slider--bleed {
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
}

@media (min-width: 750px) {
  .slider { --per: var(--per-tablet, 3); }
}

@media (min-width: 1100px) {
  .slider { --per: var(--per-desktop, 4); }
}

.slider-buttons { display: flex; gap: 0.5rem; }

@media (max-width: 749px) {
  .slider-buttons { display: none; }
}

.slider-progress {
  position: relative;
  height: 3px;
  margin-top: 1.25rem;
  border-radius: 3px;
  background: rgb(var(--c-text) / 0.12);
  overflow: hidden;
}

.slider-progress__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  border-radius: inherit;
  background: rgb(var(--c-text));
  transform-origin: left;
  transform: scaleX(var(--progress, 0.2));
  transition: transform 0.2s linear;
}

/* Product card -------------------------------------------------------- */

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 0;
  text-align: var(--card-align);
}

.card-hover-lift .product-card,
.card-hover-lift-zoom .product-card { transition: transform 0.45s var(--ease); }

@media (hover: hover) {
  .card-hover-lift .product-card:hover,
  .card-hover-lift-zoom .product-card:hover { transform: translateY(-5px); }
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: var(--ratio, 1);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: rgb(var(--c-text) / 0.045);
  isolation: isolate;
}

.product-card__media-link {
  position: absolute;
  inset: 0;
  display: block;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: var(--card-fit);
  transition: transform 0.8s var(--ease), opacity 0.4s;
}

.card-gallery__slide,
.card-gallery__hover {
  position: absolute;
  inset: 0;
}

.card-gallery__hover { opacity: 0; transition: opacity 0.45s; }

.card-gallery__track {
  position: absolute;
  inset: 0;
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.card-gallery__track::-webkit-scrollbar { display: none; }

.card-gallery__track .card-gallery__slide {
  position: relative;
  inset: auto;
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

@media (hover: hover) {
  .product-card:hover .card-gallery__hover { opacity: 1; }

  .card-hover-zoom .product-card:hover .product-card__media img,
  .card-hover-lift-zoom .product-card:hover .product-card__media img { transform: scale(1.05); }
}

.card-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 36px;
  height: 36px;
  opacity: 0;
  transform: translateY(-50%) scale(0.8);
  transition: opacity 0.25s, transform 0.3s var(--ease);
}

.card-gallery__arrow .icon { width: 16px; height: 16px; stroke-width: 2.2; }
.card-gallery__arrow--prev { left: 10px; }
.card-gallery__arrow--next { right: 10px; }

@media (hover: hover) and (pointer: fine) {
  .product-card:hover .card-gallery__arrow {
    opacity: 1;
    transform: translateY(-50%);
  }

  .product-card:hover .card-gallery__arrow:hover { transform: translateY(-50%) scale(1.08); }
}

@media (hover: none), (pointer: coarse) {
  .card-gallery__arrow { display: none; }
}

.card-gallery__dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 2;
  display: flex;
  gap: 5px;
  transform: translateX(-50%);
  pointer-events: none;
}

.card-gallery__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(var(--c-text) / 0.25);
  transition: background-color 0.3s, transform 0.3s var(--ease);
}

.card-gallery__dots i.is-active { background: rgb(var(--c-text)); transform: scale(1.25); }

.product-card__badges {
  position: absolute;
  top: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5px;
  pointer-events: none;
}

.product-card__badges--left { left: 10px; align-items: flex-start; }
.product-card__badges--right { right: 10px; align-items: flex-end; }

.product-card__pieces {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  pointer-events: none;
}

.product-card__badges--right ~ .product-card__pieces { right: auto; left: 10px; }

.product-card__quick {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
}

.quick-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(var(--c-bg));
  color: rgb(var(--c-text));
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgb(0 0 0 / 0.16);
  transition: transform 0.3s var(--ease), background-color 0.2s, color 0.2s, opacity 0.25s;
}

.quick-add .icon { width: 18px; height: 18px; stroke-width: 2; flex-shrink: 0; }
.quick-add > span { display: none; }
.quick-add.is-loading .icon { animation: spin 0.7s linear infinite; }

@media (hover: hover) and (pointer: fine) {
  .product-card__quick {
    left: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.4s var(--ease);
  }

  .product-card:hover .product-card__quick,
  .product-card:focus-within .product-card__quick {
    opacity: 1;
    transform: none;
  }

  .quick-add {
    width: 100%;
    height: 44px;
    padding-inline: 1rem;
  }

  .quick-add > span { display: inline; }

  .quick-add:hover {
    background: rgb(var(--c-button));
    color: rgb(var(--c-button-label));
  }

  .product-card:hover .card-gallery__dots { opacity: 0; }
}

.product-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.product-card__vendor { font-size: 0.85rem; color: rgb(var(--c-text) / 0.6); }

.product-card__title {
  font-family: var(--font-body);
  font-weight: var(--font-body-bold);
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  text-wrap: pretty;
}

.product-card__title-link {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--card-title-lines);
  line-clamp: var(--card-title-lines);
  overflow: hidden;
}

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

.product-card__media { z-index: 2; }
.product-card:hover .product-card__title-link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.product-card .price { font-size: 1.1rem; }
.product-card .price { justify-content: var(--card-align); }

.product-card--soldout .product-card__media img { opacity: 0.6; }

@media (max-width: 749px) {
  .product-card { gap: 0.6rem; }
  .product-card__title { font-size: 0.92rem; }
  .product-card .price { font-size: 1rem; }
  .product-card__pieces { font-size: 0.78rem; }
}

/* Collection card ----------------------------------------------------- */

.collection-card {
  position: relative;
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}

.collection-card__media {
  aspect-ratio: var(--ratio, 4 / 5);
  height: 100%;
}

.collection-card__media img,
.collection-card__media video { transition: transform 0.9s var(--ease); }

.collection-card:hover .collection-card__media img,
.collection-card:hover .collection-card__media video { transform: scale(1.06); }

.collection-card::after {
  content: '';
  position: absolute;
  inset: 40% 0 0 0;
  z-index: 1;
  background: linear-gradient(to top, rgb(0 0 0 / 0.78), transparent);
  pointer-events: none;
}

.collection-card__content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.25rem 0.75rem;
  padding: 1.1rem 1.1rem 1rem;
}

.collection-card__title { min-width: 0; color: #fff; overflow-wrap: anywhere; }
.collection-card__count { flex-basis: 100%; order: 3; opacity: 0.85; font-size: 0.875rem; }

.collection-card__label {
  display: inline-flex;
  align-items: center;
  padding: 0.35em 0.8em;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.4s var(--ease);
}

.collection-card:hover .collection-card__label,
.collection-card:focus-visible .collection-card__label {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .collection-card__label { display: none; }
}

/* Pagination ---------------------------------------------------------- */

.pagination { margin-top: clamp(2rem, 4vw, 3.5rem); }
.pagination__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }

.pagination__item {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding-inline: 0.6rem;
  border-radius: 999px;
  font-family: var(--font-label);
  font-weight: var(--font-label-weight);
  font-size: 1.05rem;
  transition: background-color 0.2s, color 0.2s;
}

a.pagination__item:hover { background: rgb(var(--c-text) / 0.08); }
.pagination__item.is-current { background: rgb(var(--c-text)); color: rgb(var(--c-bg)); }
.pagination__item .icon { width: 18px; height: 18px; }

.load-more {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.load-more__status { font-size: 0.9rem; color: rgb(var(--c-text) / 0.65); }
.load-more .studs { width: min(240px, 60vw); }

/* Quantity ------------------------------------------------------------ */

.quantity {
  display: inline-flex;
  align-items: center;
  height: 50px;
  border: 1.5px solid rgb(var(--c-text) / 0.2);
  border-radius: var(--radius-button);
  background: rgb(var(--c-bg));
}

.quantity__button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  transition: color 0.2s, transform 0.2s;
}

.quantity__button:hover { color: rgb(var(--c-button)); }
.quantity__button:active { transform: scale(0.85); }
.quantity__button .icon { width: 16px; height: 16px; stroke-width: 2; }
.quantity__button[disabled] { opacity: 0.3; cursor: default; }

.quantity__input {
  width: 2.6em;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
  font-family: var(--font-label);
  font-weight: var(--font-label-weight);
  font-size: 1.1rem;
  -moz-appearance: textfield;
  appearance: textfield;
}

.quantity__input::-webkit-outer-spin-button,
.quantity__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity__input:focus { outline: none; }
.quantity:focus-within { border-color: rgb(var(--c-text)); }

.quantity--small { height: 38px; }
.quantity--small .quantity__button { width: 32px; }
.quantity--small .quantity__input { font-size: 1rem; width: 2.2em; }

/* Spec plate ---------------------------------------------------------- */

.spec-plate {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  border: 1.5px solid rgb(var(--c-text) / 0.16);
  border-radius: 14px;
  background:
    radial-gradient(circle at 9px 9px, rgb(var(--c-text) / 0.28) 0 2px, transparent 2.5px),
    radial-gradient(circle at calc(100% - 9px) 9px, rgb(var(--c-text) / 0.28) 0 2px, transparent 2.5px),
    radial-gradient(circle at 9px calc(100% - 9px), rgb(var(--c-text) / 0.28) 0 2px, transparent 2.5px),
    radial-gradient(circle at calc(100% - 9px) calc(100% - 9px), rgb(var(--c-text) / 0.28) 0 2px, transparent 2.5px),
    rgb(var(--c-text) / 0.025);
  overflow: hidden;
}

.spec-plate__item {
  flex: 1 1 110px;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 0.2rem;
  padding: 0.95rem 1.2rem 0.9rem;
  box-shadow: -1.5px 0 0 rgb(var(--c-text) / 0.12), 0 -1.5px 0 rgb(var(--c-text) / 0.12);
}

.spec-plate__item--wide { flex: 2 1 190px; }
.spec-plate__label { font-size: 0.82rem; color: rgb(var(--c-text) / 0.62); }

.spec-plate__value {
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.95rem);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.spec-plate__value--text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.spec-plate__difficulty { text-transform: capitalize; }

.spec-plate--compact .spec-plate__item { padding: 0.7rem 0.9rem; }
.spec-plate--compact .spec-plate__value { font-size: 1.3rem; }

/* Free shipping meter ------------------------------------------------- */

.ship-meter { display: grid; gap: 0.6rem; }
.ship-meter__text { font-size: 0.95rem; }
.ship-meter__text b,
.ship-meter__text strong { font-family: var(--font-label); font-weight: var(--font-label-weight); font-size: 1.1em; }
.ship-meter.is-reached .ship-meter__studs { --stud-fill: var(--c-success); }
.ship-meter.is-reached .ship-meter__text { color: rgb(var(--c-success)); font-weight: var(--font-body-bold); }

/* Accordion ----------------------------------------------------------- */

.accordion { border-top: 1px solid rgb(var(--c-text) / 0.14); }
.accordion__item { border-bottom: 1px solid rgb(var(--c-text) / 0.14); }

.accordion__summary {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 0;
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 1.15rem;
  line-height: 1.25;
}

.accordion__summary > .icon:first-child { width: 22px; height: 22px; color: rgb(var(--c-text) / 0.75); }
.accordion__title { flex: 1; }

.accordion__toggle {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgb(var(--c-text) / 0.07);
  flex-shrink: 0;
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}

.accordion__toggle::before,
.accordion__toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}

.accordion__toggle::after { transform: rotate(90deg); }

.accordion__item[open] > .accordion__summary .accordion__toggle {
  background: rgb(var(--c-text));
  color: rgb(var(--c-bg));
  transform: rotate(180deg);
}

.accordion__item[open] > .accordion__summary .accordion__toggle::after { transform: rotate(0deg); }
.accordion__content { padding: 0 0 1.4rem; }
.accordion__content > .rte { color: rgb(var(--c-text) / 0.82); }
.accordion__content img { border-radius: var(--radius-card); margin-bottom: 1rem; }

/* Breadcrumbs --------------------------------------------------------- */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
  font-size: 0.875rem;
  color: rgb(var(--c-text) / 0.65);
}

.breadcrumbs a:hover { color: rgb(var(--c-text)); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs li + li::before { content: '/'; margin-right: 0.5rem; opacity: 0.5; }

/* Tabs ---------------------------------------------------------------- */

.tabs {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tabs__tab {
  padding: 0.55em 1.1em;
  border: 1.5px solid rgb(var(--c-text) / 0.18);
  border-radius: 999px;
  background: none;
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 1rem;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.tabs__tab:hover { border-color: rgb(var(--c-text)); }

.tabs__tab[aria-selected='true'] {
  background: rgb(var(--c-text));
  border-color: rgb(var(--c-text));
  color: rgb(var(--c-bg));
}

.tabs__panel[hidden] { display: none; }
.tabs__panel { animation: tab-in 0.5s var(--ease); }

@keyframes tab-in {
  from { opacity: 0; transform: translateY(10px); }
}

/* Empty states -------------------------------------------------------- */

.empty-state {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: clamp(2.5rem, 8vw, 6rem) 1rem;
  text-align: center;
}

.empty-state__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgb(var(--c-text) / 0.06);
}

.empty-state__icon .icon { width: 32px; height: 32px; }
.empty-state p { max-width: 46ch; color: rgb(var(--c-text) / 0.7); }

/* ==========================================================================
   4. Content sections
   ========================================================================== */

.button--light {
  --btn-bg: 255 255 255;
  --btn-fg: 0 0 0;
}

.section--flush { background-image: none; }

/* Slideshow ----------------------------------------------------------- */

.slideshow-section {
  background-color: rgb(var(--c-bg));
  padding-block: calc(var(--pt, 0px) * 0.62) calc(var(--pb, 0px) * 0.62);
}

@media (min-width: 750px) {
  .slideshow-section { padding-block: var(--pt, 0px) var(--pb, 0px); }
}

.slideshow {
  position: relative;
  display: block;
  outline: none;
}

.slideshow-section--contained .slideshow {
  border-radius: var(--radius-media);
  overflow: hidden;
}

.slideshow__slides { display: grid; }

.slideshow__slide {
  grid-area: 1 / 1;
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease-in-out), visibility 0s 0.9s;
}

.slideshow__slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.slideshow__slide.is-leaving { z-index: 1; visibility: visible; }

.slideshow--adapt .slideshow__slide { aspect-ratio: var(--ar-mobile); }
.slideshow--small .slideshow__slide { min-height: 340px; }
.slideshow--medium .slideshow__slide { min-height: 460px; }
.slideshow--large .slideshow__slide { min-height: 580px; }
.slideshow--full .slideshow__slide { min-height: calc(100svh - var(--header-height, 70px) - 40px); }

@media (min-width: 750px) {
  .slideshow--adapt .slideshow__slide { aspect-ratio: var(--ar); }
  .slideshow--small .slideshow__slide { min-height: 400px; }
  .slideshow--medium .slideshow__slide { min-height: 560px; }
  .slideshow--large .slideshow__slide { min-height: 720px; }
}

.slideshow__media,
.slideshow__overlay,
.slideshow__link {
  position: absolute;
  inset: 0;
}

.slideshow__media img,
.slideshow__media video,
.slideshow__media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.07);
  transition: transform 1.8s var(--ease);
}

.slideshow__slide.is-active .slideshow__media img,
.slideshow__slide.is-active .slideshow__media video { transform: none; }

.slideshow__overlay { background: rgb(0 0 0 / var(--overlay, 0.2)); pointer-events: none; }
.slideshow__link { z-index: 2; }

.slideshow__content {
  position: relative;
  z-index: 3;
  display: flex;
  width: 100%;
  padding-block: clamp(1.5rem, 5vw, 4rem) clamp(4rem, 8vw, 5.5rem);
  pointer-events: none;
}

.slideshow-section--contained .slideshow__content { padding-inline: clamp(1.25rem, 4vw, 3.5rem); }
.slideshow__content--top-left { align-items: flex-start; justify-content: flex-start; }
.slideshow__content--middle-left { align-items: center; justify-content: flex-start; }
.slideshow__content--bottom-left { align-items: flex-end; justify-content: flex-start; }
.slideshow__content--middle-center { align-items: center; justify-content: center; text-align: center; }
.slideshow__content--bottom-center { align-items: flex-end; justify-content: center; text-align: center; }
.slideshow__content--bottom-right { align-items: flex-end; justify-content: flex-end; }

.slideshow__box {
  display: grid;
  gap: 1rem;
  max-width: min(640px, 100%);
  pointer-events: auto;
}

.slideshow__content--middle-center .slideshow__box,
.slideshow__content--bottom-center .slideshow__box { justify-items: center; }

.slideshow__box > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
  transition-delay: 0s;
}

.slideshow__slide.is-active .slideshow__box > * {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 90ms + 280ms);
}

.slideshow__eyebrow { font-size: 1.1rem; color: rgb(var(--c-accent)); }
.slideshow__text { font-size: 1.1rem; max-width: 46ch; }

.slideshow__controls {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem 1.25rem;
  pointer-events: none;
}

.slideshow-section--contained .slideshow__controls { padding-inline: clamp(1.25rem, 4vw, 3.5rem); }
.slideshow__controls > * { pointer-events: auto; }
.slideshow__arrows { display: flex; gap: 0.5rem; margin-left: auto; }

.slideshow__dots {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.slideshow__dot {
  position: relative;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.45);
  overflow: hidden;
  transition: width 0.5s var(--ease), background-color 0.3s;
}

.slideshow__dot::before {
  content: '';
  position: absolute;
  inset: -12px;
}

.slideshow__dot.is-active { width: 44px; }

.slideshow__dot span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}

.slideshow__dot.is-active span { transform: scaleX(1); }

.slideshow.is-playing .slideshow__dot.is-active span {
  animation: slide-progress var(--slide-duration, 6s) linear both;
}

@keyframes slide-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 749px) {
  .slideshow__arrows { display: none; }
  .slideshow__controls { justify-content: center; }
  .slideshow__content { padding-bottom: 3.75rem; }
}

/* Featured collection, recommendations -------------------------------- */

.featured-collection,
.collection-list,
.reels,
.testimonials { display: block; }

.featured-collection__item { min-width: 0; }
slider-component:not(.has-overflow) .slider-buttons { display: none; }

/* Collection tabs ----------------------------------------------------- */

.collection-tabs__head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.collection-tabs__tabs { margin-inline: calc(var(--gutter, 1rem) * -1); padding-inline: var(--gutter, 1rem); }

@media (min-width: 750px) {
  .collection-tabs__head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 2rem;
  }

  .collection-tabs__tabs { margin-inline: 0; padding-inline: 0; }
}

.collection-tabs__foot {
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
}

.collection-tabs__foot .slider-progress { flex: 1; margin-top: 0; }

@media (max-width: 749px) {
  .collection-tabs__foot .slider-buttons { display: none; }
}

/* Collection list ----------------------------------------------------- */

.collection-list .slider .collection-card__media,
.collection-list .grid .collection-card__media { aspect-ratio: var(--ratio, 3 / 4); }

.bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 44vw, 240px);
  grid-auto-flow: dense;
  gap: calc(var(--grid-gap) * 0.6);
}

.bento .collection-card,
.bento .collection-card__media { height: 100%; aspect-ratio: auto; }

.bento:not(.bento--custom) > :nth-child(5n + 1) { grid-column: span 2; }

.bento:not(.bento--custom) > :last-child:nth-child(5n + 2),
.bento:not(.bento--custom) > :last-child:nth-child(5n + 4) { grid-column: span 2; }

.bento--custom > [data-size='wide'],
.bento--custom > [data-size='large'],
.bento--custom > [data-size='banner'] { grid-column: span 2; }

@media (max-width: 749px) {
  .bento > * .collection-card__content { padding: 0.8rem 0.8rem 0.75rem; }
  .bento:not(.bento--custom) > :not(:nth-child(5n + 1)) .collection-card__title,
  .bento--custom > :not([data-size='wide'], [data-size='large'], [data-size='banner']) .collection-card__title { font-size: 1rem; }
}

@media (min-width: 750px) {
  .bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: clamp(190px, 21vw, 330px);
    gap: var(--grid-gap);
  }

  .bento:not(.bento--custom) > * { grid-column: span 3; }
  .bento:not(.bento--custom) > :last-child:nth-child(5n + 2),
  .bento:not(.bento--custom) > :last-child:nth-child(5n + 4) { grid-column: span 3; }

  .bento:not(.bento--custom) > :nth-child(5n + 1) {
    grid-column: span 6;
    grid-row: span 2;
  }

  /* When the last group is incomplete, share the row evenly instead of leaving gaps. */
  .bento:not(.bento--custom) > :nth-child(5n + 1):nth-last-child(1) {
    grid-column: span 12;
    grid-row: span 1;
  }

  .bento:not(.bento--custom) > :nth-child(5n + 1):nth-last-child(2),
  .bento:not(.bento--custom) > :nth-child(5n + 1):nth-last-child(2) ~ * {
    grid-column: span 6;
    grid-row: span 1;
  }

  .bento:not(.bento--custom) > :nth-child(5n + 1):nth-last-child(3),
  .bento:not(.bento--custom) > :nth-child(5n + 1):nth-last-child(3) ~ * {
    grid-column: span 4;
    grid-row: span 1;
  }

  .bento:not(.bento--custom) > :nth-child(5n + 1):nth-last-child(4),
  .bento:not(.bento--custom) > :nth-child(5n + 1):nth-last-child(4) ~ * {
    grid-column: span 3;
    grid-row: span 1;
  }

  .bento:not(.bento--custom) > :nth-child(5n + 1) .collection-card__title,
  .bento--custom > [data-size='large'] .collection-card__title,
  .bento--custom > [data-size='banner'] .collection-card__title { font-size: calc(var(--heading-scale) * 2rem); }

  /* Merchant-chosen sizes sit on thirds of the row. */
  .bento--custom { grid-auto-rows: clamp(170px, 17.5vw, 270px); }
  .bento--custom > * { grid-column: span 4; grid-row: span 1; }
  .bento--custom > [data-size='tall'] { grid-row: span 2; }
  .bento--custom > [data-size='wide'] { grid-column: span 8; }
  .bento--custom > [data-size='large'] { grid-column: span 8; grid-row: span 2; }
  .bento--custom > [data-size='banner'] { grid-column: span 12; grid-row: span 2; }
}

/* Video reels --------------------------------------------------------- */

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

.reel__media {
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-card);
  background: #000;
  isolation: isolate;
}

.reel__toggle {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 0;
  border: 0;
  background: none;
}

.reel__sound {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  background: rgb(0 0 0 / 0.45);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.reel__sound:hover { background: rgb(0 0 0 / 0.7); }
.reel__sound .icon { width: 18px; height: 18px; }
.reel__sound-on,
.reel.is-unmuted .reel__sound-off { display: none; }
.reel.is-unmuted .reel__sound-on { display: block; }

.reel__author {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  max-width: calc(100% - 20px);
  padding: 0.3em 0.7em;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.5);
  color: #fff;
  font-size: 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.reel__product {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem;
  border-radius: calc(var(--radius-card) * 0.8);
  background: rgb(var(--c-text) / 0.05);
  transition: background-color 0.2s;
}

.reel__product:hover { background: rgb(var(--c-text) / 0.1); }

.reel__product-image {
  width: 52px;
  aspect-ratio: 1;
  border-radius: 9px;
  flex-shrink: 0;
}

.reel__product-text { display: grid; gap: 0.1rem; min-width: 0; }

.reel__product-title {
  font-size: 0.875rem;
  font-weight: var(--font-body-bold);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.reel__product-price { font-size: 0.95rem; color: rgb(var(--c-text) / 0.75); }

/* Feature list -------------------------------------------------------- */

.features {
  display: grid;
  gap: 1.75rem var(--grid-gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 990px) {
  .features { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 2.75rem 2.5rem; }
}

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

.feature__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgb(var(--c-accent));
  color: rgb(var(--c-accent-label));
}

.feature__icon .icon { width: 26px; height: 26px; }
.feature__icon img { width: 30px; height: 30px; object-fit: contain; }
.feature__description { margin-top: 0.35rem; color: rgb(var(--c-text) / 0.72); font-size: 0.975rem; }

.features--inline { gap: 1.25rem 2rem; }

.features--inline .feature {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.9rem;
}

.features--inline .feature__icon {
  width: 44px;
  height: 44px;
  background: rgb(var(--c-text) / 0.07);
  color: rgb(var(--c-text));
}

.features--inline .feature__icon .icon { width: 22px; height: 22px; }
.features--inline .feature__title { font-size: 1rem; }
.features--inline .feature__description { margin-top: 0.1rem; font-size: 0.875rem; }

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

/* FAQ ----------------------------------------------------------------- */

.faq { display: grid; gap: 2rem; }
.faq__intro { display: grid; gap: 1rem; justify-items: start; align-content: start; }
.faq__text { color: rgb(var(--c-text) / 0.72); max-width: 42ch; }

@media (min-width: 990px) {
  .faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 4rem; }
  .faq__intro { position: sticky; top: calc(var(--header-height, 76px) + 28px); }
}

/* Media cards --------------------------------------------------------- */

.media-card { display: grid; gap: 1.1rem; align-content: start; }
.media-card__media { aspect-ratio: var(--ratio, 4 / 5); }
.media-card__media img,
.media-card__media video { transition: transform 0.9s var(--ease); }
.media-card:hover .media-card__media img,
.media-card:hover .media-card__media video { transform: scale(1.04); }
.media-card__body { display: grid; gap: 0.6rem; justify-items: start; }
.media-card__text { color: rgb(var(--c-text) / 0.75); }

@media (max-width: 749px) {
  .media-cards { gap: 2rem; }
  .media-card__media { aspect-ratio: 4 / 3; }
}

/* Image or video with text -------------------------------------------- */

.split {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.split__media { aspect-ratio: var(--ratio, 1); max-height: 82vh; width: 100%; }
.split__content { display: grid; gap: 1.1rem; justify-items: start; }
.split__eyebrow { font-size: 1.05rem; color: rgb(var(--c-text) / 0.68); }
.split__text { color: rgb(var(--c-text) / 0.78); max-width: 54ch; }
.split__points { display: grid; gap: 0.7rem; }
.split__point { display: flex; gap: 0.7rem; align-items: flex-start; }
.split__point-icon { color: rgb(var(--c-button)); flex-shrink: 0; }
.split__point-icon .icon { width: 22px; height: 22px; }

@media (min-width: 990px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); }
  .split--wide { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .split--narrow { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .split--media-right .split__media { order: 2; }
  .split--media-right.split--wide { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .split--media-right.split--narrow { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}

/* Rich text ----------------------------------------------------------- */

.rich-text { display: grid; gap: 1.1rem; justify-items: start; }
.rich-text--center { justify-items: center; text-align: center; }
.rich-text--center .cluster { justify-content: center; }
.rich-text__eyebrow { color: rgb(var(--c-text) / 0.68); font-size: 1.05rem; }
.rich-text__text { color: rgb(var(--c-text) / 0.8); max-width: 62ch; }
.rich-text__studs { width: min(220px, 60%); }

/* Scrolling text ------------------------------------------------------ */

.marquee {
  overflow: hidden;
  padding-block: var(--pt, 16px) var(--pb, 16px);
  background-color: rgb(var(--c-bg));
  background-image: var(--c-bg-gradient);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-duration, 30s) linear infinite;
}

.marquee__track--right { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__group,
.marquee__repeat {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee__item { padding-inline: clamp(0.9rem, 2vw, 1.75rem); white-space: nowrap; }

.marquee__separator {
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  flex-shrink: 0;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Email signup -------------------------------------------------------- */

.newsletter { display: grid; gap: 1rem; justify-items: center; }
.newsletter__text { color: rgb(var(--c-text) / 0.75); }
.newsletter__form { width: min(520px, 100%); margin-top: 0.5rem; }

/* Numbers ------------------------------------------------------------- */

.stats {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  text-align: center;
}

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

.stat { display: grid; gap: 0.5rem; }
.stat__value { font-variant-numeric: tabular-nums; }
.stat__label { font-size: 1.1rem; color: rgb(var(--c-text) / 0.7); }

/* Customer quotes ----------------------------------------------------- */

.testimonial {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: var(--radius-card);
  background: rgb(var(--c-bg));
  box-shadow: inset 0 0 0 1.5px rgb(var(--c-text) / 0.1);
}

.testimonial__quote { color: rgb(var(--c-text) / 0.82); }
.testimonial__author { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.4rem; font-size: 0.95rem; }
.testimonial__avatar { width: 44px; aspect-ratio: 1; border-radius: 50%; flex-shrink: 0; }
.testimonial__detail { display: block; font-size: 0.85rem; }

/* Banner -------------------------------------------------------------- */

.banner {
  position: relative;
  display: grid;
  overflow: hidden;
  isolation: isolate;
}

.banner--contained { border-radius: var(--radius-media); }
.banner--adapt { aspect-ratio: var(--ar-mobile); }
.banner--small { min-height: 300px; }
.banner--medium { min-height: 420px; }
.banner--large { min-height: 540px; }

@media (min-width: 750px) {
  .banner--adapt { aspect-ratio: var(--ar); }
  .banner--small { min-height: 340px; }
  .banner--medium { min-height: 480px; }
  .banner--large { min-height: 640px; }
}

.banner__media,
.banner__overlay,
.banner__link { position: absolute; inset: 0; }

.banner__media { z-index: -2; }

.banner__media img,
.banner__media video,
.banner__media svg {
  width: 100%;
  height: 116%;
  margin-top: -8%;
  object-fit: cover;
  transform: translateY(var(--parallax, 0%));
  will-change: transform;
}

.banner__media:not([data-parallax]) img,
.banner__media:not([data-parallax]) video { height: 100%; margin-top: 0; transform: none; }

.banner__overlay { z-index: -1; background: rgb(0 0 0 / var(--overlay, 0.3)); }
.banner__link { z-index: 1; }

.banner__content {
  position: relative;
  display: flex;
  padding-block: clamp(2rem, 6vw, 4.5rem);
  pointer-events: none;
}

.banner--contained .banner__content { padding-inline: clamp(1.5rem, 5vw, 4.5rem); }
.banner--middle-left .banner__content { align-items: center; }
.banner--bottom-left .banner__content { align-items: flex-end; }
.banner--middle-center .banner__content { align-items: center; justify-content: center; text-align: center; }
.banner--bottom-center .banner__content { align-items: flex-end; justify-content: center; text-align: center; }

.banner__box {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
  justify-items: start;
  max-width: min(600px, 100%);
  pointer-events: auto;
}

.banner--middle-center .banner__box,
.banner--bottom-center .banner__box { justify-items: center; }
.banner--middle-center .cluster,
.banner--bottom-center .cluster { justify-content: center; }
.banner__eyebrow { color: rgb(var(--c-accent)); font-size: 1.1rem; }
.banner__text { font-size: 1.1rem; max-width: 46ch; }

/* Before and after ---------------------------------------------------- */

.compare {
  display: block;
  aspect-ratio: var(--ratio, 1.5);
  touch-action: pan-y;
  user-select: none;
}

.compare__layer { position: absolute; inset: 0; }
.compare__layer img,
.compare__layer svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__layer--before { clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0); }
.compare__label { position: absolute; bottom: 14px; }
.compare__label--before { left: 14px; }
.compare__label--after { right: 14px; }

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.15);
  pointer-events: none;
}

.compare__handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.25);
}

.compare__handle .icon {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  color: #000;
  stroke-width: 2.4;
}

.compare__handle .icon--chevron-left { left: -17px; }
.compare__handle .icon--chevron-right { right: -17px; }

.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

/* Scrolling story ----------------------------------------------------- */

.story { display: grid; gap: 1.5rem; }
.story__media { aspect-ratio: 4 / 3; }
.story__step { display: grid; gap: 0.9rem; justify-items: start; padding-bottom: 2.5rem; }
.story__number { font-size: 1.1rem; color: rgb(var(--c-accent)); }
.story__eyebrow { color: rgb(var(--c-text) / 0.68); }
.story__text { color: rgb(var(--c-text) / 0.8); max-width: 52ch; }
.story__progress { display: none; }

@media (min-width: 990px) {
  .story {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    column-gap: clamp(3rem, 7vw, 7rem);
    row-gap: 0;
    align-items: start;
  }

  .story__media {
    grid-column: 1;
    grid-row: 1 / span var(--steps, 3);
    position: sticky;
    top: calc(var(--header-height, 76px) + 28px);
    height: calc(100vh - var(--header-height, 76px) - 56px);
    max-height: 760px;
    aspect-ratio: auto;
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
  }

  .story__media.is-active { opacity: 1; transform: none; z-index: 1; }

  .story__step {
    grid-column: 2;
    min-height: 64vh;
    align-content: center;
    padding-block: 3rem;
    opacity: 0.3;
    transition: opacity 0.5s;
  }

  .story__step.is-active { opacity: 1; }
  .story--media-right .story__media { grid-column: 2; }
  .story--media-right .story__step { grid-column: 1; }

  .story__progress {
    display: block;
    grid-column: 2;
    position: sticky;
    bottom: 28px;
    width: calc(var(--pitch) * var(--steps, 3));
    --stud-fill: var(--c-accent);
  }

  .story--media-right .story__progress { grid-column: 1; }
}

/* Quick links --------------------------------------------------------- */

.pills__heading { margin-bottom: 0.75rem; color: rgb(var(--c-text) / 0.65); }

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

.pills--center { justify-content: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.3rem 1.05rem;
  border: 1.5px solid rgb(var(--c-text) / 0.16);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 0.98rem;
  line-height: 1.1;
  white-space: nowrap;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s, transform 0.25s var(--ease);
}

.pill:hover { border-color: rgb(var(--c-text)); transform: translateY(-1px); }
.pill.is-current { background: rgb(var(--c-text)); border-color: rgb(var(--c-text)); color: rgb(var(--c-bg)); }
.pill__image { width: 32px; aspect-ratio: 1; border-radius: 50%; margin-left: -0.6rem; flex-shrink: 0; }

@media (max-width: 749px) {
  .section .pills:not(.pills--center):not(.cart-empty__links) {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .section .pills::-webkit-scrollbar { display: none; }
}

/* Product specifications ---------------------------------------------- */

.spec-plate--large .spec-plate__item { padding: 1.4rem 1.6rem 1.3rem; }
.spec-plate--large .spec-plate__value { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.9rem); }
.spec-table { margin-top: 1.5rem; border-top: 1px solid rgb(var(--c-text) / 0.14); }
.spec-table--flush { margin-top: 0; border-top: 0; }
.spec-table--flush .spec-table__row:last-child { border-bottom: 0; }

.spec-table__row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgb(var(--c-text) / 0.14);
}

.spec-table__row dt { color: rgb(var(--c-text) / 0.68); }
.spec-table__row dd { font-weight: var(--font-body-bold); text-align: right; }

/* ==========================================================================
   5. Product page
   ========================================================================== */

.product {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.product__gallery { min-width: 0; }
.product__info { display: grid; gap: 1.15rem; min-width: 0; align-content: start; }
.product__block:empty { display: none; }
.product__specs-below { margin-top: 0.9rem; }

/* Only takes room when Shopify actually prints installment terms. */
.product__block--installments { display: none; font-size: 0.95rem; color: rgb(var(--c-text) / 0.75); }
.product__block--installments:has(shopify-payment-terms) { display: block; }

@media (min-width: 990px) {
  .product {
    grid-template-columns: minmax(0, var(--gallery-width, 55%)) minmax(0, 1fr);
    gap: clamp(2rem, 4.5vw, 4.5rem);
  }

  .product--sticky .product__info {
    position: sticky;
    top: calc(var(--header-height, 76px) + 24px);
  }

  /* Price on the same line as the title, when it is the block right after it. */
  .product__info:has(> .product__block--title + .product__block--price-beside) { grid-template-columns: minmax(0, 1fr) auto; }
  .product__info:has(> .product__block--title + .product__block--price-beside) > * { grid-column: 1 / -1; }
  .product__info > .product__block--title:has(+ .product__block--price-beside) { grid-column: 1; }

  .product__info > .product__block--title + .product__block--price-beside {
    grid-column: 2;
    align-self: start;
    justify-self: end;
    padding-top: 0.25rem;
  }

  /* Stacked and right-aligned so a long title keeps most of the line. */
  .product__block--price-beside .product__price { flex-direction: column; align-items: flex-end; gap: 0.3rem; }
  .product__block--price-beside .price { flex-direction: column; align-items: flex-end; gap: 0.1em; }
  .product__block--price-beside .price--large { font-size: clamp(1.5rem, 1.25rem + 0.7vw, 1.85rem); }
  .product__block--price-beside .price__compare { font-size: 0.62em; }

  .product--grid.product--sticky .product__gallery { position: static; }
}

.product__vendor { margin-bottom: 0.4rem; color: rgb(var(--c-text) / 0.6); }
.product__price { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; }
.product__tax { margin-top: 0.3rem; }
.product__tax a { text-decoration: underline; text-underline-offset: 3px; }

.reviews-link { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.95rem; }
a.reviews-link:hover .reviews-link__text { text-decoration: underline; text-underline-offset: 3px; }
.reviews-link__text { font-weight: var(--font-body-bold); }

.checklist { display: grid; gap: 0.55rem; }
.checklist__item { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: var(--font-body-bold); line-height: 1.4; }
.checklist__item .icon { width: 21px; height: 21px; margin-top: 0.05em; color: rgb(var(--c-button)); }

.highlight {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-card);
  background-color: rgb(var(--c-bg));
  background-image: var(--c-bg-gradient);
}

.highlight__heading { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 1.05rem; }
.highlight__heading .icon { width: 20px; height: 20px; }
.highlight__text { font-size: 0.95rem; }

/* Variants */

.variant-picker { display: grid; gap: 1rem; }
.variant-picker__option { margin: 0; padding: 0; border: 0; min-width: 0; }
.variant-picker__label { display: block; margin-bottom: 0.55rem; padding: 0; font-size: 0.95rem; color: rgb(var(--c-text) / 0.7); }
.variant-picker__current { color: rgb(var(--c-text)); font-weight: var(--font-body-bold); }
.variant-picker__values { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.variant-picker__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 46px;
  padding: 0.4rem 1rem;
  border: 1.5px solid rgb(var(--c-text) / 0.2);
  border-radius: 12px;
  font-weight: var(--font-body-bold);
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}

.variant-picker__pill:hover { border-color: rgb(var(--c-text)); }
.variant-picker__input:checked + .variant-picker__pill { background: rgb(var(--c-text)); border-color: rgb(var(--c-text)); color: rgb(var(--c-bg)); }
.variant-picker__input:focus-visible + .variant-picker__pill { outline: 2px solid rgb(var(--c-text)); outline-offset: 3px; }
.variant-picker__pill.is-unavailable { text-decoration: line-through; color: rgb(var(--c-text) / 0.45); border-style: dashed; }
.variant-picker__input:checked + .variant-picker__pill.is-unavailable { color: rgb(var(--c-bg) / 0.7); }

/* Buy buttons */

.buy-buttons__form { display: grid; gap: 0.75rem; }
.buy-buttons__row { display: flex; gap: 0.75rem; }
.buy-buttons__submit { flex: 1; min-width: 0; }
.buy-buttons .button--primary { min-height: 56px; font-size: 1.15rem; }
.buy-buttons .quantity { height: 56px; }
.buy-buttons__dynamic .shopify-payment-button__button { border-radius: var(--radius-button); overflow: hidden; min-height: 52px; }
.buy-buttons__dynamic .shopify-payment-button__more-options { margin-top: 0.6rem; font-size: 0.875rem; text-decoration: underline; }

.inventory { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; font-weight: var(--font-body-bold); }

.inventory__dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(var(--c-success));
  flex-shrink: 0;
}

.inventory--in .inventory__dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgb(var(--c-success) / 0.5);
  animation: pulse 2.2s ease-out infinite;
}

.inventory--low .inventory__dot { background: #d97706; }
.inventory--out .inventory__dot { background: rgb(var(--c-text) / 0.35); }

@keyframes pulse {
  from { transform: scale(0.6); opacity: 1; }
  to { transform: scale(1.5); opacity: 0; }
}

.delivery { display: flex; align-items: center; gap: 0.65rem; font-size: 0.95rem; color: rgb(var(--c-text) / 0.8); }
.delivery .icon { width: 22px; height: 22px; }
.delivery b { color: rgb(var(--c-text)); }

.trust-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1rem;
  padding: 1rem 0;
  border-block: 1px solid rgb(var(--c-text) / 0.12);
  font-size: 0.9rem;
}

.trust-row__item { display: flex; align-items: center; gap: 0.55rem; line-height: 1.3; }
.trust-row__item .icon { width: 20px; height: 20px; color: rgb(var(--c-text) / 0.75); }

.complementary__heading { margin-bottom: 0.75rem; }
.complementary__list { display: grid; gap: 0.6rem; }

.product-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem;
  border-radius: calc(var(--radius-card) * 0.85);
  background: rgb(var(--c-text) / 0.045);
}

.product-row__image { width: 64px; aspect-ratio: 1; border-radius: 10px; flex-shrink: 0; }
.product-row__text { flex: 1; min-width: 0; display: grid; gap: 0.15rem; }

.product-row__title {
  font-size: 0.9rem;
  font-weight: var(--font-body-bold);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.product-row .price { font-size: 1rem; }
.product-row__action { flex-shrink: 0; }
.product-row__action .button { min-height: 36px; padding: 0.3em 0.85em; font-size: 0.9rem; }
.product-row__action .button .icon { width: 14px; height: 14px; stroke-width: 2.2; }

.product-accordion { border-bottom: 1px solid rgb(var(--c-text) / 0.14); }
.product__block:not(.product-accordion) + .product-accordion,
.product-accordion:first-child { border-top: 1px solid rgb(var(--c-text) / 0.14); }
.product__info > .product-accordion + .product-accordion { margin-top: -1.15rem; }

.share-button { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; }
.share-button .icon { width: 18px; height: 18px; }

/* Gallery */

.gallery { display: grid; gap: 0.75rem; min-width: 0; }
.gallery__viewport { position: relative; min-width: 0; }

.gallery__list {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius-card);
}

.gallery__list::-webkit-scrollbar { display: none; }

.gallery__item {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.gallery__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: var(--radius-card);
  background: rgb(var(--c-text) / 0.045);
  overflow: hidden;
}

.gallery__media img,
.gallery__media video,
.gallery__media iframe,
.gallery__media svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: var(--media-fit, contain);
}

.gallery__media--zoom { cursor: zoom-in; }
.gallery__media--video video,
.gallery__media--video iframe { object-fit: contain; background: #000; }

.gallery__zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgb(var(--c-bg) / 0.9);
  opacity: 0;
  transition: opacity 0.25s;
}

.gallery__zoom-hint .icon { width: 18px; height: 18px; }

@media (hover: hover) {
  .gallery__media--zoom:hover .gallery__zoom-hint { opacity: 1; }

  .gallery[data-hover-zoom='true'] .gallery__media--zoom img { transition: transform 0.35s var(--ease); transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%); }
  .gallery[data-hover-zoom='true'] .gallery__media--zoom:hover img { transform: scale(1.9); }
}

.gallery__nav {
  position: absolute;
  left: 50%;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateX(-50%);
  pointer-events: none;
}

.gallery__nav > * { pointer-events: auto; }
.gallery__arrow { width: 38px; height: 38px; }
.gallery__arrow .icon { width: 17px; height: 17px; stroke-width: 2.1; }

.gallery__counter {
  padding: 0.35em 0.8em;
  border-radius: 999px;
  background: rgb(var(--c-bg) / 0.92);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.12);
}

.gallery__thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  order: 2;
}

.gallery__thumbs::-webkit-scrollbar { display: none; }

.gallery__thumb {
  position: relative;
  flex: 0 0 64px;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgb(var(--c-text) / 0.045);
  overflow: hidden;
  opacity: 0.6;
  transition: opacity 0.2s, box-shadow 0.2s;
}

.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { opacity: 1; box-shadow: inset 0 0 0 2px rgb(var(--c-text)); }

.gallery__thumb-badge {
  position: absolute;
  inset: auto 4px 4px auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgb(0 0 0 / 0.6);
  color: #fff;
}

.gallery__thumb-badge .icon { width: 11px; height: 11px; }

@media (max-width: 989px) {
  .gallery__arrow { display: none; }

  .gallery__list {
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    border-radius: 0;
  }

  .gallery__item { flex-basis: 92%; }
  .gallery--single .gallery__item { flex-basis: 100%; }
}

@media (min-width: 990px) {
  .gallery--thumbs { grid-template-columns: 76px minmax(0, 1fr); align-items: start; }
  .gallery--thumbs.gallery--single { grid-template-columns: minmax(0, 1fr); }

  .gallery--thumbs .gallery__thumbs {
    order: 0;
    flex-direction: column;
    overflow-x: visible;
    overflow-y: auto;
    max-height: min(80vh, 760px);
  }

  .gallery--thumbs .gallery__thumb { flex: 0 0 auto; width: 100%; }

  .gallery--grid .gallery__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    border-radius: 0;
  }

  .gallery--grid .gallery__item:first-child { grid-column: 1 / -1; }
  .gallery--grid.gallery--single .gallery__list { grid-template-columns: minmax(0, 1fr); }
  .gallery--grid .gallery__thumbs,
  .gallery--grid .gallery__nav { display: none; }
}

/* Lightbox */

.lightbox { padding: 0; z-index: 140; }
.lightbox .modal__overlay { background: rgb(0 0 0 / 0.92); }
.lightbox__panel { position: relative; width: 100%; height: 100%; outline: none; }
.lightbox__close { position: absolute; top: 14px; right: 14px; z-index: 2; }

.lightbox__track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.lightbox__track::-webkit-scrollbar { display: none; }

.lightbox__slide {
  flex: 0 0 100%;
  display: grid;
  place-items: center;
  padding: clamp(12px, 4vw, 56px);
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.lightbox__slide img,
.lightbox__slide video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 8px; }

.lightbox__count {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  padding: 0.35em 0.9em;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.14);
  color: #fff;
  font-variant-numeric: tabular-nums;
}

/* Sticky add to cart bar */

.sticky-atc {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 105;
  display: block;
  background: rgb(var(--c-bg));
  border-top: 1px solid rgb(var(--c-text) / 0.1);
  box-shadow: 0 -10px 30px -18px rgb(0 0 0 / 0.4);
  transform: translateY(105%);
  transition: transform 0.45s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}

.sticky-atc.is-visible { transform: none; }

.sticky-atc__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
}

.sticky-atc__product { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.sticky-atc__image { width: 52px; aspect-ratio: 1; border-radius: 10px; flex-shrink: 0; }
.sticky-atc__text { display: grid; gap: 0.1rem; min-width: 0; }
.sticky-atc__title { font-weight: var(--font-body-bold); font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-atc .price { font-size: 1rem; }
.sticky-atc__form { flex-shrink: 0; }
.sticky-atc .button { min-height: 46px; }

@media (max-width: 749px) {
  .sticky-atc__image,
  .sticky-atc__title { display: none; }
  .sticky-atc__form { flex: 1; }
  .sticky-atc__form .button { width: 100%; }
}

.has-sticky-atc .toasts { bottom: 90px; }

/* Quick view */

.quick-view {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1rem, 3vw, 2rem);
}

@media (min-width: 750px) {
  .quick-view { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
}

.quick-view .gallery__list { margin-inline: 0; padding-inline: 0; border-radius: var(--radius-card); }
.quick-view .gallery__item { flex-basis: 100%; }
.quick-view__info { padding-right: 1.5rem; }
.quick-view__more { justify-self: start; font-size: 0.95rem; }

/* ==========================================================================
   6. Collection and search
   ========================================================================== */

.collection-hero {
  position: relative;
  display: grid;
  background-color: rgb(var(--c-bg));
  background-image: var(--c-bg-gradient);
  isolation: isolate;
  overflow: hidden;
}

.collection-hero--media { min-height: var(--hero-h-mobile, 200px); }
.collection-hero--plain { padding-block: clamp(1.75rem, 4vw, 3rem) 0.5rem; }

@media (min-width: 750px) {
  .collection-hero--media { min-height: var(--hero-h, 380px); }
}

.collection-hero__media,
.collection-hero__overlay { position: absolute; inset: 0; z-index: -1; }

.collection-hero__media img,
.collection-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos-mobile, center);
  animation: hero-settle 1.6s var(--ease) both;
}

@media (min-width: 750px) {
  .collection-hero__media img,
  .collection-hero__media video { object-position: var(--pos, center); }
}

@keyframes hero-settle {
  from { transform: scale(1.06); }
}

.collection-hero__overlay { --a: var(--ov-mobile, 0.5); }
.collection-hero__overlay--m-solid { background: rgb(0 0 0 / var(--a)); }
.collection-hero__overlay--m-left { background: linear-gradient(90deg, rgb(0 0 0 / var(--a)), rgb(0 0 0 / calc(var(--a) * 0.55)) 55%, rgb(0 0 0 / 0)); }
.collection-hero__overlay--m-bottom { background: linear-gradient(0deg, rgb(0 0 0 / var(--a)), rgb(0 0 0 / calc(var(--a) * 0.55)) 55%, rgb(0 0 0 / 0)); }

@media (min-width: 750px) {
  .collection-hero__overlay { --a: var(--ov, 0.5); }
  .collection-hero__overlay--d-solid { background: rgb(0 0 0 / var(--a)); }
  .collection-hero__overlay--d-left { background: linear-gradient(90deg, rgb(0 0 0 / var(--a)), rgb(0 0 0 / calc(var(--a) * 0.55)) 55%, rgb(0 0 0 / 0)); }
  .collection-hero__overlay--d-bottom { background: linear-gradient(0deg, rgb(0 0 0 / var(--a)), rgb(0 0 0 / calc(var(--a) * 0.55)) 55%, rgb(0 0 0 / 0)); }
}

.collection-hero__content {
  display: flex;
  padding-block: clamp(1.25rem, 4vw, 3rem);
}

.collection-hero--mv-middle .collection-hero__content { align-items: center; }
.collection-hero--mv-bottom .collection-hero__content { align-items: flex-end; }

@media (min-width: 750px) {
  .collection-hero--v-middle .collection-hero__content { align-items: center; }
  .collection-hero--v-bottom .collection-hero__content { align-items: flex-end; }
}

.collection-hero--plain .collection-hero__content { padding-block: 0; }

.collection-hero__box {
  display: grid;
  gap: 0.75rem;
  max-width: min(680px, 100%);
  animation: rise-in 0.9s var(--ease) both 0.1s;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
}

.collection-hero--mh-center .collection-hero__content { justify-content: center; text-align: center; }
.collection-hero--mh-center .breadcrumbs { justify-content: center; }

@media (min-width: 750px) {
  .collection-hero--h-left .collection-hero__content { justify-content: flex-start; text-align: left; }
  .collection-hero--h-left .breadcrumbs { justify-content: flex-start; }
  .collection-hero--h-center .collection-hero__content { justify-content: center; text-align: center; }
  .collection-hero--h-center .breadcrumbs { justify-content: center; }
}

.collection-hero__description { color: rgb(var(--c-text) / 0.85); max-width: 60ch; }
.collection-hero__count { color: rgb(var(--c-text) / 0.75); }

/* Toolbar */

.collection { display: block; }

.collection__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.collection__filter-toggle .icon { width: 18px; height: 18px; }
.collection__count { font-size: 0.95rem; }
.collection__tools { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.collection__density { display: flex; }
.collection__density .icon-button { width: 40px; height: 40px; color: rgb(var(--c-text) / 0.4); }
.collection__density .icon-button[aria-pressed='true'] { color: rgb(var(--c-text)); }
.collection__density .icon { width: 20px; height: 20px; }

/* Phones: filtering and sorting live behind the floating button, so the toolbar keeps only
   the product count and the view switch. */
@media (max-width: 749.98px) {
  .collection__toolbar .collection__filter-toggle,
  .collection__toolbar .collection__sort { display: none; }
  .collection__count { font-size: 0.9rem; }
}

.collection--no-filters .collection__filter-toggle { display: none; }

.collection__filter-count,
.facets-fab__count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgb(var(--c-accent));
  color: rgb(var(--c-accent-label));
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.collection__filter-count[hidden],
.facets-fab__count[hidden] { display: none; }
}

.select--small {
  min-height: 42px;
  padding-block: 0.35em;
  padding-left: 0.9em;
  border-radius: 999px;
  font-size: 0.95rem;
}

.collection__active:empty { display: none; }
.collection__active { margin-bottom: 1.25rem; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgb(var(--c-text) / 0.07);
  font-size: 0.875rem;
  transition: background-color 0.2s;
}

a.chip:hover { background: rgb(var(--c-text) / 0.14); }
.chip .icon { width: 14px; height: 14px; stroke-width: 2.2; }
.chip__remove { display: grid; place-items: center; padding: 2px; border: 0; background: none; }
.chips__clear { margin-left: 0.4rem; font-size: 0.875rem; }

.collection__main { min-width: 0; transition: opacity 0.25s; }
.collection.is-loading .collection__main { opacity: 0.45; pointer-events: none; }

/* Product grid */

.product-grid[data-density='large'] { --cols: var(--cols-large, 3); --cols-mobile: 1; }
.product-grid__item { min-width: 0; }

.product-grid__promo {
  grid-column: span 2;
  min-height: 220px;
}

@media (min-width: 750px) {
  .product-grid__promo {
    grid-column: span var(--col-span, 2);
    grid-row: span var(--row-span, 1);
  }
}

.promo-tile {
  position: relative;
  display: block;
  height: 100%;
  min-height: inherit;
  border-radius: var(--radius-card);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}

.promo-tile__media { position: absolute; inset: 0; background: #0b0b0b; }
.promo-tile__media img,
.promo-tile__media video { transition: transform 0.9s var(--ease); }
a.promo-tile:hover .promo-tile__media img,
a.promo-tile:hover .promo-tile__media video { transform: scale(1.04); }

.promo-tile__content {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 0.6rem;
  justify-items: start;
  padding: 3rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgb(0 0 0 / 0.78), transparent);
}

.promo-tile__title { color: #fff; }
.promo-tile__eyebrow { color: rgb(255 255 255 / 0.85); }

/* Without a picture the tile becomes a studded brand plate. */
.promo-tile--plain { background: rgb(var(--c-button)); }

.promo-tile--plain::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, rgb(255 255 255 / 0.17) 0 8px, transparent 8.5px) 0 0 / 30px 30px;
  -webkit-mask-image: linear-gradient(205deg, #000 8%, transparent 68%);
  mask-image: linear-gradient(205deg, #000 8%, transparent 68%);
}

.promo-tile--plain .promo-tile__content { background: none; padding-top: 1.25rem; }

/* Filter and sort panel ---------------------------------------------------
   A sheet from the bottom edge on phones, a floating panel beside the products on larger
   screens. Rows are either a switch or a group that opens. */

.facets .drawer__panel {
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  max-height: min(86vh, 720px);
  max-height: min(86dvh, 720px);
  border-radius: 20px 20px 0 0;
  transform: translateY(102%);
}

@media (min-width: 750px) {
  .facets .drawer__panel {
    top: 12px;
    right: auto;
    bottom: 12px;
    left: 12px;
    width: min(420px, calc(100vw - 24px));
    max-height: none;
    border-radius: 18px;
    transform: translateX(calc(-100% - 24px));
  }
}

.facets.is-open > .drawer__panel { transform: none; }

.facets__header { padding-block: 1.1rem; }
.facets__header-actions { display: flex; align-items: center; gap: 0.75rem; }
.facets__clear { font-size: 0.9rem; }
.facets__clear[hidden] { display: none; }
.facets__title-wide { display: none; }

@media (min-width: 750px) {
  .facets__title-phone { display: none; }
  .facets__title-wide { display: inline; }
  /* Sorting stays in the toolbar on larger screens; the choice is still part of the form. */
  .facet--sort { display: none; }
}

.facets__form { padding-block: 0.25rem 1.25rem; }
.facets__footer { border-top: 0; padding-top: 0.75rem; }
.facets__apply { min-height: 54px; font-size: 1rem; }

.facet { border-bottom: 1px solid rgb(var(--c-text) / 0.1); }

.facet__summary,
.facet__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 62px;
  padding: 0.75rem 0;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

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

.facet__chevron {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgb(var(--c-text) / 0.08);
  transition: transform 0.3s var(--ease), background-color 0.2s;
}

.facet__chevron .icon { width: 12px; height: 12px; stroke-width: 2.6; }
.facet__summary:hover .facet__chevron { background: rgb(var(--c-text) / 0.14); }
.facet[open] > .facet__summary .facet__chevron { transform: rotate(180deg); }

.facet__active-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  margin-left: 0.3rem;
  border-radius: 999px;
  background: rgb(var(--c-button));
  color: rgb(var(--c-button-label));
  font-size: 0.75rem;
  vertical-align: middle;
}

.facet__content { padding-bottom: 1.2rem; }
.facet__list { display: grid; gap: 0.2rem; max-height: 300px; overflow-y: auto; padding-right: 0.25rem; }
.facet__option { min-height: 40px; font-size: 0.97rem; }
.facet__option.is-disabled { opacity: 0.4; cursor: default; }
.facet__count { color: rgb(var(--c-text) / 0.5); font-size: 0.875rem; }
.facet__swatch { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(var(--c-text) / 0.2); flex-shrink: 0; }
.facet__price { display: flex; align-items: center; gap: 0.6rem; }
.facet__price-field { position: relative; flex: 1; }
.facet__currency { position: absolute; left: 0.9em; top: 50%; transform: translateY(-50%); color: rgb(var(--c-text) / 0.55); pointer-events: none; }
.facet__price .input { padding-left: 2.1em; min-height: 46px; }
.facet__hint { margin-top: 0.6rem; }

/* Switch: a checkbox drawn as a track and a knob. */
.switch {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  flex-shrink: 0;
  width: 46px;
  height: 26px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(var(--c-text) / 0.2);
  cursor: pointer;
  transition: background-color 0.25s;
}

.switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.3);
  transition: transform 0.25s var(--ease), background-color 0.25s;
}

.switch:checked { background: rgb(var(--c-text)); }
.switch:checked::after { transform: translateX(20px); background: rgb(var(--c-accent)); }
.switch:focus-visible { outline: 2px solid rgb(var(--c-text)); outline-offset: 3px; }
.switch:disabled { opacity: 0.4; cursor: default; }

/* The button that opens the panel on phones. It follows the product list and steps aside
   whenever a drawer is open. */
.facets-fab { display: none; }

@media (max-width: 749.98px) {
  .facets-fab {
    position: fixed;
    left: 50%;
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 50px;
    padding: 0 1.3rem 0 1.15rem;
    border: 0;
    border-radius: 999px;
    background: rgb(var(--c-button));
    color: rgb(var(--c-button-label));
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    box-shadow: 0 12px 28px -8px rgb(0 0 0 / 0.5);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 140%);
    transition: transform 0.4s var(--ease), opacity 0.3s;
  }

  .facets-fab .icon { width: 18px; height: 18px; }
  .facets-fab.is-visible { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
  html.scroll-lock .facets-fab { opacity: 0; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  .facets-fab,
  .switch,
  .switch::after { transition: none; }
}

/* Search */

.search-header { display: grid; gap: 1.25rem; margin-bottom: 2rem; }
.search-form { display: flex; gap: 0.5rem; max-width: 640px; }
.search-form .input { flex: 1; min-width: 0; border-radius: 999px; padding-inline: 1.3em; }
.search-form .button { padding-inline: 1.1em; }

.result-card {
  display: grid;
  gap: 0.5rem;
  align-content: end;
  height: 100%;
  min-height: 180px;
  padding: 1.25rem;
  border-radius: var(--radius-card);
  background: rgb(var(--c-text) / 0.045);
}

.result-card__type { color: rgb(var(--c-text) / 0.6); font-size: 0.875rem; }
.search-drawer__inner { display: grid; gap: 1.25rem; padding-block: 1rem 1.75rem; overflow-y: auto; }

.search-drawer__form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid rgb(var(--c-text));
}

.search-drawer__form > .icon { width: 24px; height: 24px; flex-shrink: 0; }

.search-drawer__input {
  flex: 1;
  min-width: 0;
  height: 60px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.9rem);
  outline: none;
}

.search-drawer__input::placeholder { color: rgb(var(--c-text) / 0.35); }
.search-drawer__input::-webkit-search-cancel-button { display: none; }
.search-drawer__clear { font-size: 0.9rem; flex-shrink: 0; }
.search-drawer__default { display: grid; gap: 1.5rem; }
predictive-search.is-loading .search-drawer__form { border-image: linear-gradient(90deg, rgb(var(--c-button)), rgb(var(--c-text))) 1; }

.predictive__heading { margin-bottom: 0.75rem; color: rgb(var(--c-text) / 0.6); }
.predictive__layout { display: grid; gap: 1.5rem; }
.predictive__side { display: grid; gap: 1.25rem; align-content: start; }
.predictive__links { display: grid; gap: 0.45rem; }
.predictive__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.predictive__links mark { background: none; color: inherit; font-weight: var(--font-body-bold); }

.predictive__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 0.75rem;
}

.predictive__product { display: grid; gap: 0.4rem; }
.predictive__image { aspect-ratio: 1; border-radius: var(--radius-card); }
.predictive__image img { transition: transform 0.6s var(--ease); }
.predictive__product:hover .predictive__image img { transform: scale(1.05); }
.predictive__title { font-size: 0.9rem; font-weight: var(--font-body-bold); line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.predictive__price { font-size: 0.95rem; }
.predictive__price s { color: rgb(var(--c-text) / 0.5); font-size: 0.9em; }
.predictive__all { margin-top: 1.25rem; }
.predictive__empty { padding: 1.5rem 0; color: rgb(var(--c-text) / 0.7); }

@media (min-width: 750px) {
  .predictive__layout { grid-template-columns: 220px minmax(0, 1fr); gap: 2.5rem; }
  .predictive__layout > .predictive__products:only-child { grid-column: 1 / -1; }
  .predictive__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ==========================================================================
   7. Cart
   ========================================================================== */

.cart-drawer__content { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.cart-drawer__count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; margin-left: 0.3rem; border-radius: 999px; background: rgb(var(--c-text) / 0.08); font-size: 0.85rem; vertical-align: middle; }
.cart-drawer__meter { padding: 0.9rem 1.25rem; background: rgb(var(--c-text) / 0.04); flex-shrink: 0; }
.cart-drawer .drawer__body { display: grid; gap: 1.5rem; align-content: start; }
.cart-drawer__text { color: rgb(var(--c-text) / 0.7); }

.cart-empty {
  display: grid !important;
  justify-items: center;
  align-content: center;
  gap: 1rem !important;
  text-align: center;
}

.cart-empty__links { margin-top: 0.75rem; }
.cart-lines { display: grid; gap: 1.25rem; }

.cart-line {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: start;
  transition: opacity 0.25s;
}

.cart-line.is-busy { opacity: 0.45; pointer-events: none; }
.cart-line__image { aspect-ratio: 1; border-radius: 12px; }
.cart-line__details { display: grid; gap: 0.3rem; min-width: 0; }
.cart-line__title { font-weight: var(--font-body-bold); font-size: 0.95rem; line-height: 1.3; }
.cart-line__title:hover { text-decoration: underline; text-underline-offset: 3px; }
.cart-line__discount { display: flex; align-items: center; gap: 0.35rem; color: rgb(var(--c-success)); }
.cart-line__discount .icon { width: 14px; height: 14px; }
.cart-line__actions { display: flex; align-items: center; gap: 0.9rem; margin-top: 0.45rem; }
.cart-line__remove { color: rgb(var(--c-text) / 0.6); }
.cart-line__price { display: grid; justify-items: end; gap: 0.1rem; font-size: 1.05rem; white-space: nowrap; }
.cart-line__compare { font-size: 0.85em; color: rgb(var(--c-text) / 0.5); }

.cart-upsell__heading { margin-bottom: 0.25rem; }
.cart-upsell__text { margin-bottom: 0.5rem; }
.cart-upsell__list { display: grid; gap: 0.6rem; margin-top: 0.6rem; }

.cart-summary { display: grid; gap: 0.7rem; }

.cart-summary__discount-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: var(--font-body-bold);
}

.cart-summary__discount-toggle .icon { width: 17px; height: 17px; }
.cart-summary__discount-toggle .icon--chevron-down { width: 13px; height: 13px; margin-left: auto; stroke-width: 2.2; transition: transform 0.3s; }
details[open] > .cart-summary__discount-toggle .icon--chevron-down { transform: rotate(180deg); }
.discount-form { display: flex; gap: 0.5rem; margin-top: 0.7rem; }
.discount-form .input { flex: 1; min-width: 0; min-height: 42px; text-transform: uppercase; }
.discount-form .input::placeholder { text-transform: none; }
.discount-form.is-busy { opacity: 0.5; pointer-events: none; }
.cart-summary__codes { margin-top: 0.6rem; }
.cart-summary [data-discount-error] { margin-top: 0.6rem; }
.cart-summary__note .textarea { margin-top: 0.7rem; min-height: 80px; }
.cart-summary__discounts { display: grid; gap: 0.3rem; font-size: 0.9rem; color: rgb(var(--c-success)); }
.cart-summary__discounts li { display: flex; justify-content: space-between; gap: 1rem; }
.cart-summary__discounts span:first-child { display: inline-flex; align-items: center; gap: 0.35rem; }
.cart-summary__discounts .icon { width: 14px; height: 14px; }
.cart-summary__total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 0.6rem; border-top: 1px solid rgb(var(--c-text) / 0.1); }
.cart-summary__amount { font-family: var(--font-label); font-weight: var(--font-label-weight); font-size: 1.5rem; }
.cart-summary__taxes { margin-top: -0.4rem; }
.cart-summary__checkout { min-height: 56px; font-size: 1.15rem; }
.cart-summary__view { justify-self: center; }
[data-cart-section].is-updating .cart-summary__checkout { opacity: 0.6; pointer-events: none; }

.cart-page__header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.cart-page__layout { display: grid; gap: 2.5rem; align-items: start; }
.cart-page__items { display: grid; gap: 1.75rem; min-width: 0; }
.cart-page__meter { padding: 1rem 1.2rem; border-radius: var(--radius-card); background: rgb(var(--c-text) / 0.04); }

.cart-page__summary {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 2.5vw, 1.9rem);
  border-radius: var(--radius-card);
  background: rgb(var(--c-text) / 0.04);
}

@media (min-width: 990px) {
  .cart-page__layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 4rem; }
  .cart-page__summary { position: sticky; top: calc(var(--header-height, 76px) + 24px); }
  .cart-page .cart-line { grid-template-columns: 112px minmax(0, 1fr) auto; gap: 1.25rem; }
}

/* ==========================================================================
   8. Pages, blog, account
   ========================================================================== */

.main-page-title { margin-bottom: 1.5rem; }
.not-found__code { display: inline-flex; align-items: center; gap: 0.08em; }

.not-found__stud {
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  background: rgb(var(--c-accent));
  box-shadow: inset 0 0 0 0.09em rgb(var(--c-text));
}

.contact-form { display: grid; gap: 1rem; justify-items: start; }
.contact-form > .field,
.contact-form > .contact-form__row,
.contact-form > .form-message { width: 100%; }
.contact-form .field + .field { margin-top: 0; }
.contact-form__row { display: grid; gap: 1rem; }

@media (min-width: 750px) {
  .contact-form__row { grid-template-columns: 1fr 1fr; }
}

.article-card { display: grid; gap: 1rem; }
.article-card__media { aspect-ratio: 3 / 2; }
.article-card__media img { transition: transform 0.8s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.04); }
.article-card__body { display: grid; gap: 0.5rem; }
.article-card__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.article__header { display: grid; gap: 0.75rem; margin-bottom: 2rem; }
.article__image { aspect-ratio: var(--ratio, 1.6); margin-bottom: 2.5rem; }
.article__content { font-size: 1.075rem; }
.article__footer { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(var(--c-text) / 0.12); }

.password {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 2rem var(--gutter);
  background-color: rgb(var(--c-bg));
  text-align: center;
}

.password__inner { display: grid; gap: 1.25rem; justify-items: center; max-width: 560px; }
.password__logo { width: 160px; height: auto; }
.password__form { width: min(440px, 100%); }
.password__login { margin-top: 1.5rem; }
.password__login summary { display: inline-block; font-size: 0.9rem; }

.customer { display: grid; gap: 1.5rem; }
.customer--narrow { max-width: calc(520px + var(--gutter) * 2); }
.customer form { display: grid; gap: 1rem; }
.customer .field + .field { margin-top: 0; }
.customer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 0.5rem; }
.customer__header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.customer__panel { display: grid; gap: 1rem; }
.customer__panel--recover { display: none; }
.customer__panel--recover:target { display: grid; }
.customer__panel--recover:target ~ .customer__panel--login { display: none; }
.customer__grid { display: grid; gap: 2.5rem; align-items: start; }

@media (min-width: 990px) {
  .customer__grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 4rem; }
}

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th,
.table td { padding: 0.8rem 0.75rem; border-bottom: 1px solid rgb(var(--c-text) / 0.12); text-align: left; white-space: nowrap; }
.table thead th { font-family: var(--font-label); font-weight: var(--font-label-weight); color: rgb(var(--c-text) / 0.65); }
.table tfoot th { font-weight: var(--font-body-weight); text-align: right; }

.address-list { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.address { display: grid; gap: 0.75rem; justify-items: start; padding: 1.25rem; border-radius: var(--radius-card); background: rgb(var(--c-text) / 0.04); }
.address--new { background: none; padding: 0; }
.address summary { display: inline-flex; }
.address__form { width: 100%; margin-top: 1.25rem; }
.address details { width: 100%; }

.gift-card {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1.5rem;
  min-height: 100vh;
  padding: 2rem var(--gutter);
  text-align: center;
}

.gift-card__card {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  width: min(460px, 100%);
  padding: 2.5rem 1.5rem;
  border-radius: calc(var(--radius-card) + 8px);
  background: #000;
  color: #fff;
}

.gift-card__card .text-muted { color: rgb(255 255 255 / 0.65); }
.gift-card__code { padding: 0.6em 1em; border-radius: 10px; background: rgb(255 255 255 / 0.12); font-size: 1.25rem; letter-spacing: 0.12em; }

@media print {
  .section-site-header,
  .section-announcement,
  .section-footer,
  .drawer,
  .modal,
  .sticky-atc,
  .gift-card__actions { display: none !important; }
}

/* ==========================================================================
   6. Forge 2: the visual system
   Calm monochrome surfaces, one signal color kept for buying, soft-square
   shapes, a display grotesque over a quiet text face.
   This layer comes last on purpose: it sets the final look of the parts above.
   ========================================================================== */

/* Type roles ---------------------------------------------------------- */

:root {
  /* Interface text (navigation, tabs, chips, card titles) uses the label font. */
  --font-ui: var(--font-label);
  --font-ui-weight: var(--font-label-weight);
  --hairline: rgb(var(--c-text) / 0.12);
}

body { line-height: 1.55; }

h1, h2, h3,
.h1, .h2, .h3 { line-height: 1.05; }

.label { letter-spacing: 0; }
.text-muted { color: rgb(var(--c-text) / 0.62); }
.section-header__sub { color: rgb(var(--c-text) / 0.66); }

/* Shapes: one corner radius for everything you can press -------------- */

.tabs__tab,
.pill,
.chip,
.quick-add,
.select--small,
.localization__toggle,
.pagination__item,
.icon-button,
.toast,
.accordion__toggle,
.search-form .input { border-radius: var(--radius-button); }

.input,
.select,
.textarea,
.quantity,
.variant-picker__pill,
.tabs__tab,
.pill,
.icon-button--outline,
.spec-plate { border-width: 1px; }

.icon-button--outline { border-color: rgb(var(--c-text) / 0.18); }
.icon-button--outline:hover { border-color: rgb(var(--c-text)); background: none; }

/* Buttons ------------------------------------------------------------- */

.button {
  min-height: 48px;
  padding: 0.65em 1.5em;
  font-size: 1rem;
  letter-spacing: 0;
}

.button--small {
  min-height: 40px;
  padding: 0.45em 1.1em;
  font-size: 0.9rem;
}

/* Buying is the one place the signal color is used as a surface. */
.buy-accent [data-buy-button],
.buy-accent .cart-summary__checkout {
  --btn-bg: var(--c-accent);
  --btn-fg: var(--c-accent-label);
  border-color: rgb(var(--c-accent-label));
}

.buy-accent [data-buy-button]:not([disabled]):hover,
.buy-accent .cart-summary__checkout:not([disabled]):hover {
  --btn-bg: var(--c-accent-label);
  --btn-fg: var(--c-accent);
}

.cart-count {
  background: rgb(var(--c-accent));
  color: rgb(var(--c-accent-label));
  font-weight: var(--font-body-bold);
}

/* Announcement bar and header ----------------------------------------- */

.announcement {
  font-family: var(--font-ui);
  font-weight: var(--font-ui-weight);
  font-size: 0.84rem;
}

.announcement__inner { min-height: 38px; }

.header { border-bottom-color: var(--hairline); }

.header__link {
  padding-inline: 0.85rem;
  font-family: var(--font-ui);
  font-weight: var(--font-ui-weight);
  font-size: 0.94rem;
  letter-spacing: 0;
}

.header__link > span::after { bottom: -6px; }

.mega__link,
.dropdown__link { font-size: 0.94rem; }

/* Running strip ------------------------------------------------------- */

.marquee {
  font-family: var(--font-ui);
  font-weight: var(--font-ui-weight);
  font-size: 0.9rem;
}

/* A stud between the claims. */
.marquee__separator {
  width: 7px;
  height: 7px;
  background: rgb(var(--c-accent));
  opacity: 1;
}

/* Tabs, pills, chips -------------------------------------------------- */

.tabs { gap: 0.35rem; }

.tabs__tab,
.pill {
  border-color: rgb(var(--c-text) / 0.16);
  font-family: var(--font-ui);
  font-weight: var(--font-ui-weight);
  font-size: 0.92rem;
}

.tabs__tab { padding: 0.62em 1.05em; }
.pill__image { border-radius: calc(var(--radius-button) * 0.6); }

/* Product imagery: one tile color behind every product photo ----------- */

.product-card__media,
.gallery__media,
.gallery__thumb,
.product-row__image,
.cart-line__image { background: rgb(var(--tile-bg)); }

/* A swipeable strip is drawn on its own layer on phones, where a photo has nothing behind it
   to blend with, so each slide carries the tile color itself. The hover photo carries it too,
   or it would blend with the first photo underneath. */
.card-gallery__slide,
.card-gallery__hover { background: rgb(var(--tile-bg)); }

.card-blend .product-card__media img,
.card-blend .gallery__media img,
.card-blend .gallery__thumb img,
.card-blend .product-row__image img,
.card-blend .cart-line__image img,
.card-blend img.product-row__image,
.card-blend img.cart-line__image { mix-blend-mode: multiply; }

.product-row { background: none; box-shadow: inset 0 0 0 1px var(--hairline); }

/* Product card -------------------------------------------------------- */

.product-card { gap: 0.75rem; }

@media (hover: hover) {
  .card-hover-lift .product-card:hover,
  .card-hover-lift-zoom .product-card:hover { transform: translateY(-3px); }
}

.product-card__title {
  font-family: var(--font-ui);
  font-weight: var(--font-ui-weight);
  font-size: 0.94rem;
  line-height: 1.38;
}

.product-card:hover .product-card__title-link { text-decoration: none; }

.price {
  font-family: var(--font-body);
  font-weight: var(--font-body-bold);
  letter-spacing: 0;
}

.price__compare { font-weight: var(--font-body-weight); }
.product-card .price { font-size: 0.97rem; }

.price--large {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  letter-spacing: var(--heading-tracking);
  font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.9rem);
}

.price--large .price__compare {
  font-family: var(--font-body);
  font-size: 0.58em;
  letter-spacing: 0;
}

.badge {
  padding: 0.36em 0.62em;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: var(--font-body-bold);
  font-size: 0.75rem;
  letter-spacing: 0;
}

.badge--plain {
  background: rgb(255 255 255 / 0.94);
  color: #0a0a0a;
  font-family: var(--font-ui);
  font-weight: var(--font-ui-weight);
  box-shadow: none;
}

.quick-add {
  font-family: var(--font-ui);
  font-weight: var(--font-ui-weight);
  font-size: 0.9rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.08), 0 8px 20px -10px rgb(0 0 0 / 0.3);
}

.pagination__item {
  font-family: var(--font-ui);
  font-weight: var(--font-ui-weight);
  font-size: 0.95rem;
}

/* Product page -------------------------------------------------------- */

.variant-picker__pill {
  border-color: rgb(var(--c-text) / 0.18);
  font-family: var(--font-ui);
  font-weight: var(--font-ui-weight);
  font-size: 0.92rem;
}

.buy-buttons .button--primary { min-height: 54px; font-size: 1.05rem; }
.buy-buttons .quantity { height: 54px; }

.quantity__input {
  font-family: var(--font-body);
  font-weight: var(--font-body-bold);
  font-size: 1rem;
}

.spec-plate { border-radius: var(--radius-card); }

.spec-plate__item { box-shadow: -1px 0 0 var(--hairline), 0 -1px 0 var(--hairline); }

.spec-plate__value {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  letter-spacing: var(--heading-tracking);
}

.spec-plate__label { font-size: 0.8rem; }

.gallery__thumb.is-active { box-shadow: inset 0 0 0 1.5px rgb(var(--c-text)); }

/* Promise row --------------------------------------------------------- */

.features--inline .feature { align-items: start; }

.features--inline .feature__icon {
  border-radius: var(--radius-button);
  background: rgb(var(--c-bg));
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.features--inline .feature__title {
  font-family: var(--font-body);
  font-weight: var(--font-body-bold);
  font-size: 0.94rem;
  letter-spacing: 0;
  line-height: 1.35;
}

.features--inline .feature__description { margin-top: 0.2rem; font-size: 0.875rem; }

/* Collection cards: the title scales with the card -------------------- */

.collection-card { container-type: inline-size; }

.collection-card__title {
  font-size: clamp(0.95rem, 7.5cqi, 1.45rem);
  overflow-wrap: break-word;
}

.collection-card__label { border-radius: var(--radius-button); }

/* Cart ---------------------------------------------------------------- */

.cart-summary__amount {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  letter-spacing: var(--heading-tracking);
}

.cart-line__price { font-weight: var(--font-body-bold); font-size: 0.97rem; }
.cart-line__compare { font-weight: var(--font-body-weight); }

/* Product columns: whichever is shorter stays in view ------------------ */

@media (min-width: 990px) {
  .product--sticky > .product__gallery,
  .product--sticky > .product__info {
    position: sticky;
    top: var(--sticky-top, calc(var(--header-height, 76px) + 24px));
  }

  .product--grid.product--sticky > .product__gallery { position: static; }
}

/* Descriptions pasted from elsewhere often arrive centered. */
.rte--tidy [style*='text-align'],
.rte--tidy [align],
.rte--tidy center { text-align: start !important; }

/* Sideways scrollers only ever move sideways ---------------------------
   An "auto" horizontal overflow makes the vertical one scrollable too. Anything a few pixels
   taller than the row (a photo zooming on hover, a card waiting for its entrance) then catches
   the wheel or the finger, and the page under it stops scrolling. */

.slider,
.card-gallery__track,
.tabs,
.gallery__list,
.gallery__thumbs,
.lightbox__track,
.table-wrap { overflow-y: hidden; }

@media (max-width: 749px) {
  .section .pills:not(.pills--center):not(.cart-empty__links) { overflow-y: hidden; }
}

/* Room for the hover lift and the focus ring, which the clipped axis would otherwise cut. */
.slider { padding-block: 8px; margin-block: -8px; }
.tabs { padding-block: 4px; margin-block: -4px; }

/* Cards in a row are simply there: an entrance offset on the ones still off to the side
   is what made the whole row scroll up and down. */
.js .slider.slider [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

/* In a row of cards a sideways swipe belongs to the row, not to one card's photos. */
@media (hover: none), (pointer: coarse) {
  /* "clip" rather than "hidden": a hidden box is still a scroller and would swallow the swipe. */
  .slider .card-gallery__track {
    overflow: hidden;
    overflow: clip;
    overscroll-behavior: auto;
    scroll-snap-type: none;
  }

  .slider .card-gallery__dots { display: none; }
}

/* Bundle offer -------------------------------------------------------- */

.bundle {
  display: grid;
  gap: 0.9rem;
  padding: 1.1rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
}

.bundle__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.bundle__title { line-height: 1.2; }
.bundle__text { margin-top: 0.3rem; font-size: 0.9rem; color: rgb(var(--c-text) / 0.66); }
.bundle__badge { flex-shrink: 0; transition: opacity 0.2s; }
.bundle__badge.is-muted, .bundle__note.is-muted { opacity: 0.35; }

.bundle__items { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }

.bundle__item {
  position: relative;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem 0.5rem 0.5rem;
  border-radius: var(--radius-button);
  background: rgb(var(--c-text) / 0.035);
  transition: opacity 0.2s;
}

.bundle__item.is-off { opacity: 0.5; }

/* The plus that joins one row to the next. */
.bundle__item + .bundle__item::before {
  content: '+';
  position: absolute;
  top: -0.25rem;
  left: 30px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: rgb(var(--c-bg));
  font-family: var(--font-body);
  font-weight: var(--font-body-bold);
  font-size: 0.9rem;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.bundle__media {
  display: block;
  aspect-ratio: 1;
  border-radius: calc(var(--radius-button) * 0.8);
  overflow: hidden;
  background: rgb(var(--tile-bg));
}

.bundle__media img { width: 100%; height: 100%; object-fit: cover; }
.card-blend .bundle__media img { mix-blend-mode: multiply; }

.bundle__body { display: grid; gap: 0.2rem; min-width: 0; }

.bundle__tag {
  font-family: var(--font-ui);
  font-weight: var(--font-ui-weight);
  font-size: 0.78rem;
  color: rgb(var(--c-text) / 0.6);
}

.bundle__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-family: var(--font-ui);
  font-weight: var(--font-ui-weight);
  font-size: 0.94rem;
  line-height: 1.3;
}

a.bundle__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.bundle__select { width: 100%; max-width: 260px; margin-top: 0.15rem; }
.bundle__price { font-size: 0.97rem; white-space: nowrap; }

.bundle__check { display: grid; place-items: center; }
/* The open product has no checkbox: an empty cell of the same width keeps the prices in one column. */
.bundle__item--current::after { content: ''; width: 24px; }

.bundle__checkbox {
  appearance: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 1px solid rgb(var(--c-text) / 0.35);
  border-radius: 7px;
  background: rgb(var(--c-bg));
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.bundle__checkbox::after {
  content: '';
  width: 11px;
  height: 6px;
  margin-top: -2px;
  border-left: 2px solid rgb(var(--c-button-label));
  border-bottom: 2px solid rgb(var(--c-button-label));
  transform: rotate(-45deg) scale(0);
  transition: transform 0.15s var(--ease);
}

.bundle__checkbox:checked { border-color: rgb(var(--c-button)); background: rgb(var(--c-button)); }
.bundle__checkbox:checked::after { transform: rotate(-45deg) scale(1); }

.bundle__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bundle__total { display: grid; gap: 0.1rem; }
.bundle__total-label { font-size: 0.82rem; color: rgb(var(--c-text) / 0.62); }
.bundle__total-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.1rem 0.5rem; }
.bundle__total-price .price--large { font-size: 1.45rem; }
.bundle__total-was { font-size: 0.92rem; color: rgb(var(--c-text) / 0.5); }
.bundle__button { flex: 0 1 auto; min-width: 46%; }
.bundle__note { font-size: 0.82rem; color: rgb(var(--c-text) / 0.62); transition: opacity 0.2s; }

@media (max-width: 479px) {
  .bundle { padding: 0.9rem; }
  .bundle__item { grid-template-columns: 52px minmax(0, 1fr) 24px; row-gap: 0.15rem; }
  .bundle__item > .bundle__media { grid-row: 1 / span 2; }
  .bundle__item > .bundle__price { grid-column: 2; grid-row: 2; }
  .bundle__item > .bundle__check { grid-column: 3; grid-row: 1 / span 2; }
  .bundle__item--current::after { grid-column: 3; grid-row: 1 / span 2; }
  .bundle__foot { flex-direction: column; align-items: stretch; }
  .bundle__total { grid-template-columns: 1fr auto; align-items: baseline; }
  .bundle__button { width: 100%; }
}

/* Product page on phones: title and price share a row; the spec plate moves into the details -- */

.product__info:has(> .product__block--title + .product__block--price-beside) {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1rem;
}

.product__info:has(> .product__block--title + .product__block--price-beside) > * { grid-column: 1 / -1; }
.product__info > .product__block--title:has(+ .product__block--price-beside) { grid-column: 1; }

.product__info > .product__block--title + .product__block--price-beside {
  grid-column: 2;
  align-self: start;
  justify-self: end;
  padding-top: 0.2rem;
}

.product__block--price-beside .product__price { flex-direction: column; align-items: flex-end; gap: 0.3rem; }
.product__block--price-beside .price { flex-direction: column; align-items: flex-end; gap: 0.1em; }
.product__block--price-beside .price__compare { font-size: 0.62em; }

@media (max-width: 989px) {
  .product__block--price-beside .price--large { font-size: 1.4rem; }
  .product__specs-below { display: none; }
}

@media (min-width: 990px) {
  .product__specs-inline { display: none; }
}

/* Media cards: compact style and the swipe row on phones --------------- */

.media-cards--compact { gap: 1.25rem 2rem; }

.media-cards--compact .media-card {
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.media-cards--compact .media-card__media {
  aspect-ratio: 1;
  border-radius: var(--radius-card);
}

.media-cards--compact .media-card:hover .media-card__media img,
.media-cards--compact .media-card:hover .media-card__media video { transform: none; }

.media-cards--compact .media-card__body { gap: 0.3rem; }
.media-cards--compact .media-card__title { font-size: 1.05rem; line-height: 1.2; }
.media-cards--compact .media-card__text { font-size: 0.9rem; line-height: 1.45; }

@media (max-width: 749px) {
  .media-cards--compact .media-card__media { aspect-ratio: 1; }

  .media-cards--swipe {
    display: flex;
    gap: 0.75rem;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .media-cards--swipe::-webkit-scrollbar { display: none; }

  .media-cards--swipe > .media-card {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }

  .media-cards--compact.media-cards--swipe > .media-card {
    padding: 0.75rem;
    border-radius: var(--radius-card);
    background: rgb(var(--c-text) / 0.04);
  }
}

/* Spec plate: an icon, the value, its label ---------------------------- */

.spec-plate {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: rgb(var(--c-bg));
}

.spec-plate__item {
  flex: 1 1 150px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8rem;
  min-width: 0;
  padding: 0.95rem 1.2rem;
}

.spec-plate__item--wide { flex: 1.7 1 210px; }
.spec-plate__icon { flex-shrink: 0; display: grid; place-items: center; }
.spec-plate__icon .icon { width: 24px; height: 24px; stroke-width: 1.6; }
.spec-plate__text { display: grid; gap: 0.1rem; min-width: 0; }

.spec-plate__value,
.spec-plate__value--text {
  font-family: var(--font-body);
  font-weight: var(--font-body-bold);
  font-size: 0.98rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.spec-plate__label { font-size: 0.82rem; }

.spec-plate--large .spec-plate__item { padding: 1.2rem 1.5rem; gap: 1rem; }
.spec-plate--large .spec-plate__icon .icon { width: 30px; height: 30px; }
.spec-plate--large .spec-plate__value { font-size: 1.25rem; }
.spec-plate--compact .spec-plate__item { padding: 0.65rem 0.85rem; gap: 0.6rem; }
.spec-plate--compact .spec-plate__value { font-size: 0.92rem; }

@media (max-width: 479px) {
  .spec-plate__item { flex-basis: 120px; padding: 0.8rem 0.9rem; gap: 0.6rem; }
  .spec-plate__item--wide { flex-basis: 170px; }
  .spec-plate__icon .icon { width: 22px; height: 22px; }
}

/* Menu drawer ----------------------------------------------------------
   Cart apps attach their progress bars to the first drawer header on the page, which is the
   menu. Anything that is not one of the menu's own three parts stays out of it. */

.mobile-nav > .drawer__panel > :not(.drawer__header, .drawer__body, .drawer__footer) { display: none !important; }

.mega__promos:has(> .promo-card:nth-child(3)) { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(150px, 190px)); align-content: start; }
.gallery__zoom-hint .icon { position: static; inset: auto; }
.lightbox__slide { grid-template: minmax(0, 1fr) / minmax(0, 1fr); min-width: 0; min-height: 0; }
.lightbox { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }

/* Black Friday card on the product page */
.bf-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; padding: 20px; border-radius: 12px; background: var(--bf-bg, #000); color: #fff; }
.bf-card__badge { display: inline-flex; align-items: center; gap: 6px; width: max-content; margin: 0 0 10px; padding: 5px 11px 5px 9px; border-radius: 60px; background: var(--bf-badge, #af0000); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; }
.bf-card__badge svg { width: 13px; height: 13px; flex: none; }
.bf-card__heading { margin: 0; color: #fff; font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; }
.bf-card__text { margin: 4px 0 0; color: rgb(255 255 255 / 0.7); font-size: 15px; line-height: 1.6; }
.bf-card__arrow { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; background: #fff; color: #000; transition: transform 0.2s; }
.bf-card__arrow:hover { transform: translateX(2px); }
.bf-card__arrow svg { width: 18px; height: 18px; }
@media (max-width: 749px) { .bf-card { padding: 16px; } .bf-card__heading { font-size: 18px; } .bf-card__text { font-size: 14px; } .bf-card__arrow { width: 40px; height: 40px; } }

/* Black Friday banner on the homepage */
.bf-card--banner { position: relative; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px; border-radius: 24px; overflow: hidden; }
.bf-card--banner .bf-card__badge { margin-bottom: 14px; }
.bf-card--banner .bf-card__heading { margin: 0; color: #fff; font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; text-transform: none; }
.bf-card--banner .bf-card__text { margin: 10px 0 0; color: rgb(255 255 255 / 0.7); font-size: 15px; line-height: 1.6; }
.bf-card--banner .bf-card__button { display: inline-flex; align-items: center; justify-content: center; margin-top: 22px; padding: 13px 24px; border-radius: 60px; background: #fff; color: #000; font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none; transition: background-color 0.2s; }
.bf-card--banner .bf-card__button:hover { background: rgb(255 255 255 / 0.85); }
.bf-card--banner .bf-card__button::after { content: ""; position: absolute; inset: 0; }
.bf-card--banner .bf-card__media { overflow: hidden; border-radius: 16px; }
.bf-card--banner .bf-card__media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 750px) { .bf-card--banner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 40px; } .bf-card--banner .bf-card__heading { font-size: 40px; } .bf-card--banner .bf-card__text { font-size: 17px; } }

/* Shopify Inbox chat button: on phones it sat on top of the product price. On product pages it now stays hidden
   until the buyer scrolls past the buy buttons (when the sticky add-to-cart bar appears), and sits above that bar.
   Once the buyer has opened the chat it stays visible. */
@media (max-width: 749px) {
  shopify-chat { transition: opacity 0.3s ease, visibility 0.3s ease; }
  html:has(sticky-atc):not(.has-sticky-atc):not(.chat-engaged) shopify-chat { opacity: 0; visibility: hidden; }
}
