:root {
  --brand: #b45309;
  --brand-hover: #92400e;
  --brand-dark: #1f2933;
  --brand-highlight: #d97706;
  --brand-rgb: 180, 83, 9;
  --brand-soft: #fff1dc;
  --text-secondary: #374151;
  --text-on-dark: #f3f4f6;
  --text-on-dark-muted: #c1c7ce;
  --text-success: #18532f;
  --text-danger: #9a2929;
  --text-warning: #f3c778;
  --text-footer-accent: #f3b34d;
  --accent: #e5a23b;
  --accent-light: #f4c46d;
  --accent-soft: #fff4df;
  --accent-rgb: 229, 162, 59;
  --danger: #a91919;
  --surface-soft: #f7f4ee;
  --surface-muted: #f0eee9;
  --surface-success: #edf7ef;
  --surface-danger: #fff0f0;
  --surface-top: #fbfaf7;
  --surface-border: #e7e1d7;
  --border-soft: #d2ccc1;
  --white: #ffffff;
  --white-rgb: 255, 255, 255;
  --shadow-rgb: 31, 41, 51;
  --bg: #f1efeb;
  --panel: var(--white);
  --text: #202630;
  --muted: #5b6470;
  --line: #e5e0d7;
  --shadow: 0 18px 45px rgba(var(--shadow-rgb), 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(var(--accent-rgb), 0.12), transparent 15%),
    linear-gradient(180deg, var(--surface-top) 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.6;
}

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

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  border: 2px solid var(--brand);
  border-radius: 8px;
}

.skip-link:focus { top: 12px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(var(--white-rgb), 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 26px rgba(var(--shadow-rgb), 0.07);
  backdrop-filter: blur(12px);
}

.site-header .nav-inner {
  min-height: 82px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.site-header .brand {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  color: var(--brand-dark);
  text-decoration: none;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: clamp(230px, 29vw, 310px);
  height: auto;
}

.site-header nav a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 650;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
}

.site-header .nav-logout {
  margin: 0;
}

.site-header .nav-logout button {
  padding: 7px 10px;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 650;
  box-shadow: none;
}

.site-header nav a:hover {
  color: var(--brand);
}

.site-header nav .nav-cart {
  padding: 9px 13px;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--brand-dark);
}

.nav-cart span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-size: 0.875rem;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 40px;
}

footer {
  text-align: center;
  color: var(--muted);
  padding: 24px 18px 36px;
  font-size: 14px;
}

.muted, small { color: var(--muted); }
small { font-size: 0.875rem; }

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

.catalog {
  margin: 0 0 26px;
}

.quote-page {
  max-width: 920px;
  margin: 12px auto 44px;
}

.contact-page {
  margin: 14px 0 54px;
}

.contact-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.contact-heading h1 {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.contact-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
  align-items: stretch;
  gap: 24px;
}

.contact-message-panel,
.contact-information {
  padding: clamp(22px, 3.5vw, 38px);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel-heading {
  margin-bottom: 22px;
}

.contact-panel-heading h2,
.contact-information h2 {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.contact-panel-heading p,
.contact-information > p {
  margin: 0;
  color: var(--muted);
}

.contact-form {
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-form label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 650;
}

.contact-form label .muted {
  font-size: 0.82rem;
  font-weight: 400;
}

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

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-submit {
  min-height: 48px;
}

.contact-information {
  background: linear-gradient(155deg, var(--brand-dark), #303b44);
  color: var(--text-on-dark);
}

.contact-information .eyebrow {
  color: var(--accent-light);
}

.contact-information h2 {
  margin-top: 6px;
  color: var(--white);
}

.contact-information > p {
  color: var(--text-on-dark-muted);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 25px;
}

.contact-detail-icon {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(244, 196, 109, 0.35);
  border-radius: 12px;
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 800;
}

.contact-detail h3 {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 1rem;
}

.contact-detail p {
  margin: 0;
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
}

.contact-detail a {
  color: var(--accent-light);
  font-weight: 700;
  text-decoration: none;
}

.contact-detail a:hover {
  text-decoration: underline;
}

.contact-quote-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  background: var(--white);
  color: var(--brand-dark);
  box-shadow: none;
}

.contact-quote-link:hover {
  background: var(--surface-soft);
}

.about-page {
  margin: 6px 0 30px;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: stretch;
  gap: clamp(24px, 5vw, 58px);
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid var(--surface-border);
  border-radius: 26px;
  background: linear-gradient(135deg, var(--white) 0%, var(--surface-soft) 100%);
  box-shadow: var(--shadow);
}

.about-hero-copy {
  align-self: center;
  max-width: 680px;
}

.about-hero h1 {
  margin: 10px 0 18px;
  color: var(--brand-dark);
  font-size: clamp(2.15rem, 4.8vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.about-hero-copy > p,
.about-intro > p {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.about-text-link {
  font-weight: 750;
  text-decoration: none;
}

.about-text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.about-hero-image {
  position: relative;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1.45;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(var(--shadow-rgb), 0.08);
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-hero-image figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 9px 12px;
  border: 1px solid rgba(var(--white-rgb), 0.22);
  border-radius: 10px;
  background: rgba(31, 41, 51, 0.82);
  color: var(--white);
  font-size: 0.82rem;
  line-height: 1.4;
  backdrop-filter: blur(8px);
}

.about-intro {
  max-width: 800px;
  margin: clamp(52px, 8vw, 88px) auto 30px;
  text-align: center;
}

.about-intro h2,
.about-approach h2,
.about-note h2 {
  margin: 8px 0 12px;
  color: var(--brand-dark);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.about-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 clamp(52px, 8vw, 88px);
}

.about-capability {
  padding: 24px;
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  background: var(--white);
}

.about-capability-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 900;
}

.about-capability h3,
.about-steps h3 {
  margin: 16px 0 7px;
  color: var(--brand-dark);
}

.about-capability p,
.about-steps p,
.about-note p {
  margin: 0;
  color: var(--muted);
}

.about-approach {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 6vw, 72px);
  padding: clamp(24px, 5vw, 48px);
  border-radius: 22px;
  background: var(--surface-soft);
}

.about-steps {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
}

.about-steps li > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #cbd9ce;
  border-radius: 50%;
  background: var(--white);
  color: var(--brand);
  font-weight: 850;
}

.about-steps h3 {
  margin: 2px 0 5px;
}

.about-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  background: var(--white);
}

.about-note > div {
  max-width: 700px;
}

.quote-heading {
  max-width: 700px;
  margin: 0 auto 24px;
  text-align: center;
}

.quote-heading h1 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: clamp(2.1rem, 4.4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.quote-heading p {
  color: var(--muted);
}

.quote-builder {
  max-width: none;
  padding: clamp(16px, 3vw, 30px);
}

.quote-builder fieldset {
  padding: 18px;
}

.quote-builder legend {
  padding: 0 6px;
  color: var(--brand-dark);
  font-size: 1.05rem;
  font-weight: 750;
}

.quote-products > .muted {
  margin-top: 0;
}

.quote-product-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 120px;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--surface-border);
}

.quote-product-row img,
.quote-product-placeholder {
  display: grid;
  width: 88px;
  height: 70px;
  place-items: center;
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  background: var(--surface-muted);
  object-fit: cover;
}

.quote-product-placeholder {
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 800;
}

.quote-product-info strong,
.quote-product-info small {
  display: block;
}

.quote-product-info strong {
  color: var(--brand-dark);
  font-size: 1rem;
}

.quote-product-info small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.875rem;
}

.quote-quantity {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 700;
}

.quote-quantity input {
  min-height: 42px;
  margin: 4px 0 0;
}

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

.quote-submit {
  min-height: 48px;
}

.quote-builder > .muted {
  display: inline-block;
  margin-left: 10px;
  font-size: 0.875rem;
}

.product-quote-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 750;
  text-decoration: none;
}

.product-quote-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.catalog-heading h2 {
  margin: 0;
  color: var(--brand-dark);
}

.catalog-controls {
  display: flex;
  gap: 12px;
  align-items: end;
}

.catalog-controls label {
  display: block;
  min-width: 170px;
  font-size: 0.88rem;
  font-weight: 600;
}

.catalog-controls input,
.catalog-controls select {
  margin-bottom: 0;
}

.products-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 42px) 0 12px;
}

.product-range-heading {
  max-width: 790px;
  margin: 0 auto 26px;
  text-align: center;
}

.product-range-heading h1 {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.035em;
}

.product-range-heading p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.product-showcase {
  scroll-margin-top: 100px;
}

.product-category-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 0 0 22px;
}

.product-category-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid var(--surface-border);
  border-radius: 4px;
  background: #f2f3f2;
  color: var(--brand-dark);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
  box-shadow: none;
}

.product-category-filter + .product-category-filter {
  border-left: 0;
}

.product-category-filter:hover,
.product-category-filter.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--white);
}

.product-category-filter:hover {
  transform: none;
}

.product-category-filter:active {
  transform: none;
}

.product-category-panel[hidden] {
  display: none;
}

.product-category-panel:not([hidden]) {
  display: grid;
  gap: 20px;
}

.product-showcase-item {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: 400px;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(var(--shadow-rgb), 0.08);
}

.product-category-empty {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 400px;
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(var(--shadow-rgb), 0.08);
  overflow: hidden;
}

.product-photo-placeholder {
  display: grid;
  min-height: 400px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(var(--brand-rgb), 0.07), rgba(var(--accent-rgb), 0.12)),
    #f0f1ef;
  color: var(--muted);
}

.product-photo-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

.product-photo-placeholder span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid rgba(var(--brand-dark), 0.16);
  border-radius: 999px;
  background: rgba(var(--white-rgb), 0.76);
  font-size: 0.9rem;
  font-weight: 750;
}

.product-photo-placeholder span::before {
  content: "+";
  color: var(--brand);
  font-size: 1.2rem;
}

.product-category-empty-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 42px);
}

.product-category-empty-copy h2 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
}

.product-category-empty-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.product-showcase-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 46px);
}

.product-showcase-copy .product-badge {
  margin-bottom: 12px;
}

.product-showcase-copy h2 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
}

.product-feature-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 10px;
  color: var(--brand-dark);
  font-size: 1rem;
}

.product-feature-heading::before {
  color: var(--brand);
  content: "✓";
}

.product-feature-list {
  display: grid;
  gap: 9px;
  width: 100%;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.product-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.product-feature-list li::before {
  flex: 0 0 auto;
  color: var(--brand);
  content: "✓";
  font-weight: 800;
}

.product-photo-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
}

.product-specs-link,
.product-specs-link:hover {
  border: 1px solid var(--brand);
  background: transparent;
  color: var(--brand);
  box-shadow: none;
}

.product-specs-link:hover {
  background: var(--brand-soft);
}

.product-showcase-size {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-weight: 750;
}

.product-showcase-description {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.65;
}

.product-showcase-note {
  display: grid;
  gap: 4px;
  margin: 22px 0;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-showcase-note strong {
  color: var(--brand-dark);
}

.product-showcase-image {
  min-height: 400px;
  background: #e8e4dc;
}

.product-showcase-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

.product-showcase-image .product-image-placeholder {
  display: flex;
  min-height: 400px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}

.product-category-filter:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), 0.55);
  outline-offset: 3px;
}

.catalog-status {
  min-height: 1.5em;
}

.product-card[hidden] {
  display: none;
}

.card {
  background: var(--panel);
  border-radius: 18px;
  padding: 0;
  box-shadow: var(--shadow);
  border: 1px solid rgba(var(--brand-rgb), 0.06);
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center 55%;
  border-radius: 0;
  margin-bottom: 0;
}

.product-image-placeholder {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 24px;
  background:
    radial-gradient(circle at 77% 25%, rgba(218,184,112,0.32), transparent 23%),
    linear-gradient(145deg, #e8eee8, #d9e4db);
  color: var(--brand-dark);
}

.product-image-placeholder span {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-image-placeholder strong {
  font-size: 2rem;
  line-height: 1;
}

.admin-product-thumb {
  width: 104px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.card h3, .card h2 {
  margin: 0 0 8px;
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.price-row {
  margin-top: auto;
}

.price {
  font-weight: 800;
  color: var(--brand);
  font-size: 1.06rem;
  margin-bottom: 4px;
}

input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  margin: 5px 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font: inherit;
  color: var(--text);
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(242, 182, 61, 0.25);
  border-color: var(--accent);
}

input[type=radio], input[type=checkbox] {
  width: auto;
  margin: 0 6px 0 0;
}

.inline {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.inline input {
  width: 88px;
  margin: 0;
}

.form {
  background: var(--panel);
  padding: 22px;
  border-radius: 16px;
  max-width: 640px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(var(--brand-rgb), 0.06);
}

.form-help {
  display: block;
  margin: -8px 0 16px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.form fieldset .form-help {
  margin: 12px 0 4px;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  max-width: 960px;
  margin: 34px auto;
}

.auth-intro h1 {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.auth-intro p {
  max-width: 430px;
  color: var(--muted);
}

.auth-form {
  width: 100%;
  max-width: none;
  padding: clamp(20px, 4vw, 32px);
}

.auth-form label {
  display: block;
  color: var(--text-secondary);
  font-weight: 650;
}

.auth-form input {
  min-height: 46px;
}

.auth-form button {
  width: 100%;
  margin-top: 14px;
}

.auth-form p {
  margin-bottom: 0;
}

.auth-message {
  grid-column: 1 / -1;
  margin: 0;
}

.customer-login-page {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  align-items: stretch;
  gap: 0;
  width: min(1040px, calc(100% - 16px));
  min-height: 590px;
  margin: 38px auto 58px;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(var(--shadow-rgb), 0.13);
}

.login-showcase {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  padding: 46px clamp(30px, 5vw, 58px) 42px;
  background:
    radial-gradient(ellipse at 100% 15%, rgba(var(--accent-rgb), 0.2), transparent 35%),
    linear-gradient(150deg, #263340 0%, #151d26 100%);
  color: var(--white);
}

.login-showcase::before,
.login-showcase::after {
  position: absolute;
  right: -90px;
  bottom: -170px;
  width: 450px;
  height: 450px;
  border: 1px solid rgba(var(--white-rgb), 0.08);
  border-radius: 50%;
  content: "";
}

.login-showcase::after {
  right: -35px;
  bottom: -115px;
  width: 340px;
  height: 340px;
}

.login-showcase-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.art-orbit {
  position: absolute;
  top: 100px;
  right: -65px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(229, 194, 115, 0.22);
  border-radius: 50%;
}

.art-orbit-two {
  top: 132px;
  right: -32px;
  width: 235px;
  height: 235px;
  border-color: rgba(var(--white-rgb), 0.11);
}

.art-pole {
  position: absolute;
  right: 105px;
  bottom: 140px;
  width: 3px;
  height: 280px;
  transform: rotate(25deg);
  transform-origin: bottom;
  background: linear-gradient(180deg, rgba(234,202,127,0.05), rgba(234,202,127,0.46));
}

.art-pole-two {
  right: 30px;
  bottom: 105px;
  height: 188px;
  transform: rotate(-24deg);
  background: linear-gradient(180deg, rgba(var(--white-rgb), 0.02), rgba(var(--white-rgb), 0.23));
}

.art-ground {
  position: absolute;
  right: -50px;
  bottom: 89px;
  width: 480px;
  height: 1px;
  transform: rotate(-12deg);
  background: rgba(var(--white-rgb), 0.17);
}

.art-spark {
  position: absolute;
  top: 146px;
  right: 73px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e2bd6c;
  box-shadow: 0 0 20px 7px rgba(226,189,108,0.22);
}

.art-spark-two {
  top: 210px;
  right: 184px;
  width: 5px;
  height: 5px;
  background: var(--white);
  box-shadow: 0 0 17px 5px rgba(var(--white-rgb), 0.15);
}

.login-showcase-copy {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.login-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-warning);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.login-kicker > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8b565;
  box-shadow: 0 0 0 5px rgba(216,181,101,0.12);
}

.login-showcase-copy h1 {
  margin: 30px 0 16px;
  color: var(--white);
  font-size: clamp(2.5rem, 4.4vw, 3.8rem);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.login-showcase-copy h1 span {
  color: var(--accent-light);
}

.login-showcase-copy > p {
  max-width: 390px;
  margin-bottom: 26px;
  color: rgba(var(--white-rgb), 0.76);
  font-size: 0.99rem;
  line-height: 1.65;
}

.login-benefits {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.login-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.login-benefits li > span {
  display: grid;
  flex: 0 0 31px;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(229,197,122,0.38);
  border-radius: 10px;
  color: var(--accent-light);
  font-size: 0.875rem;
  font-weight: 800;
}

.login-benefits strong,
.login-benefits small {
  display: block;
}

.login-benefits strong {
  margin: 0 0 2px;
  color: var(--white);
  font-size: 0.88rem;
}

.login-benefits small {
  color: rgba(var(--white-rgb), 0.65);
  font-size: 0.875rem;
  line-height: 1.45;
}

.login-quote-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  color: var(--accent-light);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.login-showcase-caption {
  position: absolute;
  right: 28px;
  bottom: 23px;
  color: rgba(var(--white-rgb), 0.65);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  padding: 48px clamp(30px, 5vw, 66px);
  background: linear-gradient(145deg, var(--white), #fbfcfa);
}

.login-panel-heading {
  margin-bottom: 25px;
}

.login-mobile-mark {
  display: none;
}

.login-panel-heading .eyebrow {
  margin-bottom: 10px;
}

.login-panel-heading h2 {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: clamp(2rem, 3.3vw, 2.55rem);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.login-panel-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.customer-login-page .auth-message {
  margin: -8px 0 18px;
  padding: 12px 14px;
}

.customer-login-page .auth-form {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.customer-login-page .auth-form > label,
.login-password-label label {
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 700;
}

.customer-login-page .auth-form > input,
.password-control input {
  min-height: 51px;
  margin: 0 0 19px;
  padding: 12px 14px;
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  background: var(--white);
  font-size: 0.92rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.customer-login-page .auth-form > input:focus,
.password-control input:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.12);
}

.customer-login-page .auth-form input::placeholder {
  color: var(--muted);
}

.login-password-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.login-password-label span {
  color: var(--muted);
  font-size: 0.875rem;
}

.password-control {
  position: relative;
}

.password-control input {
  padding-right: 76px;
}

.password-toggle {
  position: absolute;
  top: 7px;
  right: 7px;
  min-width: 56px;
  min-height: 37px;
  padding: 6px 9px;
  border: 0;
  border-radius: 8px;
  background: var(--surface-muted);
  box-shadow: none;
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 750;
}

.customer-login-page .auth-form .password-control .password-toggle {
  width: auto;
  margin: 0;
}

.password-toggle:hover {
  transform: none;
  background: var(--surface-muted);
}

.password-toggle:focus-visible {
  outline-offset: 1px;
}

.customer-login-page .auth-form .login-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 51px;
  margin: 5px 0 19px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), var(--brand-hover));
  box-shadow: 0 9px 18px rgba(var(--brand-rgb), 0.18);
  font-size: 0.91rem;
}

.customer-login-page .auth-form .login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(var(--brand-rgb), 0.22);
}

.login-register {
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

.login-register a,
.guest-checkout a {
  color: var(--brand);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.login-help {
  display: flex;
  gap: 11px;
  margin-top: 24px;
  padding: 14px;
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  background: var(--surface-soft);
}

.login-help-icon {
  display: grid;
  flex: 0 0 23px;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid #b9c8bd;
  border-radius: 50%;
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 800;
}

.login-help p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.login-help strong {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.guest-checkout {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
  text-align: center;
}

.account-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
  padding: 26px;
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.account-heading h1 {
  margin: 0;
  color: var(--brand-dark);
}

.account-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.account-orders {
  padding: 24px;
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.account-orders h2 {
  margin-top: 0;
  color: var(--brand-dark);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
  border: 0;
}

.admin-status-current {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 0.875rem;
  font-weight: 800;
}

.admin-status-form select {
  min-width: 155px;
}

.admin-status-form button {
  width: 100%;
  padding: 8px 10px;
  font-size: 0.875rem;
}

.back-link {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.track-heading h1 {
  margin: 0;
  color: var(--brand-dark);
}

.track-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid #c9ddcf;
  border-radius: 999px;
  background: var(--surface-success);
  color: var(--text-success);
  font-size: 0.875rem;
  font-weight: 800;
  white-space: nowrap;
}

.status-cancelled {
  border-color: var(--surface-border);
  background: var(--surface-danger);
  color: var(--text-danger);
}

.order-progress-panel,
.track-detail-card {
  margin: 0 0 20px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(var(--shadow-rgb), 0.06);
}

.order-progress-panel h2,
.track-detail-card h2 {
  margin: 0 0 18px;
  color: var(--brand-dark);
  font-size: 1.2rem;
}

.order-progress {
  display: grid;
  grid-template-columns: repeat(7, minmax(70px, 1fr));
  gap: 0;
  margin: 25px 0 20px;
  padding: 0;
  list-style: none;
}

.order-progress li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.35;
  text-align: center;
}

.order-progress li:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 15px;
  left: calc(50% + 19px);
  width: calc(100% - 38px);
  height: 2px;
  background: var(--surface-muted);
  content: "";
}

.order-progress li.is-complete:not(:last-child)::after {
  background: var(--brand);
}

.progress-marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 2px solid #d7e0d9;
  border-radius: 50%;
  background: var(--white);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 800;
}

.order-progress li.is-complete {
  color: var(--brand);
}

.order-progress li.is-complete .progress-marker {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--white);
}

.order-progress li.is-current {
  color: var(--brand-dark);
  font-weight: 800;
}

.order-progress li.is-current .progress-marker {
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: 0 0 0 5px #e3f0e6;
  color: var(--white);
}

.order-progress-panel > .muted {
  margin: 0;
  font-size: 0.875rem;
}

.track-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 18px;
}

.track-detail-card {
  min-width: 0;
}

.track-detail-card table {
  font-size: 0.875rem;
}

.track-detail-card .total {
  margin-bottom: 0;
  color: var(--brand-dark);
}

.order-facts {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1.2fr);
  gap: 11px 14px;
  margin: 0;
  font-size: 0.875rem;
}

.order-facts dt {
  color: var(--muted);
}

.order-facts dd {
  margin: 0;
  color: var(--brand-dark);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.nav-logout button:hover {
  transform: none;
  text-decoration: underline;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 16px;
  padding: 12px 14px;
}

.btn,
button {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-hover) 100%);
  color: var(--white);
  border: 0;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 16px rgba(var(--brand-rgb), 0.18);
}

.btn:hover,
button:hover {
  transform: translateY(-1px);
}

.btn-light {
  background: var(--white);
  color: var(--brand);
  border: 1px solid rgba(var(--brand-rgb), 0.15);
  box-shadow: none;
}

button.link { background: none; color: var(--danger); padding: 0; box-shadow: none; }
button.danger { background: linear-gradient(135deg, var(--danger) 0%, #b73a3a 100%); }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  background: #151d26;
  color: rgba(var(--white-rgb), 0.9);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.topbar-inner,
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.topbar-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}

.nav-inner {
  padding-top: 18px;
  padding-bottom: 18px;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.home-hero {
  overflow: hidden;
  border-radius: 10px 28px 10px 28px;
  margin: 0 0 22px;
  box-shadow: 0 24px 58px rgba(var(--shadow-rgb), 0.17);
  border: 1px solid rgba(var(--brand-dark), 0.12);
  background: #202a35;
}

.home-hero-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  align-items: stretch;
  min-height: 430px;
  background:
    radial-gradient(ellipse at 2% 100%, rgba(var(--accent-rgb), 0.15), transparent 38%),
    linear-gradient(135deg, #263340 0%, #151d26 100%);
}

.home-hero-content {
  align-self: center;
  max-width: 680px;
  padding: 48px 0 48px clamp(24px, 5vw, 58px);
  color: var(--white);
  text-shadow: 0 4px 18px rgba(0,0,0,0.25);
}

.home-hero-content .eyebrow {
  color: #ffd28b;
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.38);
}

.home-hero-content h1 {
  max-width: 680px;
  margin: 0 0 18px;
  font-size: clamp(2.45rem, 4.2vw, 3.8rem);
  line-height: 0.99;
  letter-spacing: -0.045em;
  color: var(--white);
}

.home-hero-content h1 .hero-highlight {
  color: #f5b64f;
}

.home-hero-content p {
  color: rgba(var(--white-rgb), 0.9);
  max-width: 590px;
  font-size: 1.04rem;
  line-height: 1.65;
}

.home-hero-photo {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #e5ded2;
}

.home-hero-photo::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(18, 25, 33, 0.78));
  content: "";
}

.home-hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center 55%;
}

.home-hero-photo-caption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  left: 20px;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.home-page {
  margin: 14px 0 54px;
}

.home-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(30px, 5vw, 66px);
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(var(--accent-rgb), 0.12), transparent 40%),
    linear-gradient(135deg, var(--white), var(--surface-soft));
  box-shadow: var(--shadow);
}

.home-page-hero-copy {
  max-width: 650px;
}

.home-page-hero-copy h1 {
  margin: 18px 0 16px;
  color: var(--brand-dark);
  font-size: clamp(2.7rem, 5.3vw, 4.65rem);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.06em;
}

.home-page-hero-copy h1 span {
  color: var(--brand);
}

.home-page-hero-copy > p:not(.home-page-note) {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.home-page-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 25px;
}

.home-page-actions .btn {
  padding: 13px 18px;
}

.home-page-secondary-link,
.home-page-text-link {
  color: var(--brand-dark);
  font-weight: 750;
  text-decoration: none;
}

.home-page-secondary-link:hover,
.home-page-text-link:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-page-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.home-page-note span {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 900;
}

.home-page-hero-image {
  position: relative;
  min-width: 0;
  height: clamp(340px, 38vw, 500px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(var(--shadow-rgb), 0.08);
  border-radius: 22px;
  background: var(--surface-muted);
  box-shadow: 0 20px 44px rgba(var(--shadow-rgb), 0.16);
}

.home-page-hero-image::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(20, 27, 34, 0.65));
  content: "";
  pointer-events: none;
}

.home-page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-page-hero-image figcaption {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 17px;
  left: 18px;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
}

.home-page-image-mark {
  position: absolute;
  z-index: 1;
  top: 16px;
  right: 16px;
  display: grid;
  gap: 1px;
  padding: 10px 13px;
  border: 1px solid rgba(var(--white-rgb), 0.48);
  border-radius: 12px;
  background: rgba(31, 41, 51, 0.76);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}

.home-page-image-mark small {
  color: var(--accent-light);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
}

.home-page-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0 clamp(58px, 8vw, 92px);
  overflow: hidden;
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(var(--shadow-rgb), 0.05);
}

.home-page-highlights article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 20px;
}

.home-page-highlights article + article {
  border-left: 1px solid var(--surface-border);
}

.home-page-highlight-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 900;
}

.home-page-highlights h2 {
  margin: 0 0 3px;
  color: var(--brand-dark);
  font-size: 0.95rem;
  line-height: 1.35;
}

.home-page-highlights p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.home-page-products {
  margin-bottom: clamp(58px, 8vw, 92px);
}

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

.home-page-section-heading h2,
.home-page-process h2,
.home-page-cta h2 {
  margin: 9px 0 0;
  color: var(--brand-dark);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.home-page-text-link {
  flex: 0 0 auto;
  margin-bottom: 4px;
}

.home-page-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}

.home-page-category-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(var(--shadow-rgb), 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-page-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(var(--shadow-rgb), 0.12);
}

.home-page-category-image {
  height: 190px;
  overflow: hidden;
  background: var(--surface-muted);
}

.home-page-category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.home-page-category-card:hover .home-page-category-image img {
  transform: scale(1.035);
}

.home-page-category-copy {
  padding: 17px 17px 20px;
}

.home-page-category-copy h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: 1rem;
}

.home-page-category-copy h3 span {
  color: var(--brand);
  font-size: 1rem;
}

.home-page-category-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.home-page-process {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 82px);
  margin-bottom: 28px;
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid var(--surface-border);
  border-radius: 22px;
  background: var(--surface-soft);
}

.home-page-process-intro > p {
  max-width: 480px;
  margin: 15px 0 19px;
  color: var(--muted);
}

.home-page-steps {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-page-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.home-page-steps li > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(var(--brand-rgb), 0.18);
  border-radius: 13px;
  background: var(--white);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
}

.home-page-steps h3 {
  margin: 1px 0 4px;
  color: var(--brand-dark);
  font-size: 1rem;
}

.home-page-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.home-page-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(var(--accent-rgb), 0.2), transparent 42%),
    linear-gradient(135deg, #263340, #151d26);
  box-shadow: var(--shadow);
}

.home-page-cta .eyebrow {
  background: rgba(var(--accent-rgb), 0.16);
  color: var(--accent-light);
}

.home-page-cta h2 {
  color: var(--white);
}

.home-page-cta p {
  margin: 9px 0 0;
  color: var(--text-on-dark-muted);
}

.home-page-cta .home-page-actions {
  flex: 0 0 auto;
  margin: 0;
}

.home-page-cta .home-page-secondary-link {
  color: var(--white);
}

.shop-assurances {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 26px;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(var(--shadow-rgb), 0.05);
}

.shop-assurances article {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 17px 18px;
}

.shop-assurances article + article {
  border-left: 1px solid var(--surface-border);
}

.shop-assurance-icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 850;
}

.shop-assurances h2 {
  margin: 0 0 3px;
  color: var(--brand-dark);
  font-size: 0.92rem;
  line-height: 1.3;
}

.shop-assurances p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.eyebrow {
  display: inline-block;
  background: rgba(var(--brand-rgb), 0.1);
  color: var(--brand);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 22px;
}

.catalog {
  padding: 30px;
  scroll-margin-top: 100px;
  border: 1px solid var(--surface-border);
  border-radius: 12px 24px 12px 24px;
  background: rgba(var(--white-rgb), 0.92);
  box-shadow: 0 18px 42px rgba(var(--shadow-rgb), 0.07);
}

.catalog-heading {
  align-items: center;
  margin-bottom: 7px;
}

.catalog-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.035em;
}

.catalog-summary {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.catalog-controls label {
  color: var(--text-secondary);
}

.catalog-controls input,
.catalog-controls select {
  min-height: 46px;
  border-color: var(--surface-border);
  box-shadow: 0 3px 10px rgba(var(--shadow-rgb), 0.04);
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-color: var(--surface-border);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(var(--shadow-rgb), 0.075);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card > img {
  background: var(--surface-muted);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(var(--shadow-rgb), 0.14);
}

.product-body h3 {
  font-size: 1.15rem;
  line-height: 1.3;
}

.product-stock {
  align-self: flex-start;
  margin: 0 0 12px;
  padding: 5px 9px;
  border-radius: 5px;
  background: var(--surface-soft);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 650;
}

.product-description {
  color: var(--muted);
  font-size: 0.92rem;
}

.price span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.product-price-note {
  display: grid;
  gap: 3px;
  margin: 8px 0 16px;
  padding: 12px 13px;
  border: 1px solid #f0dfc2;
  border-radius: 9px;
  background: #fff9ef;
}

.product-price-note strong {
  color: #85430b;
  font-size: 0.92rem;
}

.product-price-note span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.product-request-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 11px 12px;
  text-align: center;
}

.product-form button {
  flex: 1;
  background: linear-gradient(135deg, #c15c0a 0%, #9a4308 100%);
}

.product-form input {
  min-height: 44px;
}

.section {
  margin-top: 28px;
  margin-bottom: 12px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  color: var(--brand-dark);
}

.ordering-guide {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--surface-border);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(var(--shadow-rgb), 0.06);
}

.other-supplies-callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(var(--shadow-rgb), 0.05);
}

.other-supplies-callout h2 {
  margin: 0 0 8px;
  color: var(--brand-dark);
}

.other-supplies-callout p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.ordering-guide .section-heading {
  margin-bottom: 22px;
}

.ordering-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ordering-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  background: #fbfaf7;
}

.ordering-step-number {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 850;
}

.ordering-step h3 {
  margin: 2px 0 6px;
  color: var(--brand-dark);
  font-size: 1rem;
  line-height: 1.35;
}

.ordering-step p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.ordering-step a {
  font-size: 0.875rem;
  font-weight: 750;
  text-decoration: none;
}

.ordering-step a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(var(--accent-rgb), 0.16), transparent 40%),
    linear-gradient(135deg, #263340, #151d26);
  color: var(--white);
  border-radius: 18px;
  padding: 26px 24px;
  margin-top: 28px;
  box-shadow: var(--shadow);
}

.cta-strip h2 {
  margin: 8px 0 0;
  color: var(--white);
}

.admin-shell {
  margin-bottom: 18px;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.admin-head h1 {
  margin: 6px 0 0;
  color: var(--brand-dark);
}

.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

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

.admin-dashboard-actions form {
  margin: 0;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 28px;
}

.admin-summary-card {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(var(--shadow-rgb), 0.06);
}

.admin-summary-card > span {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
}

.admin-summary-card strong {
  color: var(--brand-dark);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.1;
}

.admin-summary-card small {
  font-size: 0.875rem;
}

.admin-summary-card.is-attention {
  border-color: #eadbb7;
  background: linear-gradient(145deg, #fffdf7, #fff8e8);
}

.admin-summary-link {
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.admin-summary-link:hover {
  color: inherit;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(var(--shadow-rgb), 0.1);
}

.admin-summary-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.admin-dashboard-summary {
  margin-top: 20px;
}

.admin-enquiry-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.admin-enquiry-status.is-handled {
  color: #24543a;
  background: #e8f4eb;
}

.admin-enquiry-status.is-pending {
  color: #77520b;
  background: #fff3d4;
}

.admin-enquiry-action {
  margin-top: 9px;
}

.admin-enquiry-action .btn {
  white-space: nowrap;
}

.admin-empty-state {
  padding: 28px;
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  background: var(--white);
}

.admin-empty-state h3 {
  margin-top: 0;
  color: var(--brand-dark);
}

.admin-empty-state p {
  margin-bottom: 18px;
}

.admin-section {
  margin: 30px 0;
}

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

.admin-section-heading h2 {
  margin: 0;
  color: var(--brand-dark);
}

.admin-section-heading p {
  margin: 5px 0 0;
}

.admin-list-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  align-items: end;
  gap: 10px;
  min-width: min(100%, 440px);
}

.admin-list-controls label {
  display: block;
  min-width: 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 700;
}

.admin-list-controls input,
.admin-list-controls select {
  min-height: 43px;
  margin-bottom: 0;
}

.admin-filter-status {
  min-height: 1.5em;
  margin: 0 0 8px;
  font-size: 0.875rem;
}

.admin-orders-table table {
  min-width: 1050px;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.admin-order-history {
  margin-top: 10px;
}

.admin-order-history ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.admin-order-history li + li {
  margin-top: 6px;
}

.admin-products-table table {
  min-width: 850px;
}

.admin-products-table td {
  vertical-align: middle;
}

.admin-add-product {
  margin: 0 0 28px;
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(var(--shadow-rgb), 0.06);
}

.admin-add-product summary {
  padding: 17px 20px;
  color: var(--brand-dark);
  cursor: pointer;
  font-weight: 800;
}

.admin-add-product[open] summary {
  border-bottom: 1px solid var(--surface-muted);
}

.admin-add-product .form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  max-width: none;
  border: 0;
  box-shadow: none;
}

.admin-add-product .form small,
.admin-add-product .form button {
  grid-column: 1 / -1;
}

.admin-panel {
  background: rgba(var(--white-rgb), 0.9);
  border: 1px solid rgba(var(--brand-rgb), 0.08);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.admin-panel table {
  margin: 0;
}

.admin-panel th {
  background: var(--surface-soft);
}

.admin-panel .btn,
.admin-panel button {
  margin-top: 0;
}

.admin-panel select {
  margin-bottom: 8px;
}

.admin-panel td {
  background: var(--white);
}

.admin-product-edit {
  display: grid;
  grid-template-columns: minmax(112px, 1fr) minmax(82px, 0.7fr);
  align-items: end;
  gap: 8px;
  min-width: 250px;
}

.admin-product-edit label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
}

.admin-product-edit input {
  width: 100%;
  min-width: 0;
  padding: 8px 9px;
}

.admin-product-edit button {
  grid-column: 1 / -1;
  padding: 8px 12px;
}

.site-footer {
  margin-top: 48px;
  padding: 0;
  background: #151d26;
  color: var(--text-on-dark);
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(20px, 4vw, 52px);
  padding-top: 52px;
  padding-bottom: 42px;
}

.footer-grid.has-no-social {
  grid-template-columns: minmax(240px, 1.5fr) repeat(2, minmax(150px, 1fr));
}

.site-footer h4 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.site-footer p {
  color: var(--border-soft);
  line-height: 1.7;
}

.footer-about > p {
  max-width: 370px;
  margin: 14px 0 18px;
  font-size: 0.91rem;
}

.site-footer .footer-brand {
  display: inline-block;
  max-width: 330px;
  color: var(--white);
  font-size: 1.03rem;
  font-weight: 850;
  text-decoration: none;
}

.site-footer .footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-on-dark);
  font-size: 0.875rem;
  font-weight: 750;
  text-decoration: none;
}

.footer-contact-link:hover,
.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-contact-icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-highlight);
  color: var(--white);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}

.site-footer li,
.site-footer a {
  color: var(--border-soft);
  font-size: 0.875rem;
}

.footer-links a {
  text-decoration: none;
}

.payment-methods li {
  position: relative;
  padding-left: 17px;
}

.payment-methods li::before {
  position: absolute;
  left: 0;
  color: var(--text-footer-accent);
  content: "•";
}

.footer-payment > p {
  margin: 15px 0 0;
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid rgba(226, 239, 229, 0.16);
  padding: 0 20px 90px;
}

.footer-bottom p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 18px;
  color: var(--text-on-dark-muted);
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.site-footer .social-link {
  display: inline-flex;
  min-width: 36px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 7px;
  border: 1px solid rgba(224, 238, 227, 0.22);
  border-radius: 10px;
  background: rgba(var(--white-rgb), 0.06);
  color: var(--text-on-dark);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

a.social-link:hover {
  border-color: #f3b34d;
  background: rgba(var(--white-rgb), 0.12);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-social .social-link span {
  font-size: 0;
  line-height: 0;
}

.social-link.is-unavailable {
  background: rgba(var(--white-rgb), 0.025);
  color: var(--text-on-dark-muted);
  cursor: not-allowed;
}

.social-note {
  margin: 12px 0 0;
  font-size: 0.875rem;
}

.whatsapp-chat {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 50;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 10px 17px;
  border: 2px solid var(--white);
  border-radius: 999px;
  background: #128c4a;
  box-shadow: 0 8px 24px rgba(9, 46, 25, 0.28);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.whatsapp-chat:hover {
  background: var(--brand-hover);
  color: var(--white);
  transform: translateY(-2px);
}

.whatsapp-chat:focus-visible {
  outline-color: var(--accent);
  outline-offset: 4px;
}

.whatsapp-chat svg {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  fill: currentColor;
}

.total { font-size: 1.1rem; font-weight: 700; }
.notice {
  background: #e6f5ea;
  border-left: 5px solid var(--brand);
  padding: 12px 14px;
  border-radius: 8px;
}
.warn {
  background: var(--accent-soft);
  border-left: 5px solid var(--accent);
  padding: 12px 14px;
  border-radius: 8px;
}

@media (max-width: 760px) {
  .cta-strip,
  .about-hero,
  .about-approach {
    grid-template-columns: 1fr;
    display: block;
  }

  .home-page-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 22px;
  }

  .home-page-hero-image {
    height: clamp(250px, 62vw, 390px);
  }

  .home-page-highlights {
    grid-template-columns: 1fr;
  }

  .home-page-highlights article + article {
    border-top: 1px solid var(--surface-border);
    border-left: 0;
  }

  .home-page-highlights article {
    padding: 15px 17px;
  }

  .home-page-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page-process {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .home-page-cta {
    display: block;
  }

  .home-page-cta .home-page-actions {
    margin-top: 19px;
  }

  .contact-layout,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .ordering-steps {
    grid-template-columns: 1fr;
  }

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

  .admin-actions {
    width: 100%;
  }

  .admin-dashboard-actions {
    width: 100%;
  }

  .admin-dashboard-actions > a,
  .admin-dashboard-actions > form {
    flex: 1 1 auto;
  }

  .admin-dashboard-actions > form button,
  .admin-dashboard-actions > a {
    width: 100%;
    text-align: center;
  }

  .admin-actions > a,
  .admin-actions > form {
    flex: 1 1 auto;
  }

  .admin-actions > form button,
  .admin-actions > a {
    width: 100%;
    text-align: center;
  }

  .admin-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .admin-summary-card {
    padding: 14px;
  }

  .admin-list-controls,
  .admin-add-product .form {
    grid-template-columns: 1fr;
    min-width: 0;
    width: 100%;
  }

  .admin-add-product .form > * {
    grid-column: 1;
  }

  .admin-product-edit {
    grid-template-columns: 1fr;
    min-width: 125px;
  }

  .admin-product-edit button {
    grid-column: 1;
  }

  .topbar-inner,
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    position: relative;
  }

  .site-header .nav-inner {
    gap: 12px;
  }

  .site-header nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  .site-header nav a {
    font-size: 0.875rem;
  }

  .about-hero {
    padding: 24px 20px;
  }

  .about-hero-image {
    aspect-ratio: 1.5;
    margin-top: 22px;
  }

  .about-capabilities {
    grid-template-columns: 1fr;
  }

  .about-approach {
    padding: 24px 20px;
  }

  .about-steps {
    margin-top: 22px;
  }

  .about-note {
    display: block;
  }

  .about-note .btn {
    margin-top: 18px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    padding-top: 36px;
    padding-bottom: 30px;
  }

  .footer-grid.has-no-social {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-about,
  .footer-social {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding-right: 18px;
    padding-left: 18px;
    padding-bottom: 88px;
  }

  .footer-bottom p {
    display: grid;
    gap: 5px;
    font-size: 0.875rem;
  }

  .cta-strip {
    padding: 22px 18px;
  }

  .other-supplies-callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-showcase-item {
    grid-template-columns: 1fr;
  }

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

  .product-photo-placeholder {
    min-height: 220px;
    grid-row: 1;
  }

  .product-photo-placeholder img {
    min-height: 220px;
    max-height: 320px;
  }

  .product-category-empty-copy {
    padding: 24px 20px;
  }

  .product-showcase-image {
    min-height: 250px;
    grid-row: 1;
  }

  .product-showcase-image img,
  .product-showcase-image .product-image-placeholder {
    min-height: 250px;
    max-height: 320px;
  }

  .product-showcase-copy {
    padding: 24px 20px;
  }

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

  .home-hero-content {
    padding: 30px 24px 18px;
  }

  .home-hero-photo,
  .home-hero-photo img {
    min-height: 220px;
    height: 220px;
  }

  .shop-assurances {
    grid-template-columns: 1fr;
  }

  .shop-assurances article + article {
    border-top: 1px solid var(--surface-border);
    border-left: 0;
  }

  .shop-assurances article {
    padding: 14px 16px;
  }

  .home-hero-content h1 {
    font-size: clamp(2.35rem, 10vw, 3.25rem);
  }

  .home-hero-content p {
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 15px;
    gap: 9px;
  }

  .hero-actions .btn {
    padding: 10px 13px;
    font-size: 0.88rem;
  }

  .catalog {
    padding: 20px 16px;
  }

  .home-hero-content {
    padding: 26px 18px 14px;
  }

  .home-hero-photo,
  .home-hero-photo img {
    min-height: 190px;
    height: 190px;
  }

  .quote-builder fieldset {
    padding: 12px;
  }

  .quote-contact-grid {
    grid-template-columns: 1fr;
  }

  .quote-builder > .muted {
    display: block;
    margin: 10px 0 0;
  }

  .topbar nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .form {
    padding: 18px;
  }

  .auth-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
  }

  .whatsapp-chat {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    min-height: 50px;
    padding: 9px 14px;
    font-size: 0.88rem;
  }

  .customer-login-page {
    grid-template-columns: 1fr;
    width: min(540px, 100%);
    min-height: 0;
    margin: 22px auto 36px;
    border-radius: 20px;
  }

  .login-showcase {
    display: none;
  }

  .login-panel {
    padding: 30px clamp(22px, 7vw, 38px);
  }

  .login-mobile-mark {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    margin-bottom: 21px;
    border-radius: 13px;
    background: linear-gradient(145deg, var(--brand-highlight), var(--brand-dark));
    box-shadow: 0 7px 15px rgba(13,45,29,0.16);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 900;
  }

  .login-panel-heading {
    margin-bottom: 22px;
  }

  .account-heading {
    display: block;
    padding: 20px;
  }

  .account-heading .btn {
    margin-top: 16px;
  }

  .account-orders {
    padding: 16px;
  }

  .track-heading {
    display: block;
  }

  .track-heading .status-badge {
    margin-top: 12px;
  }

  .order-progress {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 18px 0;
  }

  .order-progress li {
    min-height: 48px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    font-size: 0.875rem;
    text-align: left;
  }

  .order-progress li:not(:last-child)::after {
    top: 31px;
    left: 15px;
    width: 2px;
    height: 17px;
  }

  .track-details-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .order-facts {
    grid-template-columns: minmax(100px, 0.7fr) minmax(0, 1.3fr);
    gap: 10px;
    font-size: 0.875rem;
  }

  .catalog-heading,
  .catalog-controls {
    display: block;
  }

  .home-page-hero {
    padding: 24px 18px;
    border-radius: 21px;
  }

  .home-page-hero-copy h1 {
    font-size: clamp(2.4rem, 11vw, 3.2rem);
  }

  .home-page-hero-image {
    height: 245px;
  }

  .home-page-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-page-category-grid {
    gap: 11px;
  }

  .home-page-category-image {
    height: 135px;
  }

  .home-page-category-copy {
    padding: 13px;
  }

  .catalog-controls label {
    width: 100%;
  }
}

@media (max-width: 480px) {
  main {
    padding-right: 14px;
    padding-left: 14px;
  }

  .quote-builder {
    padding: 14px;
  }

  .quote-builder fieldset {
    padding: 10px;
  }

  .quote-product-row {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 8px 12px;
  }

  .quote-product-row img,
  .quote-product-placeholder {
    width: 52px;
    height: 52px;
  }

  .quote-product-info {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .quote-quantity {
    display: flex;
    grid-column: 2;
    align-items: center;
    gap: 10px;
  }

  .quote-quantity input {
    max-width: 120px;
    margin: 0;
  }

  .quote-contact-grid {
    gap: 0;
  }
}

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

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border-radius: 12px;
  overflow: hidden;
}

th, td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-soft);
  color: var(--brand-dark);
}

.scroll { overflow-x: auto; }
