/* Chel B. Online Shop — dusty rose + metallic gold */

:root {
  --rose: #c9958f;
  --rose-deep: #b07872;
  --rose-soft: #e4c7c2;
  --blush: #f3e6e2;
  --paper: #fbf7f5;
  --ink: #2a1c1a;
  --soft: #5a433f;
  --mute: #6e5550;
  --gold: #c4a04a;
  --gold-deep: #8f6f2e;
  --gold-soft: #e8d29a;
  --line: rgba(42, 28, 26, 0.12);
  --shadow: 0 12px 40px rgba(90, 55, 45, 0.12);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --header: 3.5rem;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --page-pad: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

html.scroll-locked {
  overflow: hidden;
  overscroll-behavior: none;
}

body.scroll-locked {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

:focus { outline: none; }

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

.skip-link {
  position: absolute;
  left: var(--page-pad);
  top: 0.5rem;
  z-index: 200;
  padding: 0.65rem 0.95rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline-offset: 2px;
}

.form-error {
  margin: 0;
  padding: 0.7rem 0.85rem;
  background: rgba(140, 48, 38, 0.12);
  color: #6b241c;
  font-size: 0.88rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
}

.form-error[hidden],
.field-error[hidden] { display: none !important; }

.field-error {
  margin-top: 0.3rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #8a3d2f;
  line-height: 1.35;
}

.field-hint {
  margin-top: 0.35rem;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--mute, #737373);
  line-height: 1.4;
}

.form input[aria-invalid="true"],
.form textarea[aria-invalid="true"] {
  border-bottom-color: #8a3d2f;
}

.shop[tabindex="-1"]:focus {
  outline: none;
}

.shop[tabindex="-1"]:focus-visible {
  outline: none;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, #e8cfc9 0%, transparent 55%),
    linear-gradient(180deg, var(--blush) 0%, var(--paper) 28%, var(--paper) 100%);
  background-attachment: fixed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--safe-b);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

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

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0 var(--page-pad);
  width: 100%;
  max-width: 100%;
  background: rgba(243, 230, 226, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s;
}

.site-header.is-solid {
  background: rgba(251, 247, 245, 0.94);
  border-bottom-color: var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  flex: 0 1 auto;
}

.wordmark-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1.5px var(--gold-soft);
  flex-shrink: 0;
}

.wordmark-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 0 0 auto;
  margin-left: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0;
  overflow: visible;
}

.nav a {
  padding: 0.45rem 0.4rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft);
  white-space: nowrap;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
}

.nav a[href="#faq"] {
  display: inline-flex;
}

.nav-messenger {
  padding: 0.45rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  justify-content: center;
  text-transform: none;
  letter-spacing: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-messenger .messenger-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.bag {
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0.45rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.bag.is-pulse {
  animation: bag-pulse 0.7s var(--ease);
}

@keyframes bag-pulse {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.18); }
}

.bag-count {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--gold-deep);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  display: inline-grid;
  place-items: center;
}

.bag-count[hidden] { display: none !important; }

/* Mobile header: stop brand/nav collision */
@media (max-width: 639px) {
  :root {
    --header: 3.35rem;
    --page-pad: 0.9rem;
  }

  .site-header {
    gap: 0.35rem;
    padding-inline: 0.75rem;
  }

  .wordmark {
    flex: 0 0 auto;
    max-width: 42%;
  }

  .wordmark-text {
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-right {
    gap: 0;
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
  }

  .nav {
    gap: 0;
    min-width: 0;
  }

  .nav a {
    padding: 0.4rem 0.28rem;
    font-size: 0.58rem;
    letter-spacing: 0.05em;
  }

  /* Keep primary actions; secondary pages stay reachable from footer/FAQ section */
  .nav a[href="proof.html"],
  .nav a[href="#faq"] {
    display: none;
  }

  .bag {
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0.35rem;
  }
}

@media (max-width: 380px) {
  .wordmark-text {
    display: none;
  }

  .nav a {
    padding: 0.4rem 0.22rem;
    font-size: 0.56rem;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(92svh, 680px);
  display: grid;
  place-items: center;
  padding: calc(var(--header) + 1rem) var(--page-pad) 2rem;
  overflow: hidden;
  text-align: center;
  width: 100%;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(196, 160, 74, 0.18), transparent 42%),
    radial-gradient(circle at 80% 20%, rgba(201, 149, 143, 0.35), transparent 45%),
    linear-gradient(165deg, #dfb4ad 0%, #edd6d1 42%, var(--paper) 100%);
  pointer-events: none;
}

.hero-wash::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.45;
  mix-blend-mode: soft-light;
}

.hero-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 28rem;
  animation: rise 0.9s var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-mark {
  width: min(48vw, 200px);
  height: auto;
  border-radius: 50%;
  box-shadow:
    0 0 0 2px rgba(196, 160, 74, 0.55),
    0 24px 48px rgba(90, 55, 45, 0.22);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 12vw, 4.25rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: var(--ink);
}

.hero-line {
  margin: 0;
  max-width: 18rem;
  font-size: clamp(0.95rem, 2.8vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--soft);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.6rem;
  border: 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #fffaf3;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(143, 111, 46, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.cta:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(143, 111, 46, 0.34); }
.cta:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.cta-block { width: 100%; }

/* —— Shop —— */
.shop {
  padding: 1.5rem var(--page-pad) 5.5rem;
  width: 100%;
  max-width: 100%;
}

.shop-toolbar {
  max-width: 1100px;
  margin: 0 auto 0.75rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem 0.65rem;
  align-items: end;
  width: 100%;
}

.search-wrap {
  grid-column: 1;
  min-width: 0;
}

.filter-toggle {
  grid-column: 2;
  align-self: stretch;
  border: 1px solid var(--line);
  background: rgba(255, 253, 251, 0.9);
  color: var(--ink);
  min-height: 3rem;
  padding: 0 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-toggle[aria-expanded="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.filter-toggle.has-filters:not([aria-expanded="true"]) {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

.shop-filters {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.shop-filters[hidden] {
  display: none !important;
}

.search-wrap input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 0.85rem 0;
  font-size: 1rem;
  font-weight: 300;
  min-height: 3rem;
  color: var(--ink);
}

.search-wrap input:focus-visible {
  border-color: var(--gold);
  outline-offset: 4px;
}

.shop-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.select-stock {
  grid-column: 1 / -1;
}

.select-wrap select {
  appearance: none;
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 253, 251, 0.85)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b5652' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 0.65rem center;
  padding: 0.75rem 1.65rem 0.75rem 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  cursor: pointer;
  outline: none;
  min-height: 3rem;
  border-radius: 0;
  -webkit-tap-highlight-color: transparent;
}

.select-wrap select:focus-visible { border-color: var(--gold); }

.form input:focus-visible,
.form textarea:focus-visible { border-color: var(--gold); }

.cat-bar {
  position: sticky;
  top: var(--header);
  z-index: 30;
  width: 100%;
  max-width: 100%;
  margin: 0 0 0.65rem;
  padding: 0.4rem 0 0.5rem;
  background: linear-gradient(180deg, rgba(251, 247, 245, 0.98), rgba(251, 247, 245, 0.9));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.dept-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.15rem 0 0.35rem;
  overscroll-behavior-x: contain;
  max-width: 100%;
}

.dept-tabs::-webkit-scrollbar { display: none; }

.dept-chip {
  flex: 0 0 auto;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dept-chip:hover {
  border-color: var(--line);
  background: #fff;
}

.dept-chip.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

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

.type-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.05rem 0 0.15rem;
  overscroll-behavior-x: contain;
  max-width: 100%;
}

.type-tabs[hidden] { display: none; }

.type-tabs::-webkit-scrollbar { display: none; }

.type-chip {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--soft);
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 999px;
  -webkit-tap-highlight-color: transparent;
}

.type-chip.is-active {
  background: var(--ink);
  color: var(--paper);
}

.type-more {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: transparent;
  min-height: 2.35rem;
  padding: 0 0.25rem 0 0.65rem;
}

.type-more.is-active { background: var(--ink); color: var(--paper); }

.type-more select {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1rem 0.45rem 0.15rem;
  cursor: pointer;
  outline: none;
  max-width: 6.5rem;
}

.result-count {
  max-width: 1100px;
  margin: 0 auto 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: center;
}

.inv-status {
  max-width: 1100px;
  margin: -0.45rem auto 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--mute);
  text-align: center;
}

.inv-status.is-local,
.inv-status.is-error,
.inv-status.is-fallback {
  color: var(--gold-deep);
}

.shelf {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 0.4rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.shelf-empty {
  max-width: 1100px;
  margin: 2rem auto 0;
  text-align: center;
  color: var(--soft);
  font-weight: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.shelf-empty[hidden] { display: none !important; }

.shelf-more-wrap {
  display: flex;
  justify-content: center;
  margin: 1.25rem 0 0.5rem;
}

.shelf-more-wrap .ghost-block {
  max-width: 22rem;
}

.shelf-empty .linkish {
  margin-left: 0;
  min-height: 2.75rem;
  padding: 0.45rem 0.75rem;
}

.photo-soon {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 0.75rem;
  background:
    linear-gradient(160deg, rgba(243, 230, 226, 0.95), rgba(220, 181, 174, 0.55));
  color: var(--soft);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.item-visual .photo-soon,
.detail-visual .photo-soon,
.scent-twin .photo-soon {
  aspect-ratio: auto;
}

.detail-visual.is-placeholder {
  cursor: default;
  display: grid;
}

.detail-visual.is-placeholder .photo-soon {
  min-height: 12rem;
}

.line-photo-soon {
  width: 64px;
  height: 80px;
  display: grid;
  place-items: center;
  background: var(--rose-soft);
  color: var(--soft);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.25rem;
}

.empty-bag {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  padding: 0.5rem 0 1rem;
}

.empty-bag .empty {
  padding-bottom: 0;
}

.item {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  animation: rise 0.65s var(--ease) both;
}

.item.is-static {
  animation: none;
}

.item.is-soldout { opacity: 0.55; }

.item-visual {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #f0ddd8, #dcb5ae);
  overflow: hidden;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 100%;
}

.item-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.item:hover .item-visual img { transform: scale(1.04); }

.tag {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 1;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft);
  background: rgba(251, 247, 245, 0.88);
  padding: 0.25rem 0.4rem;
}

.tag.sale, .tag.damage {
  color: #fff;
  background: #8a3d2f;
}

.tag.damage { background: #5c4a3a; }

.item-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  min-height: 1.1rem;
}

.item-pill {
  display: inline-block;
  max-width: 100%;
  padding: 0.12rem 0.4rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--mute);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-pill.is-deal {
  border-color: #8a3d2f;
  color: #8a3d2f;
}

.off-badge {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 1;
  padding: 0.28rem 0.4rem;
  background: #8a3d2f;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
}

.off-badge.damage { background: #5c4a3a; }

.stock {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  z-index: 1;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(251, 247, 245, 0.9);
  padding: 0.25rem 0.4rem;
}

.stock.sold { color: #8a3d2f; }
.stock.low { color: var(--gold-deep); }

.item-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.item-info h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-row { min-height: 1.35rem; }

.price {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.price.deal { color: #8a3d2f; }
.price.compare {
  margin-left: 0.4rem;
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--mute);
  text-decoration: line-through;
}

.price-block { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.15rem; }
.save-chip {
  display: inline-flex;
  align-items: center;
  margin-left: 0.15rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: #fde8e4;
  color: #8a3d2f;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.add {
  margin-top: auto;
  width: 100%;
  min-height: 2.85rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.add:hover:not(:disabled),
.add:active:not(:disabled) {
  background: var(--ink);
  color: var(--paper);
}

.add.is-added {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: #fffaf3;
}

.add.is-maxed {
  border-color: var(--line);
  color: var(--mute);
  background: rgba(243, 230, 226, 0.45);
}

.add.is-maxed:hover,
.add.is-maxed:active {
  background: rgba(243, 230, 226, 0.65);
  color: var(--soft);
  border-color: var(--line);
}

.add:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.hero-proof {
  margin-top: 0.85rem;
  display: inline-flex;
}

/* —— Proof of shipments —— */
.proof-page .site-header {
  position: sticky;
  top: 0;
}

.proof-main {
  padding: 1.5rem var(--page-pad) 2.5rem;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.proof-intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.proof-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.proof-intro h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
}

.proof-lede {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--soft);
}

.proof-assure {
  margin: 1.35rem 0 0;
  padding: 1.1rem 1.15rem;
  text-align: left;
  background:
    linear-gradient(145deg, rgba(250, 246, 241, 0.95), rgba(243, 230, 226, 0.9));
  border: 1px solid rgba(168, 132, 82, 0.28);
  border-left: 3px solid var(--gold);
}

.proof-assure p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--soft);
}

.proof-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.proof-msg {
  min-height: 2.75rem;
  align-items: center;
}

.proof-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.proof-gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--blush);
  aspect-ratio: 3 / 4;
}

.proof-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

@media (hover: hover) {
  .proof-gallery figure:hover img {
    transform: scale(1.03);
  }
}

.proof-foot-note {
  margin: 1.75rem auto 0;
  max-width: 28rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--mute);
  line-height: 1.5;
}

@media (min-width: 720px) {
  .proof-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

/* —— FAQ —— */
.faq {
  padding: 2.5rem var(--page-pad) 3.5rem;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}

.faq h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 600;
  text-align: center;
}

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

.faq-list summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--gold-deep);
  font-weight: 400;
}

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

.faq-list p {
  margin: 0.65rem 0 0.25rem;
  color: var(--soft);
  font-weight: 300;
  font-size: 0.95rem;
}

.faq-list a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* —— Footer —— */
.site-footer {
  padding: 2.25rem var(--page-pad) calc(2.25rem + var(--safe-b));
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(201, 149, 143, 0.22));
  border-top: 1px solid var(--line);
  width: 100%;
}

.site-footer img {
  margin: 0 auto 0.75rem;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold-soft);
}

.footer-mark {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.footer-meta {
  margin: 0.35rem 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
  border-bottom: 1px solid transparent;
}

.footer-links a:hover { border-bottom-color: var(--gold); }

.footer-links a[hidden] { display: none !important; }

/* —— Drawer / modals —— */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(42, 28, 26, 0.42);
  backdrop-filter: blur(2px);
}

.scrim[hidden] { display: none !important; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  width: min(100%, 380px);
  max-width: 100%;
  height: 100%;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease), visibility 0.35s;
  padding-bottom: var(--safe-b);
  box-shadow: var(--shadow);
  visibility: hidden;
  pointer-events: none;
  overscroll-behavior: contain;
}

.drawer.open {
  transform: none;
  visibility: visible;
  pointer-events: auto;
}

.drawer-top,
.sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.drawer-top h2,
.sheet-top h2 {
  margin: 0;
  min-width: 0;
  flex: 1;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.x {
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 0.4rem;
}

.drawer-body {
  flex: 1;
  overflow: auto;
  padding: 1rem 1.15rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.drawer-bottom {
  padding: 1rem 1.15rem calc(1rem + var(--safe-b));
  border-top: 1px solid var(--line);
}

.total-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.cart-deal {
  margin-bottom: 0.75rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(155, 61, 69, 0.22);
  background: rgba(155, 61, 69, 0.06);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink);
}

.cart-deal.is-unlocked {
  border-color: rgba(61, 107, 79, 0.28);
  background: rgba(61, 107, 79, 0.08);
}

.cart-deal strong {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.2rem;
}

.cart-deal .deal-rows {
  display: grid;
  gap: 0.2rem;
  margin-top: 0.45rem;
}

.cart-deal .deal-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.cart-deal .deal-row.is-save {
  color: #9b3d45;
  font-weight: 650;
}

.cart-deal .deal-row.is-due {
  font-weight: 700;
  border-top: 1px solid var(--line);
  padding-top: 0.35rem;
  margin-top: 0.15rem;
}

.oms-inv-discount {
  color: #9b3d45;
}

.oms-inv-discount strong {
  color: #9b3d45;
}

.empty { color: var(--mute); font-weight: 300; text-align: center; padding: 2rem 0; }

.line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.line img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  background: var(--rose-soft);
}

.line h4 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.meta { font-size: 0.78rem; color: var(--mute); }

.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.qty button {
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.rm {
  margin-top: 0.45rem;
  border: 0;
  background: none;
  color: var(--mute);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: end center;
  padding: 0;
  background: rgba(42, 28, 26, 0.45);
  overscroll-behavior: none;
  touch-action: none;
}

.modal[hidden] { display: none !important; }

.sheet {
  width: min(100%, 520px);
  max-height: min(94svh, 900px);
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  background: var(--paper);
  padding-bottom: var(--safe-b);
  -webkit-overflow-scrolling: touch;
  animation: sheet-up 0.35s var(--ease);
}

.sheet-wide { width: min(100%, 640px); }

@keyframes sheet-up {
  from { transform: translateY(24px); opacity: 0.6; }
  to { transform: none; opacity: 1; }
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.15rem;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

.form input,
.form textarea {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 0.65rem 0;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
}

.form input:focus-visible,
.form textarea:focus-visible { border-color: var(--gold); }

.fulfill-note {
  margin: 0;
  padding: 0.75rem 0.85rem;
  background: rgba(201, 149, 143, 0.18);
  font-size: 0.88rem;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
}

.fulfill-note[hidden] { display: none !important; }

.detail-body {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
}

.detail-visual {
  aspect-ratio: 1;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.55), transparent 48%),
    var(--rose-soft);
  border: 1px solid var(--line);
  padding: 0;
  width: 100%;
  cursor: zoom-in;
  position: relative;
  border-radius: 0.2rem;
}

.detail-gallery {
  display: grid;
  gap: 0.7rem;
}

.detail-gallery-frame {
  position: relative;
}

.detail-gallery-count {
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  z-index: 2;
  margin: 0;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: rgba(20, 12, 11, 0.72);
  color: #fffaf6;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.detail-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(20, 12, 11, 0.45);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.detail-gallery-nav:hover {
  background: rgba(20, 12, 11, 0.7);
}

.detail-gallery-prev { left: 0.45rem; }
.detail-gallery-next { right: 0.45rem; }

@media (hover: hover) and (pointer: fine) {
  .detail-gallery.has-many .detail-gallery-nav {
    display: inline-flex;
  }
}

.detail-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.1rem 0.1rem 0.35rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.detail-thumbs::-webkit-scrollbar {
  display: none;
}

.detail-thumb {
  flex: 0 0 auto;
  width: 3.55rem;
  height: 3.55rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.7rem;
  overflow: hidden;
  background: var(--rose-soft);
  cursor: pointer;
  scroll-snap-align: start;
  box-shadow: 0 0 0 1px var(--line);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.detail-thumb:hover {
  border-color: var(--gold);
}

.detail-thumb.is-active {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
  transform: translateY(-1px);
}

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

.detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.detail-visual img.is-swap {
  opacity: 0.35;
}

.detail-visual-hint {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 1;
  padding: 0.32rem 0.5rem;
  border-radius: 999px;
  background: rgba(251, 247, 245, 0.92);
  color: var(--soft);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 1px 6px rgba(20, 12, 11, 0.08);
}

@media (max-width: 639px) {
  .detail-thumb {
    width: 4rem;
    height: 4rem;
    border-radius: 0.8rem;
  }

  .detail-thumbs {
    gap: 0.55rem;
    padding-inline: 0.05rem;
  }

  .detail-gallery-count {
    font-size: 0.6rem;
  }
}

@media (min-width: 640px) {
  .detail-gallery {
    gap: 0.8rem;
  }

  .detail-thumb {
    width: 3.75rem;
    height: 3.75rem;
  }
}

.detail-copy p { margin: 0 0 0.75rem; color: var(--soft); font-weight: 300; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.detail-tags .tag, .detail-tags .stock { position: static; }

/* Full-screen photo zoom — full image, no crop */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  flex-direction: column;
  background: rgba(20, 12, 11, 0.97);
  color: #fff;
  overscroll-behavior: none;
  touch-action: none;
}

.lightbox[hidden] { display: none !important; }

.lightbox-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  padding-top: max(0.75rem, env(safe-area-inset-top, 0px));
  flex-shrink: 0;
}

.lightbox-hint {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.lightbox-count {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.lightbox-count[hidden] { display: none !important; }

.lightbox-close {
  color: rgba(255, 255, 255, 0.88);
}

.lightbox-stage {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  background: #140c0b;
  padding: 0.35rem;
}

.lightbox-stage.is-zoomed { cursor: grab; }
.lightbox-stage.is-dragging { cursor: grabbing; }

.lightbox-stage img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transform-origin: center center;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  will-change: transform;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-nav[hidden] { display: none !important; }

.lightbox-prev { left: 0.55rem; }
.lightbox-next { right: 0.55rem; }

.lightbox-filmstrip {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  overflow-x: auto;
  padding: 0.35rem 1rem 0.15rem;
  flex-shrink: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.lightbox-filmstrip[hidden] { display: none !important; }
.lightbox-filmstrip::-webkit-scrollbar { display: none; }

.lightbox-film-thumb {
  flex: 0 0 auto;
  width: 3.1rem;
  height: 3.1rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.55rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.lightbox-film-thumb.is-active {
  border-color: var(--gold);
}

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

.lightbox-controls {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem calc(0.85rem + var(--safe-b));
  position: relative;
  z-index: 2;
}

.lightbox-btn {
  min-width: 3rem;
  min-height: 2.85rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

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

@media (max-width: 639px) {
  .lightbox-top {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "hint close"
      "count close";
  }
  .lightbox-hint { grid-area: hint; font-size: 0.64rem; }
  .lightbox-count { grid-area: count; justify-self: start; }
  .lightbox-close { grid-area: close; }
  .lightbox-nav {
    width: 2.55rem;
    height: 2.55rem;
  }
  .lightbox-film-thumb {
    width: 3.4rem;
    height: 3.4rem;
  }
}

.scent-twins {
  margin-top: 1.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.scent-twins-label {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

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

.scent-twin {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  min-width: 0;
}

.scent-twin img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: linear-gradient(160deg, #f0ddd8, #dcb5ae);
}

.scent-twin span {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.scent-twin em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--soft);
}
.detail-price { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.detail-warn { color: #8a3d2f !important; font-weight: 500 !important; }
.detail-sku { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute) !important; }
.detail-description {
  margin: 0.35rem 0 0.9rem !important;
  color: var(--ink) !important;
  font-size: 0.95rem;
  font-weight: 400 !important;
  line-height: 1.45;
  white-space: pre-wrap;
}

/* Apparel size / color picker — boutique, brand-aligned */
.variant-picker {
  margin: 0.35rem 0 1.05rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.variant-brand {
  margin: 0 0 0.75rem !important;
  font-family: var(--font-display) !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink) !important;
}

.variant-row {
  margin-bottom: 0.95rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.variant-row:last-of-type {
  margin-bottom: 0.45rem;
  padding-bottom: 0;
  border-bottom: 0;
}

.variant-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.variant-label em {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink);
}

.opt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.opt-chips-size {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.opt-chip {
  position: relative;
  min-height: 2.65rem;
  min-width: 2.65rem;
  padding: 0.55rem 0.9rem;
  border-radius: 0.2rem;
  border: 1px solid rgba(42, 28, 26, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color 0.18s var(--ease),
    background 0.18s var(--ease),
    color 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.opt-chip:hover:not(.is-oos):not(.is-on) {
  border-color: var(--gold-deep);
  background: #fff;
}

.opt-chip.is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
}

.opt-chip.is-on::after {
  content: "";
  position: absolute;
  left: 0.45rem;
  right: 0.45rem;
  bottom: 0.28rem;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

.opt-chip[data-pick-size] {
  min-width: 2.55rem;
  min-height: 2.55rem;
  padding-inline: 0.62rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.opt-chip[data-pick-color] {
  border-radius: 999px;
  padding-inline: 1rem;
}

.opt-chip[data-pick-color].is-on::after {
  display: none;
}

.opt-chip.is-oos {
  opacity: 0.34;
  text-decoration: line-through;
  cursor: not-allowed;
  background: transparent;
}

.opt-chip:active:not(.is-oos) {
  transform: scale(0.97);
}

.variant-hint {
  margin: 0.15rem 0 0 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute) !important;
}

@media (min-width: 640px) {
  .opt-chip {
    min-height: 2.45rem;
    min-width: 2.45rem;
  }
}

.off-inline { font-size: 0.78rem; color: #8a3d2f; font-weight: 600; }

.order-highlight {
  margin: 1rem 1.15rem;
  padding: 1rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(196, 160, 74, 0.16), rgba(201, 149, 143, 0.22));
  border: 1px solid rgba(196, 160, 74, 0.35);
}

.order-highlight span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.order-highlight strong {
  display: block;
  margin: 0.35rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
}

.copy-chip {
  border: 1px solid var(--ink);
  background: transparent;
  padding: 0.4rem 0.85rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.oms-status {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
}

.oms-status.is-ok { color: #3d6b4f; }
.oms-status.is-warn { color: #8a3d2f; }
.oms-status[hidden] { display: none !important; }

.next-steps {
  margin: 0 1.15rem 1rem;
  padding-left: 1.25rem;
  color: var(--soft);
  font-weight: 300;
  font-size: 0.9rem;
}

.next-steps strong { font-weight: 500; color: var(--ink); }

/* OMS CompactInvoice mirror — capture + on-screen */
.oms-invoice {
  --oms-gold: #a88452;
  --oms-gold-soft: #c9a87c;
  --oms-ring: #e5ddd6;
  --oms-line: #ebe3dc;
  --oms-blush: #faf6f1;
  --oms-meta: #faf7f4;
  --oms-meta-border: #f0e8e4;
  margin: 0 0 1rem;
  width: 100%;
  max-width: 440px;
  min-width: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  color: #171717;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  box-shadow: 0 25px 50px -12px rgba(90, 55, 45, 0.25);
  outline: 1px solid var(--oms-ring);
}

.oms-invoice.is-capturing {
  box-shadow: none;
  outline: 1px solid var(--oms-ring);
}

.oms-inv-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1.15rem;
  border-bottom: 1px solid var(--oms-line);
  background: linear-gradient(160deg, #faf6f1 0%, #fff 55%, #f7f0ea 100%);
}

.oms-inv-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #c9a87c, #d4a5a0, #c9a87c);
}

.oms-inv-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.oms-inv-logo {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid #dcc9b8;
  background: #e8c4be;
  box-shadow: 0 4px 10px rgba(90, 55, 45, 0.12);
  outline: 2px solid #fff;
}

.oms-inv-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oms-inv-brand h1 {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #0a0a0a;
}

.oms-inv-brand p {
  margin: 0.35rem 0 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--oms-gold);
}

.oms-inv-ids {
  text-align: right;
  flex-shrink: 0;
  max-width: 52%;
}

.oms-inv-label {
  margin: 0;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oms-gold);
}

.oms-inv-invoice {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
  color: #0a0a0a;
  word-break: break-all;
}

.oms-inv-order {
  margin: 0.15rem 0 0;
  font-size: 9px;
  font-weight: 600;
  color: #737373;
  word-break: break-all;
}

.oms-inv-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.25rem 1.1rem;
}

.oms-inv-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--oms-meta-border);
  background: var(--oms-meta);
}

@media (min-width: 380px) {
  .oms-inv-meta {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.oms-inv-meta > div span,
.oms-inv-ship > span {
  display: block;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.oms-inv-ship > span { color: #b8956a; }

.oms-inv-meta strong,
.oms-inv-meta em {
  display: block;
  margin-top: 0.25rem;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  color: #171717;
  word-break: break-word;
}

.oms-inv-batch,
.oms-inv-est {
  display: inline-flex !important;
  width: fit-content;
  margin-top: 0.25rem;
  padding: 0.12rem 0.5rem;
  border-radius: 0.375rem;
  font-weight: 900 !important;
  font-size: 11px !important;
  outline: 1px solid;
}

.oms-inv-batch {
  background: #f5efe6;
  color: #8b6914 !important;
  outline-color: #e8d5d0;
}

.oms-inv-est {
  background: #fff1f2;
  color: #9f1239 !important;
  outline-color: #fecdd3;
}

.oms-inv-fb {
  grid-column: 1 / -1;
}

.oms-inv-fb[hidden] { display: none !important; }

.oms-inv-status-wrap {
  grid-column: 1 / -1;
}

.oms-inv-status {
  display: inline-flex !important;
  width: fit-content;
  margin-top: 0.25rem;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  font-size: 9px !important;
  font-weight: 900 !important;
  outline: 1px solid;
}

.oms-inv-status.is-paid {
  background: #ecfdf5;
  color: #065f46 !important;
  outline-color: #a7f3d0;
}

.oms-inv-status.is-partial {
  background: #fffbeb;
  color: #92400e !important;
  outline-color: #fde68a;
}

.oms-inv-status.is-draft,
.oms-inv-status.is-unpaid {
  background: #f5f5f5;
  color: #525252 !important;
  outline-color: #e5e5e5;
}

.oms-inv-ship {
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--oms-meta-border);
  background: #fff;
}

.oms-inv-ship p {
  margin: 0.5rem 0 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  color: #262626;
  white-space: pre-wrap;
  word-break: break-word;
}

.oms-inv-lines {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.oms-inv-lines th {
  padding: 0 0.5rem 0.5rem 0;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a3a3a3;
  border-bottom: 2px solid #171717;
}

.oms-inv-lines th:nth-child(2) { text-align: center; padding-left: 0.5rem; padding-right: 0.5rem; }
.oms-inv-lines th:nth-child(3),
.oms-inv-lines th:nth-child(4) { text-align: right; white-space: nowrap; }
.oms-inv-lines th:last-child { padding-right: 0; }

.oms-inv-lines td {
  padding: 0.5rem 0.5rem 0.5rem 0;
  font-size: 11px;
  vertical-align: top;
  border-bottom: 1px solid #f5f5f5;
}

.oms-inv-lines tbody tr:last-child td { border-bottom: 0; }

.oms-inv-lines td:first-child {
  font-weight: 700;
  line-height: 1.35;
  color: #262626;
}

.oms-inv-lines td:nth-child(2) {
  text-align: center;
  color: #737373;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.oms-inv-lines td:nth-child(3) {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
  color: #525252;
}

.oms-inv-lines td:nth-child(4) {
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
  color: #171717;
  padding-right: 0;
}

.oms-bullet {
  margin-right: 0.2rem;
  color: #a3a3a3;
  font-weight: 400;
}

.oms-inv-sums {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #f5f5f5;
  font-size: 11px;
}

.oms-inv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #525252;
}

.oms-inv-row strong {
  font-weight: 700;
  color: #171717;
}

.oms-inv-paid {
  font-weight: 600;
  color: #047857;
}

.oms-inv-paid strong { color: #047857; }

.oms-inv-balance {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.15rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: #0a0a0a;
  color: #fff;
}

.oms-inv-balance span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d4d4d4;
}

.oms-inv-balance strong {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.oms-inv-howto {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--oms-line);
  background: linear-gradient(135deg, #faf7f4, #fff);
  text-align: center;
}

.oms-inv-howto[hidden] { display: none !important; }

.oms-inv-howto-title {
  margin: 0;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oms-gold);
}

.oms-inv-howto p {
  margin: 0.5rem 0 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  color: #525252;
}

.oms-inv-howto-note {
  margin-top: 0.25rem !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  color: #a3a3a3 !important;
}

.oms-inv-footer {
  margin: 0;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--oms-line);
  background: var(--oms-blush);
  text-align: center;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oms-gold);
}

.dp {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: #8a3d2f;
}

.dp[hidden] { display: none !important; }

.pay h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.pay > p {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--soft);
  font-weight: 300;
}

.pay-fold-note {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  color: var(--mute);
  text-align: center;
}

.accounts {
  display: grid;
  gap: 0.55rem;
}

.account-btn {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(243, 230, 226, 0.45);
  padding: 0.75rem 0.85rem;
  cursor: pointer;
}

.account-btn .ch {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}

.account-btn strong {
  display: block;
  margin: 0.2rem 0;
  font-weight: 500;
}

.num-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.copy-hint {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.55rem 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  color: var(--soft);
}

.ghost-block {
  width: 100%;
  margin-top: 0.55rem;
}

.ghost[hidden] { display: none !important; }

.invoice-actions {
  padding: 0 1.15rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.invoice-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.hint {
  margin: 0 1.15rem 1.25rem;
  font-size: 0.82rem;
  color: var(--mute);
  font-weight: 300;
}

/* —— Simplified order-done flow —— */
.sheet-done {
  width: min(100%, 440px);
}

.done-panel {
  padding: 0.25rem 1rem 1.35rem;
}

.done-kicker {
  margin: 0.65rem 0 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: center;
}

.done-manage {
  margin: 0.85rem 0 0;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--soft);
}
.done-manage a {
  color: var(--rose-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.done-lead {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.4;
  color: var(--soft);
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.done-id-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.done-id-row strong {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 4.5vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  word-break: break-all;
  text-align: center;
}

.done-due {
  margin: 0 0 0.65rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--soft);
}

.done-due strong {
  color: var(--ink);
  font-weight: 600;
}

.done-dp {
  margin: -0.25rem 0 0.65rem;
  text-align: center;
  font-size: 0.82rem;
  color: #8a3d2f;
}

.done-dp[hidden] { display: none !important; }

.order-snapshot {
  margin: 0 0 1rem;
}

.order-snapshot-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.done-items {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.done-items li,
.done-item {
  display: grid;
  grid-template-columns: 3.4rem 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem 0;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--line);
}

.done-items li:last-child,
.done-item:last-child {
  border-bottom: 0;
}

.done-item img,
.done-item-soon {
  width: 3.4rem;
  height: 4.15rem;
  object-fit: cover;
  background: rgba(243, 230, 226, 0.55);
  border: 1px solid var(--line);
}

.done-item-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

.done-item-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.done-item-name {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.3;
}

.done-item-meta {
  color: var(--mute);
  font-size: 0.75rem;
  font-weight: 300;
}

.done-item-total {
  font-weight: 500;
  white-space: nowrap;
  align-self: start;
  padding-top: 0.15rem;
}

.done-totals {
  margin: 0.55rem 0 0;
  padding: 0.55rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.done-totals[hidden] {
  display: none !important;
}

.done-total-row[hidden],
#done-discount-row[hidden],
#inv-discount-row[hidden],
#inv-after-discount-row[hidden] {
  display: none !important;
}

.done-total-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.86rem;
  color: var(--ink);
}

.done-total-row span {
  color: var(--mute);
  font-weight: 400;
  line-height: 1.35;
}

.done-total-row strong {
  font-weight: 600;
  white-space: nowrap;
}

.done-total-row.is-save span,
.done-total-row.is-save strong {
  color: #2f6b45;
}

.done-total-row.is-due {
  margin-top: 0.15rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.done-total-row.is-due span {
  color: var(--ink);
  font-weight: 500;
}

.done-total-row.is-due strong {
  font-weight: 700;
}

.done-steps {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.done-step {
  margin: 0;
  padding: 0.9rem 0.9rem 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(243, 230, 226, 0.4));
  border: 1px solid var(--line);
}

.done-step-head {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.done-step-num {
  flex-shrink: 0;
  width: 1.55rem;
  height: 1.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fffaf3;
  font-size: 0.75rem;
  font-weight: 600;
}

.done-step-head strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.done-step-head p {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--soft);
  line-height: 1.4;
}

.done-step-send .cta {
  margin-top: 0.15rem;
}

.pay-fold-note {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  color: var(--mute);
  text-align: center;
}

.pay-step-body .accounts {
  gap: 0.45rem;
}

.invoice-fold {
  margin: 0.25rem 0 0;
  border-top: 1px solid var(--line);
  padding-top: 0.35rem;
}

.invoice-fold summary {
  cursor: pointer;
  list-style: none;
  padding: 0.75rem 0.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: center;
}

.invoice-fold summary::-webkit-details-marker { display: none; }

.invoice-fold[open] summary {
  margin-bottom: 0.65rem;
  color: var(--soft);
}

.done-panel .hint {
  margin: 0.55rem 0 0;
  text-align: center;
  font-size: 0.76rem;
  line-height: 1.4;
}

.checkout-welcome {
  margin: 0;
  padding: 0.7rem 0.85rem;
  background: rgba(196, 160, 74, 0.14);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
}

.checkout-welcome[hidden] { display: none !important; }

.linkish {
  border: 0;
  background: none;
  padding: 0;
  margin-left: 0.35rem;
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
  font: inherit;
  cursor: pointer;
}

.form-checkout {
  gap: 0.75rem;
  padding: 0.85rem 1rem 1.15rem;
}

.form-checkout input,
.form-checkout textarea {
  font-size: 16px; /* prevents iOS zoom */
  padding: 0.75rem 0;
}

.sheet-checkout {
  width: min(100%, 440px);
}

.invoice-actions-secondary[hidden] { display: none !important; }

.done-panel .oms-status {
  text-align: center;
  margin: 0 0 0.75rem;
}

.done-panel .oms-invoice {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.5rem;
}

@media print {
  .done-panel > :not(.invoice-fold),
  .invoice-fold > summary,
  .sheet-top, .site-header, .hero, .shop, .faq, .site-footer,
  .scrim, .drawer, .toast, .x { display: none !important; }
  .invoice-fold,
  .oms-invoice {
    display: block !important;
    position: static !important;
    max-width: 100% !important;
    box-shadow: none !important;
    outline: 0 !important;
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(1.25rem + var(--safe-b));
  z-index: 100;
  transform: translateX(-50%);
  max-width: min(92vw, 360px);
  padding: 0.85rem 1.15rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.88rem;
  line-height: 1.35;
  text-align: center;
  box-shadow: var(--shadow);
  pointer-events: none;
}

/* iOS / blocked-download fallback — long-press to save */
.invoice-preview {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.75rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
  background: rgba(20, 12, 11, 0.55);
}

.invoice-preview[hidden] { display: none !important; }

.invoice-preview-sheet {
  width: min(100%, 420px);
  max-height: min(88vh, 720px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.85rem 0.85rem 1rem;
  display: grid;
  gap: 0.75rem;
}

.invoice-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.invoice-preview-top p {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--soft);
}

.invoice-save-actions {
  display: grid;
  gap: 0.55rem;
}

@media (min-width: 520px) {
  .invoice-save-actions {
    grid-template-columns: 1fr 1fr;
  }
  .invoice-save-actions .cta-block {
    grid-column: 1 / -1;
  }
}

.invoice-preview-help {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--soft);
}

.invoice-preview-help strong {
  color: var(--ink);
  font-weight: 600;
}

.invoice-preview img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid var(--line);
  -webkit-touch-callout: default;
  pointer-events: auto;
}

.invoice-preview .ghost-block {
  text-align: center;
  text-decoration: none;
}

.toast.is-action {
  pointer-events: auto;
  cursor: pointer;
  padding-right: 1.15rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.toast[role="alert"] {
  background: #5c2a22;
}

body.has-bag-bar .toast {
  bottom: calc(5.25rem + var(--safe-b));
}

.bag-bar:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.add:focus-visible,
.type-chip:focus-visible,
.cta:focus-visible,
.ghost:focus-visible,
.copy-chip:focus-visible,
.account-btn:focus-visible,
.bag:focus-visible,
.x:focus-visible,
.nav a:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

/* Sticky bag strip — mobile shopping feedback */
.bag-bar {
  position: fixed;
  left: var(--page-pad);
  right: var(--page-pad);
  bottom: calc(0.65rem + var(--safe-b));
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.65rem 0.9rem;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 12px 32px rgba(42, 28, 26, 0.28);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  animation: rise 0.35s var(--ease);
  max-width: calc(100% - (var(--page-pad) * 2));
  box-sizing: border-box;
}

.bag-bar[hidden] { display: none !important; }

.bag-bar-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  text-align: left;
  min-width: 0;
}

.bag-bar-left strong {
  font-size: 0.92rem;
  font-weight: 600;
}

.bag-bar-left span {
  font-size: 0.78rem;
  font-weight: 300;
  opacity: 0.85;
}

.bag-bar-cta {
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

body.has-bag-bar .site-footer {
  padding-bottom: calc(5.5rem + var(--safe-b));
}

@media (min-width: 640px) {
  :root { --page-pad: 1.25rem; --header: 3.75rem; }

  .wordmark-text { font-size: 1.35rem; }
  .wordmark-mark { width: 36px; height: 36px; }
  .nav a[href="#faq"] { display: inline-flex; }
  .nav a {
    padding: 0.55rem 0.55rem;
    font-size: 0.7rem;
  }
  .bag-label { display: inline; }
  .shop-toolbar {
    grid-template-columns: 1fr min(480px, 50%);
    align-items: end;
    gap: 0.75rem 1rem;
  }
  .search-wrap {
    grid-column: 1;
    grid-row: 1;
  }
  .filter-toggle { display: none; }
  .shop-filters,
  .shop-filters[hidden] {
    display: grid !important;
    width: 100%;
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .select-stock { grid-column: auto; }
  .cat-bar {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
  .shelf {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem 0.75rem;
  }
  .modal { place-items: center; padding: 1.5rem; }
  .sheet {
    max-height: min(90vh, 880px);
    box-shadow: var(--shadow);
  }
  .detail-body {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .invoice-secondary { grid-template-columns: repeat(4, 1fr); }
  .bag-bar {
    left: auto;
    right: var(--page-pad);
    bottom: 1.25rem;
    width: min(360px, calc(100% - (var(--page-pad) * 2)));
    max-width: 360px;
  }
}

@media (max-width: 380px) {
  .wordmark-text { display: none; }
  .nav a { padding: 0.45rem 0.3rem; letter-spacing: 0.04em; }
}

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

@media print {
  .site-header, .hero, .shop, .faq, .site-footer,
  .scrim, .drawer, .invoice-actions, .next-steps, .order-highlight,
  .hint, .toast, .x, .pay-fold { display: none !important; }
  .modal, .sheet, .oms-invoice { position: static !important; display: block !important; max-height: none; width: 100%; box-shadow: none; border: 0; outline: 0; }
}

.legal-page {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem var(--page-pad) 4rem;
}
.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin: 0 0 1rem;
  color: var(--ink);
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 1.75rem 0 0.5rem;
  color: var(--ink);
}
.legal-page p,
.legal-page li {
  color: var(--soft);
  line-height: 1.55;
}
.legal-page h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 1.15rem 0 0.35rem;
  color: var(--ink);
}
.legal-page .legal-updated {
  margin: -0.35rem 0 1.25rem;
  font-size: 0.78rem;
  color: var(--mute);
}
.legal-page code {
  font-size: 0.88em;
}

.shop-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1rem;
  margin: 1.5rem 0 0.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.shop-legal a {
  color: var(--soft);
  border-bottom: 1px solid transparent;
}
.shop-legal a:hover { border-bottom-color: var(--gold); }

/* —— Manage order (elderly-friendly) —— */
.manage-page .site-header {
  background: rgba(251, 247, 245, 0.96);
  border-bottom-color: var(--line);
}

.manage-page .manage-main {
  max-width: 34rem;
  margin: 0 auto;
  padding: calc(var(--header) + 1.15rem + var(--safe-t, 0px)) var(--page-pad) calc(3.5rem + var(--safe-b));
}
.manage-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 6vw, 2.5rem);
  line-height: 1.15;
  margin: 0.35rem 0 0.75rem;
  color: var(--ink);
}
.manage-kicker {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.manage-lead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--soft);
  margin: 0 0 1rem;
}
.manage-callout {
  background: #fff8f0;
  border: 1px solid rgba(196, 160, 74, 0.45);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  margin: 0 0 1.25rem;
}
.manage-callout p {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}
.manage-callout p:last-child { margin-bottom: 0; }
.manage-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.15rem 1.1rem 1.35rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
}
.mo-field {
  display: block;
  margin-bottom: 1rem;
}
.mo-field span {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.mo-field input {
  width: 100%;
  font-size: 1.15rem;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.mo-field input:focus {
  outline: 2px solid var(--gold-deep);
  border-color: var(--gold);
}
.mo-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}
.manage-card .cta-block,
.mo-danger {
  width: 100%;
  justify-content: center;
  font-size: 1.1rem;
  min-height: 3.15rem;
  margin-top: 0.35rem;
}
.mo-danger {
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 999px;
  background: #9b2c2c;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.mo-danger:disabled { opacity: 0.55; cursor: not-allowed; }
.mo-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.mo-label {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mute);
}
.mo-value {
  margin: 0.15rem 0 0;
  font-size: 1.15rem;
  font-weight: 600;
  word-break: break-word;
}
.mo-h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 1.25rem 0 0.65rem;
}
.mo-h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1rem 0 0.45rem;
  color: var(--ink);
}
.mo-steps {
  margin: 0 0 1rem;
  padding: 0.85rem 0.85rem 0.85rem 1.6rem;
  background: #fff8f0;
  border: 1px solid rgba(196, 160, 74, 0.35);
  border-radius: 0.9rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}
.mo-steps li { margin: 0.2rem 0; }
.mo-items, .mo-draft { display: grid; gap: 0.65rem; }
.mo-line, .mo-draft-line {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.85rem;
  border-radius: 0.9rem;
  background: var(--blush);
}
.mo-line-copy { flex: 1 1 auto; min-width: 0; }
.mo-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 0.75rem;
  background: #fff;
  flex: 0 0 auto;
  border: 1px solid var(--line);
}
.mo-thumb-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: center;
  line-height: 1.2;
  padding: 0.35rem;
}
.mo-line-name { margin: 0; font-weight: 600; font-size: 1.02rem; }
.mo-line-meta { margin: 0.15rem 0 0; font-size: 0.92rem; color: var(--soft); }
.mo-line-total { margin: 0; font-weight: 600; white-space: nowrap; }
.mo-draft-line { flex-wrap: wrap; }
.mo-draft-main { flex: 1 1 10rem; min-width: 0; }
.mo-qty-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem;
}
.mo-qty-btn {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--blush);
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.mo-qty-val {
  min-width: 1.5rem;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
}
.mo-remove {
  border: 0;
  background: transparent;
  color: #9b2c2c;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
}
.mo-draft-total-wrap {
  font-size: 1.2rem;
  margin: 0.85rem 0 1.1rem;
}
.mo-add-box {
  border: 1.5px dashed rgba(168, 132, 82, 0.55);
  border-radius: 1rem;
  padding: 0.95rem 0.95rem 0.75rem;
  background: #fffcf8;
  margin-bottom: 1rem;
}
.mo-search-results {
  display: grid;
  gap: 0.5rem;
  margin: 0.35rem 0 0.35rem;
  max-height: 18rem;
  overflow: auto;
}
.mo-search-hit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0.85rem;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  width: 100%;
}
.mo-search-hit:hover, .mo-search-hit:focus {
  border-color: var(--rose);
  outline: 2px solid var(--rose-soft);
}
.mo-search-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1 1 auto;
}
.mo-search-name { display: block; font-weight: 600; font-size: 1.02rem; }
.mo-search-meta { display: block; color: var(--soft); font-size: 0.95rem; }
.mo-add-chip {
  flex: 0 0 auto;
  background: var(--gold, #a88452);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}
.mo-hint, .mo-empty { color: var(--soft); font-size: 1rem; line-height: 1.45; }
.mo-status {
  background: #fde8e8;
  color: #7f1d1d;
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  font-size: 1.02rem;
  line-height: 1.45;
  margin: 0 0 1rem;
}
.mo-reminder { margin-top: 0; }
.mo-edit {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.mo-invoice-actions {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.mo-invoice-actions.is-highlight {
  background: #fff8f0;
  border: 1px solid rgba(196, 160, 74, 0.45);
  border-radius: 1rem;
  padding: 1rem 1.1rem 1.15rem;
  border-top: 1px solid rgba(196, 160, 74, 0.45);
}
.mo-invoice-btn { margin-top: 0.5rem; }
.mo-done-panel {
  margin-top: 1.15rem;
  padding: 1.05rem 1.05rem 1.2rem;
  border-radius: 1rem;
  background: #fff8f0;
  border: 1px solid rgba(196, 160, 74, 0.5);
}
.mo-done-kicker {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #2f6b3a;
}
.mo-done-panel .mo-h2 { margin-top: 0.35rem; }
.mo-download-note {
  margin: 0.85rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #2f6b3a;
}
.mo-home-btn {
  width: 100%;
  justify-content: center;
  min-height: 3.15rem;
  margin-top: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border: 1.5px solid var(--ink);
  background: #fff;
  color: var(--ink);
}
.mo-cancelled-panel {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.mo-cancel-wrap {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.manage-help {
  text-align: center;
  font-size: 1.05rem;
  color: var(--soft);
}
.manage-help a { color: var(--rose-deep); font-weight: 600; }
.mo-replace { margin-top: 0.5rem; padding-top: 0.25rem; border-top: 1px solid var(--line); }

/* ── Performance: shelf skeleton + low-end mobile ── */
.shelf.is-loading .item-skeleton {
  pointer-events: none;
  min-height: 18rem;
  border-radius: 1rem;
  background: linear-gradient(110deg, var(--blush) 8%, #fff 18%, var(--blush) 33%);
  background-size: 200% 100%;
  animation: shelf-shimmer 1.2s linear infinite;
}

@keyframes shelf-shimmer {
  to { background-position-x: -200%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mark,
  .item,
  .bag.is-pulse { animation: none !important; }
  .shelf.is-loading .item-skeleton { animation: none; background: var(--blush); }
}

@media (max-width: 640px) {
  .site-header,
  .shop-toolbar select,
  .filter-toggle {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(251, 247, 245, 0.96);
  }
}

