@charset "utf-8";

/* ==========================================================================
   Teddy's Pet Provisions — storefront theme
   Palette taken straight from the logo:
   cream paper, dark cocoa ink, sage ribbon, terracotta accent, warm tan.
   ========================================================================== */

:root {
  --ink: #2b2118;
  --ink-soft: #3a2c21;
  --muted: #6d5c4d;
  --paper: #f7f1e8;
  --paper-deep: #efe5d6;
  --card: #fffdf8;
  --line: #e4d6c5;
  --line-soft: #efe5d8;
  --accent: #c46a2d;
  --accent-dark: #a9551f;
  --accent-soft: #fbeadb;
  --accent-ink: #fff8f1;
  --sage: #5c6a52;
  --sage-dark: #4a5642;
  --sage-soft: #e8ede3;
  --tan: #d9a066;
  --tan-soft: #f3e3cd;
  --ok: #3f7d4f;
  --warn: #9a4b2d;
  --shadow-sm: 0 2px 6px rgba(72, 48, 24, .06);
  --shadow: 0 10px 28px rgba(72, 48, 24, .10);
  --shadow-lg: 0 22px 55px rgba(72, 48, 24, .16);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --wrap: 1180px;
  --font: "Nunito Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Iowan Old Style", "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--ink);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

:focus-visible { outline: 3px solid var(--tan); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }
.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;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: .5rem;
}

/* ---------------------------------------------------------------- buttons */

.button, .primary, .ghost, button {
  font: inherit;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, color .12s ease;
}
.button, .primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.button:hover, .primary:hover:not(:disabled) {
  background: var(--accent-dark); color: var(--accent-ink);
  text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow);
}
.button.sage, .primary.sage { background: var(--sage); }
.button.sage:hover, .primary.sage:hover { background: var(--sage-dark); }
button { background: var(--paper-deep); color: var(--ink); border-color: var(--line); }
button:hover:not(:disabled) { background: var(--tan-soft); }
button:disabled, .primary:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.ghost:hover { background: var(--card); text-decoration: none; }
.button.block, .primary.block { width: 100%; }
.button.ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.link {
  background: none; border: 0; padding: 0;
  color: var(--accent-dark); text-decoration: underline; font-weight: 500;
}
.link:hover { background: none; color: var(--accent); }
.inline { display: inline; }

/* ------------------------------------------------------------------ forms */

label { display: block; font-weight: 600; font-size: .9rem; }
input, select, textarea {
  width: 100%;
  font: inherit; font-weight: 400;
  color: var(--ink); background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 13px; margin-top: 5px;
  transition: border-color .12s ease, box-shadow .12s ease;
}
input:focus, select:focus, textarea:focus {
  outline: 0; border-color: var(--tan); box-shadow: 0 0 0 3px var(--tan-soft);
}
textarea { min-height: 110px; resize: vertical; }
.stack { display: grid; gap: 1rem; }
.stack.narrow { max-width: 440px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.check input { width: auto; margin: 0; }

/* ----------------------------------------------------------- announcement */

.announce {
  background: var(--sage);
  color: #f4f1e8;
  font-size: .82rem;
  letter-spacing: .04em;
  text-align: center;
  padding: 9px 16px;
}
.announce strong { color: #fff; }

/* ----------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 241, 232, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: var(--ink);
  line-height: 1.1;
}
.brand-text small,
.brand-text em {
  display: block;
  font-style: normal;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 700;
  margin-top: 3px;
}

.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: .93rem;
  padding: 9px 12px;
  border-radius: 999px;
}
.main-nav a:hover { background: var(--paper-deep); text-decoration: none; color: var(--ink); }
.main-nav a.is-active,
.main-nav a[aria-current="page"] { color: var(--accent-dark); background: var(--accent-soft); }
.main-nav .button { padding: 9px 18px; font-size: .9rem; }
.main-nav form { margin: 0; }
.main-nav form button,
.linkish {
  background: none; border: 0; padding: 9px 12px;
  font-weight: 600; font-size: .93rem; color: var(--ink); border-radius: 999px;
}
.main-nav form button:hover,
.linkish:hover { background: var(--paper-deep); }

.cart-link { position: relative; display: inline-flex; align-items: center; gap: 7px; }
.cart-badge,
.cart-count {
  display: inline-grid; place-items: center;
  min-width: 21px; height: 21px; padding: 0 6px;
  background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 700;
  border-radius: 999px;
}

.nav-toggle { display: none; background: var(--card); border: 1px solid var(--line); padding: 9px 14px; }

/* ------------------------------------------------------------------ flash */

.toast, .alert, .empty, .note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 18px 0;
  background: var(--accent-soft);
}
.toast {
  display: flex; align-items: center; gap: 10px;
  background: var(--sage-soft); border-color: #d6ddcd; color: var(--sage-dark); font-weight: 600;
}
.alert { background: #fbe6e0; border-color: #f0cabe; color: #8d3b21; font-weight: 500; }
.empty { background: var(--card); text-align: center; padding: 40px 24px; }
.note { background: var(--tan-soft); border-color: #e8d3b4; }

main { display: block; min-height: 55vh; padding-bottom: 60px; }
section { margin-bottom: 56px; }

/* ------------------------------------------------------------- breadcrumb */

.breadcrumb { font-size: .84rem; color: var(--muted); padding: 18px 0 4px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

/* -------------------------------------------------------------------- hero */

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  background:
    radial-gradient(circle at 88% 18%, var(--tan-soft) 0%, transparent 52%),
    linear-gradient(140deg, var(--card) 0%, var(--paper-deep) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 60px);
  margin: 28px 0 56px;
}
.hero h1 { margin-bottom: .35em; }
.hero .lede { font-size: 1.1rem; color: var(--muted); max-width: 48ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-points {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: .88rem; font-weight: 600; color: var(--sage-dark);
}
.hero-points li::before { content: "\2713"; color: var(--accent); font-weight: 700; margin-right: 7px; }
.hero-art { position: relative; justify-self: center; width: min(420px, 100%); }
.hero-art img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  filter: drop-shadow(0 18px 34px rgba(72, 48, 24, .22));
}
.hero.compact { grid-template-columns: 1fr; text-align: center; }
.hero.compact .lede, .hero.compact .hero-cta { margin-inline: auto; justify-content: center; }

/* --------------------------------------------------------------- trust bar */

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 56px;
}
.trust div { background: var(--card); padding: 22px 18px; text-align: center; }
.trust strong { display: block; font-size: .97rem; margin-bottom: 3px; }
.trust span { font-size: .82rem; color: var(--muted); }
.trust .ico { font-size: 1.5rem; display: block; margin-bottom: 8px; }

/* ---------------------------------------------------------- section heads */

.section-head {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 20px; margin-bottom: 24px;
}
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; }
.section-head a { font-weight: 600; white-space: nowrap; }

/* ------------------------------------------------------- category tiles */

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.cat-tile {
  position: relative;
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  overflow: hidden;
}
.cat-tile::after {
  content: "";
  position: absolute; inset: auto -30px -40px auto;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--tan-soft); opacity: .55;
}
.cat-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--tan);
  text-decoration: none;
}
.cat-tile strong { position: relative; z-index: 1; display: block; font-size: 1.06rem; color: var(--ink); }
.cat-tile span { position: relative; z-index: 1; font-size: .84rem; color: var(--muted); }

/* --------------------------------------------------------------- products */

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 22px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px;
}

.product {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--tan); }
.product-media { position: relative; display: block; background: var(--paper-deep); aspect-ratio: 1 / 1; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product:hover .product-media img { transform: scale(1.04); }
.product-body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 16px 18px 18px; }
.product-cat {
  font-size: .71rem; text-transform: uppercase; letter-spacing: .1em;
  font-weight: 700; color: var(--sage);
}
.product-title { margin: 0; font-size: 1rem; line-height: 1.35; font-family: var(--font); font-weight: 600; }
.product-title a { color: var(--ink); }
.product-title a:hover { color: var(--accent-dark); }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 8px; }
.product-price strong { font-size: 1.3rem; font-family: var(--font-display); color: var(--ink); }
.product-price .ship { font-size: .78rem; color: var(--muted); }
.product form { margin-top: 10px; }

.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  background: var(--accent); color: #fff;
  box-shadow: var(--shadow-sm);
}
.badge.sage { background: var(--sage); }
.badge.out { background: var(--ink-soft); }

.stock { font-size: .8rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.in { color: var(--ok); }
.stock.low { color: var(--warn); }
.stock.out { color: var(--muted); }

/* -------------------------------------------------------------- shop page */

.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: start; }
.facets {
  position: sticky; top: 96px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
}
.facets h2 {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); font-family: var(--font);
}
.facets ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 2px; }
.facets li a {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 8px 11px; border-radius: var(--radius-sm);
  font-size: .9rem; color: var(--ink);
}
.facets li a:hover { background: var(--paper-deep); text-decoration: none; }
.facets li a.is-active { background: var(--sage-soft); color: var(--sage-dark); font-weight: 700; }
.facets li a span { color: var(--muted); font-size: .8rem; }

.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 22px; }
.filters input[type="search"] { margin: 0; flex: 1; min-width: 200px; }
.filters select { margin: 0; width: auto; min-width: 170px; }

.result-bar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; margin-bottom: 20px;
  font-size: .9rem; color: var(--muted);
}
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--sage-soft); color: var(--sage-dark);
  border: 1px solid #d6ddcd; border-radius: 999px;
  padding: 5px 13px; font-size: .82rem; font-weight: 600;
}
.chip a { color: inherit; font-weight: 800; text-decoration: none; }

.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 40px; }
.pager a, .pager span {
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  font-size: .9rem; font-weight: 600; color: var(--ink);
}
.pager a:hover { background: var(--accent); color: #fff; border-color: var(--accent); text-decoration: none; }
.pager span { background: transparent; border-color: transparent; color: var(--muted); }

/* ----------------------------------------------------- product detail page */

.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; margin-bottom: 56px; }
.gallery { display: grid; gap: 12px; }
.gallery-main {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.thumbs button {
  width: 68px; height: 68px; padding: 0; border-radius: 12px;
  overflow: hidden; border: 2px solid var(--line); background: var(--card);
}
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.is-active { border-color: var(--accent); }

.detail h1 { margin-bottom: .25em; }
.price-block { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 6px; }
.price { font-size: 2.1rem; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.buy-box {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; margin: 22px 0;
  box-shadow: var(--shadow-sm);
}
.buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.buy .primary { flex: 1; min-width: 180px; }

.qty-stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; overflow: hidden;
}
.qty-stepper button {
  width: 40px; height: 42px; padding: 0; border: 0; border-radius: 0;
  background: transparent; font-size: 1.15rem; line-height: 1; color: var(--ink);
}
.qty-stepper button:hover { background: var(--paper-deep); }
.qty-stepper input {
  width: 50px; margin: 0; border: 0; border-radius: 0;
  text-align: center; font-weight: 700; padding: 10px 0;
  -moz-appearance: textfield;
}
.qty-stepper input:focus { box-shadow: none; }
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.spec-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 0; }
.spec-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 2px; border-bottom: 1px solid var(--line-soft); font-size: .9rem;
}
.spec-list li span:first-child { color: var(--muted); }
.spec-list li span:last-child { font-weight: 600; text-align: right; }
.specs { margin: 22px 0 0; display: grid; gap: 0; }
.specs div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 2px; border-bottom: 1px solid var(--line-soft); font-size: .9rem;
}
.specs dt { color: var(--muted); font-weight: 500; }
.specs dd { margin: 0; font-weight: 600; text-align: right; }

.perk-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; font-size: .89rem; }
.perk-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.perk-list li strong { color: var(--ink); }
.perk-list .ico { flex-shrink: 0; }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.prose blockquote {
  margin: 1.6rem 0; padding: 18px 24px;
  border-left: 4px solid var(--tan); background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display); font-size: 1.08rem; color: var(--ink-soft);
}
.prose li { margin-bottom: .4rem; }
.prose--center { margin-inline: auto; }
.prose--center p { text-align: center; }

.tabs-body { border-top: 1px solid var(--line); padding-top: 28px; }

/* ------------------------------------------------------- cart / checkout */

.split { display: grid; grid-template-columns: 1.35fr .65fr; gap: 34px; align-items: start; }

.lines {
  width: 100%; border-collapse: collapse;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.lines th {
  text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); background: var(--paper-deep);
  padding: 13px 16px; border-bottom: 1px solid var(--line);
}
.lines td { padding: 16px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.lines tr:last-child td { border-bottom: 0; }
.lines td.num { text-align: right; font-weight: 700; white-space: nowrap; }

.line { display: flex; gap: 14px; align-items: center; }
.line img {
  width: 74px; height: 74px; object-fit: cover;
  border-radius: 12px; background: var(--paper-deep); flex-shrink: 0;
}
.line a { color: var(--ink); font-weight: 600; }
.line a:hover { color: var(--accent-dark); }
.line p { margin: 3px 0 0; font-size: .82rem; }
.qty { display: flex; gap: 8px; align-items: center; }
.qty input { width: 68px; margin: 0; text-align: center; }

.summary {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 24px; position: sticky; top: 96px;
}
.summary h2 { font-size: 1.2rem; margin-bottom: 16px; }
.summary-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; font-size: .93rem;
}
.summary-row span:first-child { color: var(--muted); }
.summary-row.total {
  border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px;
  font-size: 1.18rem; font-weight: 700;
}
.summary-row.total span:first-child { color: var(--ink); }
.summary .button { margin-top: 18px; }
.summary .mini-line {
  display: flex; gap: 12px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: .87rem;
}
.summary .mini-line img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; }
.summary .mini-line strong { margin-left: auto; white-space: nowrap; }

.status-pill {
  display: inline-block; padding: 5px 13px; border-radius: 999px;
  font-size: .76rem; font-weight: 700; text-transform: capitalize;
  background: var(--tan-soft); color: var(--warn); border: 1px solid #e8d3b4;
}
.status-pill.paid, .status-pill.delivered { background: var(--sage-soft); color: var(--sage-dark); border-color: #d6ddcd; }

.auth-card {
  max-width: 460px; margin: 40px auto;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 36px;
}
.auth-card h1 { font-size: 1.85rem; text-align: center; }
.auth-card .sub { text-align: center; color: var(--muted); margin-bottom: 26px; }
.auth-card .foot { text-align: center; margin: 22px 0 0; font-size: .9rem; }

/* ----------------------------------------------------------------- footer */

.site-footer {
  background: var(--ink-soft);
  color: #d8ccbe;
  padding: 56px 0 26px;
  margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h3 {
  color: #fff; font-family: var(--font); font-size: .76rem;
  text-transform: uppercase; letter-spacing: .13em; margin-bottom: 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #d8ccbe; font-size: .9rem; }
.site-footer a:hover { color: var(--tan); text-decoration: none; }
.site-footer .footer-brand img { width: 92px; margin-bottom: 14px; }
.site-footer .footer-brand p { font-size: .88rem; max-width: 34ch; color: #bfb2a3; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .82rem; color: #a89a8b;
}

/* -------------------------------------------------- about / article pages */

.article-head { text-align: center; max-width: 68ch; margin: 34px auto 34px; }
.article-head .meta { font-size: .85rem; color: var(--muted); }
.article-figure {
  max-width: 420px; margin: 0 auto 40px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow);
  text-align: center;
}
.article-figure img { margin-inline: auto; width: min(320px, 100%); }
.article-figure figcaption { font-size: .84rem; color: var(--muted); margin-top: 12px; }

.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.value-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
}
.value-card .ico { font-size: 1.8rem; display: block; margin-bottom: 12px; }
.value-card h3 { margin-bottom: .4em; }
.value-card p { margin: 0; font-size: .92rem; color: var(--muted); }

.cta-band {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  color: #f4f1e8; border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 52px); text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #e2e7dc; max-width: 56ch; margin-inline: auto; }
.cta-band .button { background: var(--accent); margin-top: 12px; }
.cta-band .button:hover { background: #b45d24; }

details.faq {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px;
}
details.faq summary { font-weight: 700; cursor: pointer; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; float: right; color: var(--accent); font-size: 1.25rem; line-height: 1; }
details.faq[open] summary::after { content: "\2013"; }
details.faq p { margin: 12px 0 0; color: var(--muted); font-size: .93rem; }

.price-block .compare,
.product-price .compare {
  margin-left: 10px;
  color: var(--muted);
  font-size: .95rem;
  text-decoration: line-through;
}

.kit-band {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow-sm);
  margin: 8px 0 40px;
}

.kit-includes { margin-top: 28px; }
.kit-includes h2 { font-size: 1.2rem; }
.kit-includes ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.kit-includes li {
  display: flex; gap: 12px; align-items: center;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 10px 12px;
}
.kit-includes img {
  width: 48px; height: 48px; object-fit: cover; border-radius: 8px;
}
.kit-includes a { font-weight: 700; display: block; }
.kit-upsell { margin-top: 40px; }

/* ------------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .shop-layout { grid-template-columns: 1fr; }
  .facets { position: static; }
  .split { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .main-nav {
    order: 4; flex-basis: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 8px 0 12px; border-top: 1px solid var(--line); margin-top: 6px;
  }
  .main-nav[hidden] { display: none; }
  .main-nav a, .main-nav form button { width: 100%; justify-content: flex-start; text-align: left; }
  .hero { grid-template-columns: 1fr; text-align: center; padding: 20px 16px 28px; }
  .hero .lede, .hero-points { margin-inline: auto; justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-art { order: -1; width: 100%; max-width: none; }
  .hero-art img {
    width: 100%;
    max-height: min(68vh, 560px);
    object-fit: contain;
  }
  .detail { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 28px); }
  .row { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .lines thead { display: none; }
  .lines, .lines tbody, .lines tr, .lines td { display: block; width: 100%; }
  .lines tr { border-bottom: 1px solid var(--line); padding: 6px 0; }
  .lines td { border: 0; padding: 8px 16px; }
  .lines td.num { text-align: left; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

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

@media print {
  .site-header, .site-footer, .announce, .breadcrumb, .toast { display: none !important; }
  body { background: #fff; }
}

/* ------------------------------------------------------- maintenance / coming soon */

.maintenance-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top, var(--tan-soft), transparent 46%),
    var(--paper);
}
.maintenance {
  width: min(640px, calc(100% - 40px));
  text-align: center;
  padding: 48px 28px 56px;
}
.maintenance-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin: 0 auto 22px;
  filter: drop-shadow(var(--shadow));
}
.maintenance h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: .55em;
}
.maintenance .lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin: 0 auto 1.1rem;
  max-width: 34em;
}
