:root {
  --bg: #eef3f1;
  --surface: #ffffff;
  --surface-muted: #f4f7f5;
  --surface-strong: #e4efe9;
  --text: #153028;
  --muted: #5e736c;
  --brand: #1f6b57;
  --brand-strong: #164c40;
  --brand-soft: #dcece5;
  --accent: #b47c3c;
  --accent-soft: #f5eadb;
  --danger: #a73d3d;
  --ok: #1c6a43;
  --line: #cfdad5;
  --line-strong: #aebdb7;
  --shadow-sm: 0 8px 18px rgba(17, 48, 40, 0.07);
  --shadow-md: 0 18px 40px rgba(17, 48, 40, 0.12);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(223, 239, 233, 0.95), transparent 34%),
    linear-gradient(180deg, #f7faf9 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: var(--brand-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: min(var(--container), 92vw);
  margin: 0 auto;
}

.main-content {
  padding: 2rem 0 4rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 250, 249, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(207, 218, 213, 0.9);
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.header-motto {
  margin: 0;
  justify-self: center;
  font-weight: 700;
  color: var(--brand-strong);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
}

.nav a.active {
  color: var(--brand-strong);
}

.header-collections {
  border-top: 1px solid rgba(207, 218, 213, 0.8);
  background: rgba(255, 255, 255, 0.72);
}

.header-collections-row {
  display: flex;
  gap: 0.65rem;
  padding: 0.65rem 0 0.8rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.header-collection-link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: rgba(255, 255, 255, 0.85);
  color: var(--brand-strong);
  font-weight: 700;
  font-size: 0.92rem;
}

.header-collection-link:hover {
  background: var(--brand-soft);
  text-decoration: none;
}

.header-collection-link.active {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  color: #fff;
}

.header-collection-link.is-secondary {
  background: var(--surface-muted);
  color: var(--muted);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.5rem;
  padding: 2.2rem;
  margin-bottom: 1.8rem;
  border: 1px solid rgba(207, 218, 213, 0.95);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(220, 236, 229, 0.92), rgba(255, 255, 255, 0.98)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
  box-shadow: var(--shadow-md);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -45% auto;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 124, 60, 0.13), transparent 70%);
  pointer-events: none;
}

.homepage-hero,
.shop-hero {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  align-items: stretch;
}

.landing-hero {
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
}

.landing-logo-wrap {
  text-align: center;
}

.landing-logo {
  width: min(360px, 75vw);
  height: auto;
}

.hero h1 {
  margin: 0.25rem 0 0.8rem;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-copy {
  max-width: 42rem;
  font-size: 1.12rem;
  color: var(--text);
}

.hero-support {
  max-width: 40rem;
  color: var(--muted);
}

.hero-panel {
  position: relative;
  align-self: stretch;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shipping-inline {
  font-weight: 800;
  color: var(--brand-strong);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
  box-shadow: 0 10px 22px rgba(31, 107, 87, 0.2);
}

button:hover,
.button:hover {
  background: var(--brand-strong);
  text-decoration: none;
  transform: translateY(-1px);
}

button:focus-visible,
.button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.collection-chip:focus-visible,
.header-collection-link:focus-visible,
.problem-card:focus-visible {
  outline: 3px solid rgba(180, 124, 60, 0.28);
  outline-offset: 2px;
}

.button-secondary {
  background: #fff;
  color: var(--brand-strong);
  border-color: var(--line-strong);
  box-shadow: none;
}

.button-muted {
  background: #fff;
  color: var(--brand-strong);
  border-color: var(--line-strong);
  box-shadow: none;
}

.button-secondary:hover {
  background: var(--surface-muted);
}

.button-muted:hover {
  background: var(--surface-muted);
}

.button-ghost {
  background: transparent;
  color: var(--brand-strong);
  border-color: rgba(22, 76, 64, 0.2);
  box-shadow: none;
}

.button-ghost:hover {
  background: rgba(22, 76, 64, 0.07);
}

.button-danger,
button.danger {
  background: var(--danger);
  box-shadow: none;
}

.button-danger:hover,
button.danger:hover {
  background: #842f2f;
}

.card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(207, 218, 213, 0.95);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.surface-tint {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 245, 0.96));
}

.section-stack {
  margin: 2.15rem 0;
}

.section-shell {
  padding: 1.25rem;
  border-radius: 26px;
}

.section-shell-muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(244, 247, 245, 0.95));
  border: 1px solid rgba(207, 218, 213, 0.75);
}

.section-shell-accent {
  background: linear-gradient(180deg, rgba(245, 234, 219, 0.58), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(221, 200, 173, 0.85);
}

.section-shell-subdued {
  background: linear-gradient(180deg, rgba(241, 244, 243, 0.9), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(215, 223, 220, 0.9);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-heading h2 {
  margin: 0.12rem 0 0;
  font-size: clamp(1.55rem, 2vw, 2rem);
  letter-spacing: -0.03em;
}

.section-intro {
  margin: 0.35rem 0 0;
  max-width: 44rem;
  color: var(--muted);
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.collection-grid,
.bundle-grid,
.value-grid,
.problem-grid,
.product-grid {
  display: grid;
  gap: 1rem;
}

.collection-grid,
.bundle-grid,
.value-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.collection-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.problem-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.problem-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.collection-card,
.bundle-card,
.problem-card,
.product-card {
  height: 100%;
}

.collection-card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.collection-card-hero {
  min-height: 220px;
}

.collection-descriptor {
  margin: 0;
  font-weight: 700;
  color: var(--brand-strong);
}

.problem-card {
  display: grid;
  gap: 0.55rem;
  border-radius: var(--radius-md);
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.problem-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(180, 124, 60, 0.55);
  text-decoration: none;
}

.problem-card h3 {
  margin: 0;
}

.problem-link,
.card-link {
  color: var(--brand-strong);
  font-weight: 800;
}

.benefit-list,
.bundle-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.bundle-card {
  display: grid;
  gap: 0.75rem;
}

.bundle-price {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.product-card {
  display: grid;
  gap: 0.95rem;
  padding: 0.9rem;
}

.product-card-image {
  overflow: hidden;
  border-radius: 14px;
}

.card img,
.product-detail img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(207, 218, 213, 0.95);
  background: #f6f8f7;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.product-card:hover img {
  transform: scale(1.02);
}

.product-card-copy {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.product-card-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.product-card-copy h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.product-card-copy p {
  margin: 0;
}

.product-card-meta,
.product-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.product-card-actions {
  margin-top: 0.15rem;
}

.color-indicator {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 800;
}

.color-indicator-available {
  background: #e5f3ea;
  color: #0f6a3a;
}

.color-indicator-standard {
  background: #ecf1ee;
  color: var(--muted);
}

.color-indicator-unavailable {
  background: #fbe8e8;
  color: var(--danger);
}

.price {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
}

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

.success {
  color: var(--ok);
}

.small {
  font-size: 0.92rem;
}

pre {
  overflow-x: auto;
  white-space: pre-wrap;
  background: #f4f7fa;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem;
}

label,
.field-block {
  display: grid;
  gap: 0.38rem;
}

.field-block span,
label > span {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  background: #fff;
  color: var(--text);
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(31, 107, 87, 0.12);
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 0.8rem 0;
  padding: 0.8rem;
}

.field-label {
  margin: 0 0 0.45rem;
  font-weight: 800;
}

.flash {
  margin-top: 0.9rem;
  padding: 0.8rem 1rem;
  border-radius: 16px;
}

.flash-success {
  background: #e9f7ee;
  border: 1px solid #9dd0b0;
}

.flash-error {
  background: #fceaea;
  border: 1px solid #e6a9a9;
}

.shop-toolbar {
  margin: 1.3rem 0 1rem;
  padding: 1rem;
}

.toolbar-form {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(180px, 220px) auto;
  gap: 0.9rem;
  align-items: end;
}

.toolbar-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.field-grow {
  min-width: 0;
}

.collection-chip-row {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.4rem;
}

.collection-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  padding: 0.52rem 0.85rem;
  font-weight: 800;
}

.collection-chip.is-secondary {
  background: var(--surface-muted);
  color: var(--muted);
}

.collection-chip.active {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  color: #fff;
}

.product-detail,
.product-content-grid,
.product-detail-lower,
.checkout-grid,
.cart-layout {
  display: grid;
  gap: 1.2rem;
}

.product-detail {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
  align-items: start;
}

.product-image-card {
  padding: 0.8rem;
}

.product-main-card {
  padding: 1.35rem;
}

.product-main-card h1 {
  margin: 0.15rem 0 0.55rem;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  letter-spacing: -0.04em;
}

.product-summary {
  margin: 0 0 0.75rem;
  font-size: 1.06rem;
  color: var(--muted);
}

.product-inline-notes {
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem 0.95rem;
  border-radius: 16px;
  background: var(--surface-muted);
  border: 1px solid rgba(207, 218, 213, 0.85);
}

.product-purchase-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.field-compact {
  max-width: 180px;
}

.color-group {
  margin-bottom: 0.8rem;
}

.swatch-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.swatch-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.92);
}

.swatch-pill input {
  width: auto;
  margin: 0;
}

.swatch-pill.is-disabled {
  opacity: 0.5;
}

.swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(21, 48, 40, 0.15);
}

.product-content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-detail-lower {
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.85fr);
  margin-top: 1rem;
}

.product-meta {
  border-top: 1px dashed var(--line);
  margin-top: 1rem;
  padding-top: 0.8rem;
}

.trust-card h2 {
  margin-top: 0.2rem;
}

.custom-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.custom-cta-copy {
  max-width: 42rem;
}

.custom-cta-actions {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
}

.progress-card {
  margin-bottom: 1rem;
}

.progress-copy h2 {
  margin: 0 0 0.3rem;
}

.progress-track {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: #dbe6e1;
  overflow: hidden;
}

.progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--brand));
}

.stack {
  display: grid;
  gap: 0.9rem;
}

.cart-layout {
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  align-items: start;
}

.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.95fr) auto auto;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid rgba(207, 218, 213, 0.95);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 1rem;
}

.cart-row h3 {
  margin: 0.15rem 0 0.35rem;
}

.cart-update-form {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: end;
}

.cart-line-total {
  font-size: 1.06rem;
  font-weight: 800;
}

.order-summary {
  margin-top: 0;
  padding: 1.25rem;
}

.summary-lines {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
}

.summary-lines p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.summary-total {
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}

.checkout-grid {
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}

.checkout-form {
  border: 1px solid rgba(207, 218, 213, 0.95);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 1.1rem;
}

.inline-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.inline-form input {
  max-width: 220px;
}

.inline-form .color-field {
  max-width: 260px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.admin-toolbar .button,
.admin-toolbar button {
  white-space: nowrap;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.kpi-card {
  padding: 0.9rem 1rem;
}

.kpi-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kpi-value {
  margin: 0.22rem 0 0;
  font-size: 1.18rem;
  font-weight: 800;
}

.kpi-meta {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.admin-jump a {
  display: inline-block;
  padding: 0.38rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  text-decoration: none;
  font-weight: 700;
}

.admin-jump a.active {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  color: #fff;
}

.admin-panel {
  margin-bottom: 1rem;
  padding-top: 0.7rem;
}

.admin-panel summary {
  cursor: pointer;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.admin-panel[open] summary {
  margin-bottom: 0.95rem;
}

.admin-quick-form {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr)) auto auto;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.admin-quick-form input {
  min-width: 0;
}

.admin-quick-form label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.admin-quick-form label input {
  width: auto;
}

.ingestion-job-form {
  grid-template-columns: minmax(180px, 220px) minmax(90px, 110px) minmax(220px, 1fr) auto;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-actions {
  flex-wrap: nowrap;
}

.admin-actions .button,
.admin-actions button {
  white-space: nowrap;
  padding: 0.5rem 0.7rem;
  min-height: 38px;
  font-size: 0.86rem;
}

.admin-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.45rem;
}

.admin-checkbox-item {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  background: #f9fcfd;
}

.admin-checkbox-item input {
  width: auto;
  margin-top: 0.2rem;
}

.license-issues {
  max-width: 320px;
  color: var(--muted);
  font-size: 0.86rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

th,
td {
  text-align: left;
  padding: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: capitalize;
}

.status-pill-verified {
  background: #e5f3ea;
  color: #0f6a3a;
}

.status-pill-warning {
  background: #f8eddc;
  color: #8b5a18;
}

.status-pill-blocked {
  background: #fbe8e8;
  color: var(--danger);
}

.status-pill-draft {
  background: #ecf1ee;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid rgba(207, 218, 213, 0.95);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 245, 0.96));
  padding: 2.2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.footer-motto {
  font-weight: 800;
  color: var(--brand-strong);
}

@media (max-width: 980px) {
  .header-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand,
  .nav {
    justify-self: center;
    justify-content: center;
  }

  .header-motto {
    justify-self: center;
  }

  .homepage-hero,
  .shop-hero,
  .landing-hero,
  .product-detail,
  .product-content-grid,
  .product-detail-lower,
  .checkout-grid,
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .toolbar-form,
  .cart-update-form {
    grid-template-columns: 1fr;
  }

  .cart-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .main-content {
    padding-top: 1.2rem;
  }

  .hero {
    padding: 1.5rem;
  }

  .section-shell {
    padding: 1rem;
  }

  .section-heading,
  .product-card-meta,
  .product-card-actions,
  .custom-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-card-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    gap: 0.65rem;
  }

  .kpi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-toolbar form,
  .admin-toolbar .button,
  .admin-toolbar button {
    width: 100%;
  }

  .admin-quick-form {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .button,
  button {
    width: 100%;
  }

  .button-row,
  .toolbar-actions {
    width: 100%;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .header-collections-row {
    padding-bottom: 0.65rem;
  }
}
