/* ECLIPSE GIFTS — warm editorial storefront */
:root {
  --cream: #faf8f3;
  --paper: #fffdf9;
  --moss: #31443a;
  --moss-dark: #21332a;
  --terracotta: #b26b50;
  --terracotta-dark: #90503a;
  --ink: #26322b;
  --muted: #657068;
  --line: #d9d7cf;
  --soft-moss: #e8eee8;
  --sand: #f0ece2;
  --white: #ffffff;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1320px;
  --shadow: 0 12px 35px rgba(33, 51, 42, 0.10);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--terracotta-dark); }
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.6; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }
::selection { background: #d9a18b; color: var(--moss-dark); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  transform: translateY(-180%);
  padding: 0.65rem 0.9rem;
  color: var(--white);
  background: var(--moss-dark);
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 3rem), var(--container)); margin-inline: auto; }
.site-main { min-height: 45vh; }

/* Header */
.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  color: var(--moss-dark);
  background: rgba(250, 248, 243, 0.97);
  border-bottom: 1px solid var(--line);
}
.announcement {
  padding: 0.42rem 1rem;
  color: var(--cream);
  background: var(--moss);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}
.header-main {
  display: grid;
  grid-template-columns: minmax(2.25rem, 1fr) auto minmax(2.25rem, 1fr);
  align-items: center;
  min-height: 76px;
  width: min(calc(100% - 3rem), var(--container));
  margin-inline: auto;
}
.wordmark {
  grid-column: 2;
  color: var(--moss-dark);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark::before {
  display: inline-block;
  width: 0.76em;
  height: 0.76em;
  margin: 0 0.36em 0.05em 0;
  border: 1.7px solid currentColor;
  border-radius: 50%;
  box-shadow: 0.25em 0 0 var(--cream);
  content: "";
  vertical-align: middle;
}
.bag-link {
  position: relative;
  display: inline-flex;
  grid-column: 3;
  justify-self: end;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
.bag-link::before { content: none; }
.bag-icon { width: 25px; height: 29px; }
.bag-count {
  position: absolute;
  top: 0;
  right: -1px;
  display: block;
  min-width: 0;
  width: auto;
  height: auto;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border-radius: 0;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}
.menu-toggle {
  display: none;
  grid-column: 1;
  justify-self: start;
  width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  color: var(--moss-dark);
  background: transparent;
  border: 0;
  font-size: 0;
}
.menu-toggle::before, .menu-toggle::after, .menu-toggle span {
  display: block;
  width: 1.5rem;
  height: 1px;
  margin: 0.32rem auto;
  background: currentColor;
  content: "";
}
nav#main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.05rem, 2.4vw, 2.25rem);
  min-height: 48px;
  padding: 0.1rem 1rem 0.75rem;
  border-top: 1px solid var(--line);
}
#main-nav a {
  color: var(--moss-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}
#main-nav a[aria-current="page"], #main-nav a:hover { color: var(--terracotta-dark); }

/* Shared type and buttons */
h1, h2, h3, h4 { margin: 0; color: var(--moss-dark); font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(2.2rem, 4.488vw, 4.664rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(1.672rem, 2.816vw, 2.992rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.1264rem, 1.76vw, 1.54rem); letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
.eyebrow, .journal-meta, .product-category {
  display: block;
  margin: 0 0 0.8rem;
  color: var(--terracotta-dark);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}
.button, button.button, .submit-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0.78rem 1.25rem;
  color: var(--cream);
  background: var(--moss);
  border: 1px solid var(--moss);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.095em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.button:hover, button.button:hover, .submit-order:hover { color: var(--cream); background: var(--moss-dark); border-color: var(--moss-dark); transform: translateY(-1px); }
.button--secondary, .button.secondary, [data-buy-now], [data-copy-order], [data-copy-inquiry] {
  color: var(--moss-dark);
  background: transparent;
  border: 1px solid var(--moss);
}
.button--secondary:hover, .button.secondary:hover, [data-buy-now]:hover, [data-copy-order]:hover, [data-copy-inquiry]:hover { color: var(--cream); background: var(--moss); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--moss-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.text-link::after { color: var(--terracotta); content: "→"; font-size: 1.1em; transition: transform 160ms ease; }
.text-link:hover::after { transform: translateX(0.18rem); }

/* Editorial landing */








.section { padding: clamp(4rem, 9vw, 8.25rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section--paper { background: var(--paper); }
.section--moss { color: var(--cream); background: var(--moss); }
.section--moss h2, .section--moss h3 { color: inherit; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.55fr); align-items: end; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3.7rem); }
.section-heading > p, .section-intro { max-width: 34rem; margin: 0; color: var(--muted); }
.section-heading > .text-link { justify-self: end; }
.section-intro { font-size: 1.04rem; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.3rem, 2.5vw, 2.5rem) clamp(1rem, 2vw, 1.7rem); }
.product-card { min-width: 0; }
.product-image { display: block; overflow: hidden; aspect-ratio: 0.9 / 1; margin-bottom: 1.05rem; background: var(--sand); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 360ms ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-category { margin-bottom: 0.38rem; color: var(--terracotta-dark); font-size: 0.65rem; }
.product-title { margin-bottom: 0.42rem; font-size: clamp(1.056rem, 1.4784vw, 1.4784rem); }
.product-title a { text-decoration: none; }
.product-copy { display: -webkit-box; overflow: hidden; margin-bottom: 0.65rem; color: var(--muted); font-size: 0.84rem; line-clamp: 2; line-height: 1.48; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.price { color: var(--moss-dark); font-size: 0.88rem; font-weight: 800; letter-spacing: 0.02em; }

.collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.collection-card { position: relative; display: block; min-height: 25rem; overflow: hidden; color: var(--cream); background: var(--moss-dark); text-decoration: none; }
.collection-card img { width: 100%; height: 100%; min-height: 25rem; object-fit: cover; transition: transform 450ms ease; }
.collection-card:hover img { transform: scale(1.035); }
.collection-card h2 { position: absolute; right: 1.4rem; bottom: 1.25rem; left: 1.4rem; color: inherit; font-size: clamp(1.628rem, 2.64vw, 2.508rem); text-shadow: 0 1px 12px rgba(20, 31, 25, 0.9); }
.split-section { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(19rem, 0.88fr); align-items: stretch; background: var(--sand); }
.split-image { min-height: 34rem; background: var(--moss-dark); }
.split-image img { width: 100%; height: 100%; min-height: 34rem; object-fit: cover; }
.split-copy { display: flex; flex-direction: column; justify-content: center; max-width: 43rem; padding: clamp(2.5rem, 7vw, 7rem); }
.split-copy p { max-width: 31rem; margin-top: 1.2rem; color: var(--muted); }
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.journal-card { min-width: 0; }
.journal-card > a:first-child { display: block; aspect-ratio: 1.32 / 1; margin-bottom: 1.1rem; overflow: hidden; background: var(--sand); }
.journal-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.journal-card:hover img { transform: scale(1.02); }
.journal-meta { margin-bottom: 0.5rem; color: var(--terracotta-dark); font-size: 0.64rem; }
.journal-card h3 { margin-bottom: 0.62rem; font-size: clamp(1.2144rem, 1.804vw, 1.628rem); }
.journal-card h3 a { text-decoration: none; }
.journal-card p { color: var(--muted); font-size: 0.9rem; }
.wholesale-banner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: clamp(2rem, 4vw, 3.5rem); color: var(--cream); background: var(--moss); }
.wholesale-banner h2 { color: inherit; }
.wholesale-banner p { max-width: 42rem; margin: 0.7rem 0 0; color: #e2e9e3; }
.wholesale-banner .button { color: var(--moss-dark); background: var(--cream); border-color: var(--cream); }

/* Listing and information pages */
.page-heading { padding: clamp(3.5rem, 7vw, 7rem) 0 clamp(2rem, 4vw, 3.7rem); background: var(--sand); }
.page-heading h1 { max-width: 13ch; }
.page-heading .section-intro { margin-top: 1.15rem; }
.breadcrumbs { padding: 1rem 0 0; color: var(--muted); font-size: 0.76rem; }
.breadcrumbs nav, .breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { margin-right: 0.45rem; color: var(--terracotta); content: "/"; }
.toolbar { display: grid; grid-template-columns: minmax(13rem, 1fr) auto auto; gap: 0.9rem; align-items: end; padding: 1.25rem 0 2rem; border-bottom: 1px solid var(--line); }
.toolbar label { display: grid; gap: 0.38rem; color: var(--moss-dark); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.toolbar #result-count { align-self: center; color: var(--muted); font-size: 0.83rem; white-space: nowrap; }
#catalog-empty { margin: 3rem 0; color: var(--muted); font-family: var(--serif); font-size: 1.4rem; }
#catalog-empty[hidden] { display: none; }

/* Product detail and gallery */
.product-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(22rem, 0.88fr); gap: clamp(2rem, 6vw, 7rem); padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(4rem, 8vw, 8rem); }
.gallery { min-width: 0; }
.gallery-main { position: relative; background: var(--sand); }
.gallery-main img#main-product-image { width: 100%; aspect-ratio: 0.93 / 1; object-fit: cover; }
.gallery-counter { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; color: var(--muted); font-size: 0.78rem; }
.gallery-arrows { display: flex; gap: 0.45rem; }
.gallery-arrows a { display: inline-grid; place-items: center; width: 2.45rem; height: 2.45rem; color: var(--moss-dark); border: 1px solid var(--line); text-decoration: none; }
.gallery-arrows a:hover { color: var(--cream); background: var(--moss); border-color: var(--moss); }
.gallery-thumbnails { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.55rem; }
.thumbnail { display: block; overflow: hidden; aspect-ratio: 1; border: 1px solid transparent; background: var(--sand); }
.thumbnail[aria-current="true"], .thumbnail.is-active { border-color: var(--terracotta); }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.product-information { align-self: start; max-width: 38rem; }
.product-information h1 { margin-bottom: 1rem; font-size: clamp(2.024rem, 3.608vw, 3.784rem); }
.product-information .price { display: block; margin-bottom: 1.55rem; font-size: 1.08rem; }
.product-description { margin-bottom: 1.7rem; color: var(--muted); font-size: 1rem; }
.product-description p:last-child { margin-bottom: 0; }
.product-details { margin: 1.5rem 0; padding: 1.1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.product-form { display: grid; gap: 1.05rem; margin-top: 1.75rem; }
.product-form label { display: grid; gap: 0.4rem; color: var(--moss-dark); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.product-form .form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-top: 0.3rem; }
#cart-feedback, .form-feedback, #order-feedback { min-height: 1.5rem; margin: 0.7rem 0 0; color: var(--moss-dark); font-size: 0.87rem; }
#cart-feedback a { color: var(--terracotta-dark); font-weight: 800; }

/* Bag and checkout */
.bag-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.38fr); gap: clamp(2rem, 5vw, 5rem); padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(4rem, 8vw, 8rem); }
#bag-items, #order-items { min-width: 0; }
.bag-item, .order-item { display: grid; grid-template-columns: 8rem minmax(0, 1fr) auto; gap: 1.15rem; align-items: center; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.bag-item:last-child, .order-item:last-child { border-bottom: 1px solid var(--line); }
.bag-item__image { display: block; width: 8rem; height: 8rem; background: var(--sand); }
.bag-item__image img { width: 100%; height: 100%; object-fit: cover; }
.bag-item__info { min-width: 0; }
.bag-item__title { margin: 0 0 0.35rem; font-size: 1.1616rem; }
.bag-item__title a { text-decoration: none; }
.bag-item__variant, .order-item__variant { margin: 0.25rem 0; color: var(--muted); font-size: 0.81rem; }
.bag-item__price, .order-item__price { color: var(--moss-dark); font-size: 0.85rem; font-weight: 800; }
.bag-item__actions { display: grid; justify-items: end; gap: 0.62rem; }
.bag-item__actions label { color: var(--muted); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
[data-bag-remove] { min-height: auto; padding: 0.1rem 0; color: var(--terracotta-dark); background: transparent; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
#bag-summary { align-self: start; padding: 1.45rem; background: var(--sand); }
#bag-summary h2 { margin-bottom: 1.1rem; font-size: 1.452rem; }
.summary-line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid #d2cec2; font-weight: 800; }
#bag-subtotal, #order-subtotal { font-variant-numeric: tabular-nums; }
#checkout-link { width: 100%; margin-top: 1rem; }
#bag-empty { max-width: 35rem; padding: 2rem 0; }
#bag-empty h2 { margin-bottom: 0.75rem; }
#bag-empty[hidden], #order-form[hidden] { display: none; }
.order-item { grid-template-columns: 5.5rem minmax(0, 1fr) auto; }
.order-item__image { width: 5.5rem; height: 5.5rem; background: var(--sand); }
.order-item__image img { width: 100%; height: 100%; object-fit: cover; }
.order-item__title { margin: 0 0 0.3rem; font-size: 0.968rem; }
.order-item__title a { text-decoration: none; }
.checkout-summary { align-self: start; padding: 1.5rem; background: var(--sand); }
.checkout-summary h2 { margin-bottom: 1rem; font-size: 1.408rem; }
.checkout-summary .summary-line { margin-top: 1rem; }
.checkout-note { margin-top: 1rem; color: var(--muted); font-size: 0.82rem; }

/* Prose and forms */
.prose { max-width: 740px; }
.prose h2 { margin: 2.45rem 0 0.9rem; font-size: clamp(1.452rem, 2.64vw, 2.068rem); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #465249; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.42rem; }
.prose a { color: var(--terracotta-dark); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.31fr); gap: clamp(2rem, 6vw, 6rem); padding: clamp(2.5rem, 6vw, 6rem) 0; }
.article-main { min-width: 0; }
.article-cover { width: 100%; max-height: 42rem; margin: 0 0 2.4rem; object-fit: cover; }
.article-sidebar { align-self: start; padding: 1.25rem; border-top: 2px solid var(--terracotta); background: var(--sand); }
.article-sidebar h2 { margin-bottom: 1rem; font-size: 1.276rem; }
.article-sidebar ul { margin: 0; padding: 0; list-style: none; }
.article-sidebar li + li { margin-top: 0.7rem; }
.related-products, .related-articles { margin-top: clamp(3rem, 6vw, 6rem); padding-top: clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.info-grid > * { padding: 1.35rem; background: var(--sand); }
.info-grid h3 { margin-bottom: 0.55rem; font-size: 1.276rem; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; padding: 0; counter-reset: steps; list-style: none; }
.steps li { position: relative; padding: 3.8rem 1.3rem 1.3rem; background: var(--paper); border-top: 1px solid var(--terracotta); }
.steps li::before { position: absolute; top: 1.25rem; left: 1.3rem; color: var(--terracotta-dark); font-family: var(--serif); font-size: 1.5rem; content: "0" counter(steps); counter-increment: steps; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full-width { grid-column: 1 / -1; }
form label { display: grid; gap: 0.45rem; color: var(--moss-dark); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
input, textarea, select {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.75rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #aeb5ae;
  border-radius: 0;
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
}
textarea { min-height: 8.5rem; resize: vertical; }
input[type="number"] { max-width: 5.5rem; }
input:focus, textarea:focus, select:focus { border-color: var(--moss); outline: 2px solid transparent; box-shadow: 0 0 0 2px var(--soft-moss); }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.1rem; }
.email-preview { margin-top: 1.25rem; padding: 1rem; background: var(--sand); }
.email-preview label { margin-bottom: 0.45rem; }
.email-preview textarea { min-height: 10rem; color: var(--muted); background: #f7f3eb; cursor: copy; }

/* Footer and utility */
.site-footer { padding: clamp(3rem, 6vw, 5.5rem) 0 1.25rem; color: #dce4dc; background: var(--moss-dark); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 2rem; padding-bottom: 3rem; }
.site-footer .wordmark { display: inline-block; color: var(--cream); margin-bottom: 1rem; }
.site-footer h2, .site-footer h3 { margin-bottom: 0.7rem; color: var(--cream); font-family: var(--sans); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.site-footer p { max-width: 20rem; color: #cbd5cc; font-size: 0.86rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 0.42rem; }
.site-footer a { color: #e6ece7; font-size: 0.86rem; text-decoration: none; }
.site-footer a:hover { color: #efb39d; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid rgba(250, 248, 243, 0.22); color: #b5c2b7; font-size: 0.72rem; }
.site-toast { position: fixed; z-index: 80; right: 1.25rem; bottom: 1.25rem; max-width: min(27rem, calc(100vw - 2.5rem)); padding: 0.8rem 1rem; color: var(--cream); background: var(--moss-dark); box-shadow: var(--shadow); font-size: 0.88rem; opacity: 0; pointer-events: none; transform: translateY(1rem); transition: opacity 180ms ease, transform 180ms ease; }
.site-toast.is-visible { opacity: 1; transform: translateY(0); }
.is-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-layout { grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr); gap: 2.5rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 6rem; }
  .container, .header-main { width: min(calc(100% - 2rem), var(--container)); }
  .header-main { min-height: 68px; }
  .menu-toggle { display: block; }
  nav#main-nav { display: none; min-height: auto; padding: 0.5rem 1rem 1rem; border-top: 1px solid var(--line); }
  nav#main-nav.is-open { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 0; }
  #main-nav a { display: block; width: 100%; padding: 0.82rem 0; text-align: center; }
  
  
  
  
  
  .section-heading { display: block; }
  .section-heading > p { margin-top: 1rem; }
  .section-heading > .text-link { margin-top: 1rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.7rem 0.85rem; }
  .product-copy { font-size: 0.78rem; }
  .collection-grid, .journal-grid { grid-template-columns: 1fr; }
  .collection-card, .collection-card img { min-height: 20rem; }
  .split-section { grid-template-columns: 1fr; }
  .split-image, .split-image img { min-height: 24rem; }
  .wholesale-banner { grid-template-columns: 1fr; }
  .wholesale-banner .button { justify-self: start; }
  .toolbar { grid-template-columns: 1fr 1fr; }
  .toolbar label:first-child { grid-column: 1 / -1; }
  .toolbar #result-count { grid-column: 1 / -1; grid-row: 3; }
  .product-layout, .bag-layout, .checkout-layout, .article-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-information { max-width: none; }
  .gallery-thumbnails { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .product-form .form-actions { grid-template-columns: 1fr; }
  .bag-item { grid-template-columns: 5.7rem minmax(0, 1fr); align-items: start; }
  .bag-item__image { width: 5.7rem; height: 5.7rem; }
  .bag-item__actions { grid-column: 2; grid-row: 2; justify-items: start; grid-template-columns: auto auto; align-items: end; }
  .order-item { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .order-item__image { width: 4.5rem; height: 4.5rem; }
  .order-item__price { grid-column: 2; }
  #bag-summary { order: 2; }
  .info-grid, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full-width { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.7rem; }
  .footer-bottom { display: block; }
  .footer-bottom > * + * { margin-top: 0.5rem; }
}
@media (max-width: 410px) {
  .wordmark { font-size: 1.08rem; letter-spacing: 0.095em; }
  .bag-link::before { display: none; }
  .bag-link { gap: 0; }
  .product-title { font-size: 1.012rem; }
  .gallery-thumbnails { gap: 0.36rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* Storefront layout integration */
[hidden] { display: none !important; }
.header-main .wordmark { display: inline-flex; align-items: center; gap: 0.55rem; }
.header-main .wordmark::before { content: none; }
.wordmark-gifts { font-size: 0.72em; letter-spacing: 0.22em; }
.bag-link::before { content: none; }
.menu-toggle::before, .menu-toggle::after { content: none; display: none; }
.menu-toggle span { margin: 0.3rem auto; }
.announcement a { margin-left: 0.65rem; text-transform: none; letter-spacing: 0; font-weight: 500; }









.section-intro { margin: -1.1rem 0 2.6rem; }
.collection-card { min-height: 0; color: var(--moss-dark); background: var(--paper); overflow: hidden; }
.collection-card img { width: 100%; height: auto; min-height: 0; aspect-ratio: 1.05 / 1; object-fit: contain; background: #eeeae2; }
.collection-card > div { padding: 1.6rem 1.5rem 1.9rem; }
.collection-card h2 { position: static; color: var(--moss-dark); font-size: clamp(1.496rem, 2.024vw, 1.98rem); text-shadow: none; margin-bottom: 0.7rem; }
.collection-card p { min-height: 3.2em; color: var(--muted); font-size: 0.92rem; }
.collection-card .eyebrow { font-size: 0.63rem; }
.text-link::after { content: none; }
.product-image { aspect-ratio: 1 / 1; }
.product-image img { object-fit: contain; }
.product-title { min-height: 3.3em; font-size: clamp(0.9856rem, 1.276vw, 1.232rem); line-height: 1.2; }
.product-copy { font-size: 0.82rem; }
.currency { color: var(--muted); font-size: 0.65em; font-weight: 500; }
.home-help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-block: 1rem 5rem; }
.home-help > div { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.home-help h2 { font-size: 1.452rem; margin-bottom: 0.9rem; }
.home-help p { color: var(--muted); font-size: 0.9rem; }
.home-help a { font-size: 0.85rem; }
.wholesale-banner { display: block; padding: 5rem 0; }
.wholesale-banner h2 { max-width: 20ch; }
.wholesale-banner .button { margin-top: 1.75rem; }
.page-heading { background: transparent; padding-top: 3.8rem; padding-bottom: 3rem; }
.page-heading h1 { max-width: 20ch; font-size: clamp(2.332rem, 4.048vw, 3.96rem); }
.page-heading > p:not(.eyebrow) { max-width: 49rem; margin: 1.35rem 0 0; color: var(--muted); }
.catalog-section { padding-top: 0; }
.toolbar { margin-bottom: 2.5rem; }
.catalog-footer, .collection-end { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.catalog-footer h2, .collection-end h2 { font-size: 1.76rem; margin-bottom: 1rem; }
.info-visual { margin-bottom: 3.5rem; }
.info-visual img { width: 100%; height: 32rem; object-fit: cover; }
.info-prose { margin-inline: auto; padding-bottom: 5rem; }
.info-prose > section { margin-bottom: 2.25rem; }
.prose section h2:first-child { margin-top: 2.5rem; }
.prose p { line-height: 1.8; }
.product-information h1 { font-size: clamp(1.76rem, 2.728vw, 2.684rem); line-height: 1.13; }
.product-short-description { color: var(--muted); font-size: 1rem; }
.gallery-main img#main-product-image { width: 100%; aspect-ratio: 1; object-fit: contain; }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0 1rem; }
.gallery-counter { margin: 0; padding: 0; }
.gallery-note { margin-top: 1rem; color: var(--muted); }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.product-facts { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.product-facts h2 { font-size: 1.452rem; }
.product-facts dl > div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.product-facts dt { color: var(--moss-dark); font-weight: 650; }
.product-facts dd { margin: 0; color: var(--muted); }
.product-description.prose { margin-inline: auto; padding-top: 0; }
.small { font-size: 0.82rem; line-height: 1.65; color: var(--muted); }
.order-note { margin-top: 1.2rem; }
.subtotal-line { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
#bag-summary .text-link { margin-top: 1rem; }
.checkout-layout { grid-template-columns: 1fr 1fr; }
.checkout-layout > div > h2, #order-form > h2 { font-size: 1.76rem; margin-bottom: 1.5rem; }
.order-subtotal { margin-top: 2rem; }
.form-grid .wide { grid-column: 1 / -1; }
.checkbox-label { display: block; margin-top: 1.4rem; font-size: 0.78rem; line-height: 1.7; text-transform: none; letter-spacing: 0; font-weight: 500; }
.checkbox-label input { display: inline-block; vertical-align: middle; width: 1rem; min-height: 1rem; margin-right: 0.5rem; }
#cart-feedback { position: fixed; bottom: 1rem; left: 1rem; z-index: 50; padding: 0.8rem 1rem; background: var(--cream); box-shadow: var(--shadow); max-width: calc(100vw - 2rem); }
#cart-feedback:empty { display: none; }
.article-cover { max-height: none; }
.article-cover img { width: 100%; max-height: 40rem; object-fit: contain; background: var(--sand); }
.article-cover figcaption { font-size: 0.75rem; color: var(--muted); padding-top: 0.7rem; }
.article-sidebar > a { display: block; margin: 1rem 0 1.7rem; }
.article-heading h1 { max-width: 23ch; }
.article-keywords { padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.8rem; }
.site-footer .footer-grid > div > a:not(.wordmark) { display: block; margin: 0.55rem 0; overflow-wrap: anywhere; }
.site-footer .footer-brand .wordmark { font-size: 1.2rem; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-bottom a { font-size: 0.74rem; }
@media (max-width: 900px) {
  
  
  
}
@media (max-width: 720px) {
  .header-main .wordmark { gap: 0.25rem; font-size: 1.03rem; letter-spacing: 0.055em; }
  .header-main .wordmark svg { width: 21px; height: 21px; }
  .bag-link { gap: 0.25rem; }
  .bag-link > span:not(.bag-count) { display: none; }
  .announcement { font-size: 0.62rem; }
  .announcement a { display: none; }
  
  
  
  
  
  
  
  .product-title { min-height: 0; font-size: 1.0208rem; }
  .product-copy { font-size: 0.78rem; }
  .collection-card, .collection-card img { min-height: 0; }
  .home-help { grid-template-columns: 1fr; gap: 1.6rem; padding-bottom: 3.5rem; }
  .wholesale-banner { padding: 3.5rem 0; }
  .page-heading h1 { max-width: 19ch; }
  .info-visual img { height: 20rem; }
  .product-actions, .checkout-layout { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .product-facts dl > div { grid-template-columns: 5rem 1fr; }
  .article-sidebar { margin-top: 1rem; }
}

/* Full-width home hero */
.brand-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--cream); }
.brand-hero-media { display: block; width: 100%; }
.brand-hero-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.brand-hero-copy { position: absolute; z-index: 1; left: clamp(1.5rem, 6vw, 7rem); top: 50%; transform: translateY(-50%); width: 40%; max-width: 37rem; color: var(--moss-dark); }
.brand-hero-copy .eyebrow { color: var(--moss-dark); margin-bottom: 1.2rem; font-size: 0.7rem; letter-spacing: 0.13em; }
.brand-hero-copy h1 { margin-bottom: 1.5rem; font-family: var(--serif); font-size: clamp(2.288rem, 4.312vw, 4.312rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 400; }
.brand-hero-description { max-width: 34ch; margin-bottom: 1.8rem; font-size: clamp(0.94rem, 1.2vw, 1.08rem); line-height: 1.65; color: var(--moss-dark); }
.brand-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.5rem; }
.brand-hero-actions .button { padding: 1.05rem 1.4rem; font-size: 0.72rem; }
.brand-hero-link { display: inline-flex; gap: 0.5rem; align-items: center; font-size: 0.85rem; color: var(--moss-dark); text-decoration: underline; text-underline-offset: 0.3rem; }
@media (min-width: 721px) and (max-width: 1000px) {
  .brand-hero-copy { left: 2rem; width: 43%; }
  .brand-hero-copy h1 { font-size: 2.376rem; margin-bottom: 1rem; }
  .brand-hero-description { font-size: 0.9rem; margin-bottom: 1.2rem; }
  .brand-hero-copy .eyebrow { margin-bottom: 0.8rem; }
  .brand-hero-actions { gap: 0.7rem 1rem; }
  .brand-hero-actions .button { padding: 0.85rem 1rem; font-size: 0.63rem; }
  .brand-hero-link { font-size: 0.75rem; }
}
@media (max-width: 720px) {
  .brand-hero-image { aspect-ratio: 9 / 16; }
  .brand-hero-copy { left: 1.5rem; top: 5%; transform: none; width: calc(100% - 3rem); max-width: 31rem; }
  .brand-hero-copy .eyebrow { margin-bottom: 0.85rem; font-size: 0.61rem; }
  .brand-hero-copy h1 { max-width: 16ch; font-size: clamp(1.76rem, 7.744vw, 2.904rem); margin-bottom: 1rem; line-height: 1.04; }
  .brand-hero-description { max-width: 34ch; font-size: 0.87rem; line-height: 1.5; margin-bottom: 1.25rem; }
  .brand-hero-actions { gap: 0.8rem 1.05rem; }
  .brand-hero-actions .button { padding: 0.9rem 1.1rem; font-size: 0.64rem; }
  .brand-hero-link { font-size: 0.73rem; }
}

.product-brand { margin: 0.5rem 0 0.75rem; font-size: 0.7rem; letter-spacing: 0.08em; color: var(--muted); }
.price-label { display: block; margin-bottom: 0.25rem; font-size: 0.68em; font-weight: 500; color: var(--muted); }

/* Payment information complements the email-order storefront. */
.footer-bottom .footer-legal-payment { display: flex; flex-direction: column; align-items: flex-end; flex-wrap: nowrap; gap: 0.95rem; }
.footer-policy-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem 1.5rem; }
.footer-payments { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.footer-payment-icons { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
.footer-payment-icons img { display: block; width: 56px; height: 36px; object-fit: contain; }
.site-footer .footer-payment-note { margin: 0; max-width: none; font-size: 0.7rem; line-height: 1.6; color: #b5c2b7; }
@media (max-width: 720px) {
  .footer-bottom .footer-legal-payment { align-items: flex-start; gap: 0.9rem; margin-top: 1rem; }
  .footer-policy-links { justify-content: flex-start; gap: 0.5rem 1.15rem; }
  .footer-payments { align-items: flex-start; }
}

/* Three quiet, practical customer tools. */
.header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 2px; }
.header-tool { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-width: 44px; height: 44px; color: var(--ink); text-decoration: none; }
.header-tool:hover { color: var(--terracotta-dark); }
.header-actions .bag-link { grid-column: auto; justify-self: auto; }
.site-search-dialog { position: fixed; width: min(36rem, calc(100vw - 2rem)); max-height: calc(100dvh - 3rem); overflow: auto; padding: 2.5rem 2rem 1.75rem; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 2px; }
.site-search-dialog::backdrop { background: rgba(33, 51, 42, 0.42); }
.site-search-dialog h2 { margin: 0 0 1.75rem; font-size: 1.85rem; font-weight: 400; }
.site-search-dialog .eyebrow { margin-bottom: 0.8rem; }
.site-search-dialog label { display: block; }
.site-search-dialog input { width: 100%; margin-top: 0.5rem; margin-bottom: 1rem; }
.site-search-dialog .button { width: 100%; }
.site-search-dialog .small { margin: 1rem 0 0; color: var(--muted); font-size: 0.78rem; }
.site-search-close { position: absolute; right: 0.65rem; top: 0.65rem; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); }
@media (max-width: 720px) {
  .header-main { grid-template-columns: 44px minmax(0, 1fr) 136px; column-gap: 6px; }
  .header-main .wordmark { justify-self: center; }
  .header-actions { gap: 2px; }
}
@media (max-width: 440px) {
  .header-main .wordmark { font-size: 0.9rem; letter-spacing: 0.04em; gap: 0.2rem; }
  .header-main .wordmark > span { display: block; text-align: center; line-height: 1.15; }
  .header-main .wordmark .wordmark-gifts { display: block; font-size: 0.68em; letter-spacing: 0.18em; margin-top: 0.16em; }
  .header-main .wordmark svg { width: 17px; height: 17px; }
  .site-search-dialog { padding: 2.5rem 1.25rem 1.25rem; }
}

.footer-payment-note { text-align: right; }
@media (max-width: 720px) {
  .footer-payment-icons { gap: 0.4rem; }
  .footer-payment-icons img { width: 50px; height: 32px; }
  .footer-payment-note { text-align: left; }
}
