/* =========================================================
   VELORA — US clean beauty storefront template
   Palette: paper #FBF7F3 · mist #F2EBE4 · ink #2B211B
            muted #8C7A6D · line #E6DACE · accent #C4786B
   Type: Inter (400/500/600/700) body · Cormorant Garamond display
   ========================================================= */

:root {
  --paper: #fbf7f3;
  --mist: #f2ebe4;
  --mist-deep: #e9dfd6;
  --ink: #2b211b;
  --ink-soft: #4a3930;
  --muted: #8c7a6d;
  --line: #e6dace;
  --accent: #c4786b;
  --accent-dark: #ae6257;
  --star: #2b211b;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(56px, 8vw, 96px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", Times, serif;
  --header-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  line-height: 1.2;
}
.announce[hidden] { display: none; }
.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px var(--gutter);
  text-align: center;
  position: relative;
}
.announce__icon { flex: none; opacity: 0.9; }
.announce a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.announce__close {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: var(--paper);
  cursor: pointer;
  padding: 6px;
  line-height: 0;
  opacity: 0.85;
}
.announce__close:hover { opacity: 1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-h);
  gap: 16px;
}

.nav-main ul {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.nav-main a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 0;
  position: relative;
}
.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-main a:hover::after,
.nav-main a[aria-current="page"]::after { transform: scaleX(1); }

.logo {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  letter-spacing: 0.38em;
  text-indent: 0.38em;
  line-height: 1;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
}
.icon-btn:hover { background: var(--mist); }
.icon-btn__badge {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 1.6px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--accent); color: var(--paper); }
.btn--solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--mist); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--mist); }
.btn--block { width: 100%; }
.btn--lg { min-height: 54px; padding: 0 32px; font-size: 15px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}
.link-arrow svg { transition: transform 0.18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: clamp(520px, 62vw, 640px);
  background: linear-gradient(180deg, #f7f1e7 0%, #efe5d4 100%);
  overflow: hidden;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: clamp(36px, 6vw, 72px) var(--gutter);
  max-width: 620px;
  margin-left: max(0px, calc((100vw - var(--container)) / 2));
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow--accent { color: var(--accent); }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.hero__lead {
  font-size: clamp(17px, 1.65vw, 20px);
  color: var(--muted);
  max-width: 40ch;
  line-height: 1.65;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 6px;
}
.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}
.feature-pill svg { flex: none; opacity: 0.85; }

.hero__media {
  position: relative;
  min-height: 320px;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
}

/* ---------- Category strip ---------- */
.section { padding: var(--section-y) 0; }
.section--tight { padding: clamp(36px, 5vw, 56px) 0; }
.section--mist { background: var(--mist); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.cat-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 8px;
  align-items: center;
  background: var(--mist);
  border-radius: var(--radius);
  padding: 22px 18px;
  min-height: 168px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cat-card:hover { background: var(--mist-deep); transform: translateY(-2px); }
.cat-card__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.cat-card__desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 14px;
}
.cat-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}
.cat-card__media img {
  width: 100%;
  height: 100%;
  max-height: 132px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* ---------- Section heads ---------- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(22px, 3vw, 32px);
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.7vw, 2.15rem);
  letter-spacing: -0.015em;
  font-weight: 700;
}
.section-head p { color: var(--muted); margin-top: 6px; max-width: 52ch; }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--mist);
  border-radius: var(--radius);
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: none;
}
.product-card:hover .product-card__media img { transform: none; }

.wish-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}
.wish-btn[aria-pressed="true"] svg { fill: var(--ink); }
.wish-btn:hover { background: var(--paper); }

.product-card__name {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  min-height: 2.7em;
}
.product-card__concern {
  margin-top: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card__price {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.rating__stars {
  display: inline-flex;
  gap: 1px;
  color: var(--star);
}

/* ---------- Trust bar ---------- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 28px clamp(16px, 2.5vw, 32px);
}
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item__icon {
  flex: none;
  width: 28px;
  height: 28px;
  color: var(--ink);
}
.trust-item h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.trust-item p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* ---------- Story split ---------- */
.story {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.story__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--mist);
}
.story__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.story__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.story__copy h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 700;
  white-space: pre-line;
}
.story__copy p {
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.7;
  font-size: 15px;
}

/* ---------- Press ---------- */
.press {
  display: grid;
  grid-template-columns: auto 1fr minmax(220px, 320px);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  background: var(--mist);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 36px) clamp(20px, 3vw, 40px);
}
.press__label {
  font-size: 13px;
  color: var(--muted);
  max-width: 12ch;
  line-height: 1.4;
}
.press__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 18px 28px;
  color: var(--ink);
  opacity: 0.88;
}
.press-logo {
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.press-logo--serif { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.01em; }
.press-logo--wide { letter-spacing: 0.18em; font-size: clamp(13px, 1.35vw, 17px); }
.press-logo--condensed { letter-spacing: -0.02em; font-weight: 800; }

.press__quote {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.press__quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Instagram ---------- */
.ig-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.ig-head h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -0.02em;
  font-weight: 600;
}
.ig-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.ig-grid a {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--mist);
}
.ig-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: none;
}
.ig-grid a:hover img { transform: scale(1.06); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
  margin-top: var(--section-y);
  padding: clamp(48px, 7vw, 72px) 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 0.85fr) 1.1fr;
  gap: clamp(24px, 3vw, 40px);
}
.footer-col h3 {
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  padding: 5px 0;
}
.footer-col a:hover { color: var(--paper); }
.footer-brand .logo {
  color: var(--paper);
  font-size: 20px;
  margin-bottom: 10px;
  display: inline-block;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
  max-width: 28ch;
}
.footer-note {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.newsletter p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 32ch;
  margin-bottom: 16px;
  line-height: 1.55;
}
.newsletter-form {
  display: flex;
  align-items: stretch;
  background: var(--paper);
  border-radius: var(--radius-sm);
  overflow: hidden;
  max-width: 320px;
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 12px 14px;
  font-size: 13.5px;
  background: transparent;
}
.newsletter-form input:focus { outline: none; }
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form button {
  width: 48px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.newsletter-form button:hover { background: var(--mist); }

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
}
.social-row a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.35);
}

.footer-bottom {
  margin-top: clamp(32px, 5vw, 48px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--mist);
  padding: clamp(40px, 6vw, 64px) 0;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 10px;
}
.page-hero p {
  color: var(--muted);
  max-width: 56ch;
  margin-inline: auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 14px;
  justify-content: center;
}
.breadcrumb a:hover { color: var(--ink); }

/* ---------- Product detail ---------- */
.pdp {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding-top: clamp(28px, 4vw, 48px);
}
.pdp__gallery {
  background: var(--mist);
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.pdp__gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pdp__info { display: flex; flex-direction: column; gap: 18px; }
.pdp__info h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 700;
}
.pdp__price { font-size: 1.55rem; font-weight: 700; letter-spacing: -0.02em; }
.pdp__desc { color: var(--muted); line-height: 1.7; }

.option-groups { display: flex; flex-direction: column; gap: 18px; }
.option-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
.option-label span {
  font-weight: 500;
  color: var(--muted);
  margin-left: 6px;
}
.option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.option-chip {
  min-height: 44px;
  min-width: 44px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.option-chip:hover { border-color: var(--ink); }
.option-chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.option-hint {
  display: none;
  margin-top: 8px;
  font-size: 12.5px;
  color: #b42318;
  font-weight: 500;
}
.option-hint.is-visible { display: block; }

.pdp__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  min-height: 44px;
}
.qty button {
  width: 42px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.qty input {
  width: 48px;
  border: 0;
  text-align: center;
  font-weight: 600;
  background: transparent;
}
.qty input:focus { outline: none; }

.specs {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.specs summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  font-size: 14px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.specs summary::-webkit-details-marker { display: none; }
.specs[open] summary { border-bottom: 1px solid var(--line); }
.specs table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.specs td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.specs td:first-child {
  color: var(--muted);
  width: 38%;
  padding-right: 16px;
}

/* ---------- Cart page ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.cart-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cart-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-item__media {
  width: 96px;
  height: 96px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
}
.cart-item__media img { width: 100%; height: 100%; object-fit: contain; }
.cart-item__info h3 { font-size: 15px; letter-spacing: -0.01em; margin-bottom: 4px; }
.cart-item__opts { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.cart-item__price { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.cart-item__side { text-align: right; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.cart-item__line { font-size: 15px; font-weight: 700; }
.cart-item__remove {
  border: 0;
  background: none;
  padding: 0;
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cart-item__remove:hover { color: var(--ink); }

.cart-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.cart-summary h2 { font-size: 17px; letter-spacing: -0.02em; margin-bottom: 16px; }
.checkout-items {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  margin-bottom: 10px;
}
.checkout-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.checkout-item__media {
  display: grid;
  place-items: center;
  width: 80px;
  height: 92px;
  border-radius: var(--radius-sm);
  background: var(--mist);
  overflow: hidden;
}
.checkout-item__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.checkout-item__noimg {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.checkout-item__body { min-width: 0; }
.checkout-item__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}
.checkout-item__name {
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -.01em;
}
.checkout-item__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.checkout-item__total { flex: none; font-size: 13.5px; }
.checkout-item__meta {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--muted);
}
.checkout-item__options {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
  font-size: 11px;
  color: var(--muted);
}
.checkout-item__options span {
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--mist);
}
.checkout-item__options b {
  color: var(--ink);
  font-weight: 600;
}
.checkout-items__empty {
  padding: 14px 0;
  font-size: 13px;
  color: var(--muted);
}
.cart-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--muted);
}
.cart-row--total {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 14px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}
.cart-summary .btn { margin-top: 16px; }
.cart-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.cart-empty {
  text-align: center;
  padding: 64px 20px;
  background: var(--mist);
  border-radius: var(--radius);
}
.cart-empty h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.cart-empty p { color: var(--muted); margin-bottom: 18px; }

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

@media (max-width: 900px) {
  .cart-layout,
  .checkout-grid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-item { grid-template-columns: 80px minmax(0, 1fr); }
  .cart-item__side {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
}

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(17, 17, 17, 0.45);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 20px 40px;
}
.search-overlay.is-open { display: flex; }
.search-panel {
  width: min(640px, 100%);
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
}
.search-panel__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.search-panel__bar svg { flex: none; color: var(--muted); }
.search-panel__bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  font-size: 17px;
  padding: 8px 0;
  background: transparent;
}
.search-panel__bar input:focus { outline: none; }
.search-panel__close {
  border: 0;
  background: var(--mist);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.search-panel__close:hover { background: var(--mist-deep); }

.search-results {
  max-height: min(52vh, 480px);
  overflow: auto;
  padding: 8px;
}
.search-results a {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}
.search-results a:hover,
.search-results a:focus-visible { background: var(--mist); outline: none; }
.search-results img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--mist);
}
.search-results .name { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.search-results .meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.search-results .price { font-size: 13.5px; font-weight: 700; }
.search-hint {
  padding: 22px 16px;
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
}
.search-hint strong { color: var(--ink); font-weight: 600; }
.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}
.search-tags button {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  min-height: 34px;
  padding: 0 14px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
}
.search-tags button:hover { border-color: var(--ink); }

.shop-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  background: var(--paper);
  flex: 1 1 220px;
  max-width: 320px;
}
.shop-search input {
  border: 0;
  background: transparent;
  font-size: 13.5px;
  width: 100%;
}
.shop-search input:focus { outline: none; }
.shop-search svg { color: var(--muted); flex: none; }

@media (max-width: 640px) {
  .search-overlay { padding-top: 6vh; }
  .search-results a { grid-template-columns: 48px minmax(0, 1fr); }
  .search-results .price { grid-column: 2; margin-top: -8px; }
}

/* ---------- Shop layout + filters ---------- */
.shop-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}

.filter-toggle {
  display: none;
  width: 100%;
  margin-bottom: 16px;
}

.filters {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  background: var(--paper);
}
.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.filters__head h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.filters__clear {
  border: 0;
  background: none;
  padding: 4px 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.filters__clear:hover { color: var(--ink); }

.filter-group {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.filter-group > span,
.filter-group > label.group-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  font-size: 13.5px;
  cursor: pointer;
  color: var(--ink-soft);
}
.filter-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--ink);
  cursor: pointer;
  flex: none;
}
.filter-option span.count {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}
.filter-option:hover { color: var(--ink); }

.price-fields {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
}
.price-fields input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 10px;
  font-size: 13px;
  background: var(--paper);
}
.price-fields input:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}
.price-fields .sep { color: var(--muted); }

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.shop-toolbar__count {
  font-size: 13.5px;
  color: var(--muted);
}
.shop-toolbar__count strong { color: var(--ink); font-weight: 600; }

.sort-select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  font-size: 13.5px;
  font-weight: 500;
  background: var(--paper);
  cursor: pointer;
}
.sort-select:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.shop-empty {
  display: none;
  padding: 48px 20px;
  text-align: center;
  color: var(--muted);
  background: var(--mist);
  border-radius: var(--radius);
}
.shop-empty.is-visible { display: block; }
.shop-empty p { margin-bottom: 14px; }

@media (max-width: 1100px) {
  .shop-layout { grid-template-columns: 220px minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .filters {
    position: static;
    display: none;
    margin-bottom: 18px;
  }
  .filters.is-open { display: block; }
}

/* ---------- Content cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.info-card {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}
.info-card h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
}
.info-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
}

.journal-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.journal-card__media {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
}
.journal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}
.journal-card h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.journal-card p { color: var(--muted); font-size: 14px; }

/* ---------- Forms / support ---------- */
.form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}
.form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.form input,
.form textarea,
.form select {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--paper);
  font-size: 14px;
}
.form textarea { min-height: 132px; resize: vertical; }
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
  border-color: var(--ink);
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  padding: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 70ch;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--paper);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .press {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .press__label { max-width: none; }
  .press__quote { max-width: 60ch; margin-inline: auto; }
  .ig-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }
  .nav-main {
    position: fixed;
    inset: calc(var(--header-h) + 40px) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 22px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.22s ease;
    max-height: calc(100vh - var(--header-h) - 40px);
    overflow: auto;
  }
  .announce[hidden] ~ .site-header .nav-main {
    inset-block-start: var(--header-h);
  }
  .nav-main.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-main ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-main a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-main a::after { display: none; }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero__copy {
    margin-left: 0;
    max-width: none;
    order: 2;
    padding-block: 36px;
  }
  .hero__media {
    order: 1;
    aspect-ratio: 16 / 11;
  }
  .hero__media img { object-position: 70% center; }

  .trust-bar { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2n) { border-left: 1px solid var(--line); }
  .trust-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .trust-item:nth-child(odd) { border-left: 0; }

  .story { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .split-2 { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .announce__inner { padding-right: 48px; }
  .press__logos { justify-content: center; gap: 12px 18px; }
  .press-logo { font-size: 13px; }
  .product-grid,
  .product-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .journal-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { min-height: 140px; }
  .trust-bar { grid-template-columns: 1fr; }
  .trust-item,
  .trust-item + .trust-item,
  .trust-item:nth-child(2n) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .trust-item:first-child { border-top: 0; }
  .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero h1 { font-size: 2.35rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; flex: none; }
  .pdp__actions .btn { width: 100%; }
}

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



/* Prevent the default demo product from flashing before catalog data arrives. */
.pdp.is-loading { position: relative; min-height: 70vh; }
.pdp.is-loading > * { visibility: hidden; }
.pdp.is-loading::after {
  content: "Loading product…";
  position: absolute;
  inset: 90px 0 auto;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}
.product-card__add { margin-top: 4px; min-height: 44px; }

.product-card__sprite { background-size: 600% 400%; background-repeat: no-repeat; background-color: var(--mist); }


/* Homepage hero spacing and compact product titles */
.hero__copy {
  max-width: none;
  width: 100%;
  margin-left: 0;
  padding-inline: clamp(40px, 4.5vw, 64px);
}
[data-featured-grid] .product-card__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  max-height: 2.7em;
  line-height: 1.35;
}
@media (max-width: 720px) {
  .hero__copy { padding-inline: 24px; }
}

/* Homepage quick-add size chooser and persistent favorites */
.featured-wish {
  z-index: 3;
  border: 1px solid rgba(17, 17, 17, .08);
  box-shadow: 0 4px 16px rgba(42, 29, 22, .08);
}
.featured-wish.is-saved,
.featured-wish[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.featured-wish[aria-pressed="true"] svg { fill: currentColor; }
body.quick-add-open { overflow: hidden; }
.quick-add {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.quick-add.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.quick-add__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 18, 14, .46);
}
.quick-add__dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(19, 12, 8, .28);
}
.quick-add__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink);
  cursor: pointer;
}
.quick-add__product {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding-right: 42px;
}
.quick-add__media {
  display: grid;
  place-items: center;
  width: 108px;
  height: 122px;
  border-radius: var(--radius-sm);
  background: var(--mist);
  overflow: hidden;
}
.quick-add__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.quick-add__eyebrow {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.quick-add__product h2 {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.quick-add__price {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
}
.quick-add__fieldset {
  margin: 24px 0 0;
  padding: 0;
  border: 0;
}
.quick-add__fieldset legend {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
}
.quick-add__choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.quick-add__choice {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.quick-add__choice:hover { background: var(--mist); }
.quick-add__choice[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.quick-add__hint {
  min-height: 18px;
  margin-top: 8px;
  color: #a53b2f;
  font-size: 12px;
}
.quick-add__actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  margin-top: 20px;
}
.quick-add__actions .btn { min-height: 48px; }
.quick-add__actions .btn[disabled] {
  cursor: not-allowed;
  opacity: .55;
}
@media (max-width: 620px) {
  .quick-add {
    place-items: end center;
    padding: 0;
  }
  .quick-add__dialog {
    width: 100%;
    max-height: 88vh;
    border-radius: 20px 20px 0 0;
    padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
  }
  .quick-add__product {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
  }
  .quick-add__media { width: 84px; height: 98px; }
  .quick-add__choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Aligned homepage product cards and favorites page */
.header-favorites { position: relative; }
[data-featured-grid] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
[data-featured-grid] .product-card,
.favorites-grid .product-card {
  display: grid;
  grid-template-rows: auto 2.9em 2.7em 1.55em 44px;
  gap: 8px;
  align-items: start;
}
[data-featured-grid] .product-card__concern,
.favorites-grid .product-card__concern {
  display: -webkit-box;
  min-height: 2.9em;
  max-height: 2.9em;
  margin: 0;
  overflow: hidden;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
[data-featured-grid] .product-card__name,
.favorites-grid .product-card__name {
  display: -webkit-box;
  min-height: 2.7em;
  max-height: 2.7em;
  margin: 0;
  overflow: hidden;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
[data-featured-grid] .product-card__price,
.favorites-grid .product-card__price {
  display: flex;
  min-height: 1.55em;
  margin: 0;
  align-items: flex-end;
}
[data-featured-grid] .product-card__add,
.favorites-grid .product-card__add {
  min-height: 44px;
  margin: 0;
  align-self: end;
}
.favorites-grid { align-items: stretch; }
.favorite-card .product-card__media { aspect-ratio: 1 / 1; }
.favorites-empty {
  padding: clamp(48px, 8vw, 88px) 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  background: var(--mist);
}
.favorites-empty h2 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
}
.favorites-empty p {
  max-width: 48ch;
  margin: 0 auto 22px;
  color: var(--muted);
}
.favorites-intro {
  margin-top: 10px;
  color: var(--muted);
}
@media (max-width: 1100px) {
  [data-featured-grid] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  [data-featured-grid] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  [data-featured-grid] .product-card,
  .favorites-grid .product-card {
    grid-template-rows: auto 2.9em 2.7em 1.55em 44px;
    gap: 7px;
  }
  [data-featured-grid] .product-card__concern,
  .favorites-grid .product-card__concern {
    font-size: 10px;
    letter-spacing: .055em;
  }
}

/* Expanded catalog search results */
.search-results__summary {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 8px 12px 10px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
}
.search-results__summary strong { color: var(--ink); }
.search-results__more { padding: 10px 8px 14px; }
.search-results__more button {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--mist);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.search-results__more button:hover { background: var(--mist-deep); }
.search-results__more button:disabled { cursor: wait; opacity: .65; }
.search-results__end {
  padding: 10px 12px 14px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

/* Search result readability upgrade */
.search-overlay { padding: 6vh 20px 24px; }
.search-panel { max-height: 88vh; }
.search-results { max-height: min(70vh, 700px); }
.search-results a {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 8px 10px;
}
.search-results img {
  width: 48px;
  height: 48px;
}
.search-results__summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.search-results__scroll {
  font-weight: 400;
  color: var(--muted);
}
@media (max-width: 640px) {
  .search-overlay { padding: 3vh 12px 16px; }
  .search-results { max-height: 74vh; }
  .search-results__scroll { display: none; }
}

/* Search title and metadata spacing */
.search-results a > span:nth-child(2) { min-width: 0; }
.search-results .name,
.search-results .meta { display: block; }
.search-results .name { line-height: 1.35; }
.search-results .meta { margin-top: 4px; line-height: 1.35; }

/* Legal policy pages */
.legal-page {
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.legal-meta {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}
.legal-page h2 {
  margin: 32px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  letter-spacing: -.015em;
}
.legal-page h3 {
  margin: 22px 0 8px;
  font-size: 15px;
}
.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.legal-page p + p { margin-top: 12px; }
.legal-page ul { margin: 10px 0 16px; padding-left: 22px; }
.legal-page li + li { margin-top: 5px; }
.legal-page a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-callout {
  margin: 20px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: var(--mist);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
@media (max-width: 640px) {
  .legal-page { padding: 20px; }
  .legal-page p, .legal-page li { font-size: 13.5px; }
}

/* U.S. independent store checkout conventions */
.shipping-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 4px 0 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--mist);
}
.shipping-method strong,
.shipping-method small { display: block; }
.shipping-method small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.shipping-method > span:last-child {
  flex: none;
  font-size: 13px;
  font-weight: 700;
}
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}
.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--ink);
  flex: none;
}
.us-checkout-note { margin-top: 16px; }
@media (max-width: 640px) {
  .shipping-method { align-items: flex-start; flex-direction: column; }
}


/* Codex journal card click area 2026-12-04 */
.journal-card {
  position: relative;
  cursor: pointer;
}
.journal-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}
