/* Aura Stones — premium, minimal, mobile-first
   Calm neutrals, refined serif headings, generous whitespace. */

:root {
  --cream: #f7efe4;
  --photo-ground: #e8d0b8;
  --bronze: #8a5a2b;
  --gold: #c99a5b;
  --dark: #1e1814;
  --bg: #f7efe4;
  --bg-elevated: #fbf7f0;
  --bg-muted: #ede4d6;
  --ink: #1e1814;
  --ink-soft: #4a433e;
  --ink-on-dark: #f7efe4;
  --ink-on-dark-soft: #e4d5c0;
  --header-bg: #1e1814;
  --band-ink-lift: #2a2420;
  --line: #e0d4c4;
  --accent: #8a5a2b;
  --accent-soft: #c99a5b;
  --sage: #6e7a6d;
  --error: #8a3d32;
  --footer-bg: #1e1814;
  --footer-ink: #f7efe4;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --space: 1.25rem;
  --max: 72rem;
  --header: 4.75rem;
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: url("/img/texture-rice.webp");
  background-size: 640px 640px;
  background-repeat: repeat;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--accent-soft);
}

a:hover {
  text-decoration-color: var(--ink);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 0.8rem;
  z-index: 100;
}

.skip-link:focus {
  top: 0.75rem;
}

.preview-note {
  background: var(--bg-muted);
  color: var(--ink);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.55rem 1rem;
}

/* Header — solid ink band so the bar has depth against the cream page */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--header-bg);
  background-image: url("/img/texture-ink.webp");
  background-size: 560px 560px;
  color: var(--ink-on-dark);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 28%, var(--header-bg));
  box-shadow: 0 10px 28px color-mix(in srgb, var(--dark) 18%, transparent);
}

.site-header a {
  text-decoration-color: color-mix(in srgb, var(--gold) 55%, transparent);
}

.site-header a:hover {
  text-decoration-color: var(--gold);
}

.site-header :focus-visible {
  outline-color: var(--gold);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header);
  padding: 0.65rem 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  justify-self: start;
}

.logo-link:hover {
  text-decoration: none;
}

.logo-link img {
  width: auto;
  max-width: none;
  background: transparent;
}

/* Horizontal lockup (official icon + outlined wordmark) on every breakpoint. */
.logo-link .logo-header {
  display: block;
  height: 3.4rem;
  width: auto;
  max-width: min(16.5rem, calc(100vw - 9.75rem));
}

/* Slow, very quiet gold shimmer across the header lockup (aura / icon). */
.site-header .logo-link {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.site-header .logo-link::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 38%,
    color-mix(in srgb, var(--gold) 32%, transparent) 50%,
    transparent 62%
  );
  background-size: 220% 100%;
  background-position: 140% 0;
  mix-blend-mode: soft-light;
  opacity: 0.45;
  animation: aura-shimmer 8s ease-in-out infinite;
}
@keyframes aura-shimmer {
  0%, 18% { background-position: 140% 0; }
  58%, 100% { background-position: -40% 0; }
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1;
}

.wordmark:hover {
  text-decoration: none;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  justify-self: end;
  grid-column: 3;
  grid-row: 1;
  z-index: 3;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--ink-on-dark);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.site-nav {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  grid-column: 1 / -1;
  padding: 0.25rem 0 0.75rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.28em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--gold);
}

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

.cart-link {
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  white-space: nowrap;
}

.cart-count {
  min-width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--gold) 55%, var(--header-bg));
  color: var(--ink-on-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  letter-spacing: 0;
  padding: 0 0.28rem;
}

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .header-inner {
    grid-template-columns: 1fr auto 1fr;
  }
  .header-tools { grid-column: 3; }
  .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    grid-column: auto;
    padding: 0;
  }
  .logo-link .logo-header {
    height: 3.75rem;
    max-width: none;
  }
}

/* Layout */
.main {
  flex: 1;
  width: 100%;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4.5rem;
}

.wrap-narrow {
  max-width: 40rem;
}

.page-intro {
  margin: 0 0 2.75rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 400;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
}

h3 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.45rem;
}

.lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 38rem;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1.1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

hr.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}

/* Buttons */
.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.4rem;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: #2c261f;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Hero */
.hero {
  padding: 4.5rem 1.25rem 3.5rem;
  text-align: center;
}

.hero .wrap {
  padding: 0;
}

.hero-logo {
  width: min(14.5rem, 58vw);
  height: auto;
  margin: 0 auto 1.75rem;
}

.hero h1 {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.15rem, 7vw, 4.4rem);
  margin-bottom: 1.1rem;
}

.hero .brand-name {
  display: block;
  font-style: normal;
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-family: var(--sans);
  margin-bottom: 1.4rem;
  color: var(--accent);
}

.hero .lede {
  margin: 0 auto;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.25rem;
}

@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.75rem; }
}

.product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

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

.product-card .media {
  background: var(--photo-ground);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 1rem;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-card h2,
.product-card .name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  margin: 0 0 0.3rem;
}

.price {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.placeholder-flag {
  display: inline-block;
  margin: 0 0 0.55rem;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.18rem 0.45rem;
}

/* Product page */
.product-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .product-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: start;
  }
  .product-info { position: sticky; top: calc(var(--header) + 1.5rem); }
}

.product-media {
  background: var(--bg-muted);
}

.product-media img {
  width: 100%;
}

.product-info .price-block {
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.caption {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}


.shipping-threshold-note,
.shipping-progress {
  margin: 0.35rem 0 0.15rem;
}

.cart-drawer .shipping-threshold-note,
.cart-drawer .shipping-progress {
  margin: 0.5rem 0 0.25rem;
}

.ship-note,
.callout {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  margin: 1.5rem 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.callout-warn {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0 0 1.1rem;
}

.field label,
.field-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  width: 100%;
}

.field textarea { min-height: 9rem; resize: vertical; }

.detail-block {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.detail-block h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.detail-block p {
  margin: 0;
  color: var(--ink-soft);
}

/* Cart */
.cart-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  border-top: 1px solid var(--line);
}

.cart-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-item .thumb {
  background: var(--photo-ground);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.cart-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.cart-item h2 {
  font-size: 1.3rem;
  margin: 0 0 0.25rem;
}

.cart-item .meta,
.cart-item .unit {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.qty-row input {
  width: 3.4rem;
  text-align: center;
  font: inherit;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 0.35rem;
}

.linkish {
  border: 0;
  background: none;
  font: inherit;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  font-size: 0.85rem;
}

.totals {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1.5rem;
}

.totals div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.totals .grand {
  margin-top: 0.4rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.empty-cart {
  color: var(--ink-soft);
}

/* Checkout payments */
.pay-panel {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.pay-panel h2 {
  font-size: 1.5rem;
}

#paypal-button-container {
  margin-top: 1rem;
  max-width: 24rem;
}

.status-msg {
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.status-msg.error {
  color: var(--error);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.25rem;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--accent);
}

.faq-list details[open] summary::after { content: "–"; }

.faq-list details p {
  margin: 0.75rem 0 0.25rem;
  color: var(--ink-soft);
}

/* Contact / forms */
.form-actions { margin-top: 0.5rem; }

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.site-footer {
  border-top: 0;
  padding: 3rem 1.25rem 2.5rem;
  background-color: var(--footer-bg);
  background-image: url("/img/texture-ink.webp");
  background-size: 640px 640px;
  color: var(--footer-ink);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.footer-brand .logo-link {
  margin-bottom: 1rem;
}

.footer-logo {
  height: 8.25rem;
  width: auto;
  max-width: 9.5rem;
  background: transparent;
}

.footer-brand p,
.legal-line {
  margin: 0;
  color: var(--ink-on-dark-soft);
  font-size: 0.9rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1rem;
}

.footer-nav h2 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.7rem;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  text-decoration: none;
  display: inline-block;
  padding: 0.2rem 0;
  font-size: 0.95rem;
  text-decoration-color: color-mix(in srgb, var(--gold) 45%, transparent);
}

.footer-nav a:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.footer-bottom {
  max-width: var(--max);
  margin: 2.25rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--gold) 28%, var(--footer-bg));
  color: var(--ink-on-dark-soft);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

.site-footer :focus-visible {
  outline-color: var(--gold);
}

@media (min-width: 800px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1.6fr;
    gap: 3rem;
  }
  .footer-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Success / cancel */
.center-page {
  text-align: left;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

/* 404 */
.not-found h1 { margin-bottom: 1rem; }

/* Prices */
.price-block .price-original,
.price .price-original {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  color: var(--ink-soft);
}
.price-sale {
  color: var(--ink);
}
.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
}
.offer-flag {
  display: inline-block;
  margin: 0;
  color: var(--bronze);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Size guide */
.size-guide {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.size-guide h2 { font-size: 1.35rem; }
.size-guide ol { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--ink-soft); }
.size-guide table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.size-guide th, .size-guide td {
  text-align: left;
  padding: 0.45rem 0.4rem;
  border-bottom: 1px solid var(--line);
}
.size-guide th {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
}

/* Packaging */
.packaging-block { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.packaging-block h2 { font-size: 1.35rem; }
.packaging-block p { margin: 0 0 0.8rem; color: var(--ink-soft); }

/* Cart drawer */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--dark) 35%, transparent);
  z-index: 60;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(26rem, 100vw);
  background: var(--bg);
  z-index: 61;
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 40px color-mix(in srgb, var(--dark) 28%, transparent);
  padding: 1.25rem 1.25rem 1.5rem;
  overflow: auto;
}
.cart-drawer[hidden], .cart-backdrop[hidden] { display: none; }
.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.cart-drawer-head h2 { margin: 0; font-size: 1.6rem; }
.cart-drawer-close {
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--ink-soft);
}
.added-note { color: var(--bronze); font-size: 0.9rem; margin: 0 0 0.75rem; }

/* Newsletter */
.newsletter {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.newsletter h2 { font-size: 1.5rem; }
.newsletter-form, .footer-newsletter {
  display: grid;
  gap: 0.7rem;
}
@media (min-width: 600px) {
  .newsletter-form, .footer-newsletter {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}
.footer-newsletter {
  margin-top: 1.25rem;
  max-width: 24rem;
}
.footer-newsletter .field { margin: 0; }
.footer-newsletter input {
  background: color-mix(in srgb, var(--footer-ink) 6%, var(--footer-bg));
  color: var(--footer-ink);
  border-color: color-mix(in srgb, var(--gold) 35%, var(--footer-bg));
}
.site-footer .btn { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.site-footer .btn:hover { background: var(--footer-ink); border-color: var(--footer-ink); color: var(--dark); }
.footer-newsletter .caption,
.site-footer .field label,
.site-footer .caption {
  grid-column: 1 / -1;
  color: var(--ink-on-dark-soft);
}
.site-footer .field label { grid-column: auto; }

/* Payment marks */
.payment-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0.5rem;
  color: var(--ink);
  list-style: none;
  padding: 0;
}
.payment-marks li { margin: 0; }
.payment-marks img, .payment-marks svg {
  display: block;
  width: 3.6rem;
  height: 1.2rem;
  color: var(--ink);
}

.agree-line { margin: 1rem 0 0; font-size: 0.9rem; color: var(--ink-soft); }

/* Cookie notice — in document flow, not a fixed overlay */
.cookie-note {
  max-width: var(--max);
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--gold) 28%, var(--footer-bg));
  color: var(--ink-on-dark-soft);
  font-size: 0.8rem;
}


/* Welcome offer label, beside the struck-through price */
.offer-beside {
  display: inline-block;
  margin: 0;
  color: var(--bronze);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.price-row .offer-beside {
  order: 0;
}

/* Slim home banner */
.offer-banner {
  margin: 0;
  background: var(--band-ink-lift);
  color: var(--ink-on-dark);
  text-align: center;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  padding: 0.7rem 1.25rem;
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 22%, var(--band-ink-lift));
}

/* Full-bleed section bands — alternate light and ink for depth */
.band {
  width: 100%;
}
.band-cream {
  background-color: var(--bg);
  background-image: url("/img/texture-rice.webp");
  background-size: 640px 640px;
  color: var(--ink);
}
.band-muted {
  background-color: var(--bg-muted);
  background-image: url("/img/texture-stone.webp");
  background-size: 720px 720px;
  color: var(--ink);
}
.band-ink {
  background-color: var(--ink);
  background-image:
    url("/img/texture-ink.webp"),
    radial-gradient(70% 80% at 100% 0%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 50%);
  background-size: 640px 640px, auto;
  background-repeat: repeat, no-repeat;
  color: var(--ink-on-dark);
}
.band-ink .lede,
.band-ink .caption,
.band-ink p,
.band-ink li,
.band-ink .ship-note,
.band-ink .callout {
  color: var(--ink-on-dark-soft);
}
.band-ink h1,
.band-ink h2,
.band-ink h3,
.band-ink strong {
  color: var(--ink-on-dark);
}
.band-ink .eyebrow {
  color: var(--gold);
}
.band-ink a {
  text-decoration-color: color-mix(in srgb, var(--gold) 65%, transparent);
}
.band-ink a:hover {
  text-decoration-color: var(--gold);
}
.band-ink :focus-visible {
  outline-color: var(--gold);
}
.band-ink .btn {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}
.band-ink .btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.band-ink .btn-ghost {
  background: transparent;
  border-color: var(--ink-on-dark);
  color: var(--ink-on-dark);
}
.band-ink .btn-ghost:hover {
  background: var(--ink-on-dark);
  color: var(--ink);
}
.band-ink .field label,
.band-ink .field-label {
  color: var(--ink-on-dark-soft);
}
.band-ink .field input,
.band-ink .field select,
.band-ink .field textarea {
  background: var(--band-ink-lift);
  color: var(--ink-on-dark);
  border-color: color-mix(in srgb, var(--gold) 35%, var(--ink));
}
.band-ink .placeholder-flag {
  border-color: color-mix(in srgb, var(--gold) 45%, var(--ink));
  color: var(--gold);
}
.band-ink .offer-beside {
  color: var(--gold);
}
.band-ink .price-original,
.band-ink .price {
  color: var(--ink-on-dark-soft);
}
.band-ink .price-sale {
  color: var(--ink-on-dark);
}
.band-ink .newsletter {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.band-muted .product-card .media,
.band-muted .product-media {
  background: color-mix(in srgb, var(--bg) 70%, var(--bg-muted));
}

/* Hide Netlify drawer/badge if a host-injected node is styleable.
   The Free-plan "Powered by Netlify" badge is an isolated frame, so
   a Content-Security-Policy in netlify.toml is the reliable hide. */
iframe[src*="app.netlify.com"],
iframe[title*="Netlify" i],
[data-netlify-badge],
#netlify-badge,
.netlify-badge { display: none !important; }

/* Entry pair option, shown only when pairEnabled is on and the welcome offer is off */
.pair-option {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.pair-option h2 { font-size: 1.35rem; }
.pair-option p { margin: 0 0 0.75rem; color: var(--ink-soft); }

/* ------------------------------------------------------------------
   Round 6 — announcement bar, typographic refinement, editorial
   depth. Palette and contrast from earlier rounds are preserved.
   ------------------------------------------------------------------ */

:root {
  --announce: 2.55rem;
  --max: 76rem;
}

/* Announcement bar — slim, ink, gold hairline, readable on 390px */
.announce-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--ink-on-dark-soft);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 42%, var(--ink));
  text-align: center;
  min-height: var(--announce);
}

.announce-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.45rem 1.25rem;
}

.announce-line {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.announce-dot {
  display: inline-block;
  margin: 0 0.7em;
  color: var(--gold);
}

.announce-line-mobile { display: none; }
.announce-line-desktop { display: block; }

@media (max-width: 720px) {
  :root { --announce: 2.7rem; }
  .announce-line {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: none;
    letter-spacing: 0.04em;
  }
  .announce-line-desktop { display: none; }
  .announce-line-mobile {
    display: grid;
    min-height: 1.3em;
  }
  .announce-line-mobile span {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    pointer-events: none;
  }
  .announce-line-mobile span.is-active,
  .announce-line-mobile span:only-child {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

.preview-note {
  position: relative;
  z-index: 1;
  letter-spacing: 0.1em;
  padding: 0.4rem 1rem;
  font-size: 0.68rem;
}

.site-header {
  top: var(--announce);
}

/* Type: more editorial display, airier body */
h1 {
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.06;
}

h2, h3 {
  letter-spacing: -0.01em;
}

.eyebrow {
  color: var(--bronze);
  letter-spacing: 0.2em;
}

.band {
  padding-block: 5rem;
}

@media (min-width: 860px) {
  .band { padding-block: 6.25rem; }
}

.band-ink .eyebrow,
.hero-editorial .eyebrow {
  color: var(--gold);
}

/* Buttons — thinner, more letter-spacing, quiet hover */
.btn {
  letter-spacing: 0.16em;
  border-width: 1px;
  padding: 1rem 1.55rem;
  transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--ink) 14%, transparent);
}

.btn-ghost {
  border-color: color-mix(in srgb, var(--ink) 55%, transparent);
  background: transparent;
}

/* Editorial hero */
.hero-editorial {
  position: relative;
  background:
    radial-gradient(80% 70% at 78% 30%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 58%),
    radial-gradient(60% 80% at 12% 80%, color-mix(in srgb, var(--bronze) 18%, transparent), transparent 55%),
    linear-gradient(165deg, #1e1814 0%, #2a211c 52%, #1e1814 100%);
  color: var(--ink-on-dark);
  overflow: hidden;
  padding: 3.5rem 0 4rem;
}

/* No bitmap on the hero: a CSS background-image here becomes the LCP
   resource (the whole section) and delays mobile LCP. Keep the existing
   gold / bronze radials only. Ink-wash lives on the header, footer, and ink bands. */
.hero-editorial::after {
  content: none;
}

.hero-glow { display: none; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-block: 1rem;
}

@media (min-width: 900px) {
  .hero-editorial { padding: 5.5rem 0 6rem; }
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
    gap: 5rem;
    padding-block: 1.5rem;
  }
}

.hero-copy h1 {
  color: var(--ink-on-dark);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.4rem, 6.4vw, 4.85rem);
  max-width: 11ch;
  margin-bottom: 1.25rem;
}

.hero-copy .lede {
  color: var(--ink-on-dark-soft);
  font-size: 1.12rem;
  max-width: 34rem;
}

.hero-editorial .btn {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.hero-editorial .btn:hover {
  background: #fff8ef;
  border-color: #fff8ef;
}

.hero-editorial .btn-ghost {
  background: transparent;
  color: var(--ink-on-dark);
  border-color: color-mix(in srgb, var(--gold) 55%, var(--ink-on-dark));
}

.hero-editorial .btn-ghost:hover {
  background: color-mix(in srgb, var(--cream) 10%, transparent);
  color: var(--ink-on-dark);
  box-shadow: none;
}

.hero-visual { margin: 0; }

.hero-frame,
.image-frame {
  position: relative;
  margin: 0;
  background: var(--bg-muted);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--gold) 38%, transparent),
    0 24px 50px color-mix(in srgb, var(--ink) 18%, transparent);
  overflow: hidden;
}

.hero-frame { aspect-ratio: 4 / 5; }

/* Mobile only: photo first, above the eyebrow and headline, so the 4:5
   still-life is in the first viewport. Desktop (min-width: 900px) is unchanged. */
@media (max-width: 899px) {
  .hero-editorial {
    padding: 0.7rem 0 2rem;
  }
  .hero-editorial .hero-grid {
    grid-template-areas:
      "visual"
      "copy";
    gap: 1.05rem;
    padding: 0.35rem 1.25rem 1.15rem;
    align-items: start;
  }
  .hero-copy { grid-area: copy; }
  .hero-visual { grid-area: visual; }
  .hero-copy h1 {
    font-size: clamp(1.85rem, 7vw, 2.55rem);
    margin-bottom: 0.65rem;
    max-width: 12ch;
  }
  .hero-copy .lede {
    font-size: 1rem;
  }
  .hero-editorial .east-mark {
    margin: 0.2rem 0 0.55rem;
  }
  .hero-editorial .btn-row {
    margin-top: 1rem;
    gap: 0.5rem;
  }
}


.hero-frame img,
.editorial-media .image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
}
.editorial-media .image-frame img {
  transition: transform 0.8s ease;
}
.editorial-media .image-frame:hover img {
  transform: scale(1.045);
}
.product-media,
.product-media.image-frame {
  background: var(--photo-ground);
}
.product-media img,
.product-media.image-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transform: none;
}

.photo-soon {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  margin: 0;
  padding: 0.28rem 0.55rem;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  color: var(--ink-soft);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}

/* Editorial alternating rows */
.editorial-band { padding-top: 1rem; }

.editorial-row {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin: 0 0 4.5rem;
}

.editorial-row:last-child { margin-bottom: 0; }

@media (min-width: 900px) {
  .editorial-row {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-bottom: 6rem;
  }
  .editorial-row-reverse .editorial-media { order: 2; }
  .editorial-row-reverse .editorial-copy { order: 1; }
}

.editorial-media { margin: 0; }
.editorial-copy h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  margin-top: 0;
}
.editorial-copy p { color: var(--ink-soft); max-width: 36rem; }

/* Product cards — frame, hover lift, second image */
.product-grid {
  gap: 2.75rem 1.75rem;
}

.product-card {
  transition: transform 0.45s ease;
}

.product-card .media {
  position: relative;
  background: var(--photo-ground);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 1.15rem;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--gold) 28%, transparent),
    0 14px 30px color-mix(in srgb, var(--ink) 8%, transparent);
}

.product-card .media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: opacity 0.6s ease;
}

.product-card .media .hover-image {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.product-card:hover .media .hover-image,
.product-card:focus-visible .media .hover-image {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-4px);
  text-decoration: none;
}

.product-card .name {
  font-size: 1.7rem;
  letter-spacing: -0.01em;
}

.product-card .price {
  letter-spacing: 0.02em;
}

.product-card .price .price-original {
  font-size: 0.88em;
}

.product-card .media .photo-soon {
  left: 0.7rem;
  bottom: 0.7rem;
}

/* Product page */
.product-media.image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  min-height: 0;
}
.product-media.image-frame img,
.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-ship-line,
.product-meaning-line {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.product-meaning-line .placeholder-flag {
  margin-right: 0.4rem;
}

.product-promise {
  display: grid;
  gap: 0;
  margin: 1.75rem 0 0;
  border-top: 1px solid color-mix(in srgb, var(--gold) 40%, var(--line));
}

.product-promise div {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.product-promise h3 {
  margin: 0 0 0.35rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}

.product-promise p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

@media (min-width: 860px) {
  .product-info { top: calc(var(--announce) + var(--header) + 1.25rem); }
}

/* Size guide */
.size-guide {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--gold) 40%, var(--line));
}

.size-table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0 0.75rem;
  box-shadow: 0 0 0 1px var(--line);
}

.size-guide table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 32rem;
}

.size-guide th,
.size-guide td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.size-guide thead th {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--bg-elevated);
}

.size-guide tbody th {
  font-weight: 500;
}

/* Cart shipping meter */
.shipping-meter {
  margin: 0.85rem 0 1rem;
}

.shipping-meter-label {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.shipping-meter-track {
  height: 2px;
  background: var(--line);
  overflow: hidden;
}

.shipping-meter-fill {
  display: block;
  height: 100%;
  background: var(--gold);
  width: 0;
  transition: width 0.45s ease;
}

.cart-drawer .shipping-meter {
  margin: 0.75rem 0 0.5rem;
}

.cart-drawer .totals {
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid color-mix(in srgb, var(--gold) 35%, var(--line));
}

/* Hairline gold rules */
hr.rule,
.ship-note,
.callout {
  border-color: color-mix(in srgb, var(--gold) 35%, var(--line));
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .product-card,
  .product-card .media img,
  .announce-line-mobile span,
  .shipping-meter-fill {
    transition: none !important;
    transform: none !important;
  }
  .product-card:hover { transform: none; }
  .site-header .logo-link::after {
    animation: none;
    opacity: 0;
  }
  .editorial-media .image-frame:hover img {
    transform: none;
  }
}

/* Dark-section link contrast already set; keep gold hairlines quiet */
.site-footer {
  border-top: 1px solid color-mix(in srgb, var(--gold) 28%, var(--footer-bg));
}

/* Textured stone-tone dividers (no product photos). Fixed height, no layout shift. */
.stone-band {
  height: 4.5rem;
  background-color: #e6d9c6;
  background-image: url("/img/texture-stone.webp");
  background-size: 640px 640px;
  border-top: 1px solid color-mix(in srgb, var(--gold) 26%, #e6d9c6);
  border-bottom: 1px solid color-mix(in srgb, var(--bronze) 16%, #d9ccb8);
}
@media (min-width: 860px) {
  .stone-band { height: 5.25rem; }
}

.product-below {
  padding-top: 1rem;
  padding-bottom: 4rem;
}
.product-below .size-guide { margin-top: 1rem; }
.size-guide {
  scroll-margin-top: calc(var(--announce) + var(--header) + 1.25rem);
}
.size-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.size-guide,
.product-info,
.product-below,
.wrap {
  min-width: 0;
}
form[data-add-form] .caption {
  margin: 0.35rem 0 1.15rem;
}
.cart-drawer .totals div span:last-child {
  text-align: right;
  white-space: nowrap;
}

/* Quiet eastern mark: overlapping lozenges in hairline gold */
.east-mark {
  display: block;
  width: 2.55rem;
  height: 1.25rem;
  margin: 0.35rem 0 1rem;
  color: var(--gold);
  background: currentColor;
  -webkit-mask: url("/img/mark-fangsheng.svg") center / contain no-repeat;
  mask: url("/img/mark-fangsheng.svg") center / contain no-repeat;
}

.hero-editorial .east-mark {
  color: var(--gold);
  margin: 0.55rem 0 1.15rem;
}

.band-ink .east-mark,
.site-footer .east-mark {
  color: var(--gold);
}

.sourcing-line {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}


/* Brand-level stone variation — a feature, not a disclaimer */
.product-media-block {
  margin: 0;
}

.product-media-block .product-media {
  margin: 0;
}

.stone-character {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  margin: 1.1rem 0 0;
}

.photo-reference {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  margin: 0.85rem 0 0;
}
.product-info .photo-reference {
  margin: 0.15rem 0 1rem;
}
.faq-list .photo-reference {
  margin-top: 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--gold) 55%, var(--line));
  max-width: 34rem;
}

.faq-list .stone-character {
  margin-top: 0.65rem;
  padding-top: 0.7rem;
}

.cutoff-notice {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(138, 90, 43, 0.28);
  background: rgba(247, 239, 228, 0.7);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.season-label {
  display: inline-block;
  margin: 0 0.4rem 0.4rem 0;
  padding: 0.15rem 0.5rem;
  border: 1px solid rgba(138, 90, 43, 0.35);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bronze, #8A5A2B);
}

.consent-field {
  margin: 1rem 0;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.consent-label input[type="checkbox"] {
  margin-top: 0.3rem;
  flex: 0 0 auto;
}

.request-form {
  margin-top: 1.5rem;
}

.request-form .fixed-value {
  margin: 0;
  padding: 0.65rem 0 0.15rem;
  color: #1e1814;
}


.compact-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(30, 24, 20, 0.08);
}

.status-msg.is-error {
  color: #8a2b2b;
}


/* Home collection shelves — sideways, snap, peek, quiet arrows */
.product-shelf {
  --shelf-peek: 1.85rem;
  --shelf-gap: 1.25rem;
  --shelf-count: 1;
  margin: 0 0 3.75rem;
}

.product-shelf:last-child {
  margin-bottom: 0.25rem;
}

.shelf-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin: 0 0 1.25rem;
  padding: 0 var(--shelf-gutter, 0);
}

.shelf-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.shelf-view-all {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}

.shelf-view-all:hover,
.shelf-view-all:focus-visible {
  color: var(--accent);
  text-decoration: none;
}

.shelf-row {
  position: relative;
}

.shelf-scroller {
  display: flex;
  gap: var(--shelf-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.4rem 0 1.2rem;
  outline: none;
}

.shelf-scroller::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.shelf-scroller:focus-visible {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 70%, transparent);
}

.shelf-scroller .product-card {
  flex: 0 0 auto;
  width: calc((100% - var(--shelf-peek) - (var(--shelf-gap) * var(--shelf-count))) / var(--shelf-count));
  scroll-snap-align: start;
  min-width: 0;
}

.shelf-arrow {
  display: none;
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  background: color-mix(in srgb, var(--cream, #f7efe4) 92%, transparent);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.shelf-arrow svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

.shelf-arrow:hover,
.shelf-arrow:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.shelf-arrow:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.shelf-arrow:disabled,
.shelf-arrow[aria-disabled="true"] {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}

.shelf-arrow-prev { left: 0; }
.shelf-arrow-next { right: 0; }

@media (min-width: 640px) {
  .product-shelf {
    --shelf-count: 2;
    --shelf-peek: 2.1rem;
    --shelf-gap: 1.35rem;
  }
}

@media (min-width: 860px) {
  .product-shelf {
    --shelf-gutter: 2.85rem;
  }
  .shelf-row {
    padding: 0 var(--shelf-gutter);
  }
  .shelf-head {
    padding: 0 var(--shelf-gutter);
  }
  .shelf-arrow {
    display: inline-flex;
  }
  .shelf-arrow-prev { left: 0; }
  .shelf-arrow-next { right: 0; }
}

@media (min-width: 1024px) {
  .product-shelf {
    --shelf-count: 3;
    --shelf-peek: 2.4rem;
    --shelf-gap: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .product-shelf {
    --shelf-count: 4;
    --shelf-peek: 2.5rem;
  }
}


/* Per-product purchase note (driven from products.json) */
.purchase-note {
  margin: 0.55rem 0 0;
  max-width: 32rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
}

.price-block .purchase-note {
  margin-top: 0.7rem;
}

form[data-add-form] .purchase-note {
  margin: 0 0 1rem;
}

.cart-item .purchase-note,
.compact-list .purchase-note {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--ink);
}


.christmas-price-label {
  display: block;
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  font-style: normal;
  font-weight: 400;
}
.price-row .christmas-price-label,
.unit .christmas-price-label,
.price .christmas-price-label {
  display: inline;
  margin-left: 0.45rem;
}
.product-card .christmas-price-label {
  display: block;
  margin-left: 0;
}


/* Instagram mention on product and contact pages */
.contact-cta .mention,
.mention {
  margin: 0.15rem 0 0.9rem;
  font-size: 1rem;
  color: var(--ink);
}
.contact-cta .caption + .mention {
  margin-top: 0.35rem;
}

/* Shop-all: tighten the empty gap under "The collection" on small screens */
@media (max-width: 859px) {
  [data-page="shop"] > .band {
    padding-block: 0;
  }
  [data-page="shop"] > .band:first-child .wrap {
    padding-top: 1.75rem;
    padding-bottom: 0.15rem;
  }
  [data-page="shop"] > .band + .band .wrap {
    padding-top: 0.6rem;
    padding-bottom: 2.75rem;
  }
  [data-page="shop"] .page-intro {
    margin-bottom: 0.4rem;
  }
}


/* Product image gallery — only present when a piece has allowlisted extras.
   Pages with a single photo keep the original .product-media markup and styles. */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.product-gallery-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  padding: 0;
  scroll-padding: 0;
  /* Slides are 100cqi of this box, so they snap flush with no peek. */
  container-type: inline-size;
}
.product-gallery-viewport::-webkit-scrollbar {
  display: none;
}
.product-gallery-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-gallery-slide {
  box-sizing: border-box;
  flex: 0 0 100cqi;
  width: 100cqi;
  max-width: 100cqi;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.product-gallery-slide .product-media,
.product-gallery-slide .product-media.image-frame {
  position: relative;
  width: 100%;
  background: var(--photo-ground);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  min-height: 0;
}
.product-gallery-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transform: none;
}
.product-gallery-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  min-height: 1.25rem;
}
.product-gallery-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 28%, transparent);
  cursor: pointer;
}
.product-gallery-dot.is-active,
.product-gallery-dot[aria-current="true"] {
  background: var(--ink);
}
.product-gallery-dot:focus-visible,
.product-gallery-thumb:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.product-gallery-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.product-gallery-counter {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.product-gallery-thumbs {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
}
.product-gallery-thumb {
  flex: 0 0 3.6rem;
  width: 3.6rem;
  padding: 0;
  border: 0;
  background: var(--photo-ground);
  aspect-ratio: 1 / 1;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 38%, transparent);
  cursor: pointer;
  overflow: hidden;
}
.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transform: none;
}
.product-gallery-thumb.is-active,
.product-gallery-thumb[aria-current="true"] {
  box-shadow: 0 0 0 2px var(--gold);
}
@media (min-width: 860px) {
  .product-gallery-slide {
    flex: 0 0 100cqi;
    width: 100cqi;
    max-width: 100cqi;
  }
  .product-gallery-track {
    gap: 0;
  }
  .product-gallery-dots,
  .product-gallery-controls {
    display: none;
  }
  .product-gallery-thumbs {
    display: flex;
    justify-content: flex-start;
  }
  .product-gallery-thumb {
    flex: 0 0 4.4rem;
    width: 4.4rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-gallery-viewport {
    scroll-behavior: auto;
  }
}

.product-info .product-variation-line {
  margin-top: 0.45rem;
}

.product-gallery-caption {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
