:root {
  --ink: #20201d;
  --muted: #6f7468;
  --surface: #fffdf8;
  --paper: #ffffff;
  --sage: #667a55;
  --sage-dark: #425036;
  --coral: #b94f3f;
  --gold: #c99642;
  --mist: #eef4ec;
  --line: #e3ded5;
  --shadow: 0 18px 50px rgba(30, 32, 28, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.is-nav-open,
body.is-account-modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(32, 32, 29, 0.08);
  background: rgba(255, 253, 248, 0.92);
  padding: 12px max(20px, calc((100% - 1180px) / 2));
  backdrop-filter: blur(14px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--sage-dark);
  color: #fffef9;
  font-weight: 900;
}

.brand-link span {
  display: grid;
  gap: 1px;
}

.brand-link strong,
.site-footer span {
  font-size: 15px;
  font-weight: 800;
}

.brand-link small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.nav-account-button,
.nav-logout-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  padding: 10px 12px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.nav-account-button:hover,
.nav-account-button:focus-visible,
.nav-logout-button:hover,
.nav-logout-button:focus-visible {
  background: var(--mist);
  color: var(--sage-dark);
  outline: none;
}

.nav-account-button {
  border: 1px solid var(--sage-dark);
  background: var(--sage-dark);
  color: #fffef9;
}

.nav-account-button:hover,
.nav-account-button:focus-visible {
  background: var(--sage);
  border-color: var(--sage);
  color: #fffef9;
}

.nav-account-button svg {
  width: 16px;
  height: 16px;
}

.nav-logout-button {
  border: 1px solid var(--line);
  background: #fffef9;
}

.nav-logout-button svg {
  width: 16px;
  height: 16px;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.account-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: start center;
  overflow-y: auto;
  background: rgba(32, 32, 29, 0.42);
  padding: 88px 18px 24px;
}

.account-modal-backdrop[hidden] {
  display: none;
}

.account-modal {
  width: min(620px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 18px;
}

.account-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 4px;
  margin: 0 0 14px;
}

.account-mode-switch[hidden] {
  display: none;
}

.account-mode-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
  cursor: pointer;
}

.account-mode-button.is-active {
  background: var(--sage-dark);
  color: #fffef9;
}

.account-mode-button svg {
  width: 16px;
  height: 16px;
}

.mobile-nav-toggle {
  display: none;
}

.hero-section {
  position: relative;
  height: 86svh;
  min-height: 560px;
  max-height: 760px;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.94) 0%, rgba(255, 253, 248, 0.76) 34%, rgba(255, 253, 248, 0.08) 70%),
    linear-gradient(0deg, rgba(32, 32, 29, 0.28) 0%, rgba(32, 32, 29, 0) 42%);
}

.hero-content {
  width: min(1180px, calc(100% - 40px));
  height: 100%;
  display: grid;
  align-content: center;
  gap: 18px;
  margin: 0 auto;
  padding-bottom: 42px;
}

.hero-content > * {
  min-width: 0;
}

.eyebrow {
  margin: 0;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-content h1,
.section-heading h2,
.contact-band h2 {
  margin: 0;
  font-size: 52px;
  line-height: 1.02;
  font-weight: 900;
}

.hero-copy {
  max-width: min(540px, 100%);
  margin: 0;
  color: #45483f;
  font-size: 18px;
  font-weight: 600;
  overflow-wrap: break-word;
}

.hero-actions,
.form-actions,
.result-actions,
.panel-heading,
.product-actions,
.cart-row-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.primary-button,
.secondary-button,
.ghost-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 10px 15px;
  border: 1px solid transparent;
  font-weight: 850;
  white-space: nowrap;
}

.primary-button {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: #fffef9;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--sage);
  border-color: var(--sage);
  outline: none;
}

.secondary-button {
  background: var(--paper);
  border-color: var(--sage);
  color: var(--sage-dark);
}

.secondary-button:hover,
.secondary-button:focus-visible,
.ghost-button:hover,
.ghost-button:focus-visible {
  background: var(--mist);
  outline: none;
}

.ghost-button {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}

.full-button {
  width: 100%;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  border: 1px solid rgba(102, 122, 85, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 750;
}

.hero-facts strong {
  color: var(--sage-dark);
}

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

.service-band div {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--paper);
  color: var(--sage-dark);
  font-weight: 850;
  padding: 16px;
}

.page-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

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

.section-heading h2,
.contact-band h2 {
  font-size: 34px;
}

.text-link {
  color: var(--sage-dark);
  font-weight: 850;
}

.search-field {
  width: min(360px, 100%);
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 0 12px;
}

.search-field svg {
  width: 18px;
  color: var(--muted);
}

.search-field input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.category-filter {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  padding: 8px 12px;
  font-weight: 800;
}

.category-filter.is-active {
  border-color: var(--sage);
  background: var(--mist);
  color: var(--sage-dark);
}

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

.catalog-checkout-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: sticky;
  bottom: 14px;
  z-index: 8;
  border: 1px solid rgba(102, 122, 85, 0.28);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 14px 34px rgba(30, 32, 28, 0.14);
  margin-top: 18px;
  padding: 12px;
  backdrop-filter: blur(12px);
}

.catalog-checkout-bar[hidden] {
  display: none;
}

.catalog-checkout-bar div {
  display: grid;
  gap: 2px;
}

.catalog-checkout-bar span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.catalog-checkout-bar strong {
  color: var(--sage-dark);
  font-size: 18px;
  font-weight: 900;
}

.landing-closed {
  padding-top: 34px;
}

.landing-closed[hidden] {
  display: none;
}

.landing-closed-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(201, 150, 66, 0.32);
  border-radius: 8px;
  background: #fff9ec;
  padding: 18px;
  color: #7a4f12;
}

.landing-closed-card > svg {
  width: 34px;
  height: 34px;
}

.landing-closed-card h2,
.landing-closed-card p {
  margin: 0;
}

.landing-closed-card h2 {
  color: var(--ink);
  font-size: 28px;
  line-height: 1.12;
}

.landing-closed-card p:not(.eyebrow) {
  margin-top: 5px;
  color: #725421;
  font-weight: 700;
}

.landing-closed-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.landing-announcement {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  border: 1px solid rgba(201, 150, 66, 0.32);
  border-radius: 8px;
  background: #fff9ec;
  color: #60400f;
  margin: -2px 0 18px;
  padding: 14px;
}

.landing-announcement[hidden] {
  display: none;
}

.landing-announcement-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(201, 150, 66, 0.16);
  color: #7a4f12;
}

.landing-announcement-icon svg {
  width: 22px;
  height: 22px;
}

.landing-announcement-copy {
  min-width: 0;
}

.landing-announcement strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.28;
}

.landing-announcement p {
  margin: 4px 0 0;
  color: #725421;
  font-weight: 750;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.product-card,
.cart-panel,
.preorder-form,
.order-result {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(30, 32, 28, 0.07);
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: 14px;
}

.product-visual {
  width: 100%;
  aspect-ratio: var(--thumb-ratio, 4 / 3);
  min-height: 148px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--thumb-color);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--thumb-color) 76%, #fff), #ffffff),
    var(--thumb-color);
  color: var(--ink);
  overflow: hidden;
}

.product-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  max-width: none;
  max-height: none;
}

.product-badge {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--sage-dark);
  font-size: 22px;
  font-weight: 900;
}

.product-card h3 {
  margin: 0 0 5px;
  font-size: 18px;
}

.product-card p,
.empty-state p,
.order-result p,
.contact-band p {
  margin: 0;
  color: var(--muted);
}

.result-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.result-meta span {
  display: grid;
  gap: 2px;
  border-radius: 8px;
  background: #f7faf5;
  color: var(--muted);
  padding: 8px;
  font-size: 12px;
  font-weight: 750;
}

.result-meta strong {
  color: var(--ink);
  font-size: 14px;
}

.product-actions {
  justify-content: space-between;
}

.product-price {
  font-size: 18px;
  font-weight: 900;
  color: var(--sage-dark);
}

.catalog-stepper {
  display: grid;
  grid-template-columns: 34px 68px 34px;
  align-items: center;
  gap: 8px;
}

.catalog-qty-value {
  width: 68px;
}

.qty-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.order-section {
  padding-top: 36px;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: start;
}

.cart-panel,
.preorder-form,
.order-result {
  padding: 16px;
}

.panel-heading {
  justify-content: space-between;
  margin-bottom: 14px;
}

.panel-heading h3 {
  margin: 0;
  font-size: 21px;
}

.cart-items {
  display: grid;
  gap: 10px;
}

.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.cart-row strong,
.cart-row span {
  display: block;
}

.cart-row span {
  color: var(--muted);
  font-size: 12px;
}

.cart-row-actions {
  flex-wrap: nowrap;
}

.qty-button {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.qty-value {
  width: 44px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  font-weight: 850;
}

.cart-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 14px;
}

.cart-summary span {
  color: var(--muted);
  font-weight: 750;
}

.cart-summary strong {
  text-align: right;
  font-size: 18px;
}

.customer-account-form {
  margin: 0;
}

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

.field {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.field span {
  font-size: 13px;
}

.field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.payment-account-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 12px;
}

.payment-account-copy,
.payment-account-number {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.payment-account-detail span,
.payment-account-detail small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.payment-account-detail strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.payment-account-number {
  min-width: 130px;
}

.payment-account-copy-button {
  min-height: 40px;
  white-space: nowrap;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 12px;
  outline: none;
}

.field textarea {
  min-height: 104px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(102, 122, 85, 0.16);
}

.wide {
  grid-column: 1 / -1;
}

.check-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 850;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--sage-dark);
}

.check-copy {
  display: grid;
  gap: 2px;
}

.check-copy strong {
  color: var(--ink);
  font-size: 13px;
}

.check-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.form-actions {
  margin-top: 14px;
}

.account-status {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf5;
  padding: 12px;
}

.account-status[hidden] {
  display: none;
}

.account-status div {
  display: grid;
  gap: 2px;
}

.account-status strong {
  font-size: 15px;
}

.account-status span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.account-status svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.account-status.is-success {
  border-color: rgba(102, 122, 85, 0.28);
  background: #f7faf5;
  color: var(--sage-dark);
}

.account-status.is-warning {
  border-color: rgba(201, 150, 66, 0.34);
  background: #fff9ec;
  color: #7a4f12;
}

.account-status.is-danger {
  border-color: rgba(185, 79, 63, 0.34);
  background: #fff4f1;
  color: var(--coral);
}

.preorder-form.is-disabled {
  opacity: 0.7;
}

.payment-proof-preview {
  margin-top: -2px;
}

.payment-proof-preview[hidden] {
  display: none;
}

.payment-proof-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 10px;
}

.payment-proof-card img,
.payment-proof-placeholder {
  width: 72px;
  height: 54px;
  border-radius: 8px;
  background: var(--mist);
}

.payment-proof-card img {
  object-fit: cover;
}

.payment-proof-placeholder {
  display: grid;
  place-items: center;
  color: var(--sage-dark);
}

.payment-proof-placeholder svg {
  width: 22px;
  height: 22px;
}

.payment-proof-card strong,
.payment-proof-card span {
  display: block;
}

.payment-proof-card strong {
  overflow-wrap: anywhere;
}

.payment-proof-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 170px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 18px;
  text-align: center;
}

.empty-state svg {
  width: 32px;
  height: 32px;
  color: var(--sage);
  margin-bottom: 8px;
}

.empty-state h3 {
  margin: 0 0 4px;
  color: var(--ink);
}

.order-result {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  border-color: rgba(102, 122, 85, 0.35);
  background: #fbfff9;
}

.order-result[hidden] {
  display: none;
}

.order-result h3 {
  margin: 0 0 4px;
  font-size: 22px;
}

.result-actions {
  justify-content: flex-start;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--sage-dark);
  color: #fffef9;
  padding: 48px max(20px, calc((100% - 1180px) / 2));
}

.contact-band .eyebrow,
.contact-band p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.contact-meta span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fffef9;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 850;
}

.contact-meta span[hidden] {
  display: none;
}

.contact-band .primary-button {
  background: #fffef9;
  border-color: #fffef9;
  color: var(--sage-dark);
}

.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-band .secondary-button {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.74);
  color: #fffef9;
}

.contact-band .secondary-button:hover,
.contact-band .secondary-button:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.site-footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  padding: 18px max(20px, calc((100% - 1180px) / 2));
}

.site-footer a {
  color: var(--sage-dark);
  font-weight: 850;
}

.toast-host {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: grid;
  gap: 10px;
}

.toast {
  max-width: 320px;
  border-radius: 8px;
  background: var(--ink);
  color: #fffef9;
  padding: 11px 13px;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .mobile-nav-toggle {
    display: inline-grid;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
    padding: 8px;
  }

  body.is-nav-open .site-nav {
    display: grid;
  }

  .site-nav a,
  .nav-account-button,
  .nav-logout-button {
    width: 100%;
    padding: 12px;
  }

  .hero-section {
    height: 82svh;
    min-height: 520px;
    max-height: 640px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.96) 0%, rgba(255, 253, 248, 0.78) 48%, rgba(255, 253, 248, 0.16) 100%),
      linear-gradient(0deg, rgba(32, 32, 29, 0.3) 0%, rgba(32, 32, 29, 0) 44%);
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .service-band,
  .product-grid,
  .order-layout,
  .landing-closed-card {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .search-field {
    width: 100%;
  }

  .payment-proof-card {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .payment-proof-card img,
  .payment-proof-placeholder {
    width: 56px;
    height: 48px;
  }

  .payment-proof-card .ghost-button {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    padding: 10px 16px;
  }

  .brand-link small {
    display: none;
  }

  .site-nav {
    top: 66px;
  }

  .hero-section {
    height: 80svh;
    min-height: 500px;
  }

  .hero-content,
  .page-section {
    width: calc(100% - 28px);
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-copy {
    max-width: 320px;
    font-size: 15px;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button,
  .landing-closed-card .secondary-button,
  .product-actions .primary-button,
  .result-actions .primary-button,
  .result-actions .secondary-button,
  .result-actions .ghost-button {
    width: 100%;
  }

  .product-card {
    min-width: 0;
  }

  .product-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-stepper {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    width: 100%;
  }

  .catalog-qty-value {
    width: 100%;
  }

  .hero-facts span {
    width: 100%;
  }

  .page-section {
    padding: 54px 0;
  }

  .section-heading h2,
  .contact-band h2 {
    font-size: 28px;
  }

  .form-grid,
  .result-meta {
    grid-template-columns: 1fr;
  }

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

  .cart-row-actions {
    justify-content: flex-start;
  }

  .service-band div {
    justify-content: flex-start;
  }
}

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

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-link {
    max-width: calc(100% - 52px);
  }

  .brand-link strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-nav {
    left: 10px;
    right: 10px;
    max-height: calc(100svh - 78px);
    overflow-y: auto;
  }

  .account-modal-backdrop {
    padding: 74px 10px 16px;
  }

  .account-modal {
    max-height: calc(100svh - 90px);
    overflow-y: auto;
    padding: 14px;
  }

  .account-mode-button,
  .primary-button,
  .secondary-button,
  .ghost-button {
    min-width: 0;
  }

  .hero-section {
    min-height: 460px;
    max-height: 560px;
  }

  .hero-content,
  .page-section {
    width: calc(100% - 24px);
  }

  .hero-content {
    gap: 14px;
    padding-bottom: 28px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 14px;
  }

  .hero-facts {
    gap: 8px;
  }

  .service-band div {
    min-height: 62px;
    padding: 12px;
  }

  .page-section {
    padding: 42px 0;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 16px;
  }

  .section-heading h2,
  .contact-band h2 {
    font-size: 25px;
  }

  .category-filters {
    gap: 7px;
    margin-bottom: 16px;
  }

  .category-filter {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .product-grid {
    gap: 12px;
  }

  .product-card {
    gap: 12px;
    padding: 12px;
  }

  .product-card > div {
    min-width: 0;
  }

  .product-visual {
    min-height: 174px;
    max-height: 380px;
  }

  .product-card h3 {
    font-size: 17px;
  }

  .product-card p {
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .product-price {
    font-size: 17px;
  }

  .catalog-stepper {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 8px;
  }

  .catalog-stepper .qty-button,
  .catalog-stepper .qty-value {
    min-height: 42px;
  }

  .catalog-stepper .qty-button {
    width: 100%;
    height: 42px;
  }

  .order-section {
    padding-top: 24px;
  }

  .cart-panel,
  .preorder-form,
  .order-result {
    padding: 14px;
  }

  .panel-heading {
    align-items: flex-start;
    gap: 8px;
  }

  .panel-heading h3 {
    font-size: 19px;
  }

  .cart-row-actions {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px 40px;
    width: 100%;
  }

  .cart-row-actions .qty-button,
  .cart-row-actions .qty-value {
    width: 100%;
    min-height: 40px;
  }

  .form-actions .primary-button,
  .form-actions .secondary-button,
  .form-actions .ghost-button,
  .contact-band .primary-button,
  .contact-band .secondary-button {
    width: 100%;
  }

  .contact-actions {
    width: 100%;
  }

  .payment-proof-card {
    gap: 10px;
    padding: 9px;
  }

  .contact-band {
    padding: 34px 12px;
  }

  .site-footer {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 12px;
  }

  .toast-host {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .toast {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 360px) {
  .hero-content h1 {
    font-size: 28px;
  }

  .primary-button,
  .secondary-button,
  .ghost-button {
    padding-right: 12px;
    padding-left: 12px;
  }

  .product-visual {
    max-height: 340px;
  }

  .cart-row-actions {
    grid-template-columns: 38px minmax(0, 1fr) 38px 38px;
    gap: 8px;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 46px;
    gap: 14px;
    padding: 8px 12px;
  }

  .brand-link {
    max-width: none;
    gap: 7px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    font-size: 12px;
  }

  .brand-link strong,
  .site-footer span {
    font-size: 12px;
  }

  .brand-link small {
    display: block;
    font-size: 9px;
  }

  .mobile-nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    grid-template-columns: none;
    align-items: center;
    border: 0;
    background: transparent;
    box-shadow: none;
    gap: 8px;
    max-height: none;
    overflow: visible;
    padding: 0;
  }

  .site-nav a,
  .nav-account-button,
  .nav-logout-button {
    width: auto;
    min-height: 32px;
    gap: 5px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .nav-account-button svg,
  .nav-logout-button svg {
    width: 13px;
    height: 13px;
  }

  .hero-section {
    height: 224px;
    min-height: 224px;
    max-height: 224px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(255, 253, 248, 0.96) 0%, rgba(255, 253, 248, 0.8) 34%, rgba(255, 253, 248, 0.14) 70%),
      linear-gradient(0deg, rgba(32, 32, 29, 0.18) 0%, rgba(32, 32, 29, 0) 42%);
  }

  .hero-image {
    object-position: center;
  }

  .hero-content {
    width: calc(100% - 24px);
    align-content: start;
    gap: 8px;
    padding-top: 4px;
    padding-bottom: 0;
  }

  .hero-content .eyebrow,
  .hero-content h1,
  .hero-copy {
    display: none;
  }

  .hero-actions,
  .hero-facts {
    gap: 8px;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    width: auto;
    min-height: 30px;
    padding: 7px 12px;
    font-size: 12px;
  }

  .hero-facts {
    margin-top: 8px;
  }

  .hero-facts span {
    width: auto;
    min-height: 28px;
    padding: 5px 10px;
    font-size: 10px;
  }

  .service-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-band div {
    min-height: 52px;
    justify-content: center;
    padding: 12px;
    font-size: 12px;
  }

  .page-section {
    width: calc(100% - 24px);
    padding: 48px 0;
  }

  .section-heading {
    align-items: end;
    flex-direction: row;
    gap: 16px;
    margin-bottom: 12px;
  }

  .section-heading h2,
  .contact-band h2 {
    font-size: 24px;
  }

  .search-field {
    width: 225px;
    min-height: 31px;
    padding: 0 10px;
    font-size: 12px;
  }

  .category-filters {
    gap: 8px;
    margin-bottom: 16px;
  }

  .category-filter {
    min-height: 28px;
    padding: 6px 10px;
    font-size: 11px;
  }

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

  .product-card {
    gap: 10px;
    min-width: 0;
    padding: 10px;
  }

  .product-card > div {
    min-width: 0;
  }

  .product-visual {
    min-height: 96px;
    max-height: 270px;
  }

  .product-card h3 {
    font-size: 14px;
  }

  .product-card p {
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  .product-actions {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
  }

  .product-price {
    font-size: 14px;
  }

  .catalog-stepper {
    width: auto;
    grid-template-columns: 24px 32px 24px;
    gap: 7px;
  }

  .catalog-stepper .qty-button,
  .catalog-stepper .qty-value {
    min-height: 24px;
  }

  .catalog-stepper .qty-button {
    width: 24px;
    height: 24px;
  }

  .catalog-qty-value {
    width: 32px;
    font-size: 12px;
  }

  .order-layout {
    grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.18fr);
  }
}
