/* The Puppy Plaza — core storefront styles */
:root {
  --cream: #faf8f3;
  --cream-deep: #f2eee5;
  --forest: #213d32;
  --forest-soft: #355448;
  --rust: #99452e;
  --blush: #ead5cc;
  --ink: #18251f;
  --muted: #647068;
  --line: #d9d6ce;
  --white: #fff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 12px 32px rgba(24, 37, 31, 0.09);
  --radius: 2px;
  --container: 1260px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:hover { color: var(--rust); }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
input, textarea, select {
  width: 100%;
  border: 1px solid #b9bdb7;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  line-height: 1.25;
}
input, select { min-height: 46px; padding: 10px 12px; }
textarea { min-height: 130px; padding: 12px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #7a827c; opacity: 1; }
input:focus-visible, textarea:focus-visible, select:focus-visible,
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
}
::selection { background: var(--blush); color: var(--forest); }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--forest); font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(2.35rem, 5vw, 4.9rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(1.85rem, 3.2vw, 3rem); letter-spacing: -0.035em; }
h3 { font-size: 1.27rem; }
ul, ol { padding-left: 1.25rem; }
[hidden] { display: none !important; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 7vw, 7rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section--blush { background: var(--blush); }
.section--forest { background: var(--forest); color: var(--cream); }
.section--forest h1, .section--forest h2, .section--forest h3 { color: var(--cream); }
.eyebrow, .category-label, .article-meta, .pill, .form-label {
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}
.section-heading { max-width: 710px; margin-bottom: clamp(1.8rem, 4vw, 3.5rem); }
.section-heading .eyebrow { margin-bottom: 0.7rem; }
.section-heading h2 { margin-bottom: 0.7rem; }
.section-heading p { max-width: 60ch; color: var(--muted); margin-bottom: 0; }
.section--forest .section-heading p { color: #e1e5e1; }
.text-link { color: var(--forest); font-weight: 700; text-decoration: underline; }
.text-link:hover { color: var(--rust); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--forest);
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.055em;
  line-height: 1.2;
  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 { background: var(--rust); border-color: var(--rust); color: var(--white); }
.button:active { transform: translateY(1px); }
.button.secondary { background: transparent; color: var(--forest); }
.button.secondary:hover { background: var(--forest); color: var(--cream); }
.button.light { border-color: var(--cream); background: var(--cream); color: var(--forest); }
.button.light:hover { background: var(--blush); border-color: var(--blush); color: var(--forest); }
.button[disabled], button[aria-disabled="true"] { cursor: not-allowed; opacity: 0.55; transform: none; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--cream);
  color: var(--forest);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

/* Header and navigation */
.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid rgba(33, 61, 50, 0.16);
  background: rgba(250, 248, 243, 0.97);
}
.announcement {
  padding: 7px 24px;
  background: var(--forest);
  color: var(--cream);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}
.header-inner {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
  align-items: center;
  min-height: 86px;
  gap: 22px;
}
.wordmark {
  display: inline-flex;
  width: fit-content;
  flex-direction: column;
  color: var(--forest);
  font-family: var(--serif);
  line-height: 0.9;
  text-decoration: none;
}
.wordmark small { font-family: var(--sans); font-size: 0.54rem; font-weight: 800; letter-spacing: 0.2em; line-height: 1; }
.wordmark span { font-size: clamp(1.45rem, 2.1vw, 1.9rem); font-style: italic; letter-spacing: -0.06em; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 29px); }
.desktop-nav > a, .desktop-nav summary, .bag-link {
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.desktop-nav > a:hover, .desktop-nav summary:hover, .bag-link:hover { color: var(--rust); }
.nav-dropdown { position: relative; }
.nav-dropdown summary { display: flex; align-items: center; gap: 5px; list-style: none; cursor: pointer; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after, .mobile-nav details > summary::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}
.nav-dropdown[open] summary::after, .mobile-nav details[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.mobile-nav details > summary { list-style: none; }
.mobile-nav details > summary::-webkit-details-marker { display: none; }
.dropdown-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  display: grid;
  min-width: 184px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}
.dropdown-panel a { padding: 8px 9px; color: var(--forest); font-size: 0.82rem; text-decoration: none; white-space: nowrap; }
.dropdown-panel a:hover { background: var(--blush); color: var(--forest); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.bag-link { position: relative; }
[data-bag-count] { display: inline-block; min-width: 1.2em; color: var(--rust); text-align: center; }
.bag-link .is-empty, .bag-link [data-bag-count="0"] { color: inherit; }
.menu-toggle {
  display: none;
  min-height: 42px;
  padding: 7px 0 7px 10px;
  border: 0;
  background: transparent;
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mobile-nav { display: none; }

/* Homepage and cards */
.hero { position: relative; min-height: min(760px, calc(100svh - 115px)); overflow: hidden; background: var(--forest); }
.hero-image { width: 100%; min-height: min(760px, calc(100svh - 115px)); object-fit: cover; object-position: center; }
.hero-content {
  position: absolute;
  z-index: 1;
  right: max(24px, calc((100% - var(--container)) / 2));
  bottom: clamp(2rem, 7vw, 6.2rem);
  left: max(24px, calc((100% - var(--container)) / 2));
  max-width: 680px;
  color: var(--white);
}
.hero-content .eyebrow { color: var(--cream); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }
.hero-content h1 { max-width: 12ch; margin-bottom: 0.75rem; color: var(--white); text-shadow: 0 2px 13px rgba(0, 0, 0, 0.75); }
.hero-content p { max-width: 55ch; margin-bottom: 1.45rem; font-size: clamp(1rem, 1.5vw, 1.15rem); text-shadow: 0 1px 9px rgba(0, 0, 0, 0.8); }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.perk { padding: 25px clamp(16px, 3vw, 42px); border-right: 1px solid var(--line); text-align: center; }
.perk:last-child { border-right: 0; }
.perk h2, .perk h3 { margin-bottom: 5px; font-family: var(--sans); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.perk p { margin: 0; color: var(--muted); font-size: 0.87rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(17px, 2.5vw, 32px); }
.product-card { display: flex; min-width: 0; flex-direction: column; }
.product-card a { color: inherit; text-decoration: none; }
.card-image { position: relative; display: block; overflow: hidden; aspect-ratio: 0.92 / 1; background: var(--cream-deep); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.product-card:hover .card-image img, .category-card:hover img, .journal-card:hover img { transform: scale(1.025); }
.card-info { padding-top: 14px; }
.card-info .category-label { display: block; margin-bottom: 5px; }
.card-info h3 { margin-bottom: 7px; font-family: var(--sans); font-size: 0.96rem; font-weight: 720; letter-spacing: 0; line-height: 1.32; }
.price { margin: 0; color: var(--forest); font-family: var(--serif); font-size: 1.15rem; }
.price.is-unavailable { color: var(--muted); font-family: var(--sans); font-size: 0.85rem; }
.split-story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.9fr); align-items: center; background: var(--blush); }
.story-image { min-height: 560px; }
.story-image img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.story-copy { max-width: 560px; padding: clamp(2.8rem, 7vw, 7rem); }
.story-copy h2 { margin-bottom: 1rem; }
.story-copy p { color: #3b5146; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(15px, 2vw, 28px); }
.category-card { display: block; position: relative; overflow: hidden; min-height: 400px; background: var(--forest); color: var(--white); text-decoration: none; }
.category-card img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; transition: transform 300ms ease; }
.category-caption { position: absolute; right: 22px; bottom: 20px; left: 22px; color: var(--white); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
.category-caption h2, .category-caption h3 { margin: 0; color: inherit; font-size: clamp(1.55rem, 2.6vw, 2.25rem); }
.category-caption span { display: block; margin-top: 4px; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }

/* Listing pages */
.breadcrumbs { padding: 18px 0 0; color: var(--muted); font-size: 0.79rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 7px; color: #a1a69f; }
.breadcrumbs a { color: var(--forest); }
.page-intro { max-width: 780px; padding: clamp(2rem, 4vw, 4.2rem) 0 clamp(1.6rem, 3vw, 3rem); }
.page-intro h1 { margin-bottom: 0.7rem; }
.page-intro p { max-width: 66ch; margin-bottom: 0; color: var(--muted); font-size: 1.06rem; }
.collection-toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(170px, 220px) auto; align-items: end; gap: 16px; padding: 18px 0 25px; border-top: 1px solid var(--line); }
.collection-toolbar label { display: grid; gap: 6px; color: var(--forest); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.result-count { justify-self: end; padding-bottom: 12px; color: var(--muted); font-size: 0.83rem; white-space: nowrap; }
.product-card[hidden] { display: none !important; }
.empty-results { grid-column: 1 / -1; padding: 38px 0; color: var(--muted); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); color: var(--forest); font-size: 0.85rem; text-decoration: none; }
.pagination a:hover, .pagination .current { border-color: var(--forest); background: var(--forest); color: var(--cream); }

/* Product detail */
.product-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); align-items: start; gap: clamp(32px, 6vw, 84px); padding: clamp(2rem, 4.5vw, 5rem) 0 clamp(4rem, 8vw, 8rem); }
.gallery { min-width: 0; }
.gallery > a, .gallery > figure { display: block; margin: 0; background: var(--cream-deep); }
.gallery #main-product-image { width: 100%; aspect-ratio: 0.94 / 1; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.thumbnail { display: block; overflow: hidden; border: 1px solid transparent; background: var(--cream-deep); }
.thumbnail.is-active, .thumbnail[aria-current="true"] { border-color: var(--forest); }
.thumbnail img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-info { position: sticky; top: 124px; min-width: 0; }
.product-info .eyebrow { margin-bottom: 10px; }
.product-info h1 { margin-bottom: 0.8rem; font-size: clamp(2rem, 3.7vw, 3.4rem); }
.product-info > .price, .product-info .price { margin-bottom: 1.55rem; font-size: 1.42rem; }
.product-description { margin-bottom: 1.5rem; color: #425249; }
#product-form { display: grid; gap: 18px; }
#product-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
#product-form legend { margin-bottom: 7px; color: var(--forest); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.variant-options { display: grid; gap: 18px; min-width: 0; }
.variant-choices { display: flex; flex-wrap: wrap; gap: 9px; }
.variant-choice { position: relative; display: inline-flex; margin: 0; cursor: pointer; max-width: 100%; }
.variant-choice .variant-input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; padding: 0; }
.variant-label { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 44px; padding: 9px 15px; border: 1px solid var(--line); background: var(--white); color: var(--forest); font-size: 0.88rem; line-height: 1.25; overflow-wrap: anywhere; transition: border-color 150ms ease, background-color 150ms ease; }
.variant-choice:hover .variant-label { border-color: var(--forest); }
.variant-input:checked + .variant-label { border-color: var(--forest); background: var(--forest); color: var(--cream); font-weight: 700; box-shadow: inset 0 0 0 1px var(--forest); }
.variant-input:focus-visible + .variant-label { outline: 2px solid var(--forest); outline-offset: 3px; }
.variant-input:disabled + .variant-label { opacity: 0.45; cursor: not-allowed; }
.sku-line { margin: 0; color: var(--muted); font-size: 0.82rem; }
.sku-line strong { color: var(--forest); }
.quantity-row { display: grid; grid-template-columns: 112px 1fr; align-items: end; gap: 15px; }
.quantity-row label { display: grid; gap: 7px; color: var(--forest); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.quantity-row input { min-width: 0; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.notice {
  min-height: 1.3em;
  margin: 0;
  color: var(--forest);
  font-size: 0.88rem;
  font-weight: 650;
}
.notice[data-state="error"] { color: #8a2d20; }
.notice[data-state="success"] { color: var(--forest); }
.specs { margin-top: 34px; border-top: 1px solid var(--line); }
.specs dl { display: grid; grid-template-columns: minmax(105px, 0.4fr) 1fr; margin: 0; }
.specs dt, .specs dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.specs dt { color: var(--forest); font-weight: 750; }
.specs dd { color: var(--muted); }

/* Bags and checkout */
.bag-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.55fr); align-items: start; gap: clamp(30px, 6vw, 78px); padding: 10px 0 clamp(4rem, 8vw, 7rem); }
.bag-title, .checkout-title { margin-bottom: 1.5rem; }
#bag-items { border-top: 1px solid var(--line); }
.bag-item { display: grid; grid-template-columns: 116px minmax(0, 1fr) auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.bag-item-image { display: block; width: 116px; height: 136px; background: var(--cream-deep); }
.bag-item-image img { width: 100%; height: 100%; object-fit: cover; }
.bag-item-main { min-width: 0; }
.bag-item-title { margin: 0 0 5px; color: var(--forest); font-family: var(--serif); font-size: 1.16rem; line-height: 1.25; }
.bag-item-title a { text-decoration: none; }
.bag-item-meta { margin: 0 0 5px; color: var(--muted); font-size: 0.8rem; }
.bag-item-price { margin: 10px 0 0; color: var(--forest); font-family: var(--serif); }
.bag-item-controls { display: flex; align-items: center; gap: 12px; margin-top: 15px; }
.bag-item-controls label { color: var(--muted); font-size: 0.75rem; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; }
.bag-quantity { width: 75px; min-height: 39px; padding: 6px; }
.remove-item { border: 0; border-bottom: 1px solid currentColor; padding: 0 0 1px; background: transparent; color: var(--rust); font-size: 0.76rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }
.bag-item-total { min-width: 82px; color: var(--forest); font-family: var(--serif); text-align: right; }
#bag-empty { padding: 18px 0; color: var(--muted); }
.bag-summary, .order-summary {
  padding: 25px;
  border: 1px solid var(--line);
  background: var(--cream-deep);
}
.bag-summary { position: sticky; top: 124px; }
.bag-summary h2, .order-summary h2 { margin-bottom: 20px; font-size: 1.45rem; }
.summary-row { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid #d1d0c9; }
.summary-row strong { color: var(--forest); font-family: var(--serif); font-size: 1.18rem; }
.summary-note { margin: 17px 0; color: var(--muted); font-size: 0.79rem; }
.bag-summary .button, .order-summary .button { width: 100%; }
.checkout-layout { grid-template-columns: minmax(0, 1fr) minmax(310px, 0.64fr); }
#order-form { display: grid; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.form-grid .full-width { grid-column: 1 / -1; }
.form-field { display: grid; gap: 7px; }
.form-field label, .email-form label { color: var(--forest); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.085em; text-transform: uppercase; }
.form-hint { margin: -11px 0 0; color: var(--muted); font-size: 0.8rem; }
#email-draft, .email-draft { min-height: 205px; background: #f5f3ed; color: #46534b; font-size: 0.82rem; line-height: 1.45; }
.order-summary { position: sticky; top: 124px; }
.order-summary-list { margin: 0; padding: 0; list-style: none; }
.order-summary-list li { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-top: 1px solid #d1d0c9; color: var(--muted); font-size: 0.84rem; }
.order-summary-list strong { color: var(--forest); font-weight: 700; text-align: right; }

/* Editorial, info and forms */
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(19px, 3vw, 36px); }
.journal-card { overflow: hidden; background: var(--white); }
.journal-card > a { display: block; color: inherit; text-decoration: none; }
.journal-card img { width: 100%; aspect-ratio: 1.38; object-fit: cover; transition: transform 300ms ease; }
.journal-card .card-info { padding: 20px; }
.journal-card .article-meta { margin-bottom: 7px; }
.journal-card h2, .journal-card h3 { margin-bottom: 9px; font-size: 1.37rem; }
.journal-card p:last-child { margin-bottom: 0; color: var(--muted); font-size: 0.9rem; }
.article { padding-bottom: clamp(4rem, 8vw, 8rem); }
.article-header { width: min(calc(100% - 48px), 830px); margin: clamp(2.5rem, 5vw, 5rem) auto 2.2rem; text-align: center; }
.article-header .eyebrow { margin-bottom: 0.8rem; }
.article-header h1 { margin-bottom: 1rem; }
.article-header .article-meta { color: var(--muted); }
.article-cover { width: min(calc(100% - 48px), 1260px); margin: 0 auto clamp(2.5rem, 5vw, 5rem); }
.article-cover img { width: 100%; max-height: 720px; object-fit: cover; }
.article-body { width: min(calc(100% - 48px), 750px); margin: 0 auto; }
.article-body h2 { margin: 2.4em 0 0.65em; font-size: clamp(1.6rem, 2.7vw, 2.25rem); }
.article-body h3 { margin: 1.8em 0 0.6em; }
.article-body p, .article-body li { font-size: 1.03rem; }
.article-body a { color: var(--rust); }
.article-toc { margin: 2rem 0; padding: 20px 24px; border-left: 3px solid var(--rust); background: var(--cream-deep); }
.article-toc h2 { margin: 0 0 8px; font-size: 1.22rem; }
.article-toc ol { margin: 0; }
.article-related { width: min(calc(100% - 48px), 1260px); margin: clamp(3.5rem, 7vw, 6rem) auto 0; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.policy-content { width: min(calc(100% - 48px), 820px); margin: 0 auto; padding: clamp(2rem, 5vw, 5rem) 0; }
.policy-content h1 { margin-bottom: 1rem; }
.policy-content h2 { margin: 2.2em 0 0.6em; font-size: 1.85rem; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact-card { padding: 27px; border: 1px solid var(--line); background: var(--white); }
.contact-card h2, .contact-card h3 { margin-bottom: 10px; font-size: 1.42rem; }
.contact-card p { color: var(--muted); }
.contact-card a { color: var(--forest); font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.step { padding: clamp(24px, 4vw, 45px); border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step-number { display: block; margin-bottom: 18px; color: var(--rust); font-family: var(--serif); font-size: 2.1rem; line-height: 1; }
.step h2, .step h3 { font-size: 1.45rem; }
.step p { margin: 0; color: var(--muted); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 19px 0; color: var(--forest); font-family: var(--serif); font-size: 1.15rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rust); font-family: var(--sans); }
.faq details[open] summary::after { content: "–"; }
.faq details > div, .faq details > p { max-width: 70ch; padding: 0 0 20px; color: var(--muted); }
.email-form { display: grid; gap: 17px; max-width: 780px; }
.email-form fieldset { margin: 0; padding: 0; border: 0; }
.email-form legend { margin-bottom: 7px; color: var(--forest); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.085em; text-transform: uppercase; }
.form-status { min-height: 1.4em; margin: 0; color: var(--forest); font-size: 0.88rem; font-weight: 650; }
.form-status[data-state="error"] { color: #8a2d20; }
.copy-inquiry, #copy-order { align-self: start; border: 0; padding: 0; background: transparent; color: var(--rust); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-align: left; text-decoration: underline; text-transform: uppercase; }
.pill { display: inline-block; padding: 6px 9px; border: 1px solid currentColor; color: var(--rust); }

/* Footer */
.site-footer { margin-top: auto; background: var(--forest); color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(24px, 5vw, 68px); padding: clamp(3rem, 6vw, 6rem) 0 3rem; }
.footer-brand .wordmark { color: var(--cream); margin-bottom: 15px; }
.footer-brand p { max-width: 32ch; color: #d8dfd9; font-size: 0.9rem; }
.footer-grid h2, .footer-grid h3 { margin-bottom: 13px; color: var(--cream); font-family: var(--sans); font-size: 0.73rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #e5e9e5; font-size: 0.9rem; text-decoration: none; }
.footer-grid a:hover { color: var(--blush); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 19px 0 23px; border-top: 1px solid rgba(250, 248, 243, 0.22); color: #d6ded7; font-size: 0.75rem; }
.footer-bottom p { margin: 0; }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: auto 1fr auto; min-height: 78px; }
  .desktop-nav { gap: 13px; }
  .desktop-nav > a, .desktop-nav summary { font-size: 0.66rem; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-layout { gap: 40px; }
  .product-info { top: 116px; }
  .bag-summary, .order-summary { top: 116px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 3.5rem 0; }
  .announcement { padding-inline: 16px; font-size: 0.63rem; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 69px; gap: 15px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .mobile-nav {
    display: grid;
    gap: 0;
    padding: 10px 16px 18px;
    border-top: 1px solid var(--line);
    background: var(--cream);
  }
  .mobile-nav a, .mobile-nav summary {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--forest);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-decoration: none;
    text-transform: uppercase;
  }
  .mobile-nav details { border-bottom: 1px solid var(--line); }
  .mobile-nav details summary { display: flex; justify-content: space-between; border: 0; cursor: pointer; list-style: none; }
  .mobile-nav details summary::-webkit-details-marker { display: none; }
  .mobile-nav details summary::after { content: "+"; font-size: 1rem; }
  .mobile-nav details[open] summary::after { content: "–"; }
  .mobile-nav .dropdown-panel { position: static; display: grid; min-width: 0; padding: 0 0 5px 13px; border: 0; box-shadow: none; transform: none; }
  .mobile-nav .dropdown-panel a { padding: 8px 0; border: 0; font-size: 0.73rem; }
  .mobile-nav > .bag-link { border-bottom: 0; }
  .hero, .hero-image { min-height: 560px; }
  .hero-content { right: 16px; bottom: 32px; left: 16px; }
  .hero-content h1 { max-width: 11ch; }
  .perks { grid-template-columns: 1fr; }
  .perk { border-right: 0; border-bottom: 1px solid var(--line); }
  .perk:last-child { border-bottom: 0; }
  .split-story { grid-template-columns: 1fr; }
  .story-image, .story-image img { min-height: 370px; }
  .category-grid, .journal-grid { grid-template-columns: 1fr; }
  .category-card, .category-card img { min-height: 300px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 13px; }
  .card-info { padding-top: 10px; }
  .card-info h3 { font-size: 0.88rem; }
  .card-info .category-label { font-size: 0.62rem; }
  .price { font-size: 1rem; }
  .collection-toolbar { grid-template-columns: 1fr; gap: 12px; padding-top: 15px; }
  .result-count { justify-self: start; padding-bottom: 0; }
  .product-layout, .bag-layout, .checkout-layout { grid-template-columns: 1fr; gap: 30px; }
  .product-layout { padding-top: 1.5rem; }
  .product-info, .bag-summary, .order-summary { position: static; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .product-actions { grid-template-columns: 1fr; }
  .bag-item { grid-template-columns: 90px minmax(0, 1fr); gap: 13px; }
  .bag-item-image { width: 90px; height: 112px; }
  .bag-item-total { grid-column: 2; grid-row: 1; padding-top: 1px; justify-self: end; }
  .bag-item-controls { flex-wrap: wrap; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full-width { grid-column: auto; }
  .contact-grid, .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .article-header, .article-cover, .article-body, .policy-content { width: min(calc(100% - 32px), 820px); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { display: grid; }
}

@media (max-width: 390px) {
  .wordmark span { font-size: 1.42rem; }
  .header-actions { gap: 6px; }
  .bag-link, .menu-toggle { font-size: 0.64rem; }
  .gallery-thumbs { gap: 6px; }
  .bag-summary, .order-summary { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

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

/* Standalone page layout refinements */
.header-inner > .bag-link { display: flex; gap: 8px; align-items: center; justify-self: end; }
.wordmark .brand-dot { color: var(--rust); font-style: normal; }
.announcement a { color: inherit; margin-left: 1em; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.section-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading > div { max-width: 780px; }
.section-heading > .text-link { white-space: nowrap; font-size: .85rem; margin-bottom: 12px; }
.perks > div { display: grid; gap: 5px; padding: 25px 22px; border-right: 1px solid var(--line); font-size: .84rem; }
.perks > div:last-child { border-right: 0; }
.perks > div > span { color: var(--rust); font-family: var(--serif); }
.perks > div p { margin: 0; color: var(--muted); }
.perks > div a { color: var(--muted); font-size: .78rem; }
.category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.category-card { aspect-ratio: 1.28; min-height: 0; }
.category-card img { min-height: 0; width: 100%; height: 100%; object-fit: cover; }
.category-caption { background: rgba(33,61,50,.88); padding: 18px; text-shadow: none; }
.category-caption h3 { font-size: 1.5rem; }
.story-image { min-height: 0; }
.story-image img { height: auto; min-height: 0; object-fit: contain; }
.story-copy { padding: clamp(26px,4vw,58px); max-width: none; }
.image-caption { font-size: .7rem; padding: 8px 14px; color: var(--muted); margin: 0; }
.wholesale-banner { background: var(--blush); text-align: center; }
.collection-section { padding-bottom: 90px; }
.collection-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pill { text-decoration: none; font-size: .65rem; }
.pagination [aria-current=page] { background: var(--forest); color: var(--cream); }
.contact-grid { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 64px; }
label { display: grid; gap: 7px; }
.quantity-label { max-width: 110px; }
.purchase-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product-lead, .order-note { color: var(--muted); }
.order-note, .form-note, .gallery-note { font-size: .78rem; margin: 18px 0; }
.gallery #main-product-image { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; background: var(--cream-deep); }
.gallery-note { display: flex; justify-content: space-between; gap: 10px; }
.product-info { position: static; }
.product-info > details { border-top: 1px solid var(--line); padding: 16px 0; }
.product-info > details summary { cursor: pointer; font-weight: 750; margin-bottom: 12px; }
.product-description p, .product-description li { font-size: .9rem; line-height: 1.7; }
.product-help-links { display: flex; flex-wrap: wrap; gap: 14px; font-size: .78rem; margin: 25px 0; }
.product-next { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 24px; font-size: .8rem; }
.product-reading > a { display: block; margin: 12px 0; }
.image-unavailable { height: 100%; min-height: 220px; display: grid; place-content: center; text-align: center; font-family: var(--serif); color: var(--muted); }
.image-unavailable.large { min-height: 500px; background: var(--cream-deep); }
.footer-grid > div > a { display: block; margin-bottom: 9px; }
.footer-grid > div > .wordmark { display: inline-flex; }
.footer-grid address { font-size: .85rem; font-style: normal; color: #d8dfd9; margin: 18px 0; }
.footer-bottom nav { display: flex; gap: 18px; }
.step > span { display: block; font-family: var(--serif); color: var(--rust); font-size: 2rem; margin-bottom: 18px; }
.article-cover { max-height: 680px; object-fit: contain; background: var(--cream-deep); }
.article-toc > a { display: block; font-size: .88rem; margin: 9px 0; }
.editorial-note { padding: 14px 18px; background: var(--cream-deep); color: var(--muted); font-size: .76rem !important; line-height: 1.6; }
.article-shopping { border-top: 1px solid var(--line); margin-top: 30px; }
.article-body section { scroll-margin-top: 140px; }
.form-note, .draft-label, .form-status { overflow-wrap: anywhere; }
.policy-content, .story-copy, .contact-card, .card-info, .product-info { overflow-wrap: anywhere; }
@media (max-width: 1100px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 16px; }
  .header-inner > .wordmark { justify-self: center; }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 6px; padding-left: 0; }
  .mobile-nav { display: grid; padding: 14px 24px; background: var(--cream); max-height: 75vh; overflow-y: auto; }
  .mobile-nav a, .mobile-nav summary { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); text-transform: uppercase; font-size: .78rem; font-weight: 750; text-decoration: none; }
  .mobile-nav details > a { padding-left: 16px; }
}
@media (max-width: 760px) {
  .section-heading { display: block; }
  .section-heading > .text-link { display: inline-block; margin: 10px 0 0; }
  .perks > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 8px; }
  .perks > div:last-child { border-bottom: 0; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { aspect-ratio: 1.3; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .header-inner > .bag-link svg { width: 16px; }
  .header-inner { min-height: 69px; }
  .bag-link { font-size: .64rem; gap: 5px !important; }
  .purchase-buttons { grid-template-columns: 1fr; }
  .bag-item-total { grid-row: auto; padding: 0; margin: 0; }
  .article-header, .article-body { width: 100%; }
  .article-cover { width: 100%; }
}

/* Real product banner: no gradient overlay; preserve the full photograph. */
.hero { min-height: 0; }
.hero-image { width: 100%; height: auto; min-height: 0; object-fit: contain; }
.hero-content { top: 7%; bottom: auto; left: 6%; }
.hero-content h1 { font-size: clamp(42px,5.2vw,78px); }
.hero-content > p { max-width: 430px; }
@media (max-width:760px) {
 .hero-content { top: 5%; left: 5%; right: 5%; }
 .hero-content .eyebrow { font-size: .52rem; margin-bottom: 8px; }
 .hero-content h1 { font-size: clamp(25px,6.5vw,45px); max-width: 13ch; margin-bottom: 7px; }
 .hero-content > p:not(.eyebrow) { font-size: .69rem; line-height: 1.4; margin-bottom: 10px; max-width: 240px; }
 .hero-content > p br { display: none; }
 .hero-content .button { min-height: 34px; font-size: .6rem; padding: 8px 12px; }
}

.collection-subheading { font-family: var(--sans); font-size: .77rem; letter-spacing: .1em; font-weight: 800; text-transform: uppercase; margin: 14px 0 20px; }

.hero-content, .hero-content h1, .hero-content .eyebrow { color: #17392d; }
.hero-content h1, .hero-content p, .hero-content .eyebrow { text-shadow: 0 1px 2px rgba(255,255,255,.9); }

/* Family scene hero: complete image, live text, no gradient overlay. */
.hero-content { top: 18%; left: 6%; right: auto; width: 40%; max-width: 580px; }
.hero-content h1 { font-size: clamp(36px,4.9vw,76px); margin-bottom: 18px; }
.hero-content > p:not(.eyebrow) { font-size: clamp(13px,1.2vw,18px); line-height: 1.55; margin-bottom: 26px; }
.hero-content .eyebrow { font-size: clamp(9px,.82vw,12px); margin-bottom: 18px; }
.hero-content h1, .hero-content p, .hero-content .eyebrow { text-shadow: none; }
.hero-mobile-copy { display: none; }
.hero-scene-note { padding: 7px 6%; font-size: .66rem; color: var(--muted); text-align: right; margin: 0; background: var(--cream); }
@media (max-width:1100px) and (min-width:761px) {
 .hero-content { top: 12%; }
 .hero-content h1 { margin-bottom: 12px; }
 .hero-content .eyebrow { margin-bottom: 12px; }
 .hero-content > p:not(.eyebrow) { margin-bottom: 16px; }
 .hero-content .button { min-height: 38px; font-size: .67rem; padding: 9px 13px; }
}
@media (max-width:760px) {
 .hero-content { top: 8%; left: 5%; right: auto; width: 42%; }
 .hero-content h1 { font-size: clamp(18px,4.6vw,34px); margin-bottom: 7px; }
 .hero-content .eyebrow { font-size: clamp(6px,1.45vw,10px); letter-spacing: .08em; margin-bottom: 6px; }
 .hero-content > p:not(.eyebrow) { font-size: clamp(9px,2.3vw,13px); line-height: 1.35; margin-bottom: 8px; }
 .hero-desktop-copy { display: none; }
 .hero-mobile-copy { display: inline; }
 .hero-mobile-copy br { display: inline !important; }
 .hero-content .button { min-height: 26px; font-size: clamp(7px,1.7vw,10px); padding: 7px 8px; letter-spacing: .02em; }
 .hero-scene-note { font-size: .55rem; text-align: left; }
}
@media (prefers-reduced-motion:reduce) {
 .nav-dropdown summary::after, .mobile-nav details > summary::after { transition: none; }
}

/* Social destinations use recognizable icons with accessible link labels. */
.social-icon, .site-footer .social-icon {
 display: inline-flex;
 width: 44px;
 height: 44px;
 align-items: center;
 justify-content: center;
 border: 1px solid currentColor;
 border-radius: 50%;
 text-decoration: none;
 color: var(--forest);
 vertical-align: middle;
 transition: background-color 160ms ease, color 160ms ease;
}
.social-icon svg { flex: 0 0 auto; }
.social-icon:hover { color: var(--cream); background: var(--forest); }
.site-footer .social-icon { color: var(--cream); margin-top: 6px; }
.site-footer .social-icon:hover { color: var(--forest); background: var(--cream); }
.social-icon--inline { margin-inline: 4px; }
@media (prefers-reduced-motion:reduce) { .social-icon { transition: none; } }

/* Fixed payment-brand set: original local SVGs stay sharp on every screen. */
.footer-bottom { align-items: center; }
.footer-payment { margin-left: auto; justify-self: end; text-align: right; }
.payment-icons { display: flex; justify-content: flex-end; align-items: center; gap: 10px; flex-wrap: nowrap; }
.payment-icons img { display: block; width: 56px; height: 36px; object-fit: contain; border-radius: 4px; }
@media (max-width:760px) {
 .footer-bottom { grid-template-columns: minmax(0,1fr); }
 .payment-icons { gap: 8px; }
 .payment-icons img { width: 48px; height: 31px; }
}

/* Restrained, consistent heading scale across every page template. */
main h1, .page-intro h1, .product-info h1, .article-header h1, .policy-content h1, .hero-content h1 {
 font-size: clamp(22px,1.9vw,28px);
 line-height: 1.28;
 letter-spacing: -.025em;
 margin-bottom: 14px;
}
main h2, .article-body h2, .policy-content h2, .story-copy h2, .wholesale-banner h2, .contact-card h2, .step h2, .bag-summary h2, .order-summary h2 {
 font-size: clamp(20px,1.5vw,23px);
 line-height: 1.32;
 letter-spacing: -.015em;
}
main h3, .contact-card h3, .step h3, .category-caption h3, .journal-card h3 {
 font-size: 18px;
 line-height: 1.35;
 letter-spacing: -.01em;
}
.product-card .card-info h3 { font-size: 16.5px; }
.journal-card .card-info h3 { font-size: 18px; }
.article-body h3 { font-size: 18px; }
.category-caption h3 { font-size: 18px; }
.page-intro p:not(.eyebrow), .article-header > p:not(.eyebrow):not(.article-meta) { font-size: 16px; }
.product-info > .price, .product-info .price { font-size: 18px; }
.hero-content h1 { max-width: none; font-size: clamp(23px,2vw,29px); margin-bottom: 12px; }
.hero-content > p:not(.eyebrow) { font-size: 16px; margin-bottom: 20px; line-height: 1.5; }
.hero-content .eyebrow { margin-bottom: 12px; }
.hero-content .button { min-height: 40px; font-size: .7rem; padding: 10px 16px; }

/* New editable boutique lockup, paired with a simple puppy emblem. */
.brand-logo { display: inline-flex; align-items: center; gap: 10px; width: max-content; max-width: 100%; color: var(--forest); text-decoration: none; }
.brand-symbol { display: block; width: 44px; height: 44px; flex: 0 0 44px; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; gap: 4px; }
.brand-overline { font-family: var(--sans); font-size: 8px; line-height: 1; font-weight: 650; letter-spacing: .22em; }
.brand-lettering { font-family: "Trebuchet MS",var(--sans); font-size: 23px; font-weight: 750; font-style: normal; letter-spacing: -.065em; line-height: 1; white-space: nowrap; }
.header-inner > .brand-logo { justify-self: start; }
.footer-brand .brand-logo { color: var(--cream); margin-bottom: 20px; }
.footer-brand .brand-symbol { filter: brightness(0) invert(1); opacity: .94; }
@media (max-width:1100px) {
 .header-inner > .brand-logo { justify-self: center; }
 .brand-symbol { width: 34px; height: 34px; flex-basis: 34px; }
 .brand-lettering { font-size: 20px; }
}
@media (max-width:760px) {
 .hero-content h1 { font-size: clamp(16px,3.7vw,21px); margin-bottom: 6px; }
 .hero-content > p:not(.eyebrow) { font-size: clamp(9px,2.2vw,13px); margin-bottom: 8px; }
 .hero-content .eyebrow { margin-bottom: 5px; }
 .hero-content .button { min-height: 26px; font-size: clamp(7px,1.7vw,10px); padding: 7px 8px; }
 .brand-logo { gap: 7px; }
 .brand-symbol { width: 30px; height: 30px; flex-basis: 30px; }
 .brand-lettering { font-size: 17px; }
 .brand-overline { font-size: 6.5px; }
 .brand-name { gap: 3px; }
 .footer-brand .brand-symbol { width: 38px; height: 38px; flex-basis: 38px; }
 .footer-brand .brand-lettering { font-size: 22px; }
}

/* Native image fallback keeps catalog photos readable to simple importers. */
.catalog-picture { display: contents; }
.variant-matrix p { font-size: .8rem; color: var(--muted); }
.variant-scroll { max-width: 100%; overflow-x: auto; }
.variant-matrix table { width: 100%; border-collapse: collapse; font-size: .76rem; line-height: 1.45; }
.variant-matrix caption { padding: 0 0 10px; color: var(--muted); text-align: left; }
.variant-matrix th, .variant-matrix td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.variant-matrix th { font-weight: 700; }
.variant-matrix td:last-child { white-space: nowrap; }
