html {
  font-size: 14px;
}

:root {
  --ink: #243127;
  --muted-ink: #5e6f52;
  --paper: #f7f2e8;
  --paper-strong: rgba(255, 252, 246, 0.92);
  --line: rgba(36, 49, 39, 0.12);
  --shadow: 0 24px 60px rgba(36, 49, 39, 0.12);
  --forest: #243127;
  --moss: #72845f;
  --gold: #b68b41;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top left, rgba(194, 230, 204, 0.55), transparent 30%),
    linear-gradient(180deg, #f7f2e8 0%, #f3eee1 100%);
  color: var(--ink);
}

body > .container,
body > .page-shell {
  flex: 1 0 auto;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.navbar {
  background: rgba(255, 251, 244, 0.85) !important;
  backdrop-filter: blur(10px);
}

.home-hero,
.admin-auth-shell,
.admin-dashboard {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-hero h1,
.admin-auth-card h1,
.admin-dashboard-hero h1,
.store-hero h1,
.catalog-hero h1,
.catalog-header h1,
.product-detail h1 {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}

.admin-auth-card,
.admin-dashboard-hero {
  width: min(100%, 34rem);
  background: var(--paper-strong);
  border: 1px solid rgba(60, 73, 55, 0.12);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  padding: 2rem;
}

.admin-auth-form {
  margin-top: 1.5rem;
}

.admin-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--muted-ink);
  margin-bottom: 0.75rem;
}

.admin-auth-divider {
  height: 1px;
  background: rgba(36, 49, 39, 0.1);
  margin: 1.5rem 0;
}

.admin-passkey-status {
  min-height: 1.5rem;
  margin: 1rem 0 1.25rem;
  color: #42533d;
}

.admin-passkey-status.is-error {
  color: #9b2c2c;
}

.admin-passkey-status.is-success {
  color: #276749;
}

.admin-passkey-list {
  margin: 1.5rem 0;
  text-align: left;
}

.admin-passkey-list h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.admin-passkey-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(36, 49, 39, 0.1);
}

.store-hero {
  min-height: calc(100vh - 12rem);
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.store-hero-copy,
.store-hero-panel,
.catalog-header,
.product-card,
.product-detail,
.admin-panel {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.store-hero-copy,
.store-hero-panel,
.catalog-header,
.product-detail,
.admin-panel {
  padding: 2rem;
}

.store-hero-panel h2,
.related-products h2,
.admin-panel h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.store-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.hero-product-row:first-of-type {
  border-top: 0;
}

.category-grid,
.product-grid,
.admin-dashboard-grid,
.admin-stat-grid {
  display: grid;
  gap: 1.5rem;
}

.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.brand-story-grid { margin-top: 2rem; }

.category-card {
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.75rem;
  padding: 1.75rem;
  color: #fff8ec;
  text-decoration: none;
  border-radius: 1.5rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.brand-story { padding-block: clamp(4rem, 7vw, 7rem); }
.brand-story-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(22rem, .9fr); min-height: 34rem; overflow: hidden; background: #f0eadf; border-radius: 1.25rem; }
.brand-story-copy { align-self: center; max-width: 43rem; padding: clamp(2.5rem, 6vw, 5.5rem); }
.brand-story-copy h2 { margin: 0 0 1.75rem; font-family: Georgia, serif; font-size: clamp(2.7rem, 5vw, 5rem); font-weight: 400; line-height: .98; letter-spacing: -.05em; }
.brand-story-copy h2 em { color: var(--moss); font-weight: 400; }
.brand-story-copy > p:not(.admin-eyebrow) { max-width: 38rem; color: #4f5b4d; font-size: clamp(1rem, 1.3vw, 1.1rem); line-height: 1.75; }
.brand-story-copy > a { display: inline-block; margin-top: .75rem; color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.brand-story-copy > a span { display: inline-block; margin-left: .25rem; transition: transform .2s ease; }
.brand-story-copy > a:hover span { transform: translateX(.2rem); }
.brand-story-image { min-height: 30rem; background: #69745e url('/images/about-hero.png') 64% center / cover no-repeat; }
.brand-principles { display: grid; grid-template-columns: repeat(3, 1fr); padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.brand-principles > div { display: grid; gap: .3rem; padding: 0 clamp(1.25rem, 3vw, 2.5rem); border-right: 1px solid var(--line); }
.brand-principles > div:first-child { padding-left: 0; }
.brand-principles > div:last-child { padding-right: 0; border-right: 0; }
.brand-principles strong { font-family: Georgia, serif; font-size: 1.15rem; font-weight: 400; }
.brand-principles span { color: var(--muted-ink); font-size: .82rem; }
.brand-story-disclaimer { display: flex; gap: 1rem 2rem; align-items: baseline; padding-top: 1rem; color: #777267; font-size: .75rem; line-height: 1.5; }
.brand-story-disclaimer strong { flex: 0 0 auto; color: #5f5a50; font-weight: 700; }
.brand-story-disclaimer p { margin: 0; }

.catalog-shell,
.related-products {
  display: grid;
  gap: 1.5rem;
}

.catalog-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.catalog-header-actions,
.product-card-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.catalog-filter {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 252, 246, 0.72);
}

.catalog-filter.is-active {
  background: var(--forest);
  color: #fff8ec;
  border-color: var(--forest);
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
}

.product-card-media,
.product-detail-media {
  display: block;
  min-height: 18rem;
  background-size: cover;
  background-position: center;
  background-color: #d8d3c6;
}

.product-card-body {
  padding: 1.5rem;
}

.product-card-topline,
.product-card-footer,
.product-meta-line,
.admin-panel-header,
.admin-inline-grid {
  display: flex;
  gap: 1rem;
}

.product-card-topline,
.product-meta-line {
  flex-wrap: wrap;
  color: var(--muted-ink);
  font-size: 0.9rem;
}

.product-card h2,
.product-card h3 {
  font-size: 1.4rem;
  margin: 0.75rem 0;
}

.product-card h2 a,
.product-card h3 a {
  color: inherit;
  text-decoration: none;
}

.product-card-footer,
.catalog-header,
.admin-panel-header,
.product-meta-line {
  justify-content: space-between;
  align-items: center;
}

.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  overflow: hidden;
}

.product-detail-copy {
  padding: 2rem;
}

.cart-launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-badge {
  min-width: 1.5rem;
  padding: 0.125rem 0.4rem;
  border-radius: 999px;
  background: var(--forest);
  color: #fff8ec;
  text-align: center;
  font-size: 0.8rem;
}

.cart-drawer-body,
.checkout-panel,
.checkout-copy {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.cart-drawer-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

.cart-drawer-items,
.checkout-line-items {
  display: grid;
  gap: 1rem;
}

.cart-item,
.checkout-item {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.cart-item {
  grid-template-columns: 5rem 1fr;
}

.checkout-item {
  grid-template-columns: 8rem 1fr;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.checkout-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.cart-item-media,
.checkout-item-media {
  display: block;
  border-radius: 1rem;
  background-size: cover;
  background-position: center;
  background-color: #d8d3c6;
}

.cart-item-media {
  min-height: 5rem;
}

.checkout-item-media {
  min-height: 8rem;
}

.cart-item-copy,
.checkout-item-copy {
  display: grid;
  gap: 0.75rem;
}

.cart-item-topline,
.cart-item-controls,
.checkout-item-header,
.checkout-item-footer,
.cart-summary-line,
.checkout-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cart-item-topline a,
.checkout-item-header a {
  color: inherit;
  text-decoration: none;
}

.cart-item-controls,
.checkout-item-footer {
  flex-wrap: wrap;
}

.cart-qty-input {
  width: 5.5rem;
}

.cart-remove {
  padding: 0;
  text-decoration: none;
}

.cart-drawer-footer {
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.cart-empty-state {
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: 1rem;
  color: var(--muted-ink);
  background: rgba(255, 252, 246, 0.72);
}

.checkout-shell {
  display: grid;
  gap: 1.5rem;
}

.checkout-copy,
.checkout-panel {
  padding: 2rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.checkout-summary {
  position: sticky;
  top: 1rem;
}

.checkout-totals {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.checkout-totals div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.checkout-totals dd,
.checkout-totals dt {
  margin: 0;
}

.checkout-qty-field {
  display: grid;
  gap: 0.25rem;
}

.checkout-price-block {
  display: grid;
  gap: 0.25rem;
  justify-items: end;
}

.admin-dashboard--catalog {
  align-items: start;
  flex-direction: column;
  gap: 1.5rem;
}

.product-information {
  max-width: 1180px;
  margin: 2rem auto;
  padding: 2rem;
}

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

.product-information-grid article {
  background: #f6f3eb;
  border: 1px solid rgba(42, 49, 33, 0.12);
  border-radius: 0.75rem;
  padding: 1.35rem;
}

.product-information-grid p { white-space: pre-line; margin-bottom: 0; }
.product-information-wide { grid-column: 1 / -1; }
.product-information-disclaimer { margin: 1.25rem 0 0; font-size: 0.9rem; }

.admin-form-section {
  border-top: 1px solid rgba(42, 49, 33, 0.16);
  margin-top: 0.5rem;
  padding-top: 1.25rem;
}

.admin-form-section h3 { font-size: 1.1rem; margin: 0; }
.admin-form-section p { color: #6c6f68; font-size: 0.9rem; margin: 0.25rem 0 0; }

@media (max-width: 700px) {
  .product-information-grid { grid-template-columns: 1fr; }
  .product-information-wide { grid-column: auto; }
}

.admin-dashboard--catalog > .admin-dashboard-hero {
  width: 100%;
  max-width: none;
  margin-bottom: 0 !important;
  padding: clamp(2rem, 5vw, 4rem);
}

.admin-dashboard--catalog > .admin-dashboard-hero h1 {
  max-width: 12ch;
}

.about-hero { min-height: clamp(30rem, 62vh, 44rem); display: flex; align-items: center; position: relative; isolation: isolate; overflow: hidden; background: #4d5b42 url('/images/about-hero.png') center / cover no-repeat; color: #fffdf7; }
.about-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,24,17,.76), rgba(15,24,17,.48) 48%, rgba(15,24,17,.08) 78%); }
.about-hero-inner { width: min(100% - 3rem, 92rem); margin-inline: auto; padding: clamp(4rem, 8vw, 7rem) 0; }
.about-hero .admin-eyebrow { color: rgba(255,253,247,.82); }

.about-hero h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.about-hero-lede { max-width: 42rem; margin-top: 1.5rem; font-size: clamp(1.15rem, 2vw, 1.45rem); color: rgba(255,253,247,.9); }

.about-jump-nav { position: sticky; top: 0; z-index: 5; display: flex; gap: .65rem; flex-wrap: wrap; padding: 1rem 0; background: rgba(247, 242, 232, .92); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.about-jump-nav a { padding: .55rem .9rem; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; }
.about-jump-nav a:hover { color: #fff8ec; background: var(--forest); }

.about-section { scroll-margin-top: 5rem; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 7vw, 7rem); margin-top: clamp(1.25rem, 3vw, 2rem); padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 4vw, 4rem); border: 1px solid rgba(83, 96, 70, .22); border-radius: 1.5rem; background: #f5efe3; box-shadow: 0 1rem 2.5rem rgba(42, 51, 37, .07); }
.about-section-heading h2, .about-difference h2 { font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: .98; letter-spacing: -.05em; }
.about-copy { max-width: 46rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.75; }
.about-section--feature { background: linear-gradient(135deg, #dfe6d5, #f3f0e5 72%); border-color: rgba(75, 94, 62, .3); }
.about-section--roots { background: linear-gradient(135deg, #e4eadf, #cfdcc9); border-color: rgba(70, 91, 59, .32); }

/* ABOUT CARD ENHANCEMENTS — remove this block and the matching classes/wrapper in About.cshtml to revert. */
.about-card-enhanced { position: relative; isolation: isolate; overflow: hidden; }
.about-card-enhanced::before { content: ""; position: absolute; top: 1.5rem; right: 1.5rem; z-index: -1; width: 7rem; aspect-ratio: 1; opacity: .2; background: radial-gradient(circle, var(--forest) 1.2px, transparent 1.5px) 0 0 / .8rem .8rem; mask-image: linear-gradient(135deg, #000, transparent 75%); }
.about-card-enhanced .about-section-heading { padding-left: 1rem; border-left: .22rem solid var(--gold); }
.about-card-enhanced .admin-eyebrow { color: #536148; }
.about-card-enhanced--mission .about-section-heading::after,
.about-card-enhanced--promise .about-section-heading::after,
.about-card-enhanced--roots .about-section-heading::after { display: block; margin-top: 1.5rem; color: rgba(66, 82, 55, .6); font: 400 2rem/1 Georgia, serif; }
.about-card-enhanced--mission .about-section-heading::after { content: "✦"; }
.about-card-enhanced--promise .about-section-heading::after { content: "❧"; }
.about-card-enhanced--roots .about-section-heading::after { content: "⌁"; }
.about-card-enhanced--promise { background: linear-gradient(135deg, #f2e5d3, #f8f3e9); border-color: rgba(151, 112, 64, .28); }
.about-card-enhanced--promise .about-section-heading { order: 2; border-left-color: #a96842; }
.about-card-enhanced--promise .about-copy { order: 1; align-self: center; }
.about-roots-body { display: grid; grid-template-columns: minmax(11rem, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: stretch; }
.about-roots-image { min-height: 18rem; border-radius: 1rem; background: #65735d url('/images/about-hero.png') 68% center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.about-roots-body .about-copy { align-self: center; }
/* END ABOUT CARD ENHANCEMENTS */

.about-difference { scroll-margin-top: 5rem; padding: clamp(5rem, 9vw, 8rem) 0; }
.about-difference-intro { max-width: 48rem; margin-bottom: 3rem; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 1.5rem; overflow: hidden; }
.about-values article { padding: clamp(1.5rem, 4vw, 3rem); background: var(--paper-strong); }
.about-values span { color: var(--gold); font-size: .8rem; letter-spacing: .18em; }
.about-values h3 { margin: 2.5rem 0 1rem; font-size: 1.5rem; }
.about-closing { max-width: 48rem; margin: clamp(3rem, 7vw, 6rem) auto 0; text-align: center; font-size: 1.15rem; }
.about-closing .hero-button { display: inline-flex; margin-top: 1.5rem; }

@media (max-width: 767px) {
  .about-section, .about-values { grid-template-columns: 1fr; }
  .about-card-enhanced--promise .about-section-heading, .about-card-enhanced--promise .about-copy { order: initial; }
  .about-roots-body { grid-template-columns: 1fr; }
  .about-roots-image { min-height: 15rem; }
  .about-jump-nav { position: static; }
  .about-hero { min-height: 34rem; align-items: end; background-position: 62% center; }
  .about-hero::before { background: linear-gradient(0deg, rgba(15,24,17,.9), rgba(15,24,17,.18) 85%); }
  .about-hero-inner { width: min(100% - 2rem, 92rem); padding: 6rem 0 2.5rem; }
  .about-hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
}

.admin-dashboard--catalog .admin-dashboard-grid {
  align-items: start;
}

.admin-dashboard-grid {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-panel--wide {
  grid-column: 1 / -1;
}

.admin-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.admin-stat-card,
.admin-inline-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 252, 246, 0.72);
}

.admin-stat-card span {
  display: block;
  color: var(--muted-ink);
}

.admin-stat-card strong {
  font-size: 2rem;
}

.admin-form-grid,
.admin-inline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-inline-grid--products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-form-span-2,
.admin-inline-span {
  grid-column: 1 / -1;
}

.admin-stack {
  display: grid;
  gap: 1rem;
}

.admin-order-items {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.admin-order-items h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.admin-order-items .table {
  --bs-table-bg: transparent;
}

.footer {
  flex-shrink: 0;
  background: rgba(255, 251, 244, 0.65);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.statement-shell {
  min-height: calc(100vh - 16rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.statement-card {
  width: min(100%, 56rem);
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  padding: 2.5rem;
}

.statement-card h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
}

.statement-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .store-hero,
  .product-detail,
  .checkout-grid,
  .admin-dashboard-grid,
  .brand-story-grid,
  .category-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .catalog-header {
    align-items: start;
    flex-direction: column;
  }

  .footer-content {
    align-items: start;
    flex-direction: column;
  }

  .admin-inline-grid--products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .store-hero-copy,
  .store-hero-panel,
  .catalog-header,
  .checkout-copy,
  .checkout-panel,
  .product-detail-copy,
  .admin-panel,
  .admin-dashboard-hero,
  .statement-card {
    padding: 1.5rem;
  }

  .admin-form-grid,
  .admin-inline-grid,
  .admin-inline-grid--products,
  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .cart-item,
  .checkout-item {
    grid-template-columns: 1fr;
  }

  .checkout-item-footer,
  .checkout-item-header {
    flex-direction: column;
    align-items: start;
  }

  .checkout-item-media,
  .cart-item-media,
  .product-card-media,
  .product-detail-media {
    min-height: 14rem;
  }
}

/* Storefront retail flow */
.page-shell > main { padding-bottom: 0 !important; }
.page-shell > main > :not(.store-hero):not(.catalog-hero):not(.about-hero):not(.benefit-strip) { width: min(100% - 2rem, 82rem); margin-inline: auto; }
.page-shell > main > :first-child:not(.store-hero):not(.catalog-hero):not(.about-hero) { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.site-header { position: relative; z-index: 1000; background: #fffdf8; color: var(--ink); }
.announcement-bar { padding: .55rem 1rem; background: #9e4a2f; color: #fff; text-align: center; font-size: .82rem; letter-spacing: .02em; }
.announcement-bar span { opacity: .82; }
.storefront-navbar { min-height: 5.4rem; padding: .75rem 0; border-bottom: 1px solid var(--line); background: #fffdf8 !important; }
.site-header-inner { width: min(100% - 3rem, 92rem); margin-inline: auto; }
.brand-mark { display: grid; grid-template-columns: auto auto; column-gap: .18rem; color: var(--ink) !important; font-family: Georgia, serif; font-size: 1.7rem; line-height: 1; letter-spacing: -.04em; }
.brand-mark strong { color: #718160; font-weight: 500; }
.brand-mark small { grid-column: 1 / -1; margin-top: .28rem; font: 600 .55rem/1.1 system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.header-search { display: flex; width: min(40vw, 32rem); height: 2.65rem; margin-inline: auto; padding: .25rem; background: #f2f0eb; border-radius: 999px; }
.header-search input { min-width: 0; flex: 1; padding: 0 1rem; border: 0; outline: 0; background: transparent; color: var(--ink); }
.header-search button { display: flex; align-items: center; gap: .5rem; padding: 0 1rem; border: 0; border-radius: 999px; background: var(--forest); color: white; }
.header-search svg, .cart-launcher svg { width: 1.1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.storefront-actions { flex-grow: 0; gap: 1rem; }
.header-utilities { display: flex; align-items: center; gap: .65rem; }
.header-utilities > a { white-space: nowrap; }
.header-utilities .cart-launcher { padding: .45rem .65rem; border: 0; background: transparent; color: var(--ink); }
.admin-menu .dropdown-menu { min-width: 13rem; }
.admin-menu .dropdown-item { font-size: .9rem; }
.category-nav { border-bottom: 1px solid var(--line); background: #fff; }
.category-nav-inner { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.4rem); min-height: 3.2rem; overflow-x: auto; }
.category-nav a { flex: 0 0 auto; color: var(--ink); text-decoration: none; font-size: .9rem; }
.category-nav .category-nav-featured { margin-left: auto; color: #9e4a2f; }
.store-hero { min-height: clamp(32rem, 66vh, 47rem); display: flex; align-items: center; position: relative; isolation: isolate; overflow: hidden; background: #79836b var(--hero-image) center 46% / cover no-repeat; color: #fffdf7; }
.store-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,30,20,.82), rgba(20,30,20,.48) 44%, rgba(20,30,20,.05) 75%); }
.store-hero .store-hero-copy { width: min(100% - 3rem, 92rem); margin-inline: auto; padding: 4rem 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.store-hero-copy > * { max-width: 42rem; }
.store-hero-copy h1 { margin: .65rem 0 1.25rem; font-family: Georgia, serif; font-size: clamp(3.2rem, 6vw, 6.4rem); font-weight: 400; line-height: .94; letter-spacing: -.055em; }
.store-hero-copy > p:not(.hero-kicker) { max-width: 35rem; font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.6; }
.hero-kicker { margin: 0; font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero-button { padding: .9rem 1.3rem; border-radius: 999px; background: #fffdf7; color: var(--ink); text-decoration: none; font-weight: 700; }
.hero-text-link { color: #fff; text-decoration: none; font-weight: 600; }
.hero-product-note { position: absolute; right: max(1.5rem, calc((100vw - 92rem) / 2)); bottom: 1.5rem; display: grid; padding: .9rem 1.1rem; background: rgba(25,35,24,.72); backdrop-filter: blur(8px); border-left: 2px solid #d5a55c; }
.hero-product-note span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.catalog-hero { min-height: clamp(24rem, 48vh, 36rem); display: flex; align-items: end; position: relative; isolation: isolate; overflow: hidden; background: #66725c var(--catalog-hero-image) center 48% / cover no-repeat; color: #fffdf7; }
.catalog-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,30,20,.84), rgba(20,30,20,.48) 55%, rgba(20,30,20,.18)); }
.catalog-hero-inner { width: min(100% - 3rem, 92rem); margin-inline: auto; padding: clamp(3rem, 7vw, 6rem) 0; display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.catalog-hero h1 { max-width: 48rem; margin: .65rem 0 1rem; font-family: Georgia, serif; font-size: clamp(3rem, 6vw, 5.8rem); font-weight: 400; line-height: .95; letter-spacing: -.055em; }
.catalog-hero .lead { max-width: 38rem; margin: 0; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.6; }
.catalog-hero .hero-button { flex: 0 0 auto; }
.catalog-shell { padding-block: clamp(2rem, 4vw, 4rem) clamp(4rem, 7vw, 7rem); }
.benefit-strip { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--line); background: #fff; }
.benefit-strip > div { display: flex; align-items: center; justify-content: center; gap: .8rem; padding: 1.25rem; border-right: 1px solid var(--line); }
.benefit-strip > div:last-child { border-right: 0; }
.benefit-strip p, .benefit-strip small { display: block; margin: 0; }
.benefit-strip small { color: var(--muted-ink); font-size: .76rem; }
.benefit-icon { color: var(--gold); font-size: 1.5rem; }
.home-section { padding-block: clamp(3.5rem, 6vw, 6rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading .admin-eyebrow { margin-bottom: .35rem; }
.section-heading h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 400; letter-spacing: -.045em; }
.section-heading > a { color: var(--ink); text-decoration: none; font-weight: 650; }
.category-section .category-grid { margin-top: 0; }
.category-card p { margin: 0; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .82; }
.category-card h2 { margin: 0; font-family: Georgia, serif; font-size: 2.4rem; font-weight: 400; }
.category-card span { font-weight: 650; }
.featured-section { padding-top: 0; }
.home-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.home-product-card { display: grid; color: var(--ink); text-decoration: none; }
.home-product-image { min-height: 22rem; border-radius: 1.2rem; background: #ddd center / cover no-repeat; }
.home-product-copy { display: grid; gap: .2rem; padding: 1rem .2rem; }
.home-product-copy small { color: var(--muted-ink); text-transform: uppercase; letter-spacing: .12em; }
.home-product-copy strong { font-family: Georgia, serif; font-size: 1.35rem; font-weight: 400; }
.home-product-copy span { color: var(--muted-ink); }
.brand-story-grid.home-section { margin-top: 0; padding-top: 1rem; padding-bottom: 5rem; }

@media (max-width: 991px) {
  .header-search { order: 3; width: 100%; margin-top: .75rem; }
  .storefront-actions { padding-top: 1rem; }
  .category-nav-featured { display: none; }
  .home-product-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-story-feature { grid-template-columns: 1fr; }
  .brand-story-image { min-height: 26rem; }
}

@media (max-width: 767px) {
  .announcement-bar span, .header-search button span { display: none; }
  .site-header-inner { width: min(100% - 2rem, 92rem); }
  .category-nav-inner { gap: 1.4rem; }
  .store-hero { min-height: 35rem; align-items: end; background-position: 58% center; }
  .store-hero::before { background: linear-gradient(0deg, rgba(20,30,20,.88), rgba(20,30,20,.18) 78%); }
  .store-hero .store-hero-copy { width: min(100% - 2rem, 92rem); padding: 6rem 0 2rem; }
  .store-hero-copy h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .hero-product-note { display: none; }
  .catalog-hero { min-height: 28rem; background-position: center; }
  .catalog-hero::before { background: linear-gradient(0deg, rgba(20,30,20,.9), rgba(20,30,20,.2) 85%); }
  .catalog-hero-inner { width: min(100% - 2rem, 92rem); padding: 5rem 0 2rem; align-items: start; flex-direction: column; gap: 1.5rem; }
  .catalog-hero h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .benefit-strip { grid-template-columns: 1fr; }
  .benefit-strip > div { justify-content: flex-start; padding: .9rem 1.25rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .benefit-strip > div:last-child { border-bottom: 0; }
  .section-heading { align-items: start; flex-direction: column; gap: .75rem; }
  .home-product-grid { grid-template-columns: 1fr; }
  .home-product-image { min-height: 20rem; }
  .brand-story-copy { padding: 2.5rem 1.5rem; }
  .brand-story-image { min-height: 20rem; background-position: 60% center; }
  .brand-principles { grid-template-columns: 1fr; padding: 0; }
  .brand-principles > div, .brand-principles > div:first-child, .brand-principles > div:last-child { padding: 1.15rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand-principles > div:last-child { border-bottom: 0; }
  .brand-story-disclaimer { display: grid; gap: .35rem; }
}
