@font-face {
  font-family: "Fraunces";
  src: url("../../assets/fonts/fraunces-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../../assets/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --cream: #fff3df;
  --paper: #fff9ee;
  --sage-50: #fff4df;
  --sage-100: #f4dfbd;
  --sage-300: #e2bc78;
  --sage-600: #8b5728;
  --forest: #543622;
  --ink: #2b211a;
  --muted: #69594e;
  --accent: #d59642;
  --accent-dark: #b8742c;
  --accent-soft: rgba(213, 150, 66, 0.2);
  --line: rgba(84, 54, 34, 0.18);
  --glass: rgba(255, 248, 236, 0.38);
  --glass-strong: rgba(255, 248, 236, 0.52);
  --glass-green: rgba(252, 229, 194, 0.4);
  --shadow: 0 22px 60px rgba(96, 62, 32, 0.14);
  --radius: 8px;
  --focus-ring: #7b451c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.4rem;
}

body {
  position: relative;
  margin: 0;
  background: #fff1d4;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.is-frame-editor-open,
body.is-basket-open,
body.is-image-remove-open,
body.is-leave-confirmation-open {
  overflow: hidden;
}

body::before {
  content: none;
}

body::after {
  content: none;
}

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

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

button,
input,
select {
  font: inherit;
}

button,
.button,
[role="button"],
.product-card-action {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

:where(
  a,
  button,
  select,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  input[type="checkbox"],
  input[type="radio"],
  [role="button"],
  [role="option"]
) {
  touch-action: manipulation;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

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

.announcement {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0.55rem 1rem;
  background: rgba(181, 116, 45, 0.88);
  color: #fff8ea;
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  width: min(1380px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: var(--radius);
  background: var(--glass-strong);
  box-shadow: 0 10px 36px rgba(96, 62, 32, 0.1);
  backdrop-filter: blur(8px) saturate(1.08);
  -webkit-backdrop-filter: blur(8px) saturate(1.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 2vw, 1.8rem);
  min-width: 0;
  font-size: 0.93rem;
  font-weight: 800;
}

.site-nav a {
  padding: 0.5rem 0;
  color: #253124;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--accent-dark);
}

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

.nav-menu > a {
  padding-right: 0.25rem;
}

.nav-dropdown-toggle {
  display: inline-grid;
  width: 1.75rem;
  height: 2.25rem;
  place-items: center;
  border: 0;
  background: transparent;
  color: #253124;
  cursor: pointer;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-menu.is-open .nav-dropdown-toggle {
  color: var(--accent-dark);
}

.nav-dropdown-toggle .sort-chevron {
  width: 0.45rem;
  height: 0.45rem;
}

.nav-menu.is-open .nav-dropdown-toggle .sort-chevron {
  transform: translateY(0.12rem) rotate(225deg);
}

.nav-dropdown {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.55rem);
  left: 50%;
  width: min(18rem, calc(100vw - 2rem));
  max-height: min(32rem, calc(100dvh - 7rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.4rem;
  border: 1px solid rgba(140, 91, 43, 0.2);
  border-radius: 6px;
  background: rgba(255, 247, 231, 0.96);
  box-shadow: 0 16px 34px rgba(84, 54, 34, 0.16);
  transform: translateX(-50%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.nav-dropdown[hidden] {
  display: none;
}

.nav-dropdown a {
  display: block;
  width: 100%;
  padding: 0.65rem 0.7rem;
  border-radius: 4px;
  white-space: normal;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: rgba(224, 164, 78, 0.18);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.basket-trigger {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.36);
  color: var(--forest);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 900;
  padding: 0 0.72rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.basket-trigger strong {
  display: grid;
  min-width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
}

.language-control {
  position: relative;
}

.language-trigger {
  display: flex;
  min-width: 6.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.36);
  color: var(--forest);
  cursor: pointer;
  gap: 0.55rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 900;
  padding: 0 0.72rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.language-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-control.is-open .sort-chevron {
  transform: translateY(0.15rem) rotate(225deg);
}

.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 24;
  display: grid;
  min-width: 11.6rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.9);
  box-shadow: 0 18px 36px rgba(84, 54, 34, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.25rem);
  transition:
    opacity 140ms ease,
    transform 140ms ease;
  backdrop-filter: blur(7px) saturate(1.08);
  -webkit-backdrop-filter: blur(7px) saturate(1.08);
}

.language-menu[hidden],
.sort-menu[hidden] {
  display: none;
}

.language-control.is-open .language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  min-height: 2.65rem;
  align-items: center;
  border: 0;
  border-bottom: 1px solid rgba(84, 54, 34, 0.1);
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  text-align: left;
  padding: 0 0.9rem;
}

.language-option:last-child {
  border-bottom: 0;
}

.language-option span {
  font-size: 0.82rem;
  font-weight: 950;
}

.language-option small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.language-option:hover,
.language-option.is-active {
  background: rgba(213, 150, 66, 0.72);
  color: white;
}

.language-option:hover small,
.language-option.is-active small {
  color: rgba(255, 255, 255, 0.82);
}

.header-action,
.button,
.product-footer button,
.product-card-action,
.product-order-panel button {
  border: 0;
  border-radius: var(--radius);
  background: rgba(213, 150, 66, 0.9);
  color: white;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(79, 128, 82, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.header-action {
  padding: 0.85rem 1.2rem;
  white-space: nowrap;
}

.header-shop-action {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: rgba(213, 150, 66, 0.9);
  color: white;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(79, 128, 82, 0.22);
}

.header-shop-action:hover,
.header-shop-action:focus-visible {
  background: var(--accent-dark);
  color: white;
}

.site-nav a.header-action {
  padding: 0.85rem 1.2rem;
  color: white;
}

.site-nav a.header-action:hover {
  color: white;
}

.header-action:hover,
.button.primary:hover,
.product-footer button:hover,
.product-card-action:hover,
.product-order-panel button:hover {
  background: var(--accent-dark);
}

.secondary-page-actions {
  display: none;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 1.25rem;
}

.page-return-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  border: 1px solid rgba(164, 110, 51, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 249, 238, 0.68);
  color: var(--forest);
  padding: 0.65rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 850;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.page-return-link::before {
  content: "\2190";
  font-size: 1.1rem;
  line-height: 1;
}

.page-return-link:hover {
  border-color: rgba(164, 110, 51, 0.48);
  background: rgba(255, 249, 238, 0.9);
  color: var(--accent-dark);
}

.zone-product-detail > .secondary-page-actions {
  padding-top: clamp(1.2rem, 2.5vw, 2rem);
  margin-bottom: 0;
}

.checkout-page > .secondary-page-actions,
.privacy-page > .secondary-page-actions {
  width: 100%;
}

@media (max-width: 1200px) {
  .zone-product-detail > .secondary-page-actions,
  .checkout-page > .secondary-page-actions,
  .privacy-page > .secondary-page-actions {
    display: block;
  }
}

.nav-toggle {
  display: none;
  width: 2.55rem;
  height: 2.55rem;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--forest);
}

.hero,
.trust-strip,
.how-section,
.section-intro,
.shop-layout,
.occasion-band,
.faq-section {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

#shop,
#products,
#how-it-works,
#occasions,
#faq {
  scroll-margin-top: 5.4rem;
}

#products.products-scroll-anchor {
  height: 0;
  scroll-margin-top: 0.8rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.25rem);
  min-height: min(560px, calc(100vh - 6.5rem));
  padding: clamp(1.7rem, 3vw, 2.7rem) 0 clamp(1.6rem, 3vw, 2.5rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--sage-600);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2 {
  color: var(--forest);
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.9rem, 4.8vw, 4.7rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.hero-text,
.section-intro p {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0;
}

.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  line-height: 1.2;
  text-align: center;
}

.button.ghost {
  border: 1px solid rgba(22, 63, 36, 0.24);
  background: rgba(255, 250, 240, 0.3);
  color: var(--forest);
  box-shadow: none;
}

.button.ghost:hover {
  border-color: var(--forest);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-points span,
.occasion-list span {
  border: 1px solid rgba(164, 110, 51, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.28);
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.55rem 0.8rem;
  backdrop-filter: blur(5px) saturate(1.05);
  -webkit-backdrop-filter: blur(5px) saturate(1.05);
}

.hero-media {
  position: relative;
  justify-self: end;
  width: min(100%, 480px);
}

.hero-light-demo {
  display: grid;
  gap: 1rem;
}

.light-demo-card {
  overflow: hidden;
  gap: 0.95rem;
  border: 1px solid rgba(255, 248, 236, 0.56);
  background: rgba(255, 248, 236, 0.42);
  padding-bottom: 0.95rem;
  box-shadow: 0 24px 52px rgba(120, 75, 34, 0.16);
  backdrop-filter: blur(5px) saturate(1.04);
  -webkit-backdrop-filter: blur(5px) saturate(1.04);
}

.hero-light-demo.light-demo-card {
  border-radius: 26px;
}

.light-demo.light-demo-card {
  border-radius: 24px;
}

.light-demo-card .media-frame,
.light-demo-card .light-preview {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(231, 184, 111, 0.48), rgba(255, 248, 236, 0.56));
  box-shadow: var(--shadow);
}

.hero-light-demo .media-frame {
  aspect-ratio: var(--light-preview-ratio, 1 / 1);
}

.media-frame::before {
  content: none;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.hero-light-demo .media-frame img {
  height: 100%;
  aspect-ratio: auto;
}

.floating-note {
  position: absolute;
  right: clamp(0.8rem, 3vw, 2rem);
  top: clamp(0.8rem, 3vw, 2rem);
  width: min(12rem, 46%);
  padding: 1rem;
  border: 1px solid rgba(84, 54, 34, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.84);
  box-shadow: 0 16px 34px rgba(58, 35, 22, 0.24);
  backdrop-filter: blur(6px) saturate(1.04);
  -webkit-backdrop-filter: blur(6px) saturate(1.04);
}

.floating-note strong,
.floating-note span {
  display: block;
}

.floating-note strong {
  color: #4d301f;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
}

.floating-note span {
  color: #655041;
  font-size: 0.86rem;
  font-weight: 800;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  margin-bottom: clamp(3rem, 7vw, 6rem);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: 0 14px 34px rgba(96, 62, 32, 0.08);
  backdrop-filter: blur(8px) saturate(1.06);
  -webkit-backdrop-filter: blur(8px) saturate(1.06);
}

.trust-strip article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  padding: 1.2rem;
}

.trust-strip article + article {
  border-left: 1px solid var(--line);
}

.icon {
  grid-row: span 2;
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(252, 229, 194, 0.66);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
}

.trust-strip strong {
  color: var(--forest);
}

.trust-strip p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.how-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(1.4rem, 4vw, 3.5rem);
  padding: clamp(2rem, 4vw, 3.2rem) 0;
}

.how-copy h2 {
  max-width: 12.7ch;
}

.how-copy p {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.light-demo {
  display: grid;
  width: 100%;
  gap: 1rem;
}

.light-preview {
  position: relative;
  aspect-ratio: var(--light-preview-ratio, 1 / 1);
  overflow: hidden;
  border: 1px solid rgba(255, 248, 236, 0.48);
  border-radius: 24px;
  background: rgba(255, 248, 236, 0.34);
  box-shadow: 0 24px 52px rgba(120, 75, 34, 0.16);
}

.light-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 220ms ease;
}

.light-image + .light-image {
  position: absolute;
}

.light-image.is-active {
  opacity: 1;
}

.light-state-label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  border: 1px solid rgba(255, 248, 236, 0.55);
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.44);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.4rem 0.65rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.light-toggle {
  justify-self: center;
  min-height: 3rem;
  border: 0;
  border-radius: var(--radius);
  background: rgba(213, 150, 66, 0.92);
  color: var(--forest);
  cursor: pointer;
  font-weight: 900;
  padding: 0.75rem 1.1rem;
  box-shadow: 0 12px 24px rgba(138, 91, 42, 0.18);
}

.hero-actions .button.primary {
  color: var(--forest);
}

.light-toggle:hover {
  background: var(--accent-dark);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.7fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.4rem;
}

.section-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -1.2rem;
}

.section-intro p:last-child {
  margin-bottom: 1.15rem;
}

.section-intro-shop {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
}

.section-intro-shop h2 {
  max-width: 18ch;
  margin-bottom: 0;
}

.collection-deal-note {
  max-width: 29rem;
  margin-left: auto;
  padding: 0.45rem 0 0.45rem 1.2rem;
  border-left: 5px solid var(--accent-dark);
}

.collection-deal-note[hidden] {
  display: none;
}

.collection-deal-note strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--forest);
  font-family: var(--display-font);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.1;
}

.collection-deal-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.shop-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 1.3rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.shop-panel,
.product-card {
  border: 1px solid rgba(164, 110, 51, 0.16);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: 0 14px 32px rgba(96, 62, 32, 0.09);
  backdrop-filter: blur(8px) saturate(1.06);
  -webkit-backdrop-filter: blur(8px) saturate(1.06);
}

.shop-panel {
  align-self: start;
  position: sticky;
  top: 6.2rem;
  max-height: calc(100vh - 7.4rem);
  max-height: calc(100dvh - 7.4rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(164, 110, 51, 0.55) transparent;
  scrollbar-width: thin;
  padding: 1.2rem;
}

.shop-panel::-webkit-scrollbar {
  width: 0.45rem;
}

.shop-panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(164, 110, 51, 0.55);
}

.shop-panel h3 {
  margin-bottom: 0.3rem;
  color: var(--forest);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
}

.mobile-filter-toggle {
  display: none;
}

.shop-filter-content[hidden] {
  display: none;
}

.shop-panel p {
  color: var(--muted);
  font-size: 0.92rem;
}

.price-filter,
.type-filter {
  display: grid;
  gap: 0.85rem;
  padding-top: 1rem;
}

.type-filter {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}

.filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 900;
}

.filter-heading strong {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.filter-heading-title {
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 900;
}

.range-slider {
  position: relative;
  height: 2.6rem;
}

.range-track,
.range-fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 0.46rem;
  border-radius: 999px;
  transform: translateY(-50%);
}

.range-track {
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(84, 54, 34, 0.14);
}

.range-fill {
  right: auto;
  background: rgba(213, 150, 66, 0.78);
  box-shadow: 0 8px 18px rgba(138, 91, 42, 0.16);
}

.range-slider input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 2.6rem;
  margin: 0;
  appearance: none;
  background: transparent;
  pointer-events: none;
}

.range-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 0.46rem;
  background: transparent;
}

.range-slider input[type="range"]::-moz-range-track {
  height: 0.46rem;
  background: transparent;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: -0.4rem;
  appearance: none;
  border: 3px solid rgba(255, 253, 247, 0.92);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(84, 54, 34, 0.28);
  cursor: grab;
  pointer-events: auto;
}

.range-slider input[type="range"]::-moz-range-thumb {
  width: 0.95rem;
  height: 0.95rem;
  border: 3px solid rgba(255, 253, 247, 0.92);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(84, 54, 34, 0.28);
  cursor: grab;
  pointer-events: auto;
}

.price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.price-inputs label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-inputs input {
  min-width: 0;
  min-height: 2.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.3);
  color: var(--forest);
  font-weight: 900;
  padding: 0 0.7rem;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.checkbox-list {
  display: grid;
  gap: 0.55rem;
}

.checkbox-filter {
  position: relative;
  display: flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(164, 110, 51, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.24);
  color: var(--forest);
  cursor: pointer;
  font-weight: 800;
  padding: 0.65rem 0.75rem;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.checkbox-filter:hover {
  border-color: rgba(197, 140, 66, 0.58);
  background: rgba(255, 253, 245, 0.48);
  transform: translateY(-1px);
}

.checkbox-filter input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.checkbox-control {
  position: relative;
  width: 1.3rem;
  height: 1.3rem;
  flex: 0 0 1.3rem;
  border: 1.5px solid rgba(96, 62, 32, 0.5);
  border-radius: 0.38rem;
  background: rgba(255, 253, 245, 0.72);
  box-shadow: inset 0 1px 2px rgba(96, 62, 32, 0.08);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.checkbox-control::after {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.2rem;
  width: 0.32rem;
  height: 0.62rem;
  border: solid #fffdf5;
  border-width: 0 0.14rem 0.14rem 0;
  opacity: 0;
  transform: rotate(45deg) scale(0.65);
  transition: opacity 140ms ease, transform 140ms ease;
}

.checkbox-filter input:checked + .checkbox-control {
  border-color: #b77428;
  background: var(--accent);
  box-shadow: 0 4px 10px rgba(164, 110, 51, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.checkbox-filter input:checked + .checkbox-control::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.checkbox-filter:has(input:checked) {
  border-color: rgba(197, 140, 66, 0.7);
  background: rgba(231, 172, 91, 0.22);
  box-shadow: 0 8px 20px rgba(119, 75, 36, 0.08);
}

.checkbox-filter input:focus-visible + .checkbox-control {
  box-shadow: 0 0 0 3px rgba(255, 253, 245, 0.9), 0 0 0 5px rgba(197, 140, 66, 0.72);
}

.checkbox-label {
  min-width: 0;
  line-height: 1.28;
}

.filter-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.filter-reset-button {
  width: 100%;
  min-height: 2.75rem;
  margin-top: 1.1rem;
  border: 1px solid rgba(164, 110, 51, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.42);
  color: var(--forest);
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
}

.filter-reset-button:hover:not(:disabled) {
  border-color: var(--accent);
  background: rgba(255, 253, 245, 0.72);
}

.filter-reset-button:disabled {
  opacity: 0.48;
  cursor: default;
}

.products-filter-reset {
  display: block;
  width: min(100%, 22rem);
  min-height: 3rem;
  margin: 1.5rem auto 0;
  border: 1px solid rgba(164, 110, 51, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.62);
  color: var(--forest);
  padding: 0.75rem 1rem;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(96, 62, 32, 0.08);
}

.products-filter-reset:hover {
  border-color: var(--accent);
  background: rgba(255, 253, 245, 0.86);
}

.products-filter-reset[hidden] {
  display: none;
}

.filter-list {
  display: grid;
  gap: 0.55rem;
}

.filter-button {
  display: flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(22, 63, 36, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.3);
  color: var(--forest);
  cursor: pointer;
  font-weight: 800;
  padding: 0.65rem 0.8rem;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.filter-button::after {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: rgba(164, 110, 51, 0.24);
}

.filter-button.is-active,
.filter-button:hover {
  border-color: rgba(213, 150, 66, 0.82);
  background: rgba(213, 150, 66, 0.82);
  color: white;
}

.filter-button.is-active::after,
.filter-button:hover::after {
  background: rgba(255, 255, 255, 0.46);
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-weight: 800;
}

.shop-toolbar label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sort-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sort-trigger {
  display: flex;
  min-width: 13rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.34);
  color: var(--forest);
  cursor: pointer;
  font-weight: 900;
  padding: 0 0.75rem 0 0.9rem;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.sort-chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-0.15rem) rotate(45deg);
  transition: transform 160ms ease;
}

.sort-control.is-open .sort-chevron {
  transform: translateY(0.15rem) rotate(225deg);
}

.sort-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 12;
  display: grid;
  min-width: 13rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.48);
  box-shadow: 0 18px 36px rgba(84, 54, 34, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.25rem);
  transition:
    opacity 140ms ease,
    transform 140ms ease;
  backdrop-filter: blur(7px) saturate(1.08);
  -webkit-backdrop-filter: blur(7px) saturate(1.08);
}

.sort-control.is-open .sort-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sort-option {
  min-height: 2.55rem;
  border: 0;
  border-bottom: 1px solid rgba(84, 54, 34, 0.1);
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  font-weight: 850;
  text-align: left;
  padding: 0 0.9rem;
}

.sort-option:last-child {
  border-bottom: 0;
}

.sort-option:hover,
.sort-option.is-active {
  background: rgba(213, 150, 66, 0.72);
  color: white;
}

.shop-toolbar select {
  min-height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.34);
  color: var(--forest);
  font-weight: 800;
  padding: 0 2.2rem 0 0.8rem;
}

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

/* Crawlable collection paths and compact shop navigation */
.collection-links {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid rgba(111, 68, 35, 0.2);
}

.collection-links a {
  min-width: 0;
  padding: 18px 22px;
  color: var(--ink);
  text-decoration: none;
  display: grid;
  gap: 5px;
}

.collection-links a + a {
  border-left: 1px solid rgba(111, 68, 35, 0.2);
}

.collection-links strong {
  font-family: "Fraunces", serif;
  font-size: 1.14rem;
}

.collection-links span {
  color: var(--muted);
  line-height: 1.45;
}

.collection-links a:hover strong,
.collection-links a:focus-visible strong {
  color: var(--accent-strong);
}

.collection-page {
  background: var(--page-bg, #fff0cf);
}

.collection-hero,
.collection-products-section,
.collection-guide,
.collection-seo-deal {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.collection-hero {
  min-height: 560px;
  padding: 72px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  align-items: center;
  gap: 70px;
}

.collection-hero h1 {
  max-width: 750px;
  margin: 12px 0 20px;
  font-family: "Fraunces", serif;
  font-size: clamp(3rem, 5.6vw, 5.5rem);
  line-height: 0.98;
}

.collection-hero > div > p:last-of-type {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.collection-hero > img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 22px 55px rgba(83, 52, 30, 0.18);
}

.collection-seo-deal {
  margin-bottom: 76px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  border-block: 6px solid var(--accent, #dda24e);
}

.collection-seo-deal strong {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
}

.collection-seo-deal p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.collection-products-section {
  padding-bottom: 86px;
}

.collection-section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.collection-section-heading h2 {
  margin: 8px 0 12px;
  font-family: "Fraunces", serif;
  font-size: clamp(2.25rem, 4vw, 3.65rem);
  line-height: 1.06;
}

.collection-section-heading > p:last-child {
  color: var(--muted);
  line-height: 1.65;
}

.collection-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collection-product-grid:has(.collection-product-card:only-child) {
  grid-template-columns: minmax(280px, 390px);
}

.collection-product-card .product-description {
  min-height: 4.6em;
}

.collection-guide {
  padding: 76px 0 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 90px;
  border-top: 8px solid var(--accent-strong, #a8652d);
}

.collection-guide article {
  align-self: center;
}

.collection-guide article h3 {
  margin: 0 0 14px;
  font-family: "Fraunces", serif;
  font-size: 1.8rem;
}

.collection-guide article p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .collection-hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 48px;
  }

  .collection-hero > img {
    max-height: 480px;
  }

  .collection-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collection-guide {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .collection-links {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    margin-bottom: 22px;
  }

  .collection-links a {
    padding: 14px 16px;
  }

  .collection-links a + a {
    border-left: 0;
    border-top: 1px solid rgba(111, 68, 35, 0.2);
  }

  .collection-hero,
  .collection-products-section,
  .collection-guide,
  .collection-seo-deal {
    width: calc(100% - 28px);
  }

  .collection-hero {
    min-height: 0;
    padding: 38px 0 52px;
  }

  .collection-hero h1 {
    max-width: 100%;
    font-size: clamp(2.3rem, 11vw, 3.35rem);
    overflow-wrap: anywhere;
  }

  .collection-hero > img {
    max-height: 420px;
    border-radius: 22px;
  }

  .collection-seo-deal {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 4px;
    margin-bottom: 58px;
  }

  .collection-product-grid,
  .collection-product-grid:has(.collection-product-card:only-child) {
    grid-template-columns: minmax(0, 1fr);
  }

  .collection-product-card .product-description {
    min-height: 0;
  }

  .collection-guide {
    padding: 54px 0 70px;
  }
}

.empty-state {
  grid-column: 1 / -1;
  padding: 1.4rem;
  border: 1px solid rgba(164, 110, 51, 0.16);
  border-radius: var(--radius);
  background: var(--glass);
  color: var(--muted);
  backdrop-filter: blur(8px) saturate(1.06);
  -webkit-backdrop-filter: blur(8px) saturate(1.06);
}

.empty-state h3 {
  margin-bottom: 0.3rem;
  color: var(--forest);
  font-family: "Fraunces", Georgia, serif;
}

.empty-state p {
  margin: 0;
}

.product-card {
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(84, 54, 34, 0.13);
}

.product-link {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
}

.product-image {
  position: relative;
  overflow: hidden;
  background: rgba(252, 229, 194, 0.58);
}

.product-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 220ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.035);
}

.product-image span {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  max-width: calc(100% - 1.6rem);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.32);
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.38rem 0.62rem;
  backdrop-filter: blur(5px) saturate(1.05);
  -webkit-backdrop-filter: blur(5px) saturate(1.05);
}

.product-offer-ribbon {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08rem;
  max-width: calc(100% - 1.5rem);
  border: 1px solid rgba(255, 250, 240, 0.42);
  border-radius: 8px;
  background: #a6602d;
  color: #fffaf0;
  padding: 0.55rem 0.7rem;
  box-shadow: 0 0.45rem 1rem rgba(78, 43, 22, 0.22);
}

.product-offer-ribbon strong {
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1.05;
}

.product-offer-ribbon small {
  color: #fffaf0;
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1.15;
}

.product-content {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  align-content: start;
  gap: 0.45rem;
  padding: 1rem;
}

.product-content p {
  min-height: 1em;
  margin: 0;
  color: var(--sage-600);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.product-content h3 {
  min-height: 4.45rem;
  margin: 0;
  color: var(--forest);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.15;
}

.product-description {
  min-height: 5.4rem;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.35rem;
}

.product-footer strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.product-card-price {
  display: grid;
  gap: 0.12rem;
}

.product-card-price small {
  max-width: 12rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.25;
}

.product-footer button,
.product-card-action {
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 9.75rem;
  min-height: 2.45rem;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.68rem;
  font-size: 0.88rem;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.product-detail,
.product-info-section {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  grid-template-areas:
    "gallery heading"
    "gallery order"
    "description order";
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2rem, 5vw, 4.5rem) 0;
}

.product-gallery-column {
  grid-area: gallery;
  display: grid;
  gap: 1.15rem;
}

.product-detail-heading {
  grid-area: heading;
  min-width: 0;
  padding: clamp(0.4rem, 2vw, 1rem) 0 0;
}

.product-detail-heading h1 {
  margin-bottom: 0.65rem;
}

.product-detail-heading .product-subtitle {
  margin-bottom: 1.15rem;
  line-height: 1.55;
}

.product-summary-row {
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  border-top: 1px solid rgba(164, 110, 51, 0.2);
  border-bottom: 1px solid rgba(164, 110, 51, 0.2);
  padding: 0.65rem 0;
}

.product-summary-row > #productPrice {
  color: var(--forest);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1;
}

.product-gallery {
  display: grid;
  gap: 0.8rem;
}

.product-main-image {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 236, 0.5);
  border-radius: 26px;
  background: rgba(252, 229, 194, 0.52);
  box-shadow: var(--shadow);
}

.product-main-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(255, 248, 236, 0.62);
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.72);
  color: var(--forest);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition:
    opacity 160ms ease,
    background 160ms ease,
    transform 160ms ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-main-image:hover .gallery-arrow {
  opacity: 1;
}

.product-main-image:focus-within .gallery-arrow {
  opacity: 1;
}

.gallery-arrow:hover {
  background: rgba(213, 150, 66, 0.9);
  color: white;
}

.gallery-arrow-prev {
  left: 0.85rem;
}

.gallery-arrow-next {
  right: 0.85rem;
}

.gallery-arrow span {
  width: 0.7rem;
  height: 0.7rem;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.gallery-arrow-prev span {
  transform: translateX(0.12rem) rotate(45deg);
}

.gallery-arrow-next span {
  transform: translateX(-0.12rem) rotate(225deg);
}

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

.product-thumbnails button {
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: rgba(255, 248, 236, 0.4);
  cursor: pointer;
  padding: 0;
}

.product-thumbnails button.is-active,
.product-thumbnails button:hover {
  border-color: var(--accent);
}

.product-thumbnails img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.breadcrumb-link {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--sage-600);
  font-size: 0.86rem;
  font-weight: 900;
}

.product-subtitle,
.product-long-description {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.product-detail > .product-long-description {
  grid-area: description;
  max-width: 34rem;
  margin: 0;
}

.product-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0.8rem 0 0;
}

.product-offer {
  display: flex;
  align-items: center;
  width: fit-content;
  color: var(--forest);
}

.product-offer[hidden] {
  display: none;
}

.product-offer > strong {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #a6602d;
  color: #fffaf0;
  padding: 0.42rem 0.68rem;
  font-size: 0.9rem;
  font-weight: 950;
}

#productOccasion,
#productBadge,
.category-chips span {
  border: 1px solid rgba(164, 110, 51, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.34);
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 900;
  padding: 0.48rem 0.72rem;
  backdrop-filter: blur(5px) saturate(1.05);
  -webkit-backdrop-filter: blur(5px) saturate(1.05);
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
}

.product-order-panel {
  grid-area: order;
  display: grid;
  gap: 0.75rem;
  margin-top: 0;
  padding: 1.1rem;
  border: 1px solid rgba(164, 110, 51, 0.16);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: 0 14px 32px rgba(96, 62, 32, 0.09);
  backdrop-filter: blur(8px) saturate(1.06);
  -webkit-backdrop-filter: blur(8px) saturate(1.06);
}

.product-order-panel h2 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.product-order-panel p {
  margin: 0;
  color: var(--muted);
}

.product-order-panel > button {
  justify-self: start;
  min-height: 3rem;
  padding: 0.75rem 1.1rem;
}

.quantity-control {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.quantity-control label {
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 900;
}

.product-order-panel .product-order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 20rem);
  margin: 0.15rem 0 0;
  border: 1px solid rgba(166, 96, 45, 0.25);
  border-radius: 8px;
  background: rgba(166, 96, 45, 0.1);
  padding: 0.62rem 0.75rem;
  color: var(--forest);
}

.product-order-total[hidden] {
  display: none;
}

.product-order-total strong {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
}

.product-order-total span {
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 900;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 2.8rem minmax(4.8rem, 6.4rem) 2.8rem;
  width: max-content;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.42);
}

.quantity-stepper button {
  display: grid;
  min-height: 2.7rem;
  place-items: center;
  border: 0;
  background: rgba(255, 248, 236, 0.48);
  color: var(--forest);
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 950;
  box-shadow: none;
}

.quantity-stepper button:hover {
  background: rgba(213, 150, 66, 0.78);
  color: white;
}

.quantity-stepper input {
  min-width: 0;
  border: 0;
  border-inline: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.32);
  color: var(--forest);
  font-weight: 950;
  text-align: center;
}

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

.quantity-stepper input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.upload-panel {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.upload-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.upload-panel-heading div {
  display: grid;
  gap: 0.15rem;
}

.upload-panel-heading strong {
  color: var(--forest);
  font-weight: 950;
}

.upload-panel-heading span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.assign-all-button {
  min-height: 2.55rem;
  border: 1px solid rgba(164, 110, 51, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 248, 236, 0.5);
  color: var(--forest);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 900;
  padding: 0 0.8rem;
  box-shadow: none;
  white-space: nowrap;
}

.assign-all-button:hover:not(:disabled) {
  background: rgba(213, 150, 66, 0.82);
  color: white;
}

.assign-all-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.4rem, 1fr));
  gap: 0.7rem;
}

.quantity-removal-hint {
  margin: 0 0 0.7rem;
  border-left: 4px solid #bd6a2c;
  background: rgba(255, 250, 240, 0.68);
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.65rem 0.8rem;
}

.upload-slot-actions button.is-delete-suggested {
  border-color: #9d512f;
  background: #9d512f;
  color: #fff8ec;
  box-shadow: 0 0 0 4px rgba(189, 106, 44, 0.2);
  animation: suggest-delete 0.85s ease-in-out 3;
}

@keyframes suggest-delete {
  50% {
    box-shadow: 0 0 0 8px rgba(189, 106, 44, 0.08);
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .upload-slot-actions button.is-delete-suggested {
    animation: none;
  }
}

/* Editorial discovery pages */
.editorial-page {
  --editorial-surface: var(--glass);
  --editorial-border: 1px solid rgba(164, 110, 51, 0.16);
  --editorial-shadow: 0 14px 32px rgba(96, 62, 32, 0.09);
  background: #fff1d4;
  color: var(--forest);
  overflow-x: clip;
}

.editorial-page .announcement {
  background: rgba(181, 116, 45, 0.88);
  color: #fff8ea;
}

.editorial-header {
  position: sticky;
  z-index: 20;
}

.editorial-page .button.ghost {
  border-color: rgba(84, 54, 34, 0.24);
  background: rgba(255, 250, 240, 0.3);
}

.editorial-header .site-nav a[aria-current="page"]:not(.header-action) {
  color: var(--accent-dark);
}

.editorial-header .site-nav a[aria-current="page"]:not(.header-action)::after {
  width: 100%;
}

.editorial-header .site-nav a.header-action,
.editorial-header .site-nav a.header-action:hover,
.editorial-header .site-nav a.header-action:focus-visible,
.editorial-header .site-nav a.header-action[aria-current="page"] {
  color: white;
}

.editorial-page main {
  overflow: visible;
}

.editorial-hero,
.editorial-story,
.editorial-section,
.editorial-hub,
.editorial-detail,
.editorial-final-cta,
.editorial-footer-main {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(23rem, 0.82fr);
  min-height: min(760px, calc(100svh - 7.8rem));
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.home-editorial-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  min-height: min(720px, calc(100svh - 8rem));
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  padding: clamp(2rem, 7vw, 5.5rem);
  color: #fffaf0;
}

.home-editorial-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(43, 28, 22, 0.42);
  pointer-events: none;
}

.home-editorial-hero .editorial-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 47rem;
}

.home-editorial-hero .editorial-hero-copy h1 {
  max-width: 10ch;
  color: #fffaf0;
  text-wrap: balance;
}

.home-editorial-hero .editorial-hero-copy > p:not(.eyebrow) {
  color: rgba(255, 250, 240, 0.88);
}

.home-editorial-hero .eyebrow {
  color: #ffe0a9;
}

.home-editorial-hero .button.ghost {
  border-color: rgba(255, 250, 240, 0.72);
  color: #fffaf0;
}

.home-editorial-hero .editorial-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
}

.home-editorial-hero .editorial-image-frame {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-editorial-hero .editorial-light-toggle {
  position: absolute;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 3;
  border-color: rgba(255, 250, 240, 0.45);
  background: rgba(85, 51, 38, 0.82);
  backdrop-filter: blur(7px);
}

.editorial-hero-copy h1,
.editorial-hub-hero h1,
.editorial-detail-hero h1 {
  max-width: 12ch;
  margin: 0.45rem 0 1.25rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 5.8rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.editorial-hero-copy > p:not(.eyebrow),
.editorial-hub-hero > p:not(.eyebrow),
.editorial-detail-hero > div > p:not(.eyebrow) {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.7;
}

.editorial-hero-media {
  display: grid;
  justify-items: center;
  gap: 1rem;
  min-width: 0;
}

.editorial-image-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  border: var(--editorial-border);
  border-radius: var(--radius);
  background: rgba(252, 229, 194, 0.58);
  box-shadow: var(--editorial-shadow);
}

.editorial-image-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 180ms ease;
}

.editorial-image-frame img.is-active {
  opacity: 1;
}

.editorial-light-toggle {
  border: 1px solid rgba(84, 54, 34, 0.22);
  border-radius: 6px;
  background: #e4a44d;
  color: #fffaf0;
  padding: 0.78rem 1.1rem;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.editorial-story {
  display: grid;
  grid-template-columns: minmax(20rem, 0.8fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  padding-block: clamp(4rem, 9vw, 8rem);
}

.editorial-story::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  background: #ffe3b0;
  transform: translateX(-50%);
}

.editorial-story {
  position: relative;
  z-index: 0;
}

.editorial-story-media {
  overflow: hidden;
  aspect-ratio: 1;
  border: var(--editorial-border);
  border-radius: var(--radius);
  background: rgba(252, 229, 194, 0.58);
  box-shadow: var(--editorial-shadow);
}

.editorial-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-story h2,
.editorial-section-heading h2,
.editorial-final-cta h2,
.editorial-detail-grid h2 {
  max-width: 15ch;
  margin: 0.45rem 0 1rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 3.9rem;
  line-height: 1;
  letter-spacing: 0;
}

.editorial-story > div:last-child > p:last-child,
.editorial-section-heading > p,
.editorial-section-heading.split > p,
.editorial-final-cta p,
.editorial-detail-grid article > p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.editorial-section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.editorial-steps {
  position: relative;
  z-index: 0;
}

.editorial-steps::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  background: #fff1d4;
  transform: translateX(-50%);
}

.editorial-section-heading {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.editorial-section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  gap: 3rem;
  align-items: end;
}

.editorial-section-heading.split > p {
  max-width: 37rem;
  margin: 0 0 0.4rem;
}

.editorial-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid rgba(84, 54, 34, 0.2);
}

.editorial-step-grid article {
  min-width: 0;
  padding: 2rem clamp(1rem, 3vw, 2.5rem) 2.3rem;
}

.editorial-step-grid article + article {
  border-left: 1px solid rgba(84, 54, 34, 0.2);
}

.editorial-step-grid article > span {
  color: #88491f;
  font-size: 0.78rem;
  font-weight: 900;
}

.editorial-step-grid h3 {
  margin: 0.8rem 0 0.65rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.editorial-step-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.editorial-category-band,
.editorial-occasion-band,
.editorial-related {
  position: relative;
  z-index: 0;
}

.editorial-category-band::before,
.editorial-occasion-band::before,
.editorial-related::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
}

.editorial-category-band::before {
  background: #f3d3a3;
}

.editorial-occasion-band::before {
  background: #e5a95d;
}

.editorial-related::before {
  background: #ffe7bd;
}

.editorial-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.editorial-card {
  overflow: hidden;
  min-width: 0;
  border: var(--editorial-border);
  border-radius: var(--radius);
  background: var(--editorial-surface);
  box-shadow: var(--editorial-shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
  backdrop-filter: blur(8px) saturate(1.06);
  -webkit-backdrop-filter: blur(8px) saturate(1.06);
}

.editorial-card > a {
  display: grid;
  height: 100%;
  grid-template-rows: auto 1fr;
  color: inherit;
  text-decoration: none;
}

.editorial-card-media {
  overflow: hidden;
  aspect-ratio: 1;
  background: rgba(252, 229, 194, 0.58);
}

.editorial-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.editorial-card:hover .editorial-card-media img {
  transform: scale(1.035);
}

.editorial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(84, 54, 34, 0.13);
}

.editorial-card-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1.25rem;
}

.editorial-card-copy .eyebrow {
  margin-bottom: 0.55rem;
  font-size: 0.68rem;
}

.editorial-card-copy h2,
.editorial-card-copy h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.65rem;
  line-height: 1.08;
}

.editorial-card-copy > p:not(.eyebrow) {
  margin: 0.7rem 0 1.25rem;
  color: var(--muted);
  line-height: 1.55;
}

.editorial-card-copy > span,
.editorial-product-example a span,
.editorial-text-link {
  margin-top: auto;
  color: #88491f;
  font-size: 0.85rem;
  font-weight: 900;
}

.editorial-text-link {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  margin-top: 1.5rem;
  text-decoration: none;
}

.editorial-final-cta {
  position: relative;
  z-index: 0;
  margin-block: 0;
  background: transparent;
  color: var(--forest);
  padding-block: clamp(4.5rem, 9vw, 8rem);
  text-align: center;
}

.editorial-final-cta::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  background: #ffe7bd;
  transform: translateX(-50%);
}

.editorial-final-cta h2 {
  max-width: 18ch;
  margin-inline: auto;
  color: var(--forest);
}

.editorial-final-cta p {
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  color: #4a2b1c;
}

.editorial-hub,
.editorial-detail {
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: 0;
}

.editorial-hub-hero {
  max-width: 60rem;
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.editorial-hub-hero h1 {
  max-width: 13ch;
}

.editorial-occasion-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.editorial-occasion-grid .editorial-card > a {
  grid-template-columns: minmax(10rem, 0.72fr) minmax(0, 1fr);
  grid-template-rows: 1fr;
}

.editorial-occasion-grid .editorial-card-media {
  height: 100%;
  min-height: 19rem;
  aspect-ratio: auto;
}

.editorial-breadcrumb {
  display: flex;
  overflow-x: auto;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.editorial-breadcrumb a {
  color: var(--forest);
  font-weight: 800;
}

.editorial-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.8fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.editorial-detail-hero h1 {
  max-width: 11ch;
  font-size: 5.2rem;
}

.editorial-detail-hero > img {
  width: 100%;
  aspect-ratio: 1;
  border: var(--editorial-border);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--editorial-shadow);
}

.editorial-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid rgba(84, 54, 34, 0.2);
}

.editorial-detail-grid article {
  min-width: 0;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.editorial-detail-grid article + article {
  border-left: 1px solid rgba(84, 54, 34, 0.2);
}

.editorial-detail-grid h2 {
  max-width: 18ch;
  font-size: 2.45rem;
}

.editorial-product-examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.editorial-product-example {
  overflow: hidden;
  border: var(--editorial-border);
  border-radius: var(--radius);
  background: var(--editorial-surface);
  box-shadow: var(--editorial-shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
  backdrop-filter: blur(8px) saturate(1.06);
  -webkit-backdrop-filter: blur(8px) saturate(1.06);
}

.editorial-product-example:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(84, 54, 34, 0.13);
}

.editorial-product-example a {
  display: grid;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.editorial-product-example img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.editorial-product-example a > div {
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
}

.editorial-product-example h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
}

.editorial-product-example p {
  margin: 0.6rem 0 1.1rem;
  color: var(--muted);
  line-height: 1.52;
}

.editorial-footer {
  position: relative;
  background: #c18a55;
  color: #3b2418;
  padding-top: 2.2rem;
}

.editorial-story::after,
.editorial-steps::after,
.editorial-category-band::after,
.editorial-occasion-band::after,
.editorial-related::after,
.editorial-final-cta::after,
.editorial-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: min(1260px, calc(100vw - 1rem));
  height: 8px;
  border-radius: 999px;
  background: #9d6736;
  transform: translate(-50%, -50%);
}

.editorial-footer-main {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding-bottom: 2rem;
}

.editorial-footer .brand,
.editorial-footer-main nav a {
  color: #3b2418;
}

.editorial-footer .brand small {
  color: #3b2418;
}

.editorial-footer-main nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.4rem;
}

.editorial-footer .legal-footer {
  border-top: 1px solid rgba(84, 54, 34, 0.16);
  color: #3b2418;
}

.editorial-footer .legal-footer a {
  color: #3b2418;
}

@media (max-width: 980px) {
  .editorial-hero,
  .editorial-detail-hero {
    grid-template-columns: 1fr;
  }

  .editorial-hero {
    min-height: auto;
  }

  .editorial-hero-copy h1,
  .editorial-hub-hero h1,
  .editorial-detail-hero h1 {
    font-size: 4.5rem;
  }

  .home-editorial-hero {
    min-height: min(680px, calc(100svh - 7rem));
  }

  .editorial-hero-media,
  .editorial-detail-hero > img {
    width: min(38rem, 100%);
  }

  .home-editorial-hero .editorial-hero-media {
    width: 100%;
  }

  .editorial-detail-hero > img {
    justify-self: center;
  }

  .editorial-card-grid,
  .editorial-product-examples {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-detail-grid {
    grid-template-columns: 1fr;
  }

  .editorial-detail-grid article + article {
    border-top: 1px solid rgba(84, 54, 34, 0.2);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .editorial-hero,
  .editorial-story,
  .editorial-section,
  .editorial-hub,
  .editorial-detail,
  .editorial-final-cta,
  .editorial-footer-main {
    width: min(100% - 1.25rem, 1180px);
  }

  .editorial-hero-copy h1,
  .editorial-hub-hero h1,
  .editorial-detail-hero h1 {
    max-width: 100%;
    font-size: 2.55rem;
    overflow-wrap: normal;
    word-break: normal;
  }

  .editorial-story h2,
  .editorial-section-heading h2,
  .editorial-final-cta h2,
  .editorial-detail-grid h2 {
    font-size: 2.35rem;
  }

  .home-editorial-hero {
    width: min(100% - 1rem, 1180px);
    min-height: min(640px, calc(100svh - 5.5rem));
    margin-top: 0.5rem;
    padding: 1.4rem;
  }

  .home-editorial-hero .editorial-hero-copy {
    padding-bottom: 4.2rem;
  }

  .editorial-story {
    grid-template-columns: 1fr;
  }

  .editorial-story-media {
    width: min(26rem, 100%);
    aspect-ratio: 1;
  }

  .editorial-section-heading.split {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .editorial-step-grid,
  .editorial-card-grid,
  .editorial-product-examples,
  .editorial-occasion-grid {
    grid-template-columns: 1fr;
  }

  .editorial-step-grid article + article {
    border-top: 1px solid rgba(84, 54, 34, 0.2);
    border-left: 0;
  }

  .editorial-occasion-grid .editorial-card > a {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .editorial-occasion-grid .editorial-card-media {
    min-height: 0;
    aspect-ratio: 1;
  }

  .editorial-footer-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .editorial-footer-main nav {
    display: grid;
    justify-content: start;
  }
}

@media (max-width: 440px) {
  .editorial-final-cta {
    padding-block: 3.5rem;
  }
}

.upload-slot {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.upload-slot-upload {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  cursor: pointer;
}

.upload-slot-stage {
  display: contents;
}

.upload-grid[data-preview-layout="uniform"] .upload-slot-stage {
  display: grid;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1;
  place-items: center;
}

.upload-grid[data-preview-layout="uniform"] .upload-slot-preview {
  width: var(--upload-preview-width, 100%);
  height: var(--upload-preview-height, 100%);
  max-width: 100%;
  max-height: 100%;
}

.upload-grid[data-preview-layout="uniform"] .upload-slot-preview.is-landscape {
  align-self: center;
}

.upload-grid[data-preview-layout="uniform"] .upload-slot-preview.is-portrait {
  justify-self: center;
}

.upload-grid[data-preview-layout="uniform"] .upload-slot-preview.is-square {
  place-self: center;
}

.upload-slot input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.product-order-panel .upload-slot-add {
  align-content: start;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.upload-slot-add .upload-slot-preview {
  border-style: dashed;
  opacity: 0.82;
}

.product-order-panel .upload-slot-add:hover {
  background: transparent;
}

.upload-slot-add:hover .upload-slot-preview {
  opacity: 1;
}

.upload-slot-preview {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  aspect-ratio: var(--frame-aspect-ratio, 1 / 1);
  place-items: center;
  border: var(--frame-brim-thickness, 6px) solid var(--frame-brim-color, rgba(196, 137, 61, 0.78));
  border-radius: var(--frame-radius, var(--radius));
  background: rgba(255, 250, 240, 0.42);
  box-shadow: 0 12px 24px rgba(96, 62, 32, 0.08);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.upload-slot:hover .upload-slot-preview {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.upload-slot:focus-within .upload-slot-preview {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.upload-slot-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-slot-preview.has-rasterized-frame,
.basket-item-preview.has-rasterized-frame,
.checkout-summary-preview.has-rasterized-frame {
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.upload-slot-preview.has-rasterized-frame img,
.basket-item-preview.has-rasterized-frame img,
.checkout-summary-preview.has-rasterized-frame img {
  height: auto;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

.upload-slot-hole {
  position: absolute;
  left: var(--hole-x);
  top: var(--hole-y);
  width: var(--hole-size);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: transparent;
  isolation: isolate;
  transform: translate(-50%, -50%);
  --hole-fill: rgba(255, 241, 212, 0.96);
  --hole-outline: rgba(84, 54, 34, 0.28);
  --hole-outline-width: 1px;
  --hole-inset-shadow: inset 0 2px 6px rgba(84, 54, 34, 0.16);
}

.upload-slot-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
  min-width: 0;
}

.upload-slot-actions button {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(164, 110, 51, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.46);
  color: var(--forest);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: anywhere;
  padding: 0.45rem 0.35rem;
  white-space: nowrap;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.upload-slot-actions button:hover {
  background: rgba(213, 150, 66, 0.94);
  color: #fff8ec;
}

.upload-slot-plus {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(213, 150, 66, 0.86);
  color: white;
  font-size: 1.35rem;
  font-weight: 850;
}

.upload-slot-copy {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.upload-slot-copy strong {
  overflow: hidden;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-slot-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.basket-message {
  min-height: 1.2rem;
  margin: -0.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.basket-drawer[hidden] {
  display: none;
}

.basket-drawer {
  position: fixed;
  inset: 0;
  z-index: 75;
}

.basket-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 33, 26, 0.34);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.basket-panel {
  position: absolute;
  right: 0;
  top: 0;
  display: grid;
  grid-template-rows: auto;
  align-content: start;
  gap: 0.8rem;
  width: min(31rem, 100%);
  height: 100%;
  overflow: auto;
  border-left: 1px solid rgba(255, 248, 236, 0.58);
  background: rgba(255, 244, 222, 0.96);
  box-shadow: -24px 0 70px rgba(43, 33, 26, 0.24);
  padding: clamp(1rem, 3vw, 1.4rem);
}

.basket-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.basket-header h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.basket-close {
  position: relative;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.52);
  color: var(--forest);
  cursor: pointer;
  font-size: 0;
}

.basket-close span::before,
.basket-close span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.basket-close span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.basket-close span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.basket-items {
  display: grid;
  align-content: start;
  gap: 0.6rem;
}

.basket-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.6rem;
  border: 1px solid rgba(164, 110, 51, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.45);
}

.basket-item-link {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
}

.basket-item-link:hover strong {
  color: var(--accent-dark);
}

.basket-item-preview-stage {
  display: grid;
  width: 4.2rem;
  aspect-ratio: 1 / 1;
  place-items: center;
}

.basket-item-preview {
  position: relative;
  display: block;
  box-sizing: border-box;
  overflow: hidden;
  width: var(--basket-preview-width, 100%);
  height: var(--basket-preview-height, 100%);
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: var(--frame-aspect-ratio, 1 / 1);
  border: var(--frame-brim-thickness, 6px) solid var(--frame-brim-color, rgba(196, 137, 61, 0.78));
  border-radius: var(--frame-radius, var(--radius));
  background: rgba(252, 229, 194, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255, 248, 236, 0.42),
    0 0.28rem 0.7rem rgba(84, 54, 34, 0.14);
}

.basket-item-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.basket-item-hole {
  position: absolute;
  left: var(--hole-x);
  top: var(--hole-y);
  width: var(--hole-size);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: transparent;
  isolation: isolate;
  transform: translate(-50%, -50%);
  --hole-fill: rgba(255, 241, 212, 0.98);
  --hole-outline: rgba(84, 54, 34, 0.3);
  --hole-outline-width: 1px;
  --hole-inset-shadow: inset 0 2px 5px rgba(84, 54, 34, 0.2);
}

.basket-item-link > div {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.basket-item strong {
  color: var(--forest);
  font-weight: 950;
}

.basket-item span,
.basket-summary > p,
.basket-empty p {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.basket-item .basket-item-offer {
  display: block;
  width: fit-content;
  margin-top: 0.28rem;
  border-radius: 999px;
  background: #a6602d;
  color: #fffaf0;
  padding: 0.22rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 900;
  line-height: 1.2;
}

.basket-item button {
  border: 1px solid rgba(164, 110, 51, 0.2);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.56);
  color: var(--forest);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.5rem 0.7rem;
}

.basket-item-tools {
  display: grid;
  gap: 0.45rem;
  justify-items: end;
}

.basket-quantity-control {
  display: grid;
  grid-template-columns: auto 2rem 2.6rem 2rem;
  align-items: center;
  border: 1px solid rgba(164, 110, 51, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.5);
  overflow: hidden;
}

.basket-quantity-control span {
  padding: 0 0.55rem;
  white-space: nowrap;
}

.basket-quantity-control button {
  border: 0;
  border-radius: 0;
  background: transparent;
  min-height: 2rem;
  padding: 0;
}

.basket-quantity-control input {
  width: 2.6rem;
  min-height: 2rem;
  border: 0;
  border-inline: 1px solid rgba(164, 110, 51, 0.16);
  background: rgba(255, 250, 240, 0.35);
  color: var(--forest);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 900;
  text-align: center;
  -moz-appearance: textfield;
}

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

.basket-summary {
  display: grid;
  gap: 0.6rem;
  border-top: 1px solid rgba(164, 110, 51, 0.2);
  padding-top: 0.8rem;
}

.basket-delivery {
  display: grid;
  gap: 0;
  margin-bottom: 0.15rem;
}

.basket-delivery-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  cursor: pointer;
  border: 1px solid rgba(164, 110, 51, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.58);
  color: var(--forest);
  font: inherit;
  padding: 0.68rem 0.78rem;
  text-align: left;
}

.basket-delivery-summary:focus-visible,
.basket-delivery-done:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.basket-delivery-summary[aria-expanded="true"] {
  border-bottom-color: transparent;
  border-radius: var(--radius) var(--radius) 0 0;
  background: rgba(255, 250, 240, 0.76);
}

.basket-delivery-copy {
  display: grid;
  gap: 0.06rem;
  min-width: 0;
}

.basket-delivery-copy small {
  color: var(--accent-dark);
  font-size: 0.67rem;
  font-weight: 950;
  text-transform: uppercase;
}

.basket-delivery-copy strong {
  overflow: hidden;
  color: var(--forest);
  font-size: 0.87rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.basket-delivery-copy > span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
}

.basket-delivery-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.basket-delivery-meta strong {
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 950;
}

.basket-delivery-meta i {
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.basket-delivery-summary[aria-expanded="true"] .basket-delivery-meta i {
  transform: rotate(225deg);
}

.basket-delivery-editor {
  display: grid;
  gap: 0.72rem;
  border: 1px solid rgba(164, 110, 51, 0.24);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: rgba(255, 250, 240, 0.7);
  padding: 0.72rem;
}

.basket-delivery-editor[hidden] {
  display: none;
}

.basket-delivery-done {
  justify-self: end;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fffaf0;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 950;
  padding: 0.48rem 0.82rem;
}

.basket-delivery fieldset {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  border: 0;
  padding: 0;
}

.basket-delivery legend {
  margin-bottom: 0.15rem;
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 950;
}

.basket-country-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(164, 110, 51, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.38);
}

.basket-country-option {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.05rem;
  min-width: 0;
  cursor: pointer;
  padding: 0.45rem 0.22rem;
  color: var(--muted);
  text-align: center;
}

.basket-country-option + .basket-country-option {
  border-left: 1px solid rgba(164, 110, 51, 0.16);
}

.basket-country-option.is-selected {
  background: var(--accent);
  color: #fffaf0;
}

.basket-country-option input,
.basket-shipping-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.basket-country-option:focus-within,
.basket-shipping-option:focus-within {
  outline: 3px solid var(--focus-ring);
  outline-offset: -3px;
}

.basket-country-option strong {
  color: inherit;
  font-size: 0.78rem;
  font-weight: 950;
}

.basket-country-option span {
  overflow: hidden;
  max-width: 100%;
  color: inherit;
  font-size: 0.67rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.basket-shipping-options {
  display: grid;
  gap: 0.5rem;
}

.basket-shipping-option {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  border: 1px solid rgba(164, 110, 51, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.4);
  padding: 0.58rem 0.7rem;
}

.basket-shipping-option.is-selected {
  border-color: rgba(164, 110, 51, 0.62);
  background: rgba(239, 178, 96, 0.28);
  box-shadow: inset 3px 0 0 var(--accent-dark);
}

.basket-shipping-option > span {
  display: grid;
  gap: 0.12rem;
}

.basket-shipping-option strong {
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 950;
}

.basket-shipping-option small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.basket-shipping-status {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
}

.basket-shipping-status > span {
  width: 0.48rem;
  height: 0.48rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #b48b64;
}

.basket-shipping-status.is-live {
  color: #537043;
}

.basket-shipping-status.is-live > span {
  background: #6f914f;
  box-shadow: 0 0 0 3px rgba(111, 145, 79, 0.14);
}

.basket-pickup-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
}

.basket-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-weight: 850;
}

.basket-summary-row > strong {
  color: var(--forest);
}

.basket-summary .basket-total {
  color: var(--forest);
  font-size: 1.12rem;
}

.basket-summary .button {
  justify-content: center;
  padding: 0.9rem 1rem;
}

.basket-summary .button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.basket-empty {
  padding: 1rem;
  border: 1px solid rgba(164, 110, 51, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.38);
}

.basket-remove-confirmation[hidden] {
  display: none;
}

.basket-remove-confirmation {
  position: fixed;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.image-remove-confirmation {
  z-index: 90;
}

.leave-confirmation {
  z-index: 95;
}

.basket-remove-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 33, 26, 0.42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.basket-remove-dialog {
  position: relative;
  z-index: 1;
  width: min(25rem, 100%);
  border: 1px solid rgba(255, 248, 236, 0.64);
  border-radius: var(--radius);
  background: rgba(255, 244, 222, 0.97);
  box-shadow: 0 24px 70px rgba(43, 33, 26, 0.28);
  padding: clamp(1.1rem, 4vw, 1.45rem);
}

.basket-remove-dialog h3 {
  margin-bottom: 0.45rem;
  color: var(--forest);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
}

.basket-remove-dialog p {
  margin-bottom: 1.2rem;
  color: var(--muted);
}

.basket-remove-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
}

.basket-remove-actions .button {
  min-height: 2.8rem;
  padding: 0.7rem 0.9rem;
}

.basket-remove-actions .basket-remove-confirm {
  background: #9d512f;
}

.basket-remove-actions .basket-remove-confirm:hover {
  background: #783b24;
}

.frame-editor[hidden] {
  display: none;
}

.frame-editor {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.frame-editor-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 33, 26, 0.36);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.frame-editor-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.2rem;
  width: min(1240px, 100%);
  max-height: min(860px, calc(100vh - 2rem));
  overflow: auto;
  border: 1px solid rgba(255, 248, 236, 0.62);
  border-radius: 18px;
  background: rgba(255, 244, 222, 0.94);
  box-shadow: 0 28px 80px rgba(43, 33, 26, 0.28);
  padding: clamp(1rem, 3vw, 1.6rem);
}

.frame-editor-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.frame-editor-header h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.frame-editor-close {
  position: relative;
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.5);
  color: var(--forest);
  cursor: pointer;
  font-size: 0;
}

.frame-editor-close:hover {
  background: rgba(213, 150, 66, 0.86);
  color: white;
}

.frame-editor-close span::before,
.frame-editor-close span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.frame-editor-close span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.frame-editor-close span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.frame-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.38fr);
  gap: clamp(1rem, 4vw, 2rem);
  align-items: stretch;
}

.frame-editor-stage {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  min-width: 0;
}

.frame-preview-switch {
  display: none;
}

.frame-preview-panes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  min-width: 0;
}

.frame-preview-pane {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.45rem;
  min-width: 0;
}

.frame-preview-label {
  margin: 0;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 950;
}

.frame-preview-shell {
  display: grid;
  min-height: 22rem;
  place-items: center;
  border: 1px solid rgba(164, 110, 51, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(84, 54, 34, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(84, 54, 34, 0.06) 1px, transparent 1px),
    rgba(255, 250, 240, 0.4);
  background-size: 24px 24px;
  padding: clamp(1rem, 3vw, 2rem);
}

.frame-preview-measured {
  display: grid;
  width: min(100%, 400px);
  grid-template-columns: minmax(0, 1fr) 2.4rem;
  grid-template-rows: 1.8rem auto;
  place-items: stretch;
}

.frame-dimension {
  position: relative;
  z-index: 2;
  display: grid;
  visibility: hidden;
  place-items: center;
  color: rgba(117, 70, 31, 0.78);
  font-size: 0.68rem;
  font-weight: 900;
  pointer-events: none;
}

.frame-preview-measured.has-dimensions .frame-dimension {
  visibility: visible;
}

.frame-dimension strong {
  position: relative;
  z-index: 1;
  width: max-content;
  border: 1px solid rgba(164, 110, 51, 0.2);
  border-radius: 999px;
  background: rgba(255, 244, 222, 0.96);
  padding: 0.2rem 0.48rem;
  box-shadow: 0 3px 10px rgba(84, 54, 34, 0.08);
  line-height: 1;
}

.frame-dimension-width {
  grid-column: 1;
  grid-row: 1;
}

.frame-dimension-height {
  grid-column: 2;
  grid-row: 2;
}

.frame-dimension-height strong {
  transform: rotate(90deg);
}

.frame-dimension-line {
  position: absolute;
  display: block;
  background: currentColor;
}

.frame-dimension-width .frame-dimension-line {
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
}

.frame-dimension-height .frame-dimension-line {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1.5px;
}

.frame-dimension-line::before,
.frame-dimension-line::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
}

.frame-dimension-width .frame-dimension-line::before {
  left: 0;
  top: 50%;
  border-top: 4px solid transparent;
  border-right: 7px solid currentColor;
  border-bottom: 4px solid transparent;
  transform: translateY(-50%);
}

.frame-dimension-width .frame-dimension-line::after {
  right: 0;
  top: 50%;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid currentColor;
  transform: translateY(-50%);
}

.frame-dimension-height .frame-dimension-line::before {
  left: 50%;
  top: 0;
  border-right: 4px solid transparent;
  border-bottom: 7px solid currentColor;
  border-left: 4px solid transparent;
  transform: translateX(-50%);
}

.frame-dimension-height .frame-dimension-line::after {
  left: 50%;
  bottom: 0;
  border-top: 7px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  transform: translateX(-50%);
}

.piece-preview-shell {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid rgba(164, 110, 51, 0.18);
  border-radius: var(--radius);
  background: #3f2a22;
  box-shadow: inset 0 0 0 1px rgba(255, 248, 236, 0.34);
}

.piece-preview-shell canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 22rem;
  cursor: grab;
  touch-action: none;
}

.piece-preview-shell canvas:active {
  cursor: grabbing;
}

.piece-backlight-toggle {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  min-height: 2.75rem;
  border: 1px solid rgba(255, 248, 236, 0.58);
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.88);
  color: #543622;
  padding: 0.6rem 0.9rem;
  box-shadow: 0 0.5rem 1.2rem rgba(31, 17, 10, 0.22);
  backdrop-filter: blur(7px);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.piece-backlight-toggle:hover {
  background: #fff8ec;
}

.piece-preview-status {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max-content;
  max-width: calc(100% - 2rem);
  border: 1px solid rgba(255, 248, 236, 0.5);
  border-radius: 999px;
  background: rgba(84, 54, 34, 0.82);
  color: #fffaf0;
  padding: 0.45rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
  transform: translate(-50%, -50%);
}

.piece-preview-status[hidden] {
  display: none;
}

.frame-preview-stage {
  position: relative;
  width: 100%;
  min-width: 0;
  grid-column: 1;
  grid-row: 2;
}

.frame-preview {
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  aspect-ratio: var(--frame-aspect-ratio, 1 / 1);
  border: var(--frame-brim-thickness, 6px) solid var(--frame-brim-color, rgba(196, 137, 61, 0.78));
  border-radius: var(--frame-radius, 18px);
  background: rgba(252, 229, 194, 0.7);
  box-shadow:
    inset 0 0 0 1px rgba(255, 248, 236, 0.45),
    0 18px 44px rgba(84, 54, 34, 0.18);
  cursor: grab;
  touch-action: none;
}

.frame-preview:active {
  cursor: grabbing;
}

.frame-preview img {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: none;
  object-fit: fill;
  transform-origin: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  user-select: none;
  pointer-events: none;
}

.frame-gesture-hint[hidden] {
  display: none;
}

.frame-gesture-hint {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  display: grid;
  width: min(19rem, calc(100% - 1.5rem));
  gap: 0.65rem;
  border: 1px solid rgba(255, 250, 240, 0.34);
  border-radius: var(--radius);
  background: rgba(67, 42, 27, 0.9);
  box-shadow: 0 14px 34px rgba(43, 33, 26, 0.24);
  color: #fffaf0;
  padding: 0.9rem;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  animation: frameHintIn 220ms ease-out;
}

.frame-gesture-hint > strong {
  font-size: 0.92rem;
  font-weight: 950;
}

.frame-gesture-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.frame-gesture-actions > span {
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.1);
  padding: 0.34rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 850;
}

.frame-gesture-hint > button {
  justify-self: center;
  min-width: 4.5rem;
  cursor: pointer;
  border: 1px solid rgba(255, 250, 240, 0.38);
  border-radius: 999px;
  background: #fffaf0;
  color: #543622;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 950;
  padding: 0.42rem 0.8rem;
}

.frame-gesture-hint > button:hover {
  background: #f1c77f;
}

@keyframes frameHintIn {
  from {
    opacity: 0;
    transform: translate(-50%, -46%);
  }
}

.frame-hole {
  position: absolute;
  left: var(--hole-x);
  top: var(--hole-y);
  width: var(--hole-size);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: transparent;
  isolation: isolate;
  transform: translate(-50%, -50%);
  --hole-fill: rgba(255, 244, 222, 0.96);
  --hole-outline: rgba(84, 54, 34, 0.24);
  --hole-outline-width: 2px;
  --hole-inset-shadow: inset 0 3px 10px rgba(84, 54, 34, 0.18);
}

.upload-slot-hole::before,
.basket-item-hole::before,
.frame-hole::before {
  position: absolute;
  z-index: 0;
  inset: calc(0% - var(--hole-reinforcement-relative, 0%));
  border-radius: 50%;
  background: var(--frame-brim-color, #c58c42);
  content: "";
  pointer-events: none;
}

.upload-slot-hole::after,
.basket-item-hole::after,
.frame-hole::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  border: var(--hole-outline-width, 1px) solid var(--hole-outline);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--hole-fill) 0 calc(100% - var(--hole-inner-roundover-relative, 0%)),
    color-mix(in srgb, var(--hole-fill), var(--ink) 22%) 100%
  );
  box-shadow: var(--hole-inset-shadow);
  box-sizing: border-box;
  content: "";
  pointer-events: none;
}

.frame-description {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.55;
}

.frame-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.frame-help-title {
  color: var(--forest);
  font-size: 0.95rem;
}

.frame-help-steps {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.frame-help-steps li {
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr);
  align-items: start;
  gap: 0.55rem;
}

.frame-help-steps li > span {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  border-radius: 50%;
  background: #a6602d;
  color: #fffaf0;
  font-size: 0.72rem;
  font-weight: 950;
}

.frame-help-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.frame-editor-controls {
  display: grid;
  align-content: space-between;
  align-self: stretch;
  gap: 1rem;
  min-height: 100%;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  border: 1px solid rgba(164, 110, 51, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.5);
  box-shadow: 0 18px 44px rgba(84, 54, 34, 0.08);
}

.frame-editor-copy {
  display: grid;
  gap: 0.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(164, 110, 51, 0.16);
}

.frame-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.frame-replace-photo {
  width: 100%;
  justify-content: center;
}

.frame-photo-tools {
  display: grid;
  gap: 0.7rem;
}

.frame-orientation-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem;
  border: 1px solid rgba(164, 110, 51, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.48);
  color: var(--forest);
}

.frame-orientation-control[hidden] {
  display: none;
}

.frame-orientation-copy {
  display: grid;
  gap: 0.2rem;
}

.frame-orientation-copy strong {
  font-size: 0.9rem;
}

.frame-orientation-copy span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.frame-orientation-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(5.2rem, 1fr));
  overflow: hidden;
  border: 1px solid rgba(164, 110, 51, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.7);
}

.frame-orientation-options button {
  display: grid;
  min-height: 3.4rem;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  place-items: center;
  gap: 0.25rem;
  border: 0;
  border-right: 1px solid rgba(164, 110, 51, 0.2);
  background: transparent;
  color: var(--forest);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 900;
  touch-action: manipulation;
}

.frame-orientation-options button:last-child {
  border-right: 0;
}

.frame-orientation-options button.is-active {
  background: #e0a44e;
  color: #fffaf0;
}

.frame-orientation-shape {
  width: 1.55rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-radius: 0.18rem;
}

.frame-orientation-shape.is-turned {
  width: 1rem;
  height: 1.55rem;
}

@media (max-width: 760px) {
  .frame-orientation-control {
    grid-template-columns: 1fr;
  }

  .frame-orientation-options {
    width: 100%;
  }
}

.frame-rotation-control {
  display: grid;
  gap: 0.75rem;
  padding: 0.9rem;
  border: 1px solid rgba(164, 110, 51, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.48);
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 900;
}

.frame-rotation-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.frame-rotation-value {
  display: flex;
  align-items: center;
  min-width: 4.3rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(224, 164, 78, 0.16);
  color: var(--forest);
  cursor: text;
}

.frame-rotation-value:focus-within {
  outline: 2px solid rgba(184, 111, 36, 0.45);
  outline-offset: 2px;
}

.frame-rotation-value input {
  width: 3rem;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

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

.frame-rotation-tools {
  display: grid;
  grid-template-columns: 3.35rem minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
}

.frame-rotate-quarter {
  display: grid;
  width: 3.35rem;
  min-height: 3.35rem;
  cursor: pointer;
  place-items: center;
  gap: 0;
  border: 1px solid rgba(164, 110, 51, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.72);
  color: var(--forest);
  font: inherit;
  touch-action: manipulation;
}

.frame-rotate-quarter span {
  font-size: 1.25rem;
  line-height: 1;
}

.frame-rotate-quarter strong {
  font-size: 0.7rem;
  line-height: 1;
}

.frame-rotate-quarter:hover,
.frame-rotate-quarter:focus-visible {
  background: #e0a44e;
  color: #fffaf0;
}

.frame-rotation-slider {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.frame-rotation-slider input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 1.65rem;
  margin: 0;
  padding: 0;
  cursor: grab;
  border: 0;
  outline: 0;
  background: transparent;
  accent-color: #c27a2c;
  touch-action: pan-y;
}

.frame-rotation-slider input::-webkit-slider-runnable-track {
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(to right, rgba(164, 110, 51, 0.22), #d9953f, rgba(164, 110, 51, 0.22));
}

.frame-rotation-slider input::-webkit-slider-thumb {
  appearance: none;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: -0.47rem;
  border: 3px solid #fffaf0;
  border-radius: 50%;
  background: #b86f24;
  box-shadow: 0 2px 7px rgba(91, 55, 31, 0.24);
}

.frame-rotation-slider input::-moz-range-track {
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(164, 110, 51, 0.25);
}

.frame-rotation-slider input::-moz-range-thumb {
  width: 1.05rem;
  height: 1.05rem;
  border: 3px solid #fffaf0;
  border-radius: 50%;
  background: #b86f24;
  box-shadow: 0 2px 7px rgba(91, 55, 31, 0.24);
}

.frame-rotation-slider input:active {
  cursor: grabbing;
}

.frame-rotation-scale {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
}

.frame-editor-actions .button {
  flex: 1 1 9rem;
  justify-content: center;
}

.product-info-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.product-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-manufacturer {
  display: grid;
  gap: 0.28rem;
  margin-top: 1.4rem;
  border-top: 3px solid var(--accent);
  padding-top: 0.9rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.45;
}

.product-manufacturer strong {
  color: var(--forest);
}

.product-manufacturer a {
  width: fit-content;
  color: var(--accent-dark);
  font-weight: 800;
}

.product-detail-list li {
  min-height: 4rem;
  border: 1px solid rgba(164, 110, 51, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 248, 236, 0.38);
  color: var(--forest);
  font-weight: 850;
  padding: 0.95rem;
}

.product-detail-list .product-promotion-detail {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  border-color: rgba(164, 96, 45, 0.34);
  background: rgba(224, 159, 73, 0.2);
  padding: 1rem 1.1rem;
}

.product-promotion-detail strong {
  border-radius: 999px;
  background: #a6602d;
  color: #fffaf0;
  padding: 0.38rem 0.62rem;
  white-space: nowrap;
}

.product-promotion-detail span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
}

.occasion-band {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  overflow: hidden;
  margin-bottom: clamp(3rem, 7vw, 6rem);
  padding: clamp(1.6rem, 4vw, 3.4rem);
  border: 1px solid rgba(255, 248, 236, 0.54);
  border-radius: var(--radius);
  background: rgba(255, 248, 236, 0.44);
  color: var(--ink);
  box-shadow: 0 24px 52px rgba(120, 75, 34, 0.14);
  backdrop-filter: blur(7px) saturate(1.04);
  -webkit-backdrop-filter: blur(7px) saturate(1.04);
}

.occasion-band .eyebrow,
.occasion-band h2 {
  color: var(--forest);
}

.occasion-band h2 {
  margin-bottom: 0;
  max-width: 12ch;
}

.occasion-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-content: center;
}

.occasion-list span {
  border-color: rgba(132, 78, 32, 0.2);
  background: rgba(255, 248, 236, 0.44);
  color: var(--forest);
  box-shadow: 0 10px 20px rgba(120, 75, 34, 0.08);
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(1.8rem, 5vw, 4.5rem);
  padding: clamp(2.8rem, 6vw, 5.5rem) 0;
}

.faq-heading {
  position: sticky;
  top: 7rem;
}

.faq-heading h2 {
  max-width: 10ch;
  margin-bottom: 1rem;
}

.faq-heading > p:last-child {
  max-width: 28rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.faq-list {
  border-top: 1px solid rgba(84, 54, 34, 0.2);
}

.faq-item {
  border-bottom: 1px solid rgba(84, 54, 34, 0.2);
}

.faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.3rem;
  align-items: center;
  gap: 1rem;
  min-height: 5.2rem;
  color: var(--forest);
  cursor: pointer;
  font-weight: 850;
  line-height: 1.35;
  list-style: none;
  padding: 1rem 0;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border: 1px solid rgba(84, 54, 34, 0.22);
  border-radius: 50%;
  background: rgba(255, 248, 236, 0.52);
  color: var(--forest);
  font-size: 1.35rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover::after,
.faq-item summary:focus-visible::after {
  border-color: var(--accent-dark);
  background: var(--accent);
  color: #fffaf0;
}

.faq-item > p {
  max-width: 43rem;
  margin: -0.3rem 3.3rem 0 0;
  padding: 0 0 1.4rem;
  color: var(--muted);
  line-height: 1.7;
}

.faq-item a {
  color: var(--forest);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(84, 54, 34, 0.35);
  text-underline-offset: 0.2em;
}

.faq-item a:hover {
  text-decoration-color: currentColor;
}

@media (max-width: 1200px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "brand toggle tools"
      "nav nav nav";
  }

  .brand {
    grid-area: brand;
  }

  .nav-toggle {
    grid-area: toggle;
    display: inline-flex;
    flex-direction: column;
    justify-self: end;
  }

  .site-nav {
    grid-area: nav;
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding-top: 0.4rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a {
    width: 100%;
    padding: 0.7rem 0;
  }

  .nav-menu {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-menu > a {
    width: auto;
    padding: 0.7rem 0;
  }

  .nav-dropdown-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }

  .nav-dropdown {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    max-height: min(20rem, calc(100dvh - 13rem));
    overflow-y: auto;
    margin: 0.15rem 0 0.35rem;
    transform: none;
    box-shadow: none;
  }

  .header-action {
    display: none;
  }

  .header-shop-action {
    display: inline-flex;
  }

  .header-tools {
    grid-area: tools;
    justify-self: end;
  }
}

@media (max-width: 940px) {
  .frame-editor-layout {
    grid-template-columns: 1fr;
  }

  .frame-editor-controls {
    min-height: auto;
  }

  .announcement {
    display: none;
  }

  .hero,
  .how-section,
  .section-intro,
  .shop-layout,
  .product-detail,
  .product-info-section,
  .occasion-band {
    grid-template-columns: 1fr;
  }

  .product-detail {
    grid-template-areas:
      "heading"
      "gallery"
      "order"
      "description";
  }

  .hero {
    min-height: auto;
  }

  .hero-copy,
  .hero-media {
    min-width: 0;
  }

  .hero-media {
    justify-self: center;
    width: min(100%, 680px);
  }

  .light-demo {
    justify-self: center;
    width: min(100%, 720px);
  }

  .product-gallery-column {
    justify-self: center;
    width: min(100%, 680px);
  }

  .product-detail-heading,
  .product-detail > .product-order-panel,
  .product-detail > .product-long-description {
    justify-self: center;
    width: min(100%, 680px);
  }

  h1 {
    max-width: 15ch;
  }

  .trust-strip,
  .product-grid,
  .product-detail-list {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-strip article:first-child {
    grid-column: 1 / -1;
  }

  .shop-panel {
    position: static;
    max-height: none;
    overflow-y: visible;
    overscroll-behavior: auto;
  }

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

@media (max-width: 640px) {
  html {
    scroll-padding-top: 8.8rem;
  }

  body {
    background: #fff1d4;
  }

  .product-content h3,
  .product-description {
    min-height: 0;
  }

  .site-header,
  .hero,
  .trust-strip,
  .how-section,
  .section-intro,
  .shop-layout,
  .product-detail,
  .product-info-section,
  .occasion-band,
  .faq-section {
    width: min(100% - 1rem, 1180px);
  }

  .faq-section {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    padding: 2.6rem 0 3rem;
  }

  .faq-heading {
    position: static;
  }

  .faq-heading h2 {
    max-width: 13ch;
    font-size: 2.5rem;
  }

  .faq-item summary {
    min-height: 4.7rem;
    font-size: 0.98rem;
  }

  .faq-item > p {
    margin-right: 0;
    font-size: 0.94rem;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand toggle"
      "tools tools"
      "nav nav";
    gap: 0.6rem;
    margin-top: 0.5rem;
    padding: 0.65rem;
  }

  .zone-shop {
    padding-block: 1.6rem 2rem;
  }

  .section-intro {
    gap: 0.65rem;
    margin-bottom: 0.9rem;
  }

  .section-intro .eyebrow {
    grid-column: auto;
    margin-bottom: 0;
  }

  .section-intro h2,
  .section-intro p:last-child {
    margin-bottom: 0;
  }

  .section-intro h2 {
    font-size: 2.15rem;
    line-height: 1.06;
  }

  .section-intro-shop {
    gap: 1.25rem;
  }

  .collection-deal-note {
    max-width: none;
    margin-left: 0;
    padding: 0.35rem 0 0.35rem 1rem;
  }

  .section-intro > p:not(.eyebrow) {
    font-size: 0.98rem;
  }

  .shop-layout {
    gap: 0.85rem;
    margin-bottom: 3rem;
  }

  .brand {
    min-width: 0;
  }

  .header-tools {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
  }

  .header-shop-action,
  .language-trigger,
  .basket-trigger {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .language-trigger {
    gap: 0.7rem;
  }

  .language-menu {
    left: 0;
    right: auto;
    min-width: min(11.6rem, calc(100vw - 2rem));
  }

  #shop,
  #products,
  #how-it-works,
  #occasions,
  #faq {
    scroll-margin-top: 0.8rem;
  }

  h1 {
    font-size: 2.55rem;
  }

  .product-detail {
    gap: 0.95rem;
    padding: 1.1rem 0 2.4rem;
  }

  .product-detail-heading {
    padding: 0 0.35rem;
  }

  .product-detail-heading h1 {
    max-width: none;
    margin-bottom: 0.55rem;
    font-size: 2.45rem;
  }

  .product-detail-heading .product-subtitle {
    margin-bottom: 0.85rem;
    font-size: 0.98rem;
  }

  .product-summary-row {
    min-height: 3.75rem;
    padding-block: 0.55rem;
  }

  .product-summary-row > #productPrice {
    font-size: 2.2rem;
  }

  .product-detail-heading .product-meta-row {
    gap: 0.5rem;
    margin: 0.65rem 0 0;
  }

  .product-gallery-column {
    width: min(100%, 21rem);
  }

  .product-thumbnails {
    gap: 0.45rem;
  }

  .product-order-panel {
    gap: 0.65rem;
    padding: 0.9rem;
  }

  .product-order-panel h2 {
    font-size: 1.85rem;
  }

  .product-detail > .product-long-description {
    padding-inline: 0.35rem;
    font-size: 1rem;
  }

  .hero {
    gap: 1.35rem;
    padding-top: 1.6rem;
  }

  .media-frame {
    border-radius: 20px;
  }

  .hero-light-demo.light-demo-card {
    border-radius: 20px;
  }

  .light-preview {
    border-radius: 18px;
  }

  .light-demo.light-demo-card {
    border-radius: 18px;
  }

  .media-frame img {
    aspect-ratio: 4 / 3;
  }

  .floating-note {
    position: absolute;
    right: 0.7rem;
    top: 0.7rem;
    width: min(11rem, 58%);
    padding: 0.75rem;
  }

  .floating-note strong {
    font-size: 1rem;
  }

  .hero-points {
    display: none;
  }

  .trust-strip,
  .product-grid,
  .product-detail-list,
  .filter-list {
    grid-template-columns: 1fr;
  }

  .shop-panel {
    overflow: hidden;
    padding: 0;
  }

  .mobile-filter-toggle {
    display: flex;
    width: 100%;
    min-height: 3.7rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--forest);
    padding: 0.7rem 1rem;
    text-align: left;
  }

  .mobile-filter-toggle > span:first-child {
    display: grid;
    gap: 0.05rem;
  }

  .mobile-filter-toggle strong {
    font-size: 0.94rem;
    font-weight: 950;
  }

  .mobile-filter-toggle small {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 800;
  }

  .mobile-filter-toggle[aria-expanded="true"] .sort-chevron {
    transform: translateY(0.15rem) rotate(225deg);
  }

  .shop-filter-content {
    border-top: 1px solid rgba(164, 110, 51, 0.16);
    padding: 0.9rem 1rem 1rem;
  }

  .shop-filter-content > h3,
  .shop-filter-content > p {
    display: none;
  }

  .shop-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-toolbar label,
  .shop-toolbar select {
    width: 100%;
  }

  .frame-editor-layout {
    grid-template-columns: 1fr;
  }

  .frame-preview-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(164, 110, 51, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.48);
    padding: 0.25rem;
  }

  .frame-preview-switch button {
    min-width: 0;
    cursor: pointer;
    border: 0;
    border-radius: calc(var(--radius) - 3px);
    background: transparent;
    color: var(--muted);
    padding: 0.62rem 0.5rem;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 900;
  }

  .frame-preview-switch button.is-active {
    background: #e0a44e;
    color: #fffaf0;
  }

  .frame-preview-panes {
    display: block;
  }

  .frame-preview-panes[data-frame-preview-panes="photo"] .frame-piece-pane,
  .frame-preview-panes[data-frame-preview-panes="piece"] .frame-photo-pane {
    display: none;
  }

  .frame-preview-label {
    display: none;
  }

  .frame-editor {
    padding: 0.4rem;
  }

  .frame-editor-dialog {
    gap: 0.8rem;
    max-height: calc(100dvh - 0.8rem);
    border-radius: 12px;
    padding: 0.75rem;
  }

  .frame-editor-header h2 {
    font-size: 1.75rem;
  }

  .frame-preview-shell {
    min-height: 0;
    padding: 0.75rem;
  }

  .piece-preview-shell,
  .piece-preview-shell canvas {
    min-height: min(22rem, 54vh);
  }

  .frame-editor-controls {
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .frame-editor-copy {
    gap: 0.45rem;
    padding-bottom: 0.7rem;
  }

  .frame-description,
  .frame-help {
    font-size: 0.86rem;
  }

  .gallery-arrow {
    width: 2.65rem;
    height: 2.65rem;
    opacity: 1;
  }

  .basket-panel {
    width: 100%;
    padding: 0.85rem;
  }

  .basket-item {
    gap: 0.45rem;
    padding: 0.5rem;
  }

  .basket-item-link {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 0.5rem;
  }

  .basket-item-preview-stage {
    width: 3.5rem;
  }

  .basket-item-tools {
    gap: 0.3rem;
  }

  .basket-quantity-control {
    grid-template-columns: 2rem 2.5rem 2rem;
  }

  .basket-quantity-control span {
    display: none;
  }

  .basket-quantity-control input {
    width: 2.5rem;
  }

  .basket-item button {
    padding: 0.42rem 0.55rem;
  }

  .basket-remove-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .basket-remove-actions .button {
    width: 100%;
  }

  .upload-panel-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .upload-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem 0.55rem;
  }

  .upload-slot-actions button {
    min-height: 2.25rem;
    padding-inline: 0.2rem;
  }

  .upload-slot-copy strong,
  .upload-slot-copy small {
    text-overflow: clip;
    white-space: normal;
  }

  .assign-all-button,
  .quantity-stepper {
    width: 100%;
  }

  .quantity-stepper {
    grid-template-columns: 2.8rem 1fr 2.8rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }
}

@media (hover: none), (pointer: coarse) {
  .gallery-arrow {
    opacity: 1;
  }
}

/* Checkout and payment status */
.checkout-header {
  position: relative;
}

.checkout-page,
.order-status-page {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.checkout-intro {
  max-width: 50rem;
  margin-bottom: 2rem;
}

.checkout-intro h1,
.order-status-panel h1 {
  max-width: 17ch;
  margin: 0.35rem 0 0.8rem;
  color: var(--forest);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.checkout-intro > p:last-child {
  max-width: 44rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.checkout-mode {
  margin-bottom: 1.25rem;
  border: 1px solid rgba(164, 110, 51, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 248, 236, 0.62);
  color: var(--forest);
  padding: 0.75rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 800;
}

.checkout-mode[data-mode="test"] {
  border-color: rgba(181, 116, 45, 0.48);
  background: #ffe0aa;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.75fr);
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: start;
}

.checkout-form,
.checkout-summary {
  border: 1px solid rgba(164, 110, 51, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 249, 238, 0.54);
  box-shadow: 0 18px 50px rgba(96, 62, 32, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.checkout-form {
  padding: clamp(1rem, 3vw, 1.6rem);
}

.checkout-section + .checkout-section {
  margin-top: 1.6rem;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}

.checkout-section-heading {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 1.15rem;
}

.checkout-section-heading > span {
  display: grid;
  width: 2.4rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: #f8d9a3;
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 950;
}

.checkout-section-heading h2,
.checkout-summary h2 {
  margin: 0;
  color: var(--forest);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.65rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.checkout-section-heading p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.checkout-field {
  display: grid;
  gap: 0.38rem;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 850;
}

.checkout-field-wide {
  grid-column: 1 / -1;
}

.checkout-field input,
.checkout-field select {
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgba(164, 110, 51, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 252, 245, 0.78);
  color: var(--ink);
  padding: 0.7rem 0.8rem;
  font-size: 1rem;
}

.checkout-field.is-invalid input,
.checkout-field.is-invalid select,
.checkout-shipping-picker.is-invalid .checkout-shipping-options,
.checkout-service-point.is-invalid,
.checkout-terms-check.is-invalid {
  border-color: #9d512f;
  box-shadow: 0 0 0 3px rgba(157, 81, 47, 0.12);
}

.checkout-field.is-invalid > span:first-child,
.checkout-shipping-picker.is-invalid legend,
.checkout-service-point.is-invalid .checkout-service-point-heading > strong,
.checkout-terms-check.is-invalid > span {
  color: #7b3d25;
}

.checkout-field-error {
  display: block;
  grid-column: 1 / -1;
  margin-top: 0.1rem;
  color: #7b3d25;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
}

.checkout-field.is-invalid,
.checkout-shipping-picker.is-invalid,
.checkout-service-point.is-invalid,
.checkout-terms-check.is-invalid {
  scroll-margin-top: 1rem;
}

.checkout-country-control {
  position: relative;
  min-width: 0;
}

.checkout-country-trigger {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  width: 100%;
  min-height: 3rem;
  align-items: center;
  border: 1px solid rgba(164, 110, 51, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 252, 245, 0.78);
  color: var(--ink);
  cursor: pointer;
  padding: 0.65rem 0.8rem;
  text-align: left;
  backdrop-filter: blur(5px) saturate(1.05);
  -webkit-backdrop-filter: blur(5px) saturate(1.05);
}

.checkout-country-selection {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 0.6rem;
}

.checkout-country-selection strong {
  flex: 0 0 auto;
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 950;
}

.checkout-country-selection > span {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-country-control.is-open .sort-chevron {
  transform: translateY(0.15rem) rotate(225deg);
}

.checkout-country-menu {
  position: absolute;
  inset: calc(100% + 0.45rem) 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr;
  max-height: min(24rem, calc(100dvh - 7rem));
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 0 18px 36px rgba(84, 54, 34, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.25rem);
  transition:
    opacity 140ms ease,
    transform 140ms ease;
  backdrop-filter: blur(6px) saturate(1.06);
  -webkit-backdrop-filter: blur(6px) saturate(1.06);
}

.checkout-country-menu[hidden] {
  display: none;
}

.checkout-country-control.is-open .checkout-country-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.checkout-country-option {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.65rem;
  min-height: 2.8rem;
  align-items: center;
  border: 0;
  border-bottom: 1px solid rgba(84, 54, 34, 0.1);
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  padding: 0 0.9rem;
  text-align: left;
}

.checkout-country-option:last-child {
  border-bottom: 0;
}

.checkout-country-menu::-webkit-scrollbar {
  width: 0.55rem;
}

.checkout-country-menu::-webkit-scrollbar-track {
  background: rgba(164, 110, 51, 0.08);
}

.checkout-country-menu::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(164, 110, 51, 0.42);
  background-clip: padding-box;
}

.checkout-country-option span {
  font-size: 0.8rem;
  font-weight: 950;
}

.checkout-country-option small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-country-option:hover,
.checkout-country-option.is-active {
  background: rgba(213, 150, 66, 0.72);
  color: white;
}

.checkout-country-option:hover small,
.checkout-country-option.is-active small {
  color: rgba(255, 255, 255, 0.84);
}

.checkout-shipping-picker {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
  margin: 1rem 0 0;
  border: 0;
  padding: 0;
}

.checkout-shipping-picker legend {
  margin-bottom: 0.55rem;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 900;
}

.checkout-shipping-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.checkout-shipping-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.5);
  cursor: pointer;
  padding: 0.85rem;
}

.checkout-shipping-option.is-selected {
  border-color: #b36f31;
  background: rgba(238, 183, 103, 0.25);
  box-shadow: inset 3px 0 0 #b36f31;
}

.checkout-shipping-option input {
  accent-color: #a6602d;
}

.checkout-shipping-option > span {
  display: grid;
  min-width: 0;
}

.checkout-shipping-option strong {
  color: var(--forest);
  font-size: 0.82rem;
}

.checkout-shipping-option small {
  color: var(--muted);
  font-size: 0.7rem;
}

.checkout-shipping-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.checkout-shipping-status.is-live {
  color: #4d6a42;
}

.checkout-service-point {
  position: relative;
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding: 0;
}

.checkout-service-point[hidden] {
  display: none;
}

.checkout-service-point-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 0.1rem;
}

.checkout-service-point-heading > strong {
  color: var(--forest);
  font-size: 0.9rem;
}

.checkout-service-point-refresh {
  min-height: 2.35rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.75rem;
  white-space: nowrap;
}

.checkout-service-point.has-selection:not(.is-options-expanded) {
  gap: 0;
}

.checkout-service-point.has-selection:not(.is-options-expanded) .checkout-service-point-heading,
.checkout-service-point.has-selection:not(.is-options-expanded) .checkout-service-point-status {
  display: none;
}

.checkout-service-point-required {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.checkout-service-point-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.checkout-service-point-selected {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  border: 1px solid rgba(179, 111, 49, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 249, 236, 0.72);
  box-shadow: inset 4px 0 0 #c27b36, 0 0.65rem 1.5rem rgba(92, 52, 27, 0.07);
  padding: 0.9rem 1rem;
}

.checkout-service-point-selected[hidden],
.checkout-service-point-list[hidden],
.checkout-service-point-refresh[hidden] {
  display: none;
}

.checkout-service-point-selected-copy {
  display: grid;
  min-width: 0;
  gap: 0.16rem;
}

.checkout-service-point-selected-copy .checkout-service-point-selected-label {
  margin-bottom: 0.12rem;
  color: #9a642f;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.checkout-service-point-selected-copy strong {
  overflow: hidden;
  color: var(--forest);
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-service-point-selected-copy span {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.checkout-service-point-selected-copy small {
  color: #9a642f;
  font-size: 0.68rem;
  font-weight: 800;
}

.checkout-service-point-change {
  min-height: 2.35rem;
  border: 1px solid rgba(164, 110, 51, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 252, 245, 0.9);
  color: var(--forest);
  cursor: pointer;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 900;
  white-space: nowrap;
}

.checkout-service-point-change:hover {
  border-color: var(--accent-dark);
  background: #fffaf0;
  box-shadow: 0 0.45rem 1rem rgba(92, 52, 27, 0.08);
}

.checkout-service-point-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  max-height: min(25rem, calc(100dvh - 10rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.1rem 0.35rem 0.15rem 0.1rem;
  scrollbar-color: rgba(179, 111, 49, 0.55) rgba(255, 250, 240, 0.35);
  scrollbar-width: thin;
}

.checkout-service-point-option {
  appearance: none;
  display: grid;
  gap: 0;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(164, 110, 51, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 252, 245, 0.84);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  line-height: normal;
  padding: 0.78rem;
  text-align: left;
}

.checkout-service-point-option:hover,
.checkout-service-point-option.is-selected {
  border-color: #b36f31;
  background: rgba(238, 183, 103, 0.24);
  box-shadow: inset 3px 0 0 #b36f31;
}

.checkout-service-point-option strong,
.checkout-service-point-option span,
.checkout-service-point-option small {
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-service-point-option strong {
  color: var(--forest);
  font-size: 0.8rem;
  white-space: nowrap;
}

.checkout-service-point-option span {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.checkout-service-point-option small {
  margin-top: 0.35rem;
  color: #9a642f;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.checkout-commitment {
  margin-top: 1.6rem;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}

.checkout-commitment h2,
.order-next h2 {
  margin: 0;
  color: var(--forest);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.checkout-commitment > p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.checkout-terms-check,
.checkout-marketing-check {
  display: grid;
  grid-template-columns: 1.2rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  margin-top: 1rem;
  color: var(--forest);
  font-size: 0.84rem;
  line-height: 1.5;
  cursor: pointer;
}

.checkout-terms-check input,
.checkout-marketing-check input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.16rem 0 0;
  accent-color: var(--accent-dark);
}

.checkout-terms-check a {
  color: var(--accent-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.checkout-marketing-check {
  margin-top: 1rem;
  color: var(--muted);
}

.checkout-error {
  margin: 1.2rem 0 0;
  border-left: 4px solid #9d512f;
  background: rgba(157, 81, 47, 0.09);
  color: #6e321e;
  padding: 0.75rem 0.9rem;
  font-size: 0.86rem;
  font-weight: 800;
}

.checkout-pay {
  width: 100%;
  margin-top: 1.4rem;
  justify-content: center;
  padding: 1rem;
}

.checkout-pay:disabled {
  cursor: wait;
  opacity: 0.68;
}

.checkout-security {
  margin: 0.75rem auto 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

.checkout-summary {
  position: relative;
  overflow: hidden;
}

.checkout-summary-heading,
.checkout-summary-items,
.checkout-delivery,
.checkout-totals {
  padding: 1rem 1.1rem;
}

.checkout-summary-heading,
.checkout-summary-items,
.checkout-delivery {
  border-bottom: 1px solid var(--line);
}

.checkout-summary-heading .eyebrow {
  margin-bottom: 0.25rem;
}

.checkout-summary-items {
  display: grid;
  gap: 0.9rem;
}

.checkout-summary-item {
  display: grid;
  grid-template-columns: 3.8rem minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
}

.checkout-summary-preview {
  position: relative;
  display: block;
  overflow: hidden;
  box-sizing: border-box;
  width: 3.8rem;
  aspect-ratio: var(--frame-aspect-ratio, 1 / 1);
  border: var(--frame-brim-thickness, 4px) solid var(--frame-brim-color, #c58c42);
  border-radius: var(--frame-radius, var(--radius));
  background: #fce5c2;
}

.checkout-summary-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-summary-item-copy {
  display: grid;
  min-width: 0;
}

.checkout-summary-item-price {
  display: grid;
  min-width: 4.5rem;
  justify-items: end;
  text-align: right;
}

.checkout-summary-item-price strong {
  font-size: 0.95rem;
}

.checkout-summary-item strong {
  color: var(--forest);
  font-size: 0.86rem;
}

.checkout-summary-item small,
.checkout-delivery small,
.checkout-delivery em {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
}

.checkout-summary-item .checkout-offer {
  width: fit-content;
  margin-top: 0.18rem;
  border-radius: 999px;
  background: #a6602d;
  color: #fffaf0;
  padding: 0.15rem 0.38rem;
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 900;
}

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

.checkout-delivery > span {
  display: grid;
}

.checkout-delivery strong {
  color: var(--forest);
  font-size: 0.86rem;
}

.checkout-totals {
  display: grid;
  gap: 0.45rem;
}

.checkout-totals p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.checkout-totals strong {
  color: var(--forest);
}

.checkout-totals .checkout-total {
  margin-top: 0.4rem;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  color: var(--forest);
  font-size: 1.1rem;
}

.checkout-vat-note {
  color: var(--muted);
  font-size: 0.72rem;
  text-align: right;
}

.order-status-page {
  display: grid;
  min-height: calc(100vh - 7rem);
  place-items: start center;
}

.order-status-shell {
  display: grid;
  width: min(52rem, 100%);
  gap: 1.25rem;
}

.order-status-panel {
  width: 100%;
  border: 1px solid rgba(164, 110, 51, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 249, 238, 0.58);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 5vw, 3rem);
  text-align: center;
}

.order-next {
  border-top: 4px solid var(--accent);
  padding: 1.25rem 0.15rem 0;
}

.order-next p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.order-next a {
  color: var(--accent-dark);
  font-weight: 850;
}

.order-receipt {
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(164, 110, 51, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 249, 238, 0.72);
  box-shadow: var(--shadow);
}

.order-receipt[hidden] {
  display: none;
}

.order-receipt-heading {
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 1.25rem;
}

.order-receipt-heading .eyebrow {
  margin-bottom: 0.2rem;
}

.order-receipt-heading h2 {
  margin: 0;
  color: var(--forest);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  line-height: 1.05;
}

.order-receipt-items .checkout-summary-item + .checkout-summary-item {
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

.order-receipt .checkout-summary-preview {
  width: 4.4rem;
}

.order-receipt .checkout-summary-item {
  grid-template-columns: 4.4rem minmax(0, 1fr) auto;
}

.order-status-panel h1 {
  max-width: none;
  font-size: clamp(2.2rem, 7vw, 4rem);
}

.order-status-panel > p:not(.eyebrow):not(.order-reference) {
  color: var(--muted);
}

.order-email-confirmation {
  max-width: 38rem;
  margin: 1rem auto 0;
  border: 1px solid rgba(120, 148, 95, 0.38);
  border-radius: var(--radius);
  background: rgba(224, 235, 210, 0.62);
  color: var(--forest) !important;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.5;
}

.order-email-confirmation[data-status="pending"],
.order-email-confirmation[data-status="sending"] {
  border-color: rgba(213, 150, 66, 0.42);
  background: rgba(252, 229, 194, 0.62);
}

.order-email-confirmation[data-status="failed"] {
  border-color: rgba(189, 118, 84, 0.42);
  background: rgba(248, 221, 205, 0.68);
}

.order-status-mark {
  display: block;
  width: 4.4rem;
  margin: 0 auto 1rem;
  aspect-ratio: 1;
  border: 0.5rem solid #f3ce91;
  border-top-color: var(--accent-dark);
  border-radius: 50%;
  animation: order-status-spin 900ms linear infinite;
}

.order-status-panel[data-status="paid"] .order-status-mark {
  border: 0;
  background: #78945f;
  animation: none;
}

.order-status-panel[data-status="paid"] .order-status-mark::after {
  content: "";
  display: block;
  width: 1.8rem;
  height: 0.9rem;
  border-left: 0.3rem solid white;
  border-bottom: 0.3rem solid white;
  transform: translate(1.15rem, 1.45rem) rotate(-45deg);
}

.order-status-panel[data-status="failed"] .order-status-mark,
.order-status-panel[data-status="canceled"] .order-status-mark,
.order-status-panel[data-status="expired"] .order-status-mark,
.order-status-panel[data-status="error"] .order-status-mark,
.order-status-panel[data-status="payment_mismatch"] .order-status-mark {
  border: 0.5rem solid #bd7654;
  animation: none;
}

.order-reference {
  display: grid;
  gap: 0.2rem;
  margin: 1.5rem 0;
  border-block: 1px solid var(--line);
  padding: 0.85rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.order-reference strong {
  overflow-wrap: anywhere;
  color: var(--forest);
  font-size: 0.88rem;
}

.order-status-actions {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.order-status-actions [hidden] {
  display: none;
}

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

@media (max-width: 860px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
    grid-row: 1;
  }

  .checkout-nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .checkout-page,
  .order-status-page {
    width: min(100% - 1rem, 1180px);
    padding: 2.2rem 0;
  }

  .checkout-intro h1 {
    font-size: 2.55rem;
  }

  .checkout-country-menu {
    grid-template-columns: 1fr;
    max-height: min(19rem, calc(100dvh - 6rem));
  }

  .checkout-fields {
    grid-template-columns: 1fr;
  }

  .checkout-field-wide {
    grid-column: auto;
  }

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

  .checkout-service-point-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .checkout-service-point-refresh {
    width: 100%;
  }

  .checkout-service-point-list {
    grid-template-columns: 1fr;
  }

  .checkout-service-point-selected {
    gap: 0.65rem;
    grid-template-columns: minmax(0, 1fr);
    padding: 0.85rem;
  }

  .checkout-service-point-change {
    width: 100%;
  }

  .checkout-summary-item {
    grid-template-columns: 3.4rem minmax(0, 1fr) auto;
  }

  .checkout-summary-preview {
    width: 3.4rem;
  }

  .order-status-actions {
    display: grid;
  }

  .order-receipt .checkout-summary-preview {
    width: 3.8rem;
  }

  .order-receipt .checkout-summary-item {
    grid-template-columns: 3.8rem minmax(0, 1fr) auto;
  }
}

.page-zone {
  position: relative;
  display: flow-root;
  width: 100%;
}

.page-zone + .page-zone::before,
.zone-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: min(1260px, calc(100% - 1rem));
  height: 8px;
  border-radius: 999px;
  background: #9d6736;
  transform: translate(-50%, -50%);
}

.zone-hero {
  background: #fff1d4;
}

.zone-how {
  background: #ffe3b0;
  transition: background-color 220ms ease;
}

.zone-how.is-light-off {
  background: #c99b6d;
}

.zone-shop {
  background: #f3d3a3;
  padding-block: clamp(2.2rem, 4vw, 3.6rem) clamp(1.6rem, 3vw, 2.5rem);
}

.zone-occasion {
  background: #e5a95d;
  padding-block: clamp(2.3rem, 5vw, 4rem);
}

.zone-faq {
  background: #ffe7bd;
}

.zone-product-detail {
  background: #fff1d4;
}

.zone-product-info {
  background: #f3d3a3;
}

.zone-footer {
  background: #c18a55;
  padding-block: clamp(1.5rem, 3vw, 2.2rem) 1rem;
}

.zone-hero .trust-strip {
  margin-bottom: clamp(1.8rem, 4vw, 3.2rem);
}

.zone-shop .shop-layout {
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}

.zone-shop .section-intro {
  margin-top: 0;
}

.zone-occasion .occasion-band {
  margin-bottom: 0;
}

.privacy-inline {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.privacy-inline a,
.legal-footer a,
.privacy-article a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(84, 54, 34, 0.35);
  text-underline-offset: 0.2em;
}

.privacy-inline a:hover,
.legal-footer a:hover,
.privacy-article a:hover {
  text-decoration-color: currentColor;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.25rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.1rem 0;
  color: rgba(84, 54, 34, 0.78);
  font-size: 0.78rem;
}

.zone-footer > .legal-footer {
  border-top: 1px solid rgba(84, 54, 34, 0.16);
  margin-top: 1.35rem;
}

.privacy-page {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.privacy-hero {
  max-width: 58rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.privacy-hero h1 {
  max-width: 13ch;
  margin: 0.35rem 0 1rem;
  color: var(--forest);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.privacy-hero > p:not(.eyebrow) {
  max-width: 48rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.privacy-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.privacy-summary span {
  border: 1px solid rgba(164, 110, 51, 0.25);
  border-radius: 999px;
  background: rgba(255, 249, 238, 0.62);
  padding: 0.55rem 0.8rem;
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 800;
}

.privacy-version {
  display: block;
  margin-top: 1.1rem;
  color: var(--muted);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 15rem) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}

.privacy-index {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 0.4rem;
  border-left: 3px solid var(--accent);
  padding: 0.35rem 0 0.35rem 1rem;
}

.privacy-index strong {
  margin-bottom: 0.35rem;
  color: var(--forest);
}

.privacy-index a {
  color: var(--muted);
  font-size: 0.85rem;
}

.privacy-index a:hover {
  color: var(--forest);
}

.privacy-article {
  min-width: 0;
}

.privacy-article section {
  scroll-margin-top: 6rem;
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}

.privacy-article section:first-child {
  border-top-width: 4px;
  border-top-color: var(--accent);
}

.privacy-article h2 {
  margin: 0 0 1rem;
  color: var(--forest);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.privacy-article h3 {
  margin: 1.5rem 0 0.45rem;
  color: var(--forest);
  font-size: 1rem;
}

.privacy-article p,
.privacy-article li,
.privacy-article address {
  color: var(--muted);
}

.privacy-article address {
  border-left: 3px solid rgba(164, 110, 51, 0.35);
  padding-left: 1rem;
  font-style: normal;
}

.privacy-article ul {
  padding-left: 1.2rem;
}

.privacy-article li + li {
  margin-top: 0.6rem;
}

.privacy-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 249, 238, 0.5);
}

.privacy-article table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  text-align: left;
}

.privacy-article th,
.privacy-article td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 0.84rem;
}

.privacy-article th {
  background: rgba(229, 169, 93, 0.23);
  color: var(--forest);
}

.privacy-article tr:last-child td {
  border-bottom: 0;
}

.privacy-callout {
  border: 1px solid rgba(164, 110, 51, 0.25);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(255, 249, 238, 0.6);
  padding: 0.9rem 1rem;
}

@media (max-width: 760px) {
  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .privacy-index {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 0;
    border-top: 3px solid var(--accent);
    padding: 0.85rem 0 0;
  }

  .privacy-index strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .privacy-page {
    width: min(100% - 1.25rem, 1180px);
  }

  .privacy-hero h1 {
    font-size: 2.75rem;
  }

  .privacy-summary {
    display: grid;
  }

  .privacy-index {
    grid-template-columns: 1fr;
  }

  .privacy-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .privacy-article table {
    min-width: 0;
  }

  .privacy-article thead {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
  }

  .privacy-article tbody,
  .privacy-article tr,
  .privacy-article td {
    display: block;
  }

  .privacy-article tr {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 249, 238, 0.52);
  }

  .privacy-article tr + tr {
    margin-top: 0.75rem;
  }

  .privacy-article td {
    display: grid;
    grid-template-columns: minmax(6rem, 34%) minmax(0, 1fr);
    gap: 0.7rem;
    border-bottom: 1px solid var(--line);
    padding: 0.8rem;
  }

  .privacy-article td::before {
    content: attr(data-label);
    color: var(--forest);
    font-weight: 800;
  }

  .privacy-article tr td:last-child {
    border-bottom: 0;
  }

  .legal-footer {
    align-items: center;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
