/* Paw Dazzle — editorial pet boutique */
:root {
  --cream: #ffffff;
  --paper: #ffffff;
  --ink: #103b59;
  --ink-soft: #4d6b80;
  --teal: #00699f;
  --aqua: #00b7c7;
  --pale-blue: #f2f6f8;
  --navigation-blue: #caf8f6;
  --mint: var(--pale-blue);
  --mint-deep: #91dce5;
  --line: #c9e4ef;
  --line-dark: #8dbed2;
  --warm: #ffffff;
  --danger: #9b3527;
  --shadow: 0 16px 42px rgba(16, 59, 89, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading-one: clamp(1.375rem, 1.6vw, 1.5rem);
  --heading-two: clamp(1.25rem, 1.45vw, 1.375rem);
  --heading-three: 1.125rem;
}

* { box-sizing: border-box; }

html {
  color: var(--ink);
  background: var(--cream);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
select,
textarea { font: inherit; }

button,
select { cursor: pointer; }

button:disabled { cursor: not-allowed; opacity: 0.62; }

a {
  color: inherit;
  text-decoration-color: rgba(0, 105, 159, 0.56);
  text-underline-offset: 0.17em;
  text-decoration-thickness: 1px;
}

a:hover { color: var(--teal); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

::selection { background: var(--mint); color: var(--ink); }

h1,
h2,
h3,
h4,
p { margin-top: 0; }

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

h1 { font-size: var(--heading-one); }
h2 { font-size: var(--heading-two); }
h3 { font-size: var(--heading-three); }
h4 { font-size: 1.0625rem; }

ul,
ol { padding-left: 1.2rem; }

hr {
  height: 1px;
  border: 0;
  background: var(--line);
}

.container {
  width: min(100% - 48px, 1400px);
  margin-inline: auto;
}

.section { padding-block: clamp(3.75rem, 7vw, 7.4rem); }
.section--tight { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.section--paper { background: var(--cream); }
.section--mint { background: var(--mint); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(1.8rem, 3.5vw, 3.3rem);
}

.section-heading > div > *:last-child { margin-bottom: 0; }
.section-heading h2 { max-width: 65ch; margin-bottom: 0.25rem; }
.section-heading p { max-width: 55ch; color: var(--ink-soft); }
.section-heading > a { flex: none; font-weight: 650; }

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--teal);
  font-size: 0.71rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
}

.subtle { color: var(--ink-soft); }
.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;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -4rem;
  padding: 0.72rem 1rem;
  color: var(--paper);
  background: var(--ink);
}
.skip-link:focus { top: 1rem; }

/* Site-wide utility bands */
.announcement {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 0.7rem;
  padding: 0.55rem 1rem;
  color: var(--ink);
  background: var(--navigation-blue);
  border-bottom: 1px solid var(--aqua);
  font-size: 0.76rem;
  font-weight: 680;
  text-align: center;
}
.announcement a { color: var(--ink); font-weight: 780; }

/* Header */
.site-header {
  position: relative;
  z-index: 30;
  background: var(--navigation-blue);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) auto minmax(12rem, 1fr);
  align-items: center;
  width: min(100% - 48px, 1400px);
  min-height: 88px;
  margin-inline: auto;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none;
}

.brand:hover { color: var(--ink); }
.brand img { width: 64px; height: 64px; max-width: 64px; object-fit: contain; object-position: left center; }
.brand .wordmark { white-space: nowrap; }

#main-nav {
  display: flex;
  grid-column: 2;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 1.7vw, 1.7rem);
}

#main-nav a {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

#main-nav a:hover,
#main-nav a[aria-current="page"] { color: var(--teal); }

.bag-link {
  display: inline-flex;
  grid-column: 3;
  justify-self: end;
  align-items: baseline;
  gap: 0.38rem;
  color: var(--ink);
  font-size: 0.79rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.bag-link [data-bag-count] {
  display: inline-grid;
  min-width: 1.45rem;
  min-height: 1.45rem;
  place-items: center;
  padding: 0.08rem 0.25rem;
  color: var(--ink);
  background: var(--mint);
  border: 1px solid var(--mint-deep);
  border-radius: 999px;
  font-size: 0.68rem;
}

#menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 0;
}

#menu-toggle .menu-icon,
#menu-toggle::before,
#menu-toggle::after {
  display: block;
  width: 17px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}
#menu-toggle::before { transform: translateY(-5px); }
#menu-toggle::after { transform: translateY(4px); }
#menu-toggle[aria-expanded="true"] .menu-icon { opacity: 0; }
#menu-toggle[aria-expanded="true"]::before { transform: translateY(1px) rotate(45deg); }
#menu-toggle[aria-expanded="true"]::after { transform: translateY(-1px) rotate(-45deg); }

/* Buttons and fields */
.button,
button.button,
input[type="submit"].button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.22rem;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.button:hover,
button.button:hover,
input[type="submit"].button:hover {
  color: var(--paper);
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-1px);
}

.button.secondary,
button.button.secondary {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--ink);
}
.button.secondary:hover,
button.button.secondary:hover {
  color: var(--ink);
  background: var(--mint);
  border-color: var(--teal);
}

.button.text-button,
.text-button {
  min-height: auto;
  padding: 0;
  color: var(--teal);
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.button.text-button:hover,
.text-button:hover { color: var(--ink); background: none; transform: none; }

input[type="text"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="url"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.68rem 0.76rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-dark);
  border-radius: 0;
  box-shadow: none;
}

textarea { min-height: 138px; resize: vertical; }
input::placeholder,
textarea::placeholder { color: #67829b; opacity: 1; }

/* Hero: a seamless full-width scene with a small, complete pet subject. */
.hero {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  min-height: 400px;
  overflow: hidden;
  background: #e9e0d4;
}

.hero .hero-image,
.hero > img.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  object-fit: cover;
  object-position: center;
  background: #e9e0d4;
}

.hero-copy {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: max(24px, calc((100vw - 1400px) / 2 + 24px));
  width: min(39%, 410px);
  max-width: calc(100% - 48px);
  padding: 0;
  background: transparent;
  border: 0;
  transform: translateY(-50%);
}

.hero-picture { position: absolute; inset: 0; display: block; }

.hero-copy .eyebrow { margin-bottom: 0.7rem; font-size: 0.71rem; }
.hero-copy h1 { max-width: 28ch; margin-bottom: 0.85rem; font-size: var(--heading-one); }
.hero-copy p { max-width: 36ch; margin-bottom: 1.2rem; color: var(--ink-soft); font-size: 1rem; }
.hero-copy .button { background: var(--ink); }
.hero-caption {
  position: absolute;
  z-index: 1;
  left: max(24px, calc((100vw - 1400px) / 2 + 24px));
  bottom: 20px;
  max-width: calc(100% - 48px);
  padding: 0.42rem 0.65rem;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--mint-deep);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 650;
  text-decoration: none;
}
.hero-caption:hover { color: var(--ink); background: var(--mint); }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.trust-strip a {
  display: block;
  padding: 1rem 1.25rem;
  color: var(--ink);
  border-right: 1px solid var(--line);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.065em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.trust-strip a:last-child { border-right: 0; }
.trust-strip a:hover { color: var(--teal); background: var(--mint); }

/* Product and collection surfaces */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.product-card:hover { border-color: var(--line-dark); box-shadow: var(--shadow); transform: translateY(-3px); }

.product-image {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--warm);
  border-bottom: 1px solid var(--line);
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(12px, 2vw, 26px);
  transition: transform 250ms ease;
}
.product-card:hover .product-image img { transform: none; }

.product-info { display: flex; min-height: 142px; flex: 1; flex-direction: column; align-items: flex-start; padding: 1rem 1rem 1.18rem; }
.product-info .category { margin-bottom: 0.4rem; color: var(--teal); font-size: 0.69rem; font-weight: 750; letter-spacing: 0.11em; text-transform: uppercase; }
.product-info .product-title { margin: 0 0 0.65rem; color: var(--ink); font-family: var(--serif); font-size: 1.0625rem; font-weight: 400; letter-spacing: -0.025em; line-height: 1.14; }
.product-info .product-title a { color: inherit; text-decoration: none; }
.product-info .product-title a:hover { color: var(--teal); }
.price { margin-top: auto; color: var(--ink); font-size: 0.9rem; font-weight: 720; }
.price .price-note { margin-left: 0.18rem; color: var(--ink-soft); font-size: 0.74rem; font-weight: 500; }

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.7rem);
}

.collection-card {
  position: relative;
  display: block;
  min-height: 385px;
  overflow: hidden;
  color: var(--ink);
  background: var(--mint);
  border: 1px solid var(--line);
  text-decoration: none;
}
.collection-card > img,
.collection-card .collection-image { position: absolute; top: 0; width: 100%; height: calc(100% - 120px); padding: 18px; object-fit: contain; background: var(--paper); }
.collection-card .collection-label {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.1rem 1.2rem;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--serif);
  font-size: 1.125rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.collection-card:hover { color: var(--teal); }
.collection-card:hover > img,
.collection-card:hover .collection-image { transform: none; }
.collection-card > img,
.collection-card .collection-image { transition: transform 250ms ease; }

/* Content split and feature media */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 7vw, 9rem);
  align-items: center;
}
.split > * { min-width: 0; }
.split--reverse > :first-child { order: 2; }
.split--reverse > :last-child { order: 1; }
.split-copy { max-width: 40rem; }
.split-copy h2 { margin-bottom: 1rem; }
.split-copy p { color: var(--ink-soft); }
.split-copy .button { margin-top: 0.7rem; }
.feature-photo { display: block; width: 100%; max-width: 520px; justify-self: center; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.feature-photo img { display: block; width: 100%; height: auto; min-height: 0; padding: clamp(14px, 2vw, 28px); object-fit: contain; }

.wholesale-banner {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem clamp(1.5rem, 4vw, 3rem);
  margin-block: clamp(2rem, 5vw, 5rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--mint);
  border: 1px solid var(--aqua);
}
.wholesale-editorial { display: block; width: 100%; height: auto; max-width: 240px; min-width: 0; aspect-ratio: 1; grid-row: 1 / span 2; object-fit: contain; border: 1px solid var(--mint-deep); }
.wholesale-banner > div { min-width: 0; max-width: 47rem; }
.wholesale-banner h2 { margin-bottom: 0.7rem; }
.wholesale-banner p:last-child { margin-bottom: 0; color: var(--ink-soft); }
.wholesale-banner .button { grid-column: 2; justify-self: start; min-width: 0; max-width: 100%; }

/* Page headers, listing controls */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  padding-top: 1.6rem;
  color: var(--ink-soft);
  font-size: 0.76rem;
}
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--teal); }
.breadcrumbs span[aria-hidden="true"] { color: var(--line-dark); }

.page-heading { padding-block: clamp(2.2rem, 5vw, 5.1rem) clamp(1.8rem, 3vw, 3.4rem); border-bottom: 1px solid var(--line); }
.page-heading .eyebrow { margin-bottom: 0.65rem; }
.page-heading h1 { max-width: 65ch; margin-bottom: 0.9rem; }
.page-heading p { max-width: 59ch; margin-bottom: 0; color: var(--ink-soft); font-size: 1.06rem; }

.filter-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--line);
}
.filter-bar > * { min-width: 0; }
.filter-bar label { display: block; margin-bottom: 0.38rem; color: var(--ink-soft); font-size: 0.71rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.search-input { position: relative; width: min(100%, 29rem); }
.search-input input { padding-right: 2.4rem; }
.search-input::after { position: absolute; right: 0.9rem; bottom: 0.8rem; width: 0.6rem; height: 0.6rem; border: 1.5px solid var(--ink-soft); border-radius: 50%; content: ""; pointer-events: none; }
.search-input::before { position: absolute; z-index: 1; right: 0.75rem; bottom: 0.68rem; width: 0.42rem; height: 1.5px; background: var(--ink-soft); content: ""; pointer-events: none; transform: rotate(45deg); transform-origin: left center; }
.filter-bar select { min-width: 11.25rem; }

.collection-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}
.collection-links a {
  padding: 0.46rem 0.68rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.73rem;
  font-weight: 720;
  letter-spacing: 0.035em;
  text-decoration: none;
}
.collection-links a:hover,
.collection-links a[aria-current="page"] { color: var(--ink); background: var(--mint); border-color: var(--teal); }

.pagination { display: flex; align-items: center; justify-content: center; gap: 0.38rem; margin-top: 3rem; }
.pagination a,
.pagination span { display: grid; width: 2.55rem; height: 2.55rem; place-items: center; border: 1px solid var(--line); font-size: 0.84rem; font-weight: 650; text-decoration: none; }
.pagination a:hover,
.pagination [aria-current="page"] { color: var(--ink); background: var(--mint); border-color: var(--teal); }

/* Product detail */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
  gap: clamp(2rem, 5vw, 7rem);
  padding-block: clamp(2rem, 4vw, 4.8rem) clamp(4rem, 7vw, 7.5rem);
}

.product-gallery { min-width: 0; }
.gallery-main { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--warm); border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; padding: clamp(16px, 2vw, 30px); object-fit: contain; }
#gallery-counter { display: block; margin-top: 0.65rem; color: var(--ink-soft); font-size: 0.74rem; text-align: right; }
.gallery-thumbs { display: flex; gap: 0.72rem; margin-top: 0.72rem; overflow-x: auto; padding-bottom: 0.25rem; scrollbar-color: var(--line-dark) transparent; }
.gallery-thumbs a { display: block; flex: 0 0 78px; overflow: hidden; background: var(--warm); border: 1px solid transparent; }
.gallery-thumbs a[aria-current="true"],
.gallery-thumbs a[data-gallery-current] { border-color: var(--teal); }
.gallery-thumbs img { width: 76px; height: 76px; object-fit: contain; }

.product-summary { min-width: 0; align-self: start; }
.product-summary h1 { max-width: 40ch; margin-bottom: 0.85rem; font-size: var(--heading-one); }
.product-full-title { max-width: 42rem; margin: -0.25rem 0 1rem; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; }
.product-summary > .price,
.product-summary #product-price { display: block; margin: 0 0 1.3rem; font-family: var(--serif); font-size: 1.125rem; font-weight: 400; letter-spacing: -0.025em; }
.product-summary .description { margin: 1.2rem 0 1.7rem; color: var(--ink-soft); }
.product-summary .pill { margin-bottom: 0.9rem; }

#product-form { padding-top: 1.5rem; border-top: 1px solid var(--line); }
#product-form .form-field { margin-bottom: 1.05rem; }
#product-form label { display: block; margin-bottom: 0.43rem; color: var(--ink); font-size: 0.75rem; font-weight: 730; letter-spacing: 0.07em; text-transform: uppercase; }
#product-form input[name="quantity"] { width: 7rem; }
#product-form .form-actions { display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin-top: 1.4rem; }
#product-form .button { width: 100%; }
.product-form-notice { margin: 0.75rem 0 0; color: var(--ink-soft); font-size: 0.82rem; }
.product-actions { display: flex; flex-wrap: wrap; gap: 0.72rem; margin-top: 1.25rem; }
.product-actions .button { flex: 1 1 12rem; }

.product-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.7fr); gap: clamp(2rem, 7vw, 9rem); padding-block: clamp(3rem, 6vw, 6rem); border-top: 1px solid var(--line); }
.description { max-width: 44rem; }
.description h2 { margin-top: 2.2rem; }
.description p,
.description li { color: var(--ink-soft); }
.description h2:first-child { margin-top: 0; }
.specs { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.specs th,
.specs td { padding: 0.85rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs th { width: 42%; padding-right: 1rem; color: var(--ink); font-weight: 700; }
.specs td { color: var(--ink-soft); }
.notice { padding: 1rem 1.1rem; color: var(--ink); background: var(--mint); border-left: 3px solid var(--teal); font-size: 0.9rem; }
.notice p:last-child { margin-bottom: 0; }

.pill { display: inline-flex; align-items: center; min-height: 1.7rem; padding: 0.16rem 0.55rem; color: var(--ink); background: var(--mint); border: 1px solid var(--mint-deep); border-radius: 999px; font-size: 0.68rem; font-weight: 750; letter-spacing: 0.085em; line-height: 1.2; text-transform: uppercase; }

/* Forms, contact, and information */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; }
.form-field { min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: 0.46rem; color: var(--ink); font-size: 0.76rem; font-weight: 720; letter-spacing: 0.06em; text-transform: uppercase; }
.form-field small { display: block; margin-top: 0.34rem; color: var(--ink-soft); font-size: 0.77rem; }
.form-field .required { color: var(--teal); }
.email-status { min-height: 1.4rem; margin: 1rem 0 0; color: var(--ink-soft); font-size: 0.9rem; }
.email-status.is-success { color: var(--teal); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.step { min-height: 206px; padding: 1.5rem; background: var(--paper); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step-number { display: block; margin-bottom: 2.4rem; color: var(--teal); font-size: 0.72rem; font-weight: 750; letter-spacing: 0.1em; }
.step h3 { margin-bottom: 0.68rem; font-size: 1.125rem; }
.step p { margin-bottom: 0; color: var(--ink-soft); font-size: 0.91rem; }

.contact-card { padding: clamp(1.3rem, 3vw, 2.2rem); background: var(--paper); border: 1px solid var(--line); }
.contact-card h2,
.contact-card h3 { margin-bottom: 0.65rem; }
.contact-card p { color: var(--ink-soft); }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card a { font-weight: 680; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 1.12rem 2.2rem 1.12rem 0; color: var(--ink); cursor: pointer; font-family: var(--serif); font-size: 1.0625rem; letter-spacing: -0.02em; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; top: 1.15rem; right: 0.2rem; color: var(--teal); content: "+"; font-family: var(--sans); font-size: 1.2rem; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { max-width: 48rem; padding: 0 1.8rem 1.3rem 0; color: var(--ink-soft); }

.disclosure { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.83rem; }

/* Journal */
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.9rem); }
.article-card { display: flex; min-width: 0; flex-direction: column; background: var(--paper); border: 1px solid var(--line); }
.article-card > a:first-child { display: block; aspect-ratio: 1.35 / 1; overflow: hidden; background: var(--mint); }
.article-card > a:first-child img { width: 100%; height: 100%; padding: 16px; object-fit: contain; transition: transform 250ms ease; }
.article-card:hover > a:first-child img { transform: none; }
.article-card-content { display: flex; flex: 1; flex-direction: column; padding: 1.1rem 1.15rem 1.3rem; }
.article-card time,
.article-card .article-meta { margin-bottom: 0.58rem; color: var(--teal); font-size: 0.68rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.article-card h2,
.article-card h3 { margin-bottom: 0.72rem; font-size: 1.0625rem; }
.article-card h2 a,
.article-card h3 a { color: var(--ink); text-decoration: none; }
.article-card h2 a:hover,
.article-card h3 a:hover { color: var(--teal); }
.article-card p { margin-bottom: 0; color: var(--ink-soft); font-size: 0.9rem; }
.article-card .read-more { margin-top: auto; padding-top: 1.1rem; color: var(--teal); font-size: 0.76rem; font-weight: 750; letter-spacing: 0.075em; text-decoration: none; text-transform: uppercase; }

.article-hero { width: 100%; max-height: 680px; overflow: hidden; background: var(--mint); border-bottom: 1px solid var(--line); }
.article-hero img { width: 100%; max-height: 580px; object-fit: contain; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.35fr); gap: clamp(2rem, 8vw, 10rem); padding-block: clamp(3rem, 7vw, 7rem); }
.article-content { max-width: 44rem; font-size: 1.05rem; }
.article-content > p { margin-bottom: 1.45rem; color: #244f6c; }
.article-content > h2 { margin: 2.1rem 0 0.85rem; font-size: var(--heading-two); }
.article-content > ul,
.article-content > ol { margin: 0 0 1.5rem; }
.article-content li { margin-bottom: 0.55rem; color: #244f6c; }
.article-content a { color: var(--teal); }
.article-aside { align-self: start; padding: 1.2rem; background: var(--paper); border: 1px solid var(--line); }
.article-aside h2,
.article-aside h3 { margin-bottom: 0.7rem; font-size: 1.125rem; }
.article-aside ul { margin: 0; padding-left: 1rem; }
.article-aside li { margin-bottom: 0.5rem; font-size: 0.9rem; }
.related-links { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.related-links ul { columns: 2; padding-left: 1rem; }
.related-links li { break-inside: avoid; margin-bottom: 0.65rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; margin: -0.15rem 0 0.8rem; color: var(--teal); font-size: 0.72rem; font-weight: 730; letter-spacing: 0.065em; text-transform: uppercase; }
.edition-note { max-width: 62ch; margin-bottom: 1.4rem; font-size: 0.82rem; line-height: 1.5; }

/* Bag */
.bag-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.37fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; padding-block: clamp(2.6rem, 5vw, 5rem) clamp(4rem, 8vw, 8rem); }
#bag-items { border-top: 1px solid var(--line); }
.bag-item { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 1rem; align-items: start; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.bag-item-image { display: block; width: 112px; height: 112px; overflow: hidden; background: var(--warm); }
.bag-item-image img { width: 100%; height: 100%; object-fit: contain; }
.bag-item-details { min-width: 0; }
.bag-item-details h2,
.bag-item-details h3 { margin: 0 0 0.35rem; font-size: 1.0625rem; }
.bag-item-details h2 a,
.bag-item-details h3 a { color: var(--ink); text-decoration: none; }
.bag-item-options { margin: 0 0 0.6rem; color: var(--ink-soft); font-size: 0.85rem; }
.bag-item-personalization { margin: -0.15rem 0 0.65rem; color: var(--ink-soft); font-size: 0.82rem; }
.bag-item-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem; }
.bag-item-controls label { color: var(--ink-soft); font-size: 0.75rem; }
.bag-item-controls input { width: 4.5rem; min-height: 38px; padding: 0.35rem; }
.bag-item-remove { padding: 0; color: var(--ink-soft); background: transparent; border: 0; border-bottom: 1px solid currentColor; font-size: 0.74rem; font-weight: 720; letter-spacing: 0.07em; text-transform: uppercase; }
.bag-item-remove:hover { color: var(--danger); }
.bag-item-price { white-space: nowrap; font-weight: 750; }

#bag-summary { padding: 1.45rem; background: var(--paper); border: 1px solid var(--line); }
#bag-summary h2 { margin-bottom: 1.2rem; font-size: 1.25rem; }
.summary-line { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.68rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.summary-line strong { color: var(--ink); }
.summary-total { color: var(--ink); font-size: 1.05rem; font-weight: 760; }
#bag-summary .button { width: 100%; margin-top: 1.25rem; }
#clear-bag { display: block; margin: 0.95rem auto 0; }
.empty-state { padding: clamp(2rem, 6vw, 5rem); text-align: center; background: var(--paper); border: 1px solid var(--line); }
.empty-state h2 { margin-bottom: 0.7rem; }
.empty-state p { max-width: 32rem; margin-inline: auto; color: var(--ink-soft); }

/* Feedback and footer */
.toast {
  position: fixed;
  z-index: 80;
  right: 1.25rem;
  bottom: 1.25rem;
  width: min(calc(100% - 2.5rem), 24rem);
  padding: 1rem 1.1rem;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--teal);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  transform: translateY(1rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.toast.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.toast a { color: var(--mint); font-weight: 700; }
.toast button { float: right; padding: 0 0 0.2rem 0.6rem; color: var(--paper); background: transparent; border: 0; font-size: 1.2rem; line-height: 1; }

.site-footer { color: var(--paper); background: var(--ink); border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.55fr repeat(3, 1fr); gap: 2rem; padding-block: 3.4rem 2.5rem; }
.site-footer .brand { color: var(--paper); }
.site-footer .brand img { filter: none; }
.footer-intro { max-width: 24rem; margin-top: 1rem; color: #b9d6e6; font-size: 0.9rem; }
.site-footer h2,
.site-footer h3 { margin-bottom: 0.78rem; color: #e7f7ff; font-family: var(--sans); font-size: 1.0625rem; font-weight: 650; letter-spacing: 0; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: #ddecf4; font-size: 0.9rem; text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; border-top: 1px solid rgba(145, 220, 229, 0.35); color: #a6c7d9; font-size: 0.77rem; }
.footer-bottom p { margin: 0; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 0.35rem 0.85rem; }
.footer-bottom > div a { font-size: inherit; }

[data-email-form] input[name="company_website"] { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
[hidden] { display: none !important; }

@media (max-width: 1050px) {
  .header-inner { grid-template-columns: 1fr auto 1fr; gap: 0.9rem; }
  #main-nav { gap: 0.8rem; }
  #main-nav a { font-size: 0.71rem; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-layout { grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.75fr); gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
}

@media (max-width: 780px) {
  body.menu-open { overflow: hidden; }
  .container { width: min(100% - 32px, 1400px); }
  .header-inner { position: relative; grid-template-columns: 1fr auto auto; min-height: 74px; width: min(100% - 32px, 1400px); gap: 0.65rem; }
  .brand { font-size: 1.08rem; }
  .brand img { width: 54px; height: 54px; max-width: 54px; }
  #menu-toggle { display: inline-flex; grid-column: 2; }
  .bag-link { grid-column: 3; font-size: 0; }
  .bag-link [data-bag-count] { min-width: 1.72rem; min-height: 1.72rem; font-size: 0.72rem; }
  #main-nav { position: absolute; top: calc(100% + 1px); right: -16px; left: -16px; display: none; grid-column: auto; align-items: stretch; padding: 1.1rem 16px 1.3rem; background: var(--navigation-blue); border-bottom: 1px solid var(--line); box-shadow: 0 16px 25px rgba(16, 59, 89, 0.11); }
  #main-nav.is-open { display: grid; }
  #main-nav a { display: block; padding: 0.78rem 0; font-size: 0.78rem; border-bottom: 1px solid var(--line); }
  #main-nav a:last-child { border-bottom: 0; }

  .section { padding-block: 3.75rem; }
  .section-heading { display: block; margin-bottom: 1.8rem; }
  .section-heading h2 { max-width: 100%; }
  .section-heading > a { display: inline-block; margin-top: 1.05rem; }
  .hero { height: auto; aspect-ratio: 3 / 4; min-height: 610px; }
  .hero .hero-image,
  .hero > img.hero-image { height: 100%; min-height: 0; padding: 0; object-fit: cover; object-position: center; }
  .hero-copy { top: 26px; right: auto; bottom: auto; left: 20px; width: calc(100% - 40px); max-width: 38ch; padding: 0; transform: none; }
  .hero-copy h1 { max-width: 32ch; font-size: 1.375rem; }
  .hero-copy p { margin-bottom: 1rem; font-size: 1rem; }
  .hero-caption { left: 20px; bottom: 14px; max-width: calc(100% - 40px); }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip a { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip a:last-child { border-bottom: 0; }
  .wholesale-banner { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 1.35rem; }
  .wholesale-editorial { width: min(100%, 240px); height: auto; grid-row: auto; }
  .wholesale-banner .button { grid-column: 1; margin-top: 0; }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
  .product-info { min-height: 132px; padding: 0.8rem; }
  .product-info .product-title { font-size: 1.0625rem; }
  .product-info .category { font-size: 0.62rem; }
  .collection-grid,
  .journal-grid { grid-template-columns: 1fr; }
  .collection-card { min-height: 320px; }
  .split,
  .split--reverse { grid-template-columns: 1fr; gap: 1.65rem; }
  .split--reverse > :first-child,
  .split--reverse > :last-child { order: initial; }
  .feature-photo img { min-height: 0; height: auto; }

  .page-heading { padding-block: 2.4rem 2rem; }
  .page-heading h1 { max-width: 100%; }
  .filter-bar { display: grid; align-items: start; }
  .filter-bar select { min-width: 0; }
  .search-input { width: 100%; }
  .filter-bar > div:last-child { width: 100%; }

  .product-layout { grid-template-columns: 1fr; gap: 1.8rem; padding-block: 1.6rem 4rem; }
  .gallery-thumbs a { flex-basis: 66px; }
  .gallery-thumbs img { width: 64px; height: 64px; }
  .product-summary h1 { max-width: 100%; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step-number { margin-bottom: 1rem; }

  .article-layout { grid-template-columns: 1fr; gap: 2rem; }
  .article-aside { order: 2; }
  .related-links ul { columns: 1; }
  .article-content { font-size: 1rem; }
  .article-hero img { min-height: 280px; object-position: center; }

  .bag-layout { grid-template-columns: 1fr; gap: 1.35rem; }
  .bag-item { grid-template-columns: 88px minmax(0, 1fr); gap: 0.75rem; }
  .bag-item-image { width: 88px; height: 88px; }
  .bag-item-price { grid-column: 2; grid-row: 2; }
  .bag-item-controls { grid-column: 2; }
  #bag-summary { order: -1; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.2rem; padding-block: 2.5rem 2rem; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .container { width: min(100% - 28px, 1400px); }
  .header-inner { width: min(100% - 28px, 1400px); }
  .brand .wordmark { display: none; }
  .brand img { max-width: 120px; }
  .product-grid { gap: 0.62rem; }
  .product-info { min-height: 125px; padding: 0.72rem; }
  .product-info .product-title { font-size: 1.0625rem; }
  .product-info .category { letter-spacing: 0.075em; }
  .price { font-size: 0.8rem; }
  .button { width: 100%; }
  .hero-copy { top: 24px; left: 18px; width: calc(100% - 36px); padding: 0; }
  .hero-copy .button { width: auto; }
  .gallery-main { margin-inline: -1px; }
  .bag-item { grid-template-columns: 72px minmax(0, 1fr); }
  .bag-item-image { width: 72px; height: 72px; }
  .bag-item-details h2,
  .bag-item-details h3 { font-size: 1.0625rem; }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: 0.35rem; }
  .toast { right: 0.75rem; bottom: 0.75rem; width: calc(100% - 1.5rem); }
}

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

/* Final photo framing, navigation rhythm, and collection labels. */
.brand > span { display: block; font-family: Georgia, serif; font-size: 1.4rem; line-height: 1.15; }
.brand > span > small { display: block; margin-top: .25rem; font-family: system-ui, sans-serif; font-size: .57rem; font-weight: 400; letter-spacing: .025em; }
.site-header { position: sticky; top: 0; }
.header-inner { grid-template-columns: auto 1fr auto; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li { display: flex; gap: .45rem; }
.breadcrumbs li:not(:last-child)::after { content: '/'; color: var(--line-dark); }
.collection-card > div { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.15rem; background: var(--cream); border-top: 1px solid var(--line); }
.collection-card > div h3 { font-size: 1.0625rem; margin: 0 0 .4rem; }
.collection-card > div span { font-size: .76rem; }
@media (min-width: 1200px) { .collection-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .collection-card { min-height: 320px; } }
@media (max-width: 700px) {
  .brand > span { font-size: 1.3rem; }
  .brand > span > small { font-size: .51rem; }
}

/* Header utility icons: scalable artwork and comfortable touch targets. */
.header-actions { display: flex; grid-column: 3; align-items: center; justify-self: end; gap: 8px; min-width: 0; }
.search-link, .header-actions .bag-link { display: inline-flex; position: relative; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; color: var(--ink); text-decoration: none; border-radius: 50%; }
.search-link:hover, .header-actions .bag-link:hover { background: rgba(255, 255, 255, .5); }
.search-link img, .header-actions .bag-link img { width: 24px; height: 24px; flex: none; }
.header-actions .bag-link [data-bag-count] { position: absolute; top: 0; right: -3px; min-width: 19px; min-height: 19px; padding: 0 3px; font-size: 10px; background: var(--paper); }
#catalog-search { scroll-margin-top: 120px; }
@media (max-width: 780px) {
  .header-inner { grid-template-columns: 1fr auto auto; }
  #menu-toggle { justify-self: end; }
  .header-actions { gap: 4px; }
}

/* Footer navigation groups: one clearly separated link per row. */
.footer-grid > * { min-width: 0; }
.site-footer .footer-brand { display: inline-block; margin-bottom: 1rem; font-family: var(--serif); font-size: 1.3rem; }
.footer-intro { margin-top: 0; }
.footer-intro p { margin-bottom: 1.4rem; }
.footer-nav ul { display: grid; gap: .35rem; }
.footer-nav li { margin: 0; }
.footer-nav li a { display: block; width: fit-content; max-width: 100%; min-height: 32px; padding-block: .3rem; line-height: 1.45; overflow-wrap: anywhere; }
.footer-nav h2 { margin-bottom: 1rem; }
.footer-address { margin-top: 1.4rem; font-style: normal; font-size: .85rem; line-height: 1.65; color: #b9d6e6; }
.footer-address a { display: block; margin-top: .65rem; padding-block: .3rem; overflow-wrap: anywhere; }
@media (max-width: 780px) {
  .footer-grid { column-gap: 1.6rem; row-gap: 2.5rem; }
  .footer-nav:last-child { grid-column: 1 / -1; }
  .footer-nav li a { min-height: 36px; }
  .footer-bottom { flex-wrap: wrap; row-gap: 1rem; }
  .footer-bottom > div { gap: .6rem 1.2rem; }
}
