:root {
  --ink: #17211b;
  --muted: #627267;
  --line: #d9e2da;
  --paper: #fbfcf8;
  --field: #ffffff;
  --leaf: #2f6d3d;
  --leaf-dark: #214f2e;
  --gold: #b8822f;
  --sky: #d9ecf2;
  --rose: #ede1dd;
  --shadow: 0 18px 45px rgba(35, 57, 41, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-padding-top: 96px;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body:not(.is-chat-ready) iframe[src*="tawk.to"],
body:not(.is-chat-ready) iframe[title*="chat" i] {
  display: none !important;
}

button,
input,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.utility-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 8px clamp(18px, 4vw, 48px);
  background: var(--leaf-dark);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 252, 248, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: block;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  max-width: 54px;
  max-height: 54px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: auto;
}

.top-nav a {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
  letter-spacing: 0.02em;
}

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

.quote-button,
.chat-nav-button,
.inquiry-nav-button,
.auth-nav-button,
.logout-nav-button,
.primary-action,
.secondary-action,
.contact-form button,
.customer-form button,
.chat-details-form button,
.sku-actions button {
  border: 0;
  border-radius: 6px;
  background: var(--leaf);
  color: #fff;
  cursor: pointer;
  font-weight: 750;
}

.quote-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 46px;
  padding: 10px 12px;
}

.chat-nav-button {
  padding: 12px 14px;
  background: var(--gold);
}

.inquiry-nav-button {
  padding: 12px 14px;
  background: var(--leaf-dark);
}

.auth-nav-button {
  padding: 12px 14px;
  background: #fff;
  color: var(--leaf-dark);
  border: 1px solid var(--line);
}

.logout-nav-button {
  display: none;
  margin-left: 14px;
  padding: 12px 14px;
  border: 1px solid #d7b6b2;
  background: #fff;
  color: #a63830;
}

body.is-logged-in .logout-nav-button {
  display: inline-flex;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
}

.secondary-action {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--leaf-dark);
}

.quote-button #quoteCount {
  display: grid;
  place-items: center;
  position: absolute;
  top: 5px;
  right: 5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 0.7rem;
  line-height: 1;
}

.cart-icon {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body:not(.is-logged-in) .chat-nav-button,
body:not(.is-logged-in) .inquiry-nav-button,
body:not(.is-logged-in) .logout-nav-button,
body:not(.is-logged-in) .secondary-action,
body:not(.is-logged-in) .cart-inquiry-submit {
  display: none;
}

.eyebrow,
.breadcrumb,
.sku-path {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 6vw, 5.7rem);
  line-height: 0.95;
}

.nursery-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
  min-height: clamp(240px, 32svh, 300px);
  background: #edf4ed;
}

.hero-copy {
  display: grid;
  align-content: center;
  padding: clamp(18px, 3vw, 32px) clamp(18px, 4vw, 42px);
}

.hero-copy h1 {
  max-width: 560px;
  margin-bottom: 10px;
  font-size: clamp(1.65rem, 2.65vw, 2.75rem);
  line-height: 1.08;
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.hero-media {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 240px;
  padding: 18px;
  background-color: #dbe7d9;
  background-position: center;
  background-size: cover;
}

.hero-media span {
  width: fit-content;
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--leaf-dark);
  font-weight: 900;
}

.category-showcase {
  display: grid;
  gap: 20px;
  padding: clamp(30px, 5vw, 64px) clamp(18px, 4vw, 48px);
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.category-card {
  display: grid;
  align-content: end;
  min-height: 230px;
  border: 0;
  border-radius: 8px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(47, 109, 61, 0.2), rgba(33, 79, 46, 0.82));
  background-position: center;
  background-size: cover;
  color: #fff;
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow);
}

.category-card span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.category-card strong {
  margin-top: 5px;
  font-size: 1.5rem;
}

.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 48px) 0;
}

.catalog-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.share-status {
  min-height: 22px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.share-view-button {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  background: #fff;
  color: var(--leaf-dark);
  cursor: pointer;
  font-weight: 850;
}

.toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.search-field {
  display: grid;
  gap: 8px;
  width: min(560px, 100%);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.search-field input,
.contact-form input,
.contact-form textarea,
.customer-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--field);
  color: var(--ink);
  outline: 0;
}

.search-field input {
  height: 46px;
  padding: 0 14px;
}

.search-field input:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.customer-form input:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(47, 109, 61, 0.15);
}

.metrics {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
}

.metrics span,
.result-count {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--paper);
}

.shop-controls,
.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.shop-controls {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.shop-controls label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.shop-controls select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 34px 0 10px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 750;
}

.product-range {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.pagination-controls {
  margin-top: 22px;
  justify-content: center;
}

.pagination-controls button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  background: #fff;
  color: var(--leaf-dark);
  cursor: pointer;
  font-weight: 850;
}

.pagination-controls button:disabled {
  cursor: default;
  opacity: 0.45;
}

.pagination-controls span {
  color: var(--muted);
  font-weight: 850;
}

.catalog-shell {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 0;
  min-height: 760px;
}

.catalog-menu {
  border-right: 1px solid var(--line);
  background: #f4f7f1;
}

.menu-heading {
  position: sticky;
  top: 72px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: #f4f7f1;
  font-weight: 850;
}

.menu-heading button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  background: #fff;
  color: var(--leaf-dark);
  cursor: pointer;
  font-weight: 800;
}

.tree-menu {
  display: grid;
  gap: 2px;
  padding: 12px;
}

.tree-item {
  display: grid;
  gap: 2px;
}

.tree-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  min-height: 38px;
}

.tree-children {
  display: grid;
  gap: 2px;
}

.tree-children[hidden] {
  display: none;
}

.tree-toggle,
.tree-toggle-spacer {
  width: 28px;
  height: 28px;
}

.tree-toggle {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.tree-toggle:hover {
  background: #fff;
  color: var(--leaf-dark);
}

.tree-toggle[aria-expanded="true"] {
  color: var(--leaf-dark);
  transform: rotate(90deg);
}

.tree-node {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.tree-node span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tree-node small {
  color: var(--muted);
  font-weight: 750;
}

.tree-node[data-level="1"] {
  padding-left: 0;
  font-weight: 850;
}

.tree-node[data-level="2"] {
  padding-left: 16px;
}

.tree-node[data-level="3"] {
  padding-left: 32px;
}

.tree-node[data-level="4"] {
  padding-left: 48px;
}

.tree-node:hover,
.tree-node.is-active {
  background: #fff;
  box-shadow: inset 3px 0 0 var(--leaf);
}

.catalog-results {
  padding: clamp(18px, 3vw, 36px);
}

.results-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}

.results-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.folder-description {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

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

.sku-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(35, 57, 41, 0.08);
}

.image-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: #e7ede5;
}

.photo-popout-trigger {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.primary-image,
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.primary-image.sold-out-image {
  object-fit: contain;
  padding: 18px;
}

.gallery-controls {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.gallery-button,
.gallery-count {
  min-height: 34px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(23, 33, 27, 0.78);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.gallery-button {
  min-width: 58px;
  padding: 0 10px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
  pointer-events: auto;
}

.gallery-button:disabled {
  cursor: default;
  opacity: 0.45;
}

.gallery-count {
  display: grid;
  place-items: center;
  padding: 0 10px;
  font-size: 0.82rem;
  font-weight: 850;
}

.sku-body {
  padding: 16px;
}

.sku-body h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
}

.sku-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.sku-meta span {
  min-width: 0;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
  min-height: 58px;
}

.thumb {
  overflow: hidden;
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 0;
  background: #eef3ed;
  cursor: pointer;
}

.thumb.is-selected {
  border-color: var(--leaf);
}

.photo-dialog {
  width: min(1120px, calc(100vw - 28px));
  max-height: calc(100svh - 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(23, 33, 27, 0.3);
}

.photo-dialog::backdrop {
  background: rgba(23, 33, 27, 0.6);
}

.photo-viewer {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.photo-viewer-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.photo-viewer-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.photo-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--leaf-dark);
  cursor: pointer;
  font-weight: 850;
}

.photo-viewer-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 14px;
}

.photo-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: auto;
  touch-action: none;
  user-select: none;
  min-height: min(62svh, 620px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101711;
}

.photo-zoom-selection {
  position: absolute;
  z-index: 2;
  border: 2px solid #fff;
  border-radius: 4px;
  background: rgba(184, 130, 47, 0.22);
  box-shadow: 0 0 0 1px rgba(23, 33, 27, 0.52), 0 8px 24px rgba(0, 0, 0, 0.24);
  pointer-events: none;
}

.photo-stage img {
  display: block;
  max-width: 100%;
  max-height: 70svh;
  object-fit: contain;
  transform-origin: center;
  transition: transform 160ms ease;
  -webkit-user-drag: none;
  user-select: none;
}

.photo-stage:not(.is-pannable) img {
  cursor: crosshair;
}

.photo-stage.is-pannable img {
  cursor: grab;
}

.photo-stage.is-panning img {
  cursor: grabbing;
  transition: none;
}

.photo-stage.is-selecting img {
  cursor: crosshair;
}

.photo-stage img.sold-out-image {
  width: min(520px, 100%);
  padding: 24px;
  background: #fff;
}

.photo-tools {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.photo-tools button,
.photo-tools span {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 11px;
  background: #fff;
  color: var(--leaf-dark);
  font-weight: 850;
}

.photo-tools button {
  cursor: pointer;
}

.photo-tools button:disabled {
  cursor: default;
  opacity: 0.45;
}

.photo-tools span {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.photo-strip {
  grid-row: 1;
  grid-column: 2;
  display: grid;
  align-content: start;
  gap: 10px;
  max-height: min(62svh, 620px);
  overflow: auto;
  padding-right: 4px;
}

.photo-strip-item {
  overflow: hidden;
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  background: #eef3ed;
  cursor: pointer;
}

.photo-strip-item.is-selected {
  border-color: var(--gold);
}

.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sku-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.sku-actions button {
  min-height: 40px;
}

.sku-actions .secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--leaf-dark);
}

.sku-actions .is-selected {
  background: var(--gold);
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 16px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 28px 18px;
  color: #b83a30;
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 3.8rem);
  font-weight: 950;
}

.empty-state img {
  width: min(520px, 100%);
  border-radius: 8px;
}

.contact-band,
.customer-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 64px) clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.about-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 28px;
  align-items: start;
  padding: clamp(34px, 5vw, 64px) clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  background: #f4f7f1;
}

.booking-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1.28fr);
  gap: 28px;
  align-items: start;
  padding: clamp(34px, 5vw, 64px) clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.about-band h2,
.booking-band h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
}

.about-band p,
.booking-band p {
  max-width: 780px;
  color: var(--muted);
  line-height: 1.6;
}

.booking-hours {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: var(--leaf-dark);
  font-weight: 850;
}

.booking-hours span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--paper);
}

.booking-panel {
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.booking-setup {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.booking-setup strong {
  color: var(--leaf-dark);
  font-size: 1.2rem;
}

.booking-setup code {
  word-break: break-word;
}

.booking-widget {
  min-height: 720px;
}

.booking-open-link {
  display: block;
  border-top: 1px solid var(--line);
  padding: 12px 14px;
  background: #fff;
  color: var(--leaf-dark);
  font-weight: 850;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-grid article {
  display: grid;
  gap: 8px;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.service-grid strong {
  color: var(--leaf-dark);
  font-size: 1.04rem;
}

.service-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.contact-band,
.customer-band {
  align-items: start;
  background: #fff;
}

.customer-band {
  background: #f7faf5;
}

.contact-band > div,
.customer-band > div {
  max-width: 520px;
}

.contact-copy {
  color: var(--muted);
  line-height: 1.6;
}

.contact-form,
.customer-form {
  display: grid;
  gap: 12px;
  width: min(520px, 100%);
}

.tracking-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.tracking-note code {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
  background: #fff;
  color: var(--leaf-dark);
}

.inquiry-items {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--paper);
}

.inquiry-items-heading,
.inquiry-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.inquiry-item {
  flex-wrap: wrap;
}

.inquiry-items-heading button,
.inquiry-item button {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--leaf-dark);
  cursor: pointer;
  font-weight: 800;
}

.inquiry-items-heading button {
  padding: 6px 10px;
}

.inquiry-list {
  display: none;
  gap: 8px;
}

.inquiry-items.has-items .inquiry-list {
  display: grid;
}

.inquiry-items.has-items .inquiry-total {
  display: flex;
}

.inquiry-items.has-items .empty-inquiry {
  display: none;
}

.empty-inquiry {
  margin: 0;
  color: var(--muted);
}

.inquiry-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: #fff;
}

.inquiry-item span {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1 1 auto;
}

.inquiry-item strong,
.inquiry-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inquiry-item small {
  color: var(--muted);
  font-weight: 750;
}

.inquiry-item button {
  flex: 0 0 auto;
  padding: 7px 9px;
  font-size: 0.82rem;
}

.cart-quantity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.cart-quantity span {
  display: grid;
  place-items: center;
  min-width: 24px;
  font-weight: 850;
}

.cart-quantity button {
  width: 30px;
  height: 30px;
  padding: 0;
}

.inquiry-total {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--ink);
  font-weight: 850;
}

.inquiry-total strong {
  color: var(--leaf-dark);
}

.contact-form label,
.customer-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 750;
}

.customer-form label span {
  color: var(--gold);
  font-size: 0.82rem;
}

.form-status,
.customer-status {
  min-height: 22px;
  margin: 0;
  color: var(--leaf-dark);
  font-size: 0.92rem;
  font-weight: 750;
}

.contact-form input,
.contact-form textarea,
.customer-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: var(--field);
  color: var(--ink);
  outline: 0;
}

.contact-form input:focus,
.contact-form textarea:focus,
.customer-form input:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(47, 109, 61, 0.15);
}

.contact-form button,
.customer-form button {
  min-height: 44px;
}

.cart-pdf-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cart-pdf-actions button:first-child {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--leaf-dark);
}

.chat-details-dialog {
  width: min(440px, calc(100vw - 28px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(23, 33, 27, 0.24);
}

.auth-dialog {
  width: min(460px, calc(100vw - 28px));
  max-height: calc(100svh - 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(23, 33, 27, 0.24);
}

.auth-dialog::backdrop {
  background: rgba(23, 33, 27, 0.38);
}

.auth-form {
  display: grid;
  gap: 13px;
  max-height: calc(100svh - 28px);
  overflow: auto;
  padding: 18px;
}

.auth-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.auth-heading h2 {
  margin: 0;
  font-size: 1.45rem;
}

.auth-close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--leaf-dark);
  cursor: pointer;
  font-weight: 850;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.auth-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 850;
}

.auth-tabs button.is-active {
  background: var(--leaf);
  color: #fff;
}

.auth-text-button {
  justify-self: start;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--leaf-dark);
  cursor: pointer;
  font-weight: 850;
  text-decoration: underline;
}

.auth-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 750;
}

.auth-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: var(--field);
  color: var(--ink);
  outline: 0;
}

.auth-form input:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(47, 109, 61, 0.15);
}

.password-rule {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.auth-status {
  min-height: 20px;
  margin: 0;
  color: var(--leaf-dark);
  font-size: 0.9rem;
  font-weight: 750;
}

.auth-form > button[type="submit"] {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--leaf);
  color: #fff;
  cursor: pointer;
  font-weight: 850;
}

.chat-details-dialog::backdrop {
  background: rgba(23, 33, 27, 0.38);
}

.chat-details-form {
  display: grid;
  gap: 13px;
  padding: 18px;
}

.chat-details-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.chat-details-heading h2 {
  margin: 0;
  font-size: 1.45rem;
}

.chat-details-close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--leaf-dark);
}

.chat-details-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 750;
}

.chat-details-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: var(--field);
  color: var(--ink);
  outline: 0;
}

.chat-details-form input:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(47, 109, 61, 0.15);
}

.chat-details-status {
  min-height: 20px;
  margin: 0;
  color: var(--leaf-dark);
  font-size: 0.9rem;
  font-weight: 750;
}

.chat-details-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.chat-details-form > button[type="submit"],
.chat-details-actions button {
  min-height: 44px;
}

.chat-details-actions .chat-details-cancel {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--leaf-dark);
}

@media (max-width: 900px) {
  .site-header {
    gap: 12px;
    padding: 10px 16px;
  }

  .brand {
    flex: 1 1 calc(100% - 76px);
  }

  .top-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 8px;
  }

  .top-nav a {
    flex: 1 1 auto;
    min-width: 72px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 10px;
    background: #fff;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 850;
  }

  .auth-nav-button,
  .chat-nav-button,
  .inquiry-nav-button,
  .logout-nav-button {
    min-height: 42px;
    padding: 10px 12px;
  }

  .logout-nav-button {
    margin-left: 0;
  }

  .nursery-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding: 24px 18px;
  }

  .hero-copy h1 {
    font-size: clamp(1.75rem, 5vw, 2.55rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-media {
    min-height: 260px;
  }

  .category-showcase,
  .catalog-heading,
  .toolbar,
  .booking-band,
  .about-band,
  .customer-band,
  .contact-band {
    padding-right: 18px;
    padding-left: 18px;
  }

  .catalog-heading,
  .toolbar,
  .section-heading,
  .booking-band,
  .customer-band,
  .contact-band {
    display: grid;
    align-items: stretch;
  }

  .share-view-button {
    width: 100%;
  }

  .metrics {
    width: 100%;
  }

  .metrics span {
    flex: 1 1 140px;
    text-align: center;
  }

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

  .catalog-shell {
    grid-template-columns: 1fr;
  }

  .catalog-menu {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .menu-heading {
    position: static;
  }

  .tree-menu {
    max-height: 42svh;
    overflow: auto;
  }

  .results-heading {
    display: grid;
  }

  .shop-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-range {
    grid-column: 1 / -1;
    margin-left: 0;
  }

  .contact-band > div,
  .customer-band > div,
  .booking-band > div,
  .contact-form,
  .customer-form {
    max-width: none;
    width: 100%;
  }

  .booking-panel,
  .booking-widget {
    min-height: 620px;
  }

  .photo-viewer-body {
    grid-template-columns: 1fr;
  }

  .photo-stage {
    min-height: min(56svh, 520px);
  }

  .photo-strip {
    grid-row: auto;
    grid-column: 1;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    max-height: 180px;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 142px;
  }

  h1 {
    font-size: 2.25rem;
  }

  .utility-bar {
    display: none;
  }

  .site-header {
    position: static;
    gap: 10px;
    padding: 10px 12px;
  }

  .brand {
    flex-basis: 100%;
  }

  .brand-logo {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    max-width: 46px;
    max-height: 46px;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .top-nav {
    order: 2;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }

  .top-nav a {
    min-width: 0;
    padding: 8px 4px;
    font-size: 0.68rem;
  }

  .auth-nav-button,
  .quote-button {
    flex: 1 1 calc(50% - 6px);
  }

  .chat-nav-button,
  .inquiry-nav-button,
  .logout-nav-button {
    flex: 1 1 calc(33.333% - 8px);
  }

  body:not(.is-logged-in) .chat-nav-button,
  body:not(.is-logged-in) .inquiry-nav-button,
  body:not(.is-logged-in) .logout-nav-button {
    display: none;
  }

  .auth-nav-button,
  .chat-nav-button,
  .inquiry-nav-button,
  .logout-nav-button,
  .quote-button {
    justify-content: center;
    min-height: 42px;
    padding: 9px 10px;
    font-size: 0.84rem;
  }

  .hero-copy {
    padding: 22px 14px;
  }

  .hero-copy h1 {
    font-size: 1.85rem;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 0.92rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 190px;
    padding: 12px;
  }

  .category-showcase,
  .catalog-heading,
  .toolbar,
  .catalog-results,
  .booking-band,
  .about-band,
  .customer-band,
  .contact-band {
    padding-right: 12px;
    padding-left: 12px;
  }

  .section-heading {
    gap: 6px;
  }

  .section-heading h2,
  .catalog-heading h1,
  .booking-band h2,
  .about-band h2,
  .results-heading h2 {
    font-size: 1.65rem;
    line-height: 1.1;
  }

  .category-cards {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 170px;
  }

  .toolbar {
    gap: 14px;
  }

  .search-field,
  .metrics {
    width: 100%;
  }

  .metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .catalog-shell {
    min-height: 0;
  }

  .menu-heading {
    padding: 12px;
  }

  .tree-menu {
    max-height: 34svh;
    padding: 8px;
  }

  .tree-row {
    min-height: 42px;
  }

  .tree-node {
    min-height: 42px;
    font-size: 0.92rem;
  }

  .tree-node[data-level="2"] {
    padding-left: 10px;
  }

  .tree-node[data-level="3"] {
    padding-left: 18px;
  }

  .tree-node[data-level="4"] {
    padding-left: 26px;
  }

  .shop-controls {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .shop-controls label {
    justify-content: space-between;
  }

  .shop-controls select {
    min-width: 170px;
  }

  .result-count {
    width: fit-content;
  }

  .results-heading {
    display: grid;
  }

  .pagination-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pagination-controls span {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
  }

  .pagination-controls button {
    min-height: 42px;
  }

  .sku-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sku-meta {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .sku-actions,
  .cart-pdf-actions,
  .chat-details-actions {
    grid-template-columns: 1fr;
  }

  .inquiry-item strong,
  .inquiry-item small {
    white-space: normal;
  }

  .cart-quantity {
    width: 100%;
    justify-content: space-between;
  }

  .photo-dialog,
  .auth-dialog,
  .chat-details-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100svh - 16px);
  }

  .photo-viewer,
  .auth-form,
  .chat-details-form {
    padding: 12px;
  }

  .photo-viewer-heading h2,
  .auth-heading h2,
  .chat-details-heading h2 {
    font-size: 1.2rem;
  }

  .photo-stage {
    min-height: 48svh;
  }

  .photo-stage img {
    max-height: 58svh;
  }

  .photo-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-tools span {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .photo-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: 150px;
  }

  .contact-form textarea {
    min-height: 118px;
  }

  .tracking-note code {
    word-break: break-word;
  }

  .booking-panel,
  .booking-widget {
    min-height: 560px;
  }
}
