:root {
  --demo-gutter: clamp(1.25rem, 4vw, 4.5rem);
  --demo-ink: var(--color-text);
  --demo-primary: var(--color-accent);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  min-width: 18rem;
  overflow-wrap: anywhere;
}
::selection {
  background: var(--color-accent);
  color: var(--color-page);
}
[hidden],
:root[data-demo-embedded] [data-demo-marketing] {
  display: none;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
figure,
p,
ul,
h1,
h2,
h3 {
  margin: 0;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
figure {
  overflow: hidden;
}
h1,
h2,
h3 {
  line-height: 1.03;
}
h1 {
  font-size: clamp(2.8rem, 7vw, 7.25rem);
}
h2 {
  font-size: clamp(2rem, 4.6vw, 4.1rem);
}
h3,
.demo-card-title {
  font-size: clamp(1.25rem, 2.3vw, 2.1rem);
}

.demo-width {
  width: min(100% - 2 * var(--demo-gutter), 88rem);
  margin-inline: auto;
}
.demo-skip {
  position: absolute;
  z-index: 4;
  inset: 0.75rem auto auto 0.75rem;
  padding: 0.6rem 1rem;
  background: var(--color-page);
  transform: translateY(-200%);
}
.demo-skip:focus {
  transform: none;
}
.demo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.8rem;
  padding: 0.6rem var(--demo-gutter);
  background: #172a24;
  color: #f5f8f5;
  font: 500 0.76rem / 1.25 var(--font-ui);
}
.demo-banner a {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  text-underline-offset: 0.2rem;
}
.demo-wordmark {
  text-decoration: none;
  font: var(--title-weight) clamp(1.45rem, 3vw, 2.35rem) / 1 var(--font-display);
  letter-spacing: var(--title-tracking);
  white-space: nowrap;
}
.demo-basket-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.demo-basket-link span {
  display: grid;
  place-items: center;
  min-width: 1.45rem;
  min-height: 1.45rem;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--demo-ink);
  font-size: 0.75rem;
}

.demo-hero {
  display: grid;
  width: min(100% - 2 * var(--demo-gutter), 88rem);
  margin: clamp(1rem, 4.5vw, 4rem) auto 0;
}
.demo-hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}
.demo-hero-intro {
  max-width: 31rem;
  margin: clamp(1rem, 2vw, 1.75rem) 0 1.5rem;
}
.demo-hero-image img,
.demo-entry img,
.demo-product-grid img,
.demo-product-layout img,
.demo-story img {
  height: 100%;
  object-fit: cover;
}
.demo-eyebrow {
  margin-bottom: 0.7rem;
  font: 600 0.73rem / 1.45 var(--font-ui);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.demo-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  min-height: 3rem;
  width: fit-content;
  padding: 0.7rem 1rem 0.7rem 1.15rem;
  border: 1px solid transparent;
  background: var(--demo-ink);
  color: var(--color-page);
  text-decoration: none;
  font: 600 0.88rem / 1.32 var(--font-ui);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.demo-action svg {
  flex: none;
}
.demo-action:hover {
  border-color: currentColor;
  background: var(--color-page);
  color: var(--demo-ink);
}
.demo-action:disabled {
  opacity: 0.5;
  cursor: default;
}
.demo-action:focus-visible {
  outline-color: var(--demo-ink);
}

.demo-section {
  margin-block: clamp(3rem, 7vw, 7rem);
}
.demo-section > h1 {
  max-width: 19ch;
}
.demo-section > h1,
.demo-section > h2 {
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}
.demo-entry-grid,
.demo-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.6vw, 2.5rem);
}
.demo-entry a,
.demo-product-grid a {
  display: block;
  text-decoration: none;
}
.demo-entry :where(a) > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0 0.5rem;
}
.demo-entry :where(a) > div svg {
  flex: none;
}
.demo-entry figure {
  aspect-ratio: 1.35;
}
.demo-entry p {
  color: var(--color-text-soft);
}
.demo-entry img,
.demo-product-grid img {
  transition: transform 0.32s ease;
}
.demo-entry :where(a:hover) img,
.demo-product-grid :where(a:hover) img {
  transform: scale(1.04);
}
.demo-entry :where(a:hover) .demo-card-title,
.demo-product-grid :where(a:hover) .demo-card-title {
  text-decoration: underline;
  text-decoration-thickness: 0.055em;
  text-underline-offset: 0.11em;
}
.demo-story {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: stretch;
}
.demo-story > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 1.35rem;
  padding: clamp(1.4rem, 5vw, 4.5rem);
  background: var(--color-surface);
}
.demo-story img {
  min-height: 19rem;
}
.demo-back {
  display: inline-block;
  margin-bottom: 1.35rem;
  font: 500 0.86rem / 1.4 var(--font-ui);
  text-underline-offset: 0.25em;
}
.demo-lead {
  max-width: 43rem;
  margin: -0.4rem 0 2rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}
.demo-project figure {
  max-width: 66rem;
  margin-bottom: 2rem;
}
.demo-project figure img {
  max-height: 46rem;
  object-fit: cover;
}

.demo-product-grid figure {
  aspect-ratio: 0.83;
  margin-bottom: 1rem;
}
.demo-product-grid .demo-card-title {
  margin-bottom: 0.45rem;
}
.demo-product-grid .demo-eyebrow {
  margin: 0 0 0.4rem;
}
.demo-filters:not([hidden]) {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-line);
  font-family: var(--font-ui);
}
.demo-filters fieldset,
.demo-delivery {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.demo-filters legend,
.demo-delivery legend {
  margin-bottom: 0.55rem;
  padding: 0;
  font-weight: 600;
}
.demo-filters :where(fieldset) label {
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  gap: 0.45rem;
  margin: 0 0.4rem 0.2rem 0;
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--color-line);
  cursor: pointer;
}
.demo-filters label:has(input:checked) {
  border-color: var(--demo-ink);
  background: var(--color-surface);
}
.demo-product-info label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}
.demo-count {
  margin-bottom: 1rem;
  color: var(--color-text-soft);
}
select,
input[type="number"] {
  min-width: 0;
  min-height: 2.65rem;
  max-width: 100%;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--color-line);
  border-radius: min(var(--radius), 0.45rem);
  background: var(--color-surface);
  color: var(--demo-ink);
  font: 400 1rem / 1.3 var(--font-ui);
}
input[type="radio"],
input[type="range"] {
  accent-color: var(--demo-primary);
}
.demo-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.85fr);
  align-items: start;
  gap: clamp(1.5rem, 6vw, 6.5rem);
}
.demo-product-layout figure {
  aspect-ratio: 1.04;
}
.demo-pdp-media {
  min-width: 0;
}
.demo-pdp-rail {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
}
.demo-pdp-rail figure {
  position: relative;
  flex: 0 0 85%;
  margin: 0;
  aspect-ratio: 1.2;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--color-surface);
  border-radius: min(var(--radius), 0.65rem);
}
.demo-pdp-rail figure > div {
  height: 100%;
}
.demo-pdp-rail figcaption {
  position: absolute;
  inset: auto auto 0.55rem 0.55rem;
  padding: 0.22rem 0.45rem;
  background: var(--color-surface);
  color: var(--demo-ink);
  font-size: 0.75rem;
}
.demo-pdp-media-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  padding-block: 0.45rem;
  font-size: 0.9rem;
}
.demo-pdp-media-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}
.demo-beauty-options {
  display: grid;
  min-width: 0;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  border: 0;
}
.demo-beauty-options legend {
  margin-block-end: 0.45rem;
  font-weight: 650;
}
.demo-product-info .demo-beauty-options label {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--color-line);
  border-radius: min(var(--radius), 0.55rem);
  cursor: pointer;
}
.demo-beauty-options label:has(:checked) {
  border-color: var(--demo-primary);
  background: var(--color-surface);
}
.demo-beauty-options strong {
  font-size: 0.81rem;
}
.demo-product-info h1 {
  font-size: clamp(2.6rem, 5.8vw, 5.8rem);
}
.demo-product-info p {
  max-width: 33rem;
}
.demo-product-price {
  margin: 0.75rem 0;
  font-size: 1.25rem;
}
.demo-product-info form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 5.3rem);
  gap: 1rem;
  max-width: 28rem;
  margin-top: 1.4rem;
  font-family: var(--font-ui);
}
.demo-product-info form > .demo-action,
.demo-product-status {
  grid-column: 1 / -1;
}
.demo-product-status a {
  text-underline-offset: 0.22em;
}
.demo-order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 5vw, 5.5rem);
}
.demo-order-grid ul {
  padding: 0;
  list-style: none;
}
.demo-order-grid li {
  display: grid;
  grid-template-columns: 5.4rem minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-line);
}
.demo-order-grid li img {
  aspect-ratio: 1;
  object-fit: cover;
}
.demo-order-grid li small {
  display: block;
}
.demo-order-grid :where(li) label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.55rem 0;
  font-size: 0.84rem;
}
.demo-order-grid :where(li) input {
  width: 3.25rem;
}
.demo-order-grid li button {
  min-height: 2rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  cursor: pointer;
}
.demo-order-summary {
  padding: clamp(1rem, 3vw, 2rem);
  background: var(--color-surface);
}
.demo-order-summary h2 {
  font-size: 2rem;
}
.demo-order-summary > p {
  margin: 0.85rem 0;
}
.demo-order-summary p:first-of-type {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.demo-delivery {
  margin-top: 1.45rem;
}
.demo-delivery label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  cursor: pointer;
}

.demo-estimate-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 1px;
  max-width: 66rem;
  margin: 1rem 0 2rem;
  padding: 1px;
  background: var(--color-line);
}
.demo-estimate-panel > div {
  padding: clamp(1.25rem, 4vw, 3.25rem);
  background: var(--color-surface);
}
.demo-estimate-panel label {
  font-weight: 600;
}
.demo-estimate-panel output {
  margin-inline-start: 0.6rem;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}
.demo-estimate-panel input {
  display: block;
  width: 100%;
  margin: 1.35rem 0;
}
.demo-estimate-panel .demo-estimate-result {
  display: grid;
  align-content: center;
  background: #172d41;
  color: #f1f7ff;
}
.demo-estimate-panel .demo-estimate-result output {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.35rem);
  line-height: 1.1;
}

[data-demo="veld"] .demo-hero {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 4rem);
}
[data-demo="veld"] .demo-hero h1 {
  max-width: 8ch;
  font-size: clamp(3.5rem, 8.2vw, 8.2rem);
}
[data-demo="veld"] .demo-hero-image {
  aspect-ratio: 1.05;
}
[data-demo="veld"] .demo-action {
  background: #773e34;
  color: #fff7ed;
}
[data-demo="veld"] .demo-action:hover {
  background: #582e28;
}
[data-demo="veld"] .demo-entry-grid .demo-entry:nth-child(2) {
  margin-top: clamp(1rem, 3.4vw, 3.5rem);
}
[data-demo="veld"] .demo-entry-grid .demo-entry:nth-child(3) {
  margin-top: clamp(2rem, 6.8vw, 7rem);
}
[data-demo="veld"] .demo-entry figure {
  aspect-ratio: 1.08;
}

[data-demo="volt"] .demo-wordmark {
  font-weight: 800;
  letter-spacing: -0.065em;
}
[data-demo="volt"] .demo-hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  width: 100%;
  max-width: 116rem;
  min-height: clamp(26rem, 41vw, 45rem);
  margin-top: 0;
  border-bottom: 5px solid #9fd7ff;
  background: #172d41;
  color: #f3f8ff;
}
[data-demo="volt"] .demo-hero-copy {
  padding: 2.65rem var(--demo-gutter);
}
[data-demo="volt"] .demo-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 6.15vw, 6.15rem);
  line-height: 0.98;
}
[data-demo="volt"] .demo-action {
  background: #175f9d;
  color: #fff;
}
[data-demo="volt"] .demo-action:hover {
  background: #104574;
}
[data-demo="volt"] :where(.demo-hero) .demo-action {
  background: #b6e3ff;
  color: #132d43;
}
[data-demo="volt"] :where(.demo-hero) .demo-action:focus-visible {
  outline-color: #b6e3ff;
}
[data-demo="volt"] :where(.demo-hero) .demo-action:hover {
  background: #e0f3ff;
}
[data-demo="volt"] .demo-entry {
  padding: 0.75rem;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}
[data-demo="volt"] .demo-entry figure {
  aspect-ratio: 1.65;
}
[data-demo="volt"] .demo-eyebrow {
  font-variant-numeric: tabular-nums;
}

[data-demo="ritueel"] .demo-hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: stretch;
  min-height: clamp(25rem, 43vw, 44rem);
  padding: clamp(1rem, 3.8vw, 3.5rem);
  border-radius: clamp(1.5rem, 4vw, 4rem);
  background: #f2ddda;
  color: #442b2c;
}
[data-demo="ritueel"] .demo-hero-copy {
  padding: clamp(0.5rem, 3.4vw, 3rem);
}
[data-demo="ritueel"] .demo-hero h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 6.2vw, 6.5rem);
}
[data-demo="ritueel"] .demo-hero-image {
  border-radius: 50% 50% 1.5rem 1.5rem / 35% 35% 1.5rem 1.5rem;
}
[data-demo="ritueel"] .demo-hero-image img {
  object-position: 55% 50%;
}
[data-demo="ritueel"] .demo-action {
  border-radius: 100vw;
  background: #723b46;
  color: #fff8f6;
}
[data-demo="ritueel"] .demo-action:hover {
  background: #522834;
}
[data-demo="ritueel"] .demo-product-grid figure {
  border-radius: clamp(1rem, 3vw, 2.4rem) clamp(1rem, 3vw, 2.4rem) 0.5rem 0.5rem;
}
[data-demo="ritueel"] .demo-story {
  overflow: hidden;
  border-radius: clamp(1.5rem, 4vw, 4rem);
}

@media (max-width: 62rem) {
  [data-demo="volt"] .demo-hero h1 {
    font-size: clamp(2.7rem, 6vw, 5.3rem);
  }
  [data-demo="veld"] .demo-hero h1 {
    font-size: clamp(3.2rem, 8vw, 6.1rem);
  }
}

@media (max-width: 47rem) {
  .demo-entry-grid,
  .demo-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem 1rem;
  }
  .demo-story,
  .demo-order-grid,
  .demo-estimate-panel {
    grid-template-columns: minmax(0, 1fr);
  }
  .demo-story img {
    min-height: auto;
    aspect-ratio: 1.7;
  }
  [data-demo="veld"] .demo-hero,
  [data-demo="volt"] .demo-hero,
  [data-demo="ritueel"] .demo-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  [data-demo="veld"] .demo-hero {
    gap: 1.7rem;
  }
  [data-demo="veld"] .demo-hero h1 {
    max-width: 10ch;
  }
  [data-demo="veld"] .demo-hero-image {
    aspect-ratio: 1.5;
  }
  [data-demo="veld"] .demo-entry-grid .demo-entry:nth-child(3) {
    margin-top: 0;
  }
  [data-demo="volt"] .demo-hero-image,
  [data-demo="ritueel"] .demo-hero-image {
    aspect-ratio: 1.65;
  }
  [data-demo="ritueel"] .demo-hero {
    gap: 1rem;
  }
}

@media (max-width: 36rem) {
  .demo-product-layout,
  .demo-product-info form {
    grid-template-columns: minmax(0, 1fr);
  }
  .demo-order-grid li {
    grid-template-columns: 4.2rem minmax(0, 1fr) auto;
    gap: 0.5rem;
  }
  [data-demo="volt"] .demo-hero h1 {
    font-size: clamp(2rem, 9.5vw, 3.2rem);
  }
  [data-demo="volt"] .demo-entry-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-entry img,
  .demo-product-grid img,
  .demo-action {
    transition: none;
  }
}

.demo-pdp-rail {
  cursor: grab;
}
.demo-pdp-rail::-webkit-scrollbar {
  display: none;
}
.demo-pdp-rail[data-drag] {
  scroll-snap-type: none;
}
.demo-pdp-rail[data-drag="drag"] {
  cursor: grabbing;
}
.demo-pdp-media-links {
  align-items: center;
  justify-content: end;
  gap: 0.7rem;
}
.demo-pdp-media-links a {
  justify-content: center;
  min-width: 2.75rem;
  border-radius: 0.3rem;
}
.demo-pdp-media-links a:is(:hover, :focus-visible) {
  background: color-mix(in srgb, currentColor 8%, transparent);
}
.demo-pdp-media-links span {
  font-variant-numeric: tabular-nums;
}
