:root {
  --cream: #fffaf3;
  --paper: #fffefd;
  --ink: #352c29;
  --cocoa: #443531;
  --muted: #766b65;
  --line: #e9dfd6;
  --gold: #edbf49;
  --gold-soft: #f5e6b8;
  --coral: #dc745f;
  --coral-soft: #f7d7cf;
  --sage: #aebca4;
  --sage-soft: #e5ebdf;
  --sky: #b9d0df;
  --sky-soft: #e6f0f5;
  --lilac-soft: #ebe2ef;
  --sand: #eadbc9;
  --shadow-sm: 0 12px 30px rgba(69, 51, 44, 0.08);
  --shadow-lg: 0 28px 80px rgba(69, 51, 44, 0.14);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --font-ui: "Segoe UI", Inter, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

body.is-locked {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

[hidden] {
  display: none !important;
}

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

.icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

.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;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 160ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(220, 116, 95, 0.45);
  outline-offset: 3px;
}

.announcement {
  background: var(--cocoa);
  color: #fff8ef;
  font-size: 0.8rem;
}

.announcement__inner {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.announcement__inner p {
  margin: 0;
}

.announcement__inner a {
  color: #f5d983;
  font-weight: 700;
}

.announcement__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(237, 191, 73, 0.14);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(68, 53, 49, 0.08);
  background: rgba(255, 250, 243, 0.94);
  backdrop-filter: blur(14px);
}

.header-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand__name span {
  color: #a77a21;
  font-style: italic;
  font-weight: 500;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 23px;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 650;
}

.desktop-nav a {
  position: relative;
  padding-block: 8px;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--ease-out);
}

.header-search,
.mobile-search {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline: 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.header-search input,
.mobile-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.header-search input::placeholder,
.mobile-search input::placeholder {
  color: #766b65;
}

.header-search:focus-within,
.mobile-search:focus-within,
.newsletter-form:focus-within {
  border-color: #9d594b;
  box-shadow: 0 0 0 3px rgba(157, 89, 75, 0.18);
}

.header-search kbd {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  color: #968a84;
  font-family: inherit;
  font-size: 0.68rem;
}

.search-submit {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.search-submit .icon { width: 18px; height: 18px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.icon-button,
.favorite-button,
.quick-add {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 140ms var(--ease-out);
}

.count-badge {
  position: absolute;
  top: -3px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding-inline: 4px;
  border: 2px solid var(--cream);
  border-radius: 999px;
  background: #ad4938;
  color: #fff;
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 800;
  line-height: 14px;
  text-align: center;
}

.mobile-search-wrap,
.mobile-bottom-nav {
  display: none;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 64px 0 54px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 18%;
  left: -120px;
  width: 240px;
  height: 420px;
  border: 1px solid rgba(220, 116, 95, 0.22);
  border-radius: 50% 50% 0 0;
  transform: rotate(18deg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  padding-block: 18px;
}

.eyebrow {
  margin: 0 0 13px;
  color: #9a5d50;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--gold);
}

.eyebrow--light {
  color: #f3ccbe;
}

.hero h1,
.section-heading h2,
.matcher-intro h2,
.service-copy h2,
.newsletter h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 640px;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
}

.hero h1 em {
  color: #a27421;
  font-weight: 500;
}

.hero-lede {
  max-width: 580px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 140ms var(--ease-out);
}

.button--primary {
  background: var(--cocoa);
  color: #fffaf3;
  box-shadow: 0 10px 24px rgba(68, 53, 49, 0.16);
}

.button--quiet {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.button--dark {
  background: var(--ink);
  color: #fff;
}

.button--gold {
  background: var(--gold);
  color: #362a25;
}

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

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.79rem;
  list-style: none;
}

.hero-notes li {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-notes .icon {
  width: 15px;
  height: 15px;
  color: #7a8d70;
  stroke-width: 2.2;
}

.hero-visual {
  position: relative;
  min-height: 585px;
  border-radius: 38px 38px 100px 38px;
  background: #efe4d9;
  box-shadow: var(--shadow-lg);
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  min-height: 585px;
  object-fit: cover;
  object-position: 56% center;
  border-radius: inherit;
}

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 17px;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.hero-chip strong {
  display: block;
  color: var(--ink);
  font-size: 0.79rem;
}

.hero-chip--top {
  top: 28px;
  right: -18px;
}

.hero-chip--bottom {
  bottom: 34px;
  left: -32px;
}

.hero-chip__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--coral-soft);
  color: #814c42;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.mini-swatches {
  display: flex;
  padding-left: 7px;
}

.mini-swatches i {
  width: 28px;
  height: 38px;
  margin-left: -7px;
  border: 2px solid #fff;
  border-radius: 10px;
  background: #b1bfa7;
}

.mini-swatches i:nth-child(2) {
  background: #d98672;
}

.mini-swatches i:nth-child(3) {
  background: #825c4c;
}

.section {
  padding-block: 96px;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.section-heading h2,
.service-copy h2,
.newsletter h2 {
  font-size: clamp(2.4rem, 4.3vw, 4rem);
}

.section-heading--row > p {
  max-width: 390px;
  margin: 0 0 4px;
  color: var(--muted);
}

.category-section {
  padding-top: 54px;
}

.category-rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.category-link {
  min-height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid rgba(68, 53, 49, 0.08);
  border-radius: 26px;
  background: var(--paper);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease-out);
}

.category-link--coral { background: var(--coral-soft); }
.category-link--sage { background: var(--sage-soft); }
.category-link--sky { background: var(--sky-soft); }
.category-link--gold { background: #f7edcf; }
.category-link--lilac { background: var(--lilac-soft); }
.category-link--sand { background: #f1e5d7; }

.category-link__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.category-link strong,
.category-link small {
  display: block;
}

.category-link strong {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.category-link small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.73rem;
}

.matcher-section {
  color: #fffaf3;
}

.matcher-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(620px, 1.5fr);
  gap: 54px;
  padding: 58px;
  border-radius: 42px;
  background: var(--cocoa);
  box-shadow: var(--shadow-lg);
}

.matcher-intro {
  align-self: center;
}

.matcher-intro h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.matcher-intro > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: #d9ccc5;
}

.matcher-progress {
  display: flex;
  align-items: center;
  margin-top: 34px;
  color: #b7a9a2;
  font-size: 0.72rem;
}

.matcher-progress span {
  display: grid;
  justify-items: center;
  gap: 5px;
}

.matcher-progress b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #6d5b55;
  border-radius: 50%;
}

.matcher-progress .is-ready {
  color: #fffaf3;
}

.matcher-progress .is-ready b {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.matcher-progress i {
  width: 42px;
  height: 1px;
  margin: 0 8px 20px;
  background: #6d5b55;
}

.set-builder {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1fr);
  overflow: hidden;
  border-radius: 30px;
  background: #f8f1e9;
  color: var(--ink);
}

.builder-controls {
  padding: 30px;
}

.builder-controls fieldset + fieldset {
  margin-top: 27px;
}

.builder-controls legend {
  margin-bottom: 11px;
  font-size: 0.82rem;
  font-weight: 800;
}

.segmented-control,
.choice-row {
  display: grid;
  gap: 7px;
}

.segmented-control {
  grid-template-columns: repeat(4, 1fr);
}

.choice-row {
  grid-template-columns: repeat(2, 1fr);
}

.segmented-control button,
.choice-row button {
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 140ms var(--ease-out);
}

.segmented-control button[aria-pressed="true"],
.choice-row button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.palette-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.palette {
  min-width: 44px;
  min-height: 54px;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 4px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.65rem;
}

.palette i {
  width: 31px;
  height: 31px;
  display: block;
  border: 3px solid #f8f1e9;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px rgba(53, 44, 41, 0.12);
  transition: box-shadow 160ms ease, transform 160ms var(--ease-out);
}

.palette.is-selected i {
  box-shadow: 0 0 0 2px var(--ink);
  transform: scale(1.06);
}

.palette.is-selected span {
  color: var(--ink);
  font-weight: 800;
}

.builder-result {
  position: relative;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  background: var(--paper);
}

.builder-result__image {
  position: relative;
  min-height: 320px;
  flex: 1;
  overflow: hidden;
}

.builder-result__image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(transparent, rgba(36, 29, 27, 0.2));
}

.builder-result__image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.result-badge,
.product-label {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 254, 253, 0.9);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

.builder-result__body {
  padding: 22px;
  border-top: 4px solid var(--result-accent);
  transition: border-color 180ms ease;
}

.product-kicker {
  margin: 0 0 5px;
  color: #9a6a5e;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.builder-result h3,
.product-card h3,
.cart-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.34rem;
  line-height: 1.15;
}

.builder-result__body > p:not(.product-kicker) {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.builder-result__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.builder-result__footer > span small,
.builder-result__footer > span strong {
  display: block;
}

.builder-result__footer > span small {
  color: var(--muted);
  font-size: 0.65rem;
}

.builder-result__footer > span strong {
  white-space: nowrap;
  font-size: 0.92rem;
}

.builder-result__footer .button {
  min-height: 44px;
  padding-inline: 14px;
  font-size: 0.75rem;
}

.collection-section {
  background: var(--paper);
}

.collection-heading {
  align-items: flex-end;
}

.collection-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.results-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.filter-reset {
  min-height: 40px;
  padding-inline: 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 750;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  min-width: 0;
}

.product-card.is-filtered {
  display: none;
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 26px;
  background: var(--coral-soft);
}

.product-card__media--sky { background: var(--sky-soft); }
.product-card__media--sand { background: #f0e6dc; }
.product-card__media--gold { background: #eee4cf; }

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms var(--ease-out);
}

.product-card__media .favorite-button {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  background: rgba(255, 254, 253, 0.9);
  backdrop-filter: blur(6px);
}

.favorite-button[aria-pressed="true"] {
  border-color: var(--coral);
  background: var(--coral);
  color: #fff;
}

.favorite-button[aria-pressed="true"] .icon {
  fill: currentColor;
}

.product-card__body {
  padding: 17px 5px 6px;
}

.product-card h3 {
  font-size: 1.28rem;
}

.product-description {
  min-height: 42px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}

.product-card__footer strong {
  font-size: 0.9rem;
}

.quick-add {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.empty-results {
  padding: 54px 20px;
  border: 1px dashed #d9c8bd;
  border-radius: 28px;
  background: var(--cream);
  text-align: center;
}

.empty-results > span {
  display: block;
  color: var(--coral);
  font-family: var(--font-display);
  font-size: 3rem;
}

.empty-results h3 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.empty-results p {
  margin: 7px 0 18px;
  color: var(--muted);
}

.moments-section {
  background: #f5eee7;
}

.moments-section .section-heading {
  max-width: 720px;
}

.moment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.moment-card {
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 25px;
  border-radius: 30px;
  transition: box-shadow 180ms ease, transform 180ms var(--ease-out);
}

.moment-card--lebaran { background: #e5d6a8; }
.moment-card--anniversary { background: #eaa995; }
.moment-card--holiday { background: #bcd6e4; }

.moment-card__index {
  position: absolute;
  top: 22px;
  left: 24px;
  color: rgba(53, 44, 41, 0.6);
  font-family: var(--font-display);
  font-size: 0.8rem;
}

.moment-card > .icon {
  position: absolute;
  right: 23px;
  bottom: 25px;
  width: 27px;
  height: 27px;
}

.moment-card__copy {
  position: relative;
  z-index: 2;
  max-width: calc(100% - 45px);
}

.moment-card__copy small,
.moment-card__copy strong,
.moment-card__copy span {
  display: block;
}

.moment-card__copy small {
  margin-bottom: 3px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.moment-card__copy strong {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
}

.moment-card__copy span {
  margin-top: 8px;
  font-size: 0.8rem;
}

.moment-art {
  position: absolute;
  display: block;
}

.moment-art--arch {
  top: 39px;
  right: 55px;
  width: 185px;
  height: 225px;
  border: 36px solid rgba(255, 253, 247, 0.58);
  border-bottom: 0;
  border-radius: 100px 100px 0 0;
}

.moment-art--arch::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -46px;
  width: 145px;
  height: 145px;
  border: 1px solid rgba(53, 44, 41, 0.18);
  border-radius: 50%;
}

.moment-art--rings {
  top: 76px;
  left: 50%;
  width: 210px;
  height: 170px;
  transform: translateX(-50%);
}

.moment-art--rings i {
  position: absolute;
  width: 132px;
  height: 132px;
  border: 22px solid rgba(255, 249, 240, 0.68);
  border-radius: 50%;
}

.moment-art--rings i:first-child { left: 0; }
.moment-art--rings i:last-child { right: 0; bottom: 0; }

.moment-art--route {
  top: 75px;
  right: 55px;
  width: 225px;
  height: 150px;
  border: 2px dashed rgba(53, 44, 41, 0.28);
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-10deg);
}

.moment-art--route::before,
.moment-art--route::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 7px solid #fffaf3;
  border-radius: 50% 50% 50% 0;
  background: #6f8fa0;
  transform: rotate(-45deg);
}

.moment-art--route::before { top: 13px; left: 28px; }
.moment-art--route::after { right: 12px; bottom: 10px; }

.service-section {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  gap: 100px;
  align-items: center;
}

.service-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 23px 0 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
  color: #9a5d50;
  font-weight: 800;
}

.service-points {
  border-block: 1px solid var(--line);
}

.service-points article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 17px;
  padding-block: 22px;
}

.service-points article + article {
  border-top: 1px solid var(--line);
}

.service-points article > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: var(--sage-soft);
}

.service-points article:nth-child(2) > span { background: var(--coral-soft); }
.service-points article:nth-child(3) > span { background: var(--sky-soft); }

.service-points h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.service-points p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.newsletter {
  padding: 82px 0;
  background: var(--cocoa);
  color: #fffaf3;
}

.newsletter__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.8fr);
  align-items: center;
  gap: 80px;
}

.newsletter h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
}

.newsletter__inner > div > p:last-child {
  margin: 15px 0 0;
  color: #d5c8c1;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  padding: 7px;
  border: 1px solid #6b5852;
  border-radius: 999px;
  background: #392c29;
}

.newsletter-form input {
  min-width: 0;
  flex: 1;
  padding-inline: 15px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
}

.newsletter-form input::placeholder { color: #ad9e98; }

.site-footer {
  padding: 64px 0 22px;
  background: #2f2623;
  color: #d6c8c1;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.5fr) repeat(3, 1fr);
  gap: 58px;
}

.brand--footer {
  color: #fffaf3;
}

.footer-brand > p {
  max-width: 340px;
  margin: 20px 0 0;
  color: #ab9b94;
  font-size: 0.87rem;
}

.footer-grid h2 {
  margin: 4px 0 17px;
  color: #fffaf3;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) a {
  display: block;
  margin-top: 9px;
  color: #bcaea7;
  font-size: 0.82rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 18px;
  border-top: 1px solid #4c3e39;
  color: #b8aaa3;
  font-size: 0.72rem;
}

.cart-layer {
  position: fixed;
  z-index: 120;
  inset: 0;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(31, 24, 22, 0.45);
  opacity: 0;
  transition: opacity 180ms ease;
}

.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  box-shadow: -22px 0 60px rgba(31, 24, 22, 0.16);
  transform: translateX(100%);
  transition: transform 220ms var(--ease-out);
}

.cart-layer.is-open .cart-backdrop { opacity: 1; }
.cart-layer.is-open .cart-drawer { transform: translateX(0); }

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 24px 18px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__header .eyebrow { margin-bottom: 3px; }

.cart-drawer__header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
}

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

.cart-empty {
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 30px;
  text-align: center;
}

.cart-empty > span {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--coral-soft);
  color: #925447;
}

.cart-empty .icon { width: 28px; height: 28px; }

.cart-empty h3 {
  margin: 19px 0 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.cart-empty p {
  max-width: 270px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 13px;
  align-items: center;
  padding-block: 13px;
}

.cart-item + .cart-item { border-top: 1px solid var(--line); }

.cart-item img {
  width: 82px;
  height: 92px;
  object-fit: cover;
  border-radius: 16px;
}

.cart-item h3 { font-size: 1rem; }

.cart-item p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.cart-item__qty button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}

.cart-item__qty .icon { width: 14px; height: 14px; }

.cart-item__price {
  align-self: start;
  margin-top: 7px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.cart-drawer__footer {
  padding: 19px 24px max(22px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.cart-drawer__footer > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cart-drawer__footer > div span { color: var(--muted); }
.cart-drawer__footer > div strong { font-size: 1.1rem; }

.cart-drawer__footer > small {
  display: block;
  margin-top: 10px;
  color: #998d87;
  font-size: 0.67rem;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 150;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: min(390px, calc(100% - 32px));
  padding: 12px 16px 12px 11px;
  border: 1px solid #55453f;
  border-radius: 17px;
  background: #352b28;
  color: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #738267;
}

.toast p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 650;
}

@media (hover: hover) and (pointer: fine) {
  .desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .icon-button:hover { border-color: #cbbab0; background: #f8eee5; }
  .button:hover { transform: translateY(-2px); }
  .category-link:hover,
  .moment-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
  .product-card:hover .product-card__media img { transform: scale(1.025); }
  .footer-grid a:hover,
  .text-link:hover { color: var(--coral); }
}

.icon-button:active,
.favorite-button:active,
.quick-add:active,
.button:active,
.segmented-control button:active,
.choice-row button:active,
.palette:active {
  transform: scale(0.97);
}

@media (max-width: 1120px) {
  .header-row {
    grid-template-columns: auto 1fr auto;
    gap: 20px;
  }

  .desktop-nav { display: none; }

  .hero-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(450px, 1.14fr);
    gap: 36px;
  }

  .hero-visual,
  .hero-visual > img {
    min-height: 520px;
  }

  .category-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-link { min-height: 156px; }

  .matcher-shell {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .matcher-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }

  .matcher-intro .eyebrow,
  .matcher-intro h2 { grid-column: 1; }
  .matcher-intro > p:not(.eyebrow),
  .matcher-progress { grid-column: 2; }
  .matcher-intro > p:not(.eyebrow) { grid-row: 1 / span 2; align-self: end; }
  .matcher-progress { margin-top: 18px; }

  .service-grid { gap: 56px; }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 138px;
  }

  .container {
    width: min(100% - 28px, 720px);
  }

  .announcement__inner {
    justify-content: flex-start;
    overflow: hidden;
    white-space: nowrap;
  }

  .announcement__inner a { margin-left: auto; }

  .site-header { top: 0; }

  .header-row {
    min-height: 64px;
    display: flex;
    justify-content: space-between;
  }

  .brand img { width: 38px; height: 38px; border-radius: 12px; }
  .brand__name { font-size: 1.2rem; }
  .header-search,
  .desktop-only { display: none; }

  .mobile-search-wrap {
    display: block;
    padding-bottom: 10px;
  }

  .mobile-search { min-height: 42px; }

  .hero {
    padding-top: 37px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 37px;
  }

  .hero-copy { padding: 0; }

  .hero h1 {
    max-width: 670px;
    font-size: clamp(3.2rem, 11vw, 5rem);
  }

  .hero-lede { max-width: 650px; }

  .hero-visual,
  .hero-visual > img {
    min-height: 520px;
  }

  .hero-visual { border-radius: 30px 30px 74px 30px; }
  .hero-chip--top { right: 15px; }
  .hero-chip--bottom { left: 15px; }

  .section { padding-block: 72px; }

  .category-section { padding-top: 34px; }

  .section-heading--row {
    display: block;
  }

  .section-heading--row > p {
    margin-top: 13px;
  }

  .category-rail {
    display: flex;
    gap: 11px;
    margin-right: -14px;
    margin-left: -14px;
    padding: 0 14px 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .category-rail::-webkit-scrollbar { display: none; }

  .category-link {
    min-width: 178px;
    min-height: 150px;
    flex: 0 0 178px;
    scroll-snap-align: start;
  }

  .matcher-shell {
    width: min(100% - 20px, 720px);
    padding: 36px 24px 24px;
    border-radius: 34px;
  }

  .matcher-intro { display: block; }
  .matcher-intro > p:not(.eyebrow) { margin-top: 18px; }
  .matcher-progress { margin-top: 26px; }

  .set-builder {
    grid-template-columns: 1fr 1fr;
  }

  .builder-controls { padding: 24px; }
  .builder-result__image,
  .builder-result__image img { min-height: 350px; }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .product-description { min-height: auto; }

  .moment-grid { grid-template-columns: 1fr; }
  .moment-card { min-height: 290px; }
  .moment-art--arch { right: 12%; height: 190px; }
  .moment-art--rings { top: 45px; }
  .moment-art--route { top: 38px; }

  .service-grid,
  .newsletter__inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-grid { gap: 42px; }
  .newsletter__inner { gap: 32px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 80;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    min-height: 66px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    padding: 6px 7px;
    border: 1px solid rgba(68, 53, 49, 0.12);
    border-radius: 24px;
    background: rgba(255, 254, 253, 0.95);
    box-shadow: 0 18px 50px rgba(44, 34, 31, 0.2);
    backdrop-filter: blur(14px);
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    min-width: 0;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #71655f;
    cursor: pointer;
    font-size: 0.59rem;
    transition: color 180ms ease;
  }

  .mobile-bottom-nav a.is-active,
  .mobile-bottom-nav button.is-active {
    color: var(--coral);
    font-weight: 800;
  }

  .mobile-bottom-nav .icon { width: 20px; height: 20px; }

  .mobile-bottom-nav__primary {
    transform: translateY(-13px);
  }

  .mobile-bottom-nav__primary > span {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 5px solid var(--cream);
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    box-shadow: 0 10px 24px rgba(174, 80, 62, 0.28);
    transition: background-color 180ms ease, transform 180ms var(--ease-out);
  }

  .mobile-bottom-nav__primary.is-active > span { background: var(--coral); }

  .mobile-bottom-nav__primary b { font-size: 0.59rem; }

  .mobile-cart-icon,
  .mobile-favorite-icon { position: relative; display: grid; place-items: center; }
  .mobile-cart-icon .count-badge { top: -8px; right: -12px; }
  .mobile-favorite-icon .count-badge { top: -8px; right: -14px; }

  .site-footer { padding-bottom: 112px; }
  .toast { right: 16px; bottom: 92px; }
}

@media (max-width: 720px) {
  .set-builder { grid-template-columns: 1fr; }
  .builder-result { border-top: 1px solid var(--line); border-left: 0; }
  .builder-result__image,
  .builder-result__image img { min-height: 330px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, 560px); }

  .category-rail {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .announcement { font-size: 0.68rem; }
  .announcement__inner { gap: 7px; }
  .announcement__inner a { display: none; }

  .hero {
    padding: 29px 0 36px;
  }

  .hero::before { display: none; }

  .hero h1 {
    font-size: clamp(2.85rem, 13.5vw, 4rem);
    line-height: 0.98;
  }

  .hero-lede {
    margin-top: 19px;
    font-size: 0.94rem;
  }

  .hero-actions {
    align-items: stretch;
    margin-top: 24px;
  }

  .hero-actions .button {
    flex: 1;
    padding-inline: 14px;
    font-size: 0.8rem;
  }

  .hero-notes {
    display: grid;
    gap: 7px;
    margin-top: 22px;
  }

  .hero-visual,
  .hero-visual > img {
    min-height: 420px;
  }

  .hero-visual > img { object-position: 57% center; }

  .hero-chip {
    padding: 8px 10px 8px 8px;
    font-size: 0.62rem;
  }

  .hero-chip strong { font-size: 0.7rem; }
  .hero-chip__mark { width: 34px; height: 34px; }
  .hero-chip--top { top: 14px; right: 10px; }
  .hero-chip--bottom { bottom: 16px; left: 10px; }
  .mini-swatches i { width: 23px; height: 32px; }

  .section { padding-block: 60px; }
  .section-heading { margin-bottom: 27px; }
  .section-heading h2,
  .service-copy h2 { font-size: 2.45rem; }

  .matcher-section { padding-block: 50px; }
  .matcher-shell { width: calc(100% - 12px); padding: 31px 18px 18px; }
  .matcher-intro h2 { font-size: 2.55rem; }
  .matcher-progress i { width: 25px; }

  .builder-result__footer { align-items: center; }

  .collection-heading > div:first-child { margin-bottom: 12px; }
  .collection-tools { justify-content: space-between; }

  .product-grid { gap: 24px 10px; }
  .product-card__media { border-radius: 20px; }
  .product-card__media .favorite-button { top: 8px; right: 8px; width: 44px; height: 44px; }
  .product-label { top: 9px; left: 9px; padding: 6px 8px; }
  .product-card__body { padding: 13px 2px 4px; }
  .product-card h3 { font-size: 1.08rem; }
  .product-kicker { font-size: 0.58rem; }
  .product-description { font-size: 0.7rem; }
  .product-card__footer { align-items: flex-end; margin-top: 12px; }
  .product-card__footer strong { max-width: 100px; font-size: 0.78rem; line-height: 1.25; }
  .quick-add { width: 44px; height: 44px; }

  .moment-card { min-height: 270px; }
  .moment-art--arch { width: 150px; height: 175px; border-width: 28px; }
  .moment-art--rings { width: 175px; }
  .moment-art--rings i { width: 110px; height: 110px; border-width: 18px; }
  .moment-art--route { width: 190px; }

  .service-points article { grid-template-columns: 48px 1fr; gap: 13px; }
  .service-points article > span { width: 46px; height: 46px; }

  .newsletter { padding: 62px 0; }
  .newsletter h2 { font-size: 2.35rem; }
  .newsletter-form { border-radius: 20px; }
  .newsletter-form .button { min-height: 44px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 4px; }

  .cart-drawer {
    top: auto;
    width: 100%;
    max-height: 88dvh;
    border-radius: 28px 28px 0 0;
    transform: translateY(100%);
  }

  .cart-layer.is-open .cart-drawer { transform: translateY(0); }
  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-item img { width: 70px; height: 82px; }
  .cart-item__price { grid-column: 2; margin: -7px 0 0; }
}

@media (max-width: 380px) {
  .brand__name { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-visual,
  .hero-visual > img { min-height: 375px; }
  .builder-result__footer { display: grid; }
  .builder-result__footer .button { width: 100%; }
  .newsletter-form { display: grid; }
  .newsletter-form input { min-height: 44px; }
}

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