:root {
  --ink: #17222B;
  --ink-soft: #44565F;
  --deep: #0B6E8E;
  --deep-strong: #085A75;
  --aqua: #2D9CB3;
  --glacier: #B3E0E5;
  --mist: #F2F9FA;
  --line: #DCE8EC;
  --white: #FFFFFF;
  --panel: #020103;
  --error: #A3231A;
  --font-display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --header-h: 68px;
  --gallery-h: clamp(440px, calc(100dvh - 250px), 680px);
  --r-lg: 24px;
  --shadow-soft: 0 24px 60px -32px rgba(11, 110, 142, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

button {
  touch-action: manipulation;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 0 0 10px 10px;
  background: var(--deep);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 3px;
}

.product-info h1:focus,
.about-top h1:focus {
  outline: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1320px;
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 32px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto;
  height: 43px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-link:hover {
  color: var(--deep);
  background: var(--mist);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 8px 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.cart-btn:hover {
  border-color: var(--deep);
  color: var(--deep);
}

.cart-count {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--deep);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--deep);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.menu-btn:hover {
  background: var(--deep-strong);
}

.product-view {
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 32px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 56px;
  align-items: start;
}

.gallery {
  min-width: 0;
}

.gallery-stage {
  position: relative;
  display: block;
  height: var(--gallery-h);
  border-radius: var(--r-lg);
  background: var(--panel);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(179, 224, 229, 0.12), var(--shadow-soft);
}

.gallery-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(62% 56% at 50% 100%, rgba(45, 156, 179, 0.3), transparent 72%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.gallery-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  padding: 6%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.22s ease, transform 0.4s ease;
}

.gallery-img.is-swapping {
  opacity: 0.35;
  transform: scale(0.99);
}

.gallery-img.is-product {
  padding: 9%;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(6px);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.gallery-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
}

.gallery-arrow:focus-visible {
  outline-color: var(--glacier);
}

.gallery-arrow.prev {
  left: 16px;
}

.gallery-arrow.next {
  right: 16px;
}

.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.thumb {
  position: relative;
  width: 64px;
  height: 86px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumb[aria-pressed="true"] {
  border-color: var(--deep);
  box-shadow: 0 0 0 1px var(--deep);
}

.product-info {
  min-width: 0;
  padding-top: 4px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.intro h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.04;
}

.lede {
  max-width: 52ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
}

.buy {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--mist);
}

.price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.price-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.cost-note {
  margin: 4px 0 18px;
  color: var(--ink-soft);
  font-size: 13px;
}

.qty-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.qty-field label {
  font-size: 14px;
  font-weight: 600;
}

.stepper {
  display: inline-flex;
  align-items: center;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  overflow: hidden;
}

.stepper button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.stepper button:hover {
  background: var(--white);
  color: var(--deep);
}

.stepper input {
  width: 48px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  appearance: textfield;
}

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

.stepper input:focus {
  outline: 2px solid var(--deep);
  outline-offset: -2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--deep);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--deep-strong);
}

.btn-secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--deep);
  color: var(--deep);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary:disabled:hover {
  background: var(--deep);
}

.field-error {
  margin: 4px 0 0;
  color: var(--error);
  font-size: 13px;
  line-height: 1.45;
}

.buy-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--deep);
  font-size: 14px;
  font-weight: 600;
}

.benefits {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.block-heading {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.008em;
  line-height: 1.2;
}

.benefit {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

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

.benefit-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mist);
  color: var(--deep);
}

.benefit h3 {
  margin: 2px 0 3px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.3;
}

.benefit p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

.description {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.desc-lede {
  max-width: 65ch;
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 16px;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

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

.plus {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.plus::before,
.plus::after {
  content: "";
  position: absolute;
  border-radius: 2px;
  background: var(--deep);
  transition: transform 0.2s ease;
}

.plus::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.plus::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

details[open] .plus::after {
  transform: scaleY(0);
}

.details-body {
  padding: 0 0 20px;
  color: var(--ink-soft);
  font-size: 15px;
}

.details-body p {
  margin: 0 0 8px;
}

.details-body p:last-child {
  margin-bottom: 0;
}

.details-body .policy-label {
  margin: 14px 0 6px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.details-body .policy-label:first-child {
  margin-top: 0;
}

.details-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.supporting {
  padding: 64px 0 96px;
}

.supporting-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--mist);
  overflow: hidden;
}

.supporting-media {
  display: grid;
  place-items: center;
  min-height: 430px;
  padding: 32px;
  background: var(--panel);
}

.supporting-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 470px;
  object-fit: contain;
}

.supporting-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
}

.supporting-copy h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

.supporting-copy p:last-child {
  max-width: 48ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.origin {
  padding: 64px 0 0;
}

.origin-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(0, 1.34fr);
  gap: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.origin-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

.origin-quote {
  max-width: 38ch;
  margin: 0 0 20px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.32;
  text-wrap: balance;
}

.origin-mark {
  display: block;
  margin-bottom: 2px;
  color: var(--glacier);
  font-size: 56px;
  font-weight: 600;
  line-height: 0.72;
}

.origin-body {
  max-width: 62ch;
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.origin-sign {
  margin: 0;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.about-view {
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 32px 96px;
}

.about-top {
  max-width: 800px;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--deep);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.about-top h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.04;
}

.about-lede {
  max-width: 62ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.6;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
  margin-top: 56px;
}

.about-view .origin {
  padding-top: 52px;
}

.about-view .supporting {
  padding: 52px 0 0;
}

.about-view .origin-inner {
  padding-top: 40px;
}

.about-copy h2 {
  margin: 32px 0 10px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.15;
}

.about-copy h2:first-child {
  margin-top: 0;
}

.about-copy p {
  max-width: 60ch;
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 16px;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.about-values li {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--mist);
  color: var(--deep);
  font-size: 14px;
  font-weight: 600;
}

.about-image {
  display: grid;
  place-items: center;
  padding: 32px;
  border-radius: var(--r-lg);
  background: var(--panel);
}

.about-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.about-view > .btn {
  margin-top: 52px;
}

dialog {
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(7, 16, 23, 0.52);
  backdrop-filter: blur(2px);
}

.drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(88vw, 380px);
  max-width: none;
  max-height: none;
  height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--white);
  box-shadow: 0 0 60px rgba(7, 16, 23, 0.28);
}

.drawer-cart {
  inset: 0 0 0 auto;
  width: min(100vw, 440px);
}

.drawer[open] {
  animation: drawer-in 0.24s ease-out both;
}

.drawer-cart[open] {
  animation-name: drawer-in-right;
}

@keyframes drawer-in {
  from {
    opacity: 0.4;
    transform: translateX(-14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes drawer-in-right {
  from {
    opacity: 0.4;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.drawer-inner {
  display: flex;
  flex-direction: column;
  height: 100dvh;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.drawer-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.icon-btn {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.icon-btn:hover {
  border-color: var(--deep);
  color: var(--deep);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 24px 24px;
}

.drawer-nav a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.008em;
  text-decoration: none;
}

.drawer-nav a:hover {
  color: var(--deep);
}

.drawer-tagline {
  margin: auto 0 0;
  padding: 24px;
  color: var(--ink-soft);
  font-size: 13px;
}

.cart-body {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

.cart-empty {
  padding: 48px 8px;
  text-align: center;
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--mist);
  color: var(--deep);
}

.cart-empty h3 {
  margin: 16px 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.cart-empty p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 15px;
}

.cart-line {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.cart-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  background: var(--panel);
  overflow: hidden;
}

.cart-thumb img {
  width: auto;
  height: auto;
  max-height: 100%;
}

.cart-line h3 {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
}

.cart-line-price {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 13px;
}

.cart-line-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  overflow: hidden;
}

.qty-control button {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.qty-control button:hover:not(:disabled) {
  background: var(--mist);
  color: var(--deep);
}

.qty-control button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.qty-control span {
  min-width: 28px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.remove {
  padding: 0;
  border: 0;
  background: none;
  color: var(--deep);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

.cart-line-total {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.cart-foot {
  display: grid;
  gap: 10px;
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
}

.summary-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
}

.summary-line strong {
  font-weight: 600;
}

.summary-line.total {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 17px;
}

.cart-note {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.modal {
  position: fixed;
  inset: 0;
  width: min(94vw, 760px);
  max-width: none;
  max-height: 90dvh;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: 0 40px 100px rgba(7, 16, 23, 0.35);
  overflow: hidden;
}

.confirm-modal {
  width: min(94vw, 560px);
}

.modal-panel {
  display: flex;
  flex-direction: column;
  max-height: 90dvh;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
}

.modal-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 28px;
  align-items: start;
}

.form-heading {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.25;
}

.checkout-fields .form-heading:not(:first-child) {
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.field input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
}

.field input:focus {
  border-color: var(--deep);
  outline: 2px solid var(--deep);
  outline-offset: 1px;
}

.field input[aria-invalid="true"] {
  border-color: var(--error);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pay-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.pay-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.pay-option:hover {
  border-color: var(--deep);
}

.pay-option:has(input:checked) {
  border-color: var(--deep);
  background: var(--mist);
  box-shadow: inset 0 0 0 1px var(--deep);
}

.pay-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--deep);
}

.checkout-summary {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--mist);
}

.checkout-items {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.checkout-item span:last-child {
  color: var(--ink-soft);
  white-space: nowrap;
}

.checkout-summary .summary-line {
  margin-top: 6px;
}

.checkout-summary .btn {
  margin-top: 10px;
}

.checkout-status {
  margin: 12px 0 0;
  color: var(--error);
  font-size: 13px;
  line-height: 1.5;
}

.place-note {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.5;
}

.order-confirm p {
  color: var(--ink-soft);
  font-size: 15px;
}

.order-ref {
  margin: 4px 0 20px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.order-lines {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.collection {
  padding: 0 0 12px;
}

.charms {
  padding: 12px 0 96px;
}

.section-head {
  max-width: 64ch;
  margin: 0 0 26px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.14;
}

.section-lede {
  max-width: 65ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

.colourway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.colourway {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
}

.colourway--navy {
  --accent: #2D9CB3;
}

.colourway--cream {
  --accent: #A98A4E;
}

.colourway--rose {
  --accent: #C25878;
}

.colourway-media {
  position: relative;
  height: 320px;
  overflow: hidden;
  background:
    radial-gradient(76% 58% at 50% 100%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 72%),
    var(--panel);
}

.colourway-media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  padding: 8%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.38));
}

.colourway-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
}

.colourway-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.swatch {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

.colourway h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.25;
}

.colourway-tag {
  margin-left: auto;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

.colourway-finish {
  margin: 6px 0 14px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
}

.charm-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.charm-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.charm-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.charm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.charm-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}

.charm-thumb {
  display: grid;
  place-items: center;
  width: 100%;
  height: 132px;
  margin-bottom: 14px;
  padding: 8px 0;
  border-radius: 14px;
  background:
    radial-gradient(120% 85% at 50% 16%, #FFFFFF 0%, #EDF5F7 58%, #DDE9ED 100%);
  box-shadow:
    inset 0 0 0 1px rgba(11, 110, 142, 0.10),
    inset 0 -12px 20px rgba(11, 110, 142, 0.06);
}

.charm-thumb svg {
  display: block;
  width: auto;
  height: 106px;
}

.charm-body {
  flex: 1;
}

.charm-cat {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.charm-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
}

.charm-desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.charm-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.2;
  white-space: nowrap;
}

.charm-price span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.charm-card.is-limited {
  border-color: #DCC484;
  background: #FFFBEF;
}

.charm-card.is-limited .charm-thumb {
  background:
    radial-gradient(120% 85% at 50% 16%, #FFFDF4 0%, #FBF2D8 58%, #F2E3B8 100%);
  box-shadow:
    inset 0 0 0 1px rgba(122, 90, 14, 0.18),
    inset 0 -12px 20px rgba(122, 90, 14, 0.08);
}

.charm-card.is-limited .charm-cat {
  color: #7A5A0E;
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .header-inner {
    gap: 12px;
    padding: 0 16px;
  }

  .brand img {
    height: 34px;
  }

  .product-view {
    padding: 16px 16px 0;
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .gallery-stage {
    --gallery-h: clamp(360px, 58dvh, 540px);
  }

  .gallery-img {
    padding: 7%;
  }

  .gallery-img.is-product {
    padding: 10%;
  }

  .supporting {
    padding: 0 0 72px;
  }

  .origin {
    padding: 44px 0 48px;
  }

  .origin-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 32px;
  }

  .origin-head h2 {
    font-size: 26px;
  }

  .origin-quote {
    max-width: 46ch;
  }

  .supporting-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .supporting-media {
    min-height: 280px;
    padding: 20px;
  }

  .supporting-media img {
    max-height: 320px;
  }

  .supporting-copy {
    padding: 28px 24px 32px;
  }

  .supporting-copy h2 {
    font-size: 26px;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .colourway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .colourway-media {
    height: 300px;
  }

  .colourway-media img {
    padding: 9%;
  }

  .charms {
    padding-bottom: 72px;
  }

  .about-view {
    padding: 32px 16px 72px;
  }

  .about-story {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .about-image {
    padding: 20px;
  }

  .about-image img {
    max-height: 380px;
  }

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

  .modal-body {
    padding: 22px;
  }

  .modal-head {
    padding: 18px 22px;
  }
}

@media (max-width: 560px) {
  .cart-btn-label {
    display: none;
  }

  .cart-btn {
    padding: 0 8px;
  }

  .header-actions {
    gap: 8px;
  }

  .buy {
    padding: 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pay-options {
    grid-template-columns: 1fr;
  }

  .gallery-arrow {
    width: 40px;
    height: 40px;
  }

  .gallery-arrow.prev {
    left: 10px;
  }

  .gallery-arrow.next {
    right: 10px;
  }

  .thumb {
    width: 56px;
    height: 74px;
  }

  .about-values li {
    font-size: 13px;
  }

  .origin-mark {
    font-size: 44px;
  }

  .section-head h2 {
    font-size: 26px;
  }

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

  .colourway-media {
    height: 380px;
  }

  .colourway-media img {
    padding: 10%;
  }

  .charm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .charm-card {
    padding: 16px;
  }

  .charm-thumb {
    height: 116px;
  }

  .charm-thumb svg {
    height: 92px;
  }

  .charm-desc {
    font-size: 13px;
  }

  .charms {
    padding-bottom: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
