/* =========================
   Natural Soap Outpost — Global Theme
   ========================= */

/* Design tokens — 2026 brand refresh: deep green / gold / cream */
:root {
  --bg: #FBF8F0;
  --surface: #ffffff;
  --surface-2: #F3EEDF;
  --text: #16231B;
  --muted: #4A5A50;

  --brand: #2E6E3E;
  --brand-2: #16402A;
  --accent: #C98A0B;
  --gold: #F5C442;
  --cream: #FCF5E0;
  --rust: #70281A;

  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;

  /* Aliases used by about.css / blog.css */
  --color-primary: var(--brand);
  --color-text: var(--text);
  --color-muted: var(--muted);
  --color-surface: var(--surface);
  --color-surface-alt: var(--surface-2);
  --color-border: #E5DEC8;

  --danger: #b42318;
  --border: rgba(31, 42, 36, .12);

  --shadow: 0 10px 30px rgba(31, 42, 36, .08);
  --shadow-sm: 0 6px 16px rgba(31, 42, 36, .08);

  --radius: 20px;
  --radius-sm: 14px;

  --container: 1200px;
}

/* Base reset */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* min-height (not height) so the sticky header can stick for the whole page */
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Layout helpers */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   banner
   ========================= */
.site-banner {
  background: var(--brand-2);
  color: var(--cream);
  text-align: center;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 28px;
}

.site-banner span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-banner__accent {
  color: var(--gold);
}

/* =========================
   Header / Nav
   Desktop: logo · Shop / Refill System / About · Cart · Menu
   Mobile:  logo · Cart · Menu   (everything else lives in the drawer)
   ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 248, 240, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #E5DEC8;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-2);
  flex: none;
  min-width: 0;
}

.brand-mark__img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: none;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--brand-2);
  white-space: nowrap;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}

.nav-link:hover {
  background: rgba(46, 110, 62, .08);
  color: var(--brand-2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.nav-cart,
.nav-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.nav-cart {
  background: var(--brand-2);
  color: var(--cream);
}

.nav-cart:hover {
  background: #0F2E1E;
  color: var(--cream);
}

.nav-cart .badge {
  background: var(--gold);
  color: var(--brand-2);
}

.nav-menu-btn {
  border: 0;
  background: transparent;
  color: var(--brand-2);
  box-shadow: inset 0 0 0 2px var(--brand-2);
}

.nav-menu-btn:hover {
  background: var(--brand-2);
  color: var(--cream);
}

@media (max-width: 900px) {
  .nav-primary {
    display: none;
  }
}

@media (max-width: 520px) {
  .nav-wrap {
    min-height: 64px;
    gap: 10px;
  }

  .brand {
    gap: 8px;
    flex: 1 1 auto;
  }

  .brand-mark__img {
    width: 40px;
    height: 40px;
  }

  .brand-title {
    font-size: 1.1rem;
    white-space: normal;
    max-width: 9em;
  }

  .nav-cart__label,
  .nav-menu-btn span {
    display: none;
  }

  .nav-cart,
  .nav-menu-btn {
    padding: 0 12px;
  }
}

/* ---------- Drawer ---------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 46, 30, .55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  width: min(380px, 88vw);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  padding: 18px 22px 28px;
  background-color: var(--brand-2);
  background-image: url("../images/home/topo_light.166295d536e6.png");
  background-size: 900px auto;
  color: var(--cream);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .25s ease, visibility .25s ease;
}

body.drawer-open {
  overflow: hidden;
}

body.drawer-open .drawer-overlay {
  opacity: 1;
  visibility: visible;
}

body.drawer-open .drawer {
  transform: translateX(0);
  visibility: visible;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.drawer__title {
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

.drawer__close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(252, 245, 224, .1);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.drawer__close:hover {
  background: var(--gold);
  color: var(--brand-2);
}

.drawer__nav {
  display: flex;
  flex-direction: column;
}

.drawer__link {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--cream);
  border-bottom: 1px solid rgba(252, 245, 224, .12);
}

.drawer__link:hover {
  color: var(--gold);
}

.drawer__account {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(252, 245, 224, .08);
}

.drawer__label {
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.drawer__user {
  font-size: .85rem;
  color: #CFD8CB;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 4px;
}

.drawer__sublink {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-weight: 700;
  color: var(--cream);
}

.drawer__sublink:hover {
  color: var(--gold);
}

.drawer__foot {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .88rem;
  color: #CFD8CB;
}

.drawer__foot strong {
  color: var(--cream);
}

@media (prefers-reduced-motion: reduce) {
  .drawer,
  .drawer-overlay {
    transition: none;
  }
}

/* =========================
   Main / Footer
   ========================= */
.site-main {
  flex-grow: 1;
}

/* Interior pages get breathing room under the header (homepage uses its own full-bleed sections) */
.site-main > .container {
  padding-top: 32px;
  padding-bottom: 72px;
}

/* =========================
   Brand page titles
   (one rule for every page's H1 so the whole store speaks with one voice)
   ========================= */
.pd-title,
.cart-title,
.co-title,
.cat-hero__title,
.oh-title,
.auth-title,
.success-title,
.page-head h1,
.page-header h1,
.policy-page > h1,
.about-hero__heading,
.order-success > h1 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1;
  color: var(--brand-2);
}

/* =========================
   Panels (shared by product, cart, checkout, category, orders, contact)
   ========================= */
.panel {
  background: var(--surface);
  border: 1px solid #E5DEC8;
  border-radius: 22px;
  box-shadow: none;
  overflow: hidden;
}

.panel-head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid #EFE9D6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.panel-head strong {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-2);
}

.panel-head .muted {
  font-size: .88rem;
}

.panel-body {
  padding: 18px 20px 20px;
}

/* Accessible hidden text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--brand-2);
  color: #E7E1C9;
  padding: 64px 0 28px;
  font-size: .92rem;
}

.site-footer a {
  color: #E7E1C9;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 36px;
}

.footer-brand {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand p {
  margin: 0;
  max-width: 340px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--cream);
}

.footer-tagline span {
  color: var(--gold);
}

.footer-address {
  font-size: .85rem;
  opacity: .85;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 150px;
}

.footer-nav__head {
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(231, 225, 201, .2);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  font-size: .82rem;
}

.footer-item {
  line-height: 1.5;
}

/* Social icons */
.footer-social {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

@media (max-width: 680px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* =========================
   Messages (Django)
   ========================= */
.messages {
  list-style: none;
  margin: 16px auto 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.message {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #E5DEC8;
  background: var(--surface);
  font-weight: 600;
}

.message.success {
  border-color: rgba(46, 110, 62, .3);
  background: rgba(46, 110, 62, .08);
}

.message.error {
  border-color: rgba(180, 35, 24, .28);
  background: rgba(180, 35, 24, .08);
}

.message.warning {
  border-color: rgba(199, 164, 107, .35);
  background: rgba(199, 164, 107, .12);
}

/* =========================
   Buttons
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  text-decoration: none;
  user-select: none;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--brand-2);
  color: var(--cream);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #0F2E1E;
  color: var(--cream);
}

.btn-primary:disabled,
.btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: .88rem;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--brand-2);
  color: var(--brand-2);
}

.btn-outline:hover {
  transform: translateY(-1px);
  background: var(--brand-2);
  color: var(--cream);
}

.btn-danger {
  background: transparent;
  border-color: rgba(180, 35, 24, .35);
  color: var(--danger);
}

.btn-danger:hover {
  background: rgba(180, 35, 24, .14);
  transform: translateY(-1px);
}

/* Backward-compat for your earlier templates */
.btn-success {
  background: var(--gold);
  border-color: transparent;
  color: var(--brand-2);
}

.btn-success:hover {
  background: rgba(47, 107, 79, .14);
  transform: translateY(-1px);
}

/* =========================
   Cards / Grid (Products)
   ========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.card {
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(47, 107, 79, .18);
}

.card-media {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, rgba(47, 107, 79, .18), rgba(199, 164, 107, .18));
}

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

.card-body {
  padding: 16px 16px 18px;
}

.card-title {
  font-size: 1.08rem;
  margin: 2px 0 8px;
  letter-spacing: .2px;
}

.card-text {
  color: var(--muted);
  margin: 0 0 14px;
  font-size: .95rem;
}

.price {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: .2px;
  color: var(--brand-2);
}

/* =========================
   Forms
   ========================= */
label {
  display: block;
  margin: 0 0 6px;
  font-weight: 700;
  color: rgba(31, 42, 36, .92);
  font-size: .92rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid #DCD4BC;
  background: #FFFFFF;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: box-shadow .15s ease, border-color .15s ease;
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(46, 110, 62, .16);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.help-text {
  font-size: .88rem;
  color: var(--muted);
  margin-top: 6px;
}

/* =========================
   Tables (Orders, etc.)
   ========================= */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 0;
  border-radius: 0;
  overflow: hidden;
}

thead th {
  background: var(--surface-2);
  color: var(--brand-2);
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #E5DEC8;
}

tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(31, 42, 36, .08);
  color: rgba(31, 42, 36, .92);
  vertical-align: middle;
}

tbody tr:last-child td {
  border-bottom: none;
}

/* =========================
   Small utilities
   ========================= */
.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.muted {
  color: var(--muted);
}

.page {
  padding: 12px 0 40px;
}

.page-head {
  margin-bottom: 24px;
}

.page-head h1,
.page-header h1,
.policy-page > h1 {
  margin: 0 0 8px;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
}

.page-head .muted {
  font-size: 1.05rem;
}

.page-head .muted a {
  color: var(--brand);
  font-weight: 700;
}

.blog-post__head h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
}

.page-card {
  background: var(--surface);
  border: 1px solid #E5DEC8;
  border-radius: 22px;
  padding: 26px 28px;
}

.page-card h2,
.page-privacy h2,
.policy-page h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-2);
  margin: 0 0 10px;
}

.page-privacy h2,
.policy-page h2 {
  margin-top: 28px;
}

.policy-page,
.page-privacy .narrow {
  max-width: 760px;
}

.policy-page p,
.page-privacy p {
  line-height: 1.7;
}

.page-list {
  margin: 10px 0 0 18px;
}

.blog-list {
  display: grid;
  gap: 14px;
}

.blog-item {
  padding: 12px;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: 14px;
  background: #fff;
}

.blog-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid #E5DEC8;
  border-radius: 16px;
  padding: 0 18px;
  background: var(--surface);
}

.faq-item>summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 52px;
  padding: 14px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--brand-2);
}

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

.faq-item>summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brand);
  transition: transform .2s ease;
}

.faq-item[open]>summary::after {
  transform: rotate(45deg);
}

.faq-item[open] {
  border-color: var(--brand);
}

.faq-body {
  margin-top: 0;
  padding-bottom: 16px;
  color: var(--muted, #6b7280);
  line-height: 1.7;
}
/* Base badge styles */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

/* Rounded "pill" shape */
.badge-pill {
    padding-right: 0.6em;
    padding-left: 0.6em;
    border-radius: 10rem;
}

/* Danger (Red) color */
.badge-danger {
    background-color: var(--gold);
    color: var(--brand-2);
}

/* =========================
   Trust strip
   (store/includes/trust_strip.html)
   ========================= */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #E5DEC8;
  background: var(--surface);
  font-size: .86rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.trust-strip__text strong {
  color: var(--brand-2);
}

.trust-strip__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-strip__badge svg {
  width: 19px;
  height: 19px;
  max-width: 19px;
  max-height: 19px;
  display: block;
}

/* Compact variant — tighter, used on product page under Add to cart */
.trust-strip--compact {
  gap: 8px;
  margin: 14px 0 0;
}

.trust-strip--compact .trust-strip__item {
  padding: 8px 12px;
  font-size: .8rem;
}

@media (max-width: 680px) {
  .trust-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-strip__item {
    justify-content: flex-start;
    white-space: normal;
    max-width: 100%;
  }
}

/* =========================
   Star rating (decorative, used alongside testimonials)
   ========================= */
.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: .95rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.star-rating__label {
  color: var(--muted);
  letter-spacing: normal;
  font-size: .85rem;
}

/* =========================
   Refill "how it works" system
   (store/includes/refill_how_it_works.html)
   ========================= */
.refill-system {
  margin: 1.5rem 0;
}

.refill-system__head {
  margin-bottom: 18px;
}

.refill-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}

@media (max-width: 820px) {
  .refill-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .refill-steps {
    grid-template-columns: 1fr;
  }
}

.refill-step {
  background: var(--surface);
  border: 1px solid #E5DEC8;
  border-radius: 20px;
  padding: 22px 18px 18px;
  position: relative;
  text-align: left;
}

.refill-step__num {
  position: absolute;
  top: -14px;
  left: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--brand-2);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  display: grid;
  place-items: center;
}

.refill-step__title {
  margin: 12px 0 6px;
  font-size: 1rem;
  letter-spacing: .2px;
}

.refill-step__text {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

.refill-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 20px;
  background: var(--brand-2);
  border: 0;
  color: var(--cream);
}

.refill-stat__num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}

.refill-stat__text {
  color: #E7E1C9;
  font-size: .92rem;
  max-width: 42ch;
}

.refill-system__cta {
  margin-top: 18px;
}

/* Teaser variant — used on the homepage, slightly tighter */
.refill-system--teaser .refill-step {
  padding: 16px 14px;
}

.refill-system--teaser .refill-step__text {
  font-size: .84rem;
}

@media (max-width: 480px) {
  .refill-stat {
    flex-direction: column;
    gap: 4px;
  }
}

/* =========================
   Voyage Houston press callout
   (about page)
   ========================= */
.press-callout {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(199, 164, 107, .35);
  background: rgba(199, 164, 107, .10);
}

.press-callout__label {
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-2, #1f4f3b);
  border: 1px solid rgba(47, 107, 79, .3);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, .6);
  white-space: nowrap;
}

.press-callout__text {
  margin: 0;
  font-size: .95rem;
  color: rgba(31, 42, 36, .9);
}

.press-callout__text strong {
  color: var(--brand-2);
}

/* =========================
   Home — "Loved by Houston families" proof section
   ========================= */
.home-proof {
  margin-top: 30px;
}

.home-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.home-testimonial {
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.home-testimonial p {
  margin: 0 0 8px;
  font-style: italic;
  color: rgba(31, 42, 36, .9);
  font-size: .95rem;
  line-height: 1.5;
}

.home-testimonial footer {
  font-size: .85rem;
  color: var(--muted);
}

/* =========================
   SEO content blocks
   Long-form keyword-rich copy sections (home/category/product)
   ========================= */
.seo-content {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

/* =========================
   SEO content — kicker, card grid, closing CTA
   ========================= */
.seo-kicker {
  display: inline-block;
  color: var(--brand);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.seo-content__intro {
  max-width: 74ch;
}

.seo-content__intro h2 {
  font-size: 1.5rem;
  margin: 0 0 14px;
  letter-spacing: .2px;
  line-height: 1.25;
}

.seo-content__intro p {
  color: rgba(31, 42, 36, .85);
  line-height: 1.7;
  font-size: .98rem;
  margin: 0;
}

.seo-content__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.seo-content__card {
  position: relative;
  background: var(--surface);
  border: 1px solid #E5DEC8;
  border-radius: 20px;
  padding: 22px 22px 20px;
  overflow: hidden;
}

.seo-content__card::before {
  content: none;
}

.seo-content__card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--brand-2);
  letter-spacing: .1px;
}

.seo-content__card p {
  margin: 0;
  color: rgba(31, 42, 36, .82);
  line-height: 1.65;
  font-size: .93rem;
}

.seo-content__cta {
  max-width: 74ch;
  margin-top: 8px;
  padding: 20px 24px;
  border-radius: 20px;
  border: 0;
  background: var(--surface-2);
}

.seo-content__cta p {
  margin: 0;
  color: rgba(31, 42, 36, .88);
  line-height: 1.65;
  font-size: .95rem;
}

.seo-content__cta a {
  color: var(--brand-2);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seo-content__cta a:hover {
  color: var(--brand);
}

/* =========================
   Product strip — card-free, image-forward
   Shared component used on home (featured products)
   and category pages (product grid)
   ========================= */
.featured-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px 32px;
  margin-top: 24px;
}

.featured-item {
  display: flex;
  flex-direction: column;
  max-width: 420px;
}

.featured-item__media {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 14px;
}

.featured-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.featured-item:hover .featured-item__media img {
  transform: scale(1.035);
}

.featured-item__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.featured-item__type {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: 6px;
}

.featured-item__title {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: .1px;
  line-height: 1.3;
}

.featured-item__title a {
  color: var(--text);
}

.featured-item__title a:hover {
  color: var(--brand-2);
}

.featured-item__desc {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

.featured-item__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: auto;
  margin-bottom: 10px;
}

.featured-item__price {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--brand-2);
  letter-spacing: .1px;
}

.featured-item__stock {
  font-size: .84rem;
  color: var(--muted);
}

.featured-item__stock--in {
  color: rgba(47, 107, 79, .95);
  font-weight: 700;
}

.featured-item__stock--out {
  color: rgba(180, 35, 24, .95);
  font-weight: 700;
}

.featured-item__link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--brand-2);
  color: var(--cream);
  font-weight: 700;
  font-size: .9rem;
}

.featured-item__link:hover {
  background: #0F2E1E;
  color: var(--cream);
}

/* Scent dot reused inside the type label (category page) */
.featured-item__type .scent-dot {
  width: 8px;
  height: 8px;
}

@media (max-width: 520px) {
  .featured-item__media {
    aspect-ratio: 1 / 1;
  }
}

/* =========================
   Order success page (store/success.html)
   ========================= */
.order-success {
  max-width: 880px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.order-success > h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.order-success > p.muted {
  margin: -6px 0 6px;
  font-size: 1.02rem;
}

.order-success .auth {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
}

.order-success .panel {
  padding: 22px 24px;
}

.order-success .panel h2 {
  margin: 0 0 14px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-2);
}

.order-success .panel .panel {
  padding: 0;
  border: 0;
}

.order-success hr {
  border: 0;
  border-top: 1px solid #EFE9D6;
  margin: 14px 0;
}

.order-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 10px 0;
  border-bottom: 1px solid #F1ECDC;
}

.order-totals .row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}

.order-totals .row.total {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid #E5DEC8;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--brand-2);
}

