/* ========== Design tokens ========== */
:root {
  --red-700: #8B0000;
  --red-800: #6b0000;
  --red-600: #a01010;
  --red-soft: rgba(139, 0, 0, 0.18);

  --black: #0A0A0A;
  --black-elev: #141414;
  --black-soft: #1a1a1a;

  --silver: #C0C0C0;
  --silver-soft: rgba(192, 192, 192, 0.16);
  --light: #F5F5F5;

  /* Legacy aliases mapped to Autroxa palette */
  --blue-950: #0A0A0A;
  --blue-900: #0A0A0A;
  --blue-800: #141414;
  --blue-700: #1a1a1a;
  --blue-600: #8B0000;
  --blue-500: #a01010;
  --blue-100: #F5F5F5;
  --blue-50: #F5F5F5;

  --gold-400: #C0C0C0;
  --gold-500: #8B0000;
  --gold-600: #6b0000;
  --gold-soft: rgba(139, 0, 0, 0.18);

  --ink: #FFFFFF;
  --ink-muted: #C0C0C0;
  --white: #FFFFFF;
  --surface: #141414;
  --surface-2: #1a1a1a;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --header-h: 60px;

  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --display-hero: clamp(1.25rem, 5vw, 1.6rem);
  --display-h1: clamp(1.2rem, 4.8vw, 1.55rem);
  --display-h2: clamp(1.1rem, 4.2vw, 1.4rem);
  --display-h3: 0.98rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
  --space-inline: 1.15rem;
  --touch: 40px;
}

@media (min-width: 640px) {
  :root {
    --touch: 44px;
  }
}

@media (min-width: 900px) {
  :root {
    --header-h: 72px;
    --space-inline: 2.5rem;
    --touch: 48px;
    --display-hero: clamp(1.45rem, 3vw, 1.9rem);
    --display-h1: clamp(1.4rem, 2.8vw, 1.85rem);
    --display-h2: clamp(1.25rem, 2.4vw, 1.65rem);
    --display-h3: 1.1rem;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(139, 0, 0, 0.28), transparent 55%),
    radial-gradient(900px 480px at 100% 12%, rgba(192, 192, 192, 0.06), transparent 50%),
    linear-gradient(180deg, #0A0A0A, #0A0A0A 40%, #0A0A0A);
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 900px) {
  body {
    font-size: 1.05rem;
    line-height: 1.65;
  }
}

@media (min-width: 640px) and (max-width: 899px) {
  body {
    font-size: 1rem;
    line-height: 1.6;
  }
}

img,
video,
iframe,
svg,
table {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  max-width: 100%;
}

input,
select,
textarea {
  font-size: 16px; /* prevent iOS zoom */
}

@media (min-width: 900px) {
  input,
  select,
  textarea {
    font-size: inherit;
  }
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
  font-weight: 700;
}

h1 {
  font-size: var(--display-h1);
}

h2 {
  font-size: var(--display-h2);
}

h3 {
  font-size: var(--display-h3);
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(100% - var(--space-inline), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--gold-500);
  color: var(--blue-950);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  min-height: var(--touch);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  min-height: 34px;
}

.btn-lg {
  padding: 0.65rem 1.15rem;
  font-size: 0.84rem;
}

@media (min-width: 640px) {
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    gap: 0.45rem;
  }

  .btn-sm {
    padding: 0.5rem 0.9rem;
    font-size: 0.84rem;
    min-height: 0;
  }

  .btn-lg {
    padding: 0.85rem 1.45rem;
    font-size: 0.95rem;
  }
}

@media (min-width: 900px) {
  .btn {
    padding: 0.85rem 1.45rem;
    font-size: 0.95rem;
    gap: 0.5rem;
    min-height: 0;
  }

  .btn-sm {
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
  }

  .btn-lg {
    padding: 1rem 1.7rem;
    font-size: 1rem;
  }
}

.btn-gold {
  background: linear-gradient(135deg, #a01010, #8B0000 45%, #6b0000);
  color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(139, 0, 0, 0.35);
}

.btn-gold:hover {
  box-shadow: 0 14px 36px rgba(139, 0, 0, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: rgba(214, 230, 247, 0.35);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--gold-500);
  color: var(--gold-400);
}

.text-link {
  color: var(--gold-400);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.text-link::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* ========== Header ========== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(214, 230, 247, 0.08);
}

.header-inner {
  width: min(100% - 1.25rem, 1200px);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

@media (min-width: 900px) {
  .header-inner {
    width: min(100% - 2rem, 1200px);
    gap: 1rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background:
    linear-gradient(145deg, #a01010, #8B0000 55%, #0A0A0A);
  box-shadow: inset 0 0 0 1px rgba(192, 192, 192, 0.45), 0 8px 20px rgba(0, 0, 0, 0.45);
  position: relative;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
}

.brand-mark::after {
  content: "A";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-400);
  font-weight: 600;
}

@media (min-width: 900px) {
  .brand-name {
    font-size: 1.05rem;
  }

  .brand-sub {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }
}

.nav-desktop {
  display: none;
  gap: 1.6rem;
}

.nav-desktop a {
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-desktop a:hover {
  color: var(--white);
}

.nav-desktop a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 900px) {
  .header-actions {
    gap: 0.65rem;
  }
}

.header-actions .btn-sm {
  display: none;
}

@media (min-width: 640px) {
  .header-actions .btn-sm {
    display: inline-flex;
  }
}

.phone-pill {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(214, 230, 247, 0.1);
  padding: 0.65rem 1.05rem max(1.25rem, env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 0.15rem;
  max-height: min(78svh, 560px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-mobile[hidden] {
  display: none !important;
}

.nav-mobile a {
  padding: 0.95rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
}

.nav-mobile a:active {
  background: rgba(255, 255, 255, 0.04);
}

.nav-mobile .btn {
  margin-top: 0.7rem;
  border-bottom: none;
  min-height: var(--touch);
}

/* ========== Hero (mobile-first) ========== */
.hero {
  position: relative;
  min-height: min(78svh, 640px);
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 0.35rem) 0 max(1.1rem, env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero {
    min-height: 100svh;
    align-items: center;
    padding: calc(var(--header-h) + 2rem) 0 4rem;
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-media img {
  object-fit: cover;
  object-position: center 42%;
  transform: translate3d(0, 0, 0) scale(1.08);
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
}

@media (max-width: 899px) {
  .hero-media img {
    object-position: center 38%;
    transform: translate3d(0, 0, 0) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img {
    transform: none;
    will-change: auto;
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.42) 0%, rgba(10, 10, 10, 0.12) 26%, rgba(10, 10, 10, 0.28) 58%, rgba(10, 10, 10, 0.88) 100%),
    linear-gradient(105deg, rgba(10, 10, 10, 0.38) 0%, rgba(10, 10, 10, 0.1) 55%, rgba(10, 10, 10, 0.22) 100%);
}

.hero-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(64px, 14vw, 120px);
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      transparent 6%,
      rgba(192, 192, 192, 0.2) 32%,
      rgba(139, 0, 0, 0.55) 50%,
      rgba(192, 192, 192, 0.2) 68%,
      transparent 94%
    ) bottom center / min(100%, 640px) 1px no-repeat,
    linear-gradient(0deg, #0A0A0A 0%, rgba(10, 10, 10, 0.75) 45%, transparent 100%);
}

@media (min-width: 900px) {
  .hero-scrim {
    background:
      linear-gradient(105deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.42) 38%, rgba(10, 10, 10, 0.18) 68%, rgba(10, 10, 10, 0.28) 100%),
      linear-gradient(to top, rgba(10, 10, 10, 0.78) 0%, rgba(10, 10, 10, 0.22) 45%, transparent 68%);
  }
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - var(--space-inline), var(--max));
  margin-inline: auto;
  padding-bottom: 1rem;
  max-width: none;
}

@media (min-width: 900px) {
  .hero-content {
    width: min(100% - 2.5rem, var(--max));
    padding-bottom: 5rem;
    max-width: 640px;
  }
}

.hero-eyebrow,
.hero-eyebrow.gold {
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  color: #FFFFFF;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

@media (min-width: 900px) {
  .hero-eyebrow,
  .hero-eyebrow.gold {
    margin-bottom: 0.65rem;
    font-size: inherit;
    letter-spacing: 0.18em;
    text-shadow: none;
    color: #8B0000;
  }
}

.hero-title {
  font-size: var(--display-hero);
  font-weight: 800;
  color: var(--white);
  max-width: 16ch;
  margin-bottom: 0.35em;
  line-height: 1.15;
  text-wrap: balance;
}

@media (min-width: 900px) {
  .hero-title {
    max-width: 18ch;
    margin-bottom: 0.45em;
    font-weight: 700;
  }
}

.hero-lead {
  color: rgba(245, 245, 245, 0.88);
  font-size: 0.88rem;
  max-width: 34ch;
  margin-bottom: 0.9rem;
  line-height: 1.45;
}

@media (min-width: 900px) {
  .hero-lead {
    color: var(--ink-muted);
    font-size: 0.98rem;
    max-width: 36ch;
    margin-bottom: 1.15rem;
  }
}

.hero-cta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-cta .btn {
  flex: 1 1 calc(50% - 0.25rem);
  min-width: 0;
  width: auto;
  min-height: var(--touch);
  padding: 0.55rem 0.7rem;
  font-size: 0.78rem;
}

@media (min-width: 640px) {
  .hero-cta .btn {
    flex: 1 1 auto;
    padding: 0.7rem 1.15rem;
    font-size: 0.88rem;
  }
}

@media (min-width: 900px) {
  .hero-cta {
    gap: 0.75rem;
  }

  .hero-cta .btn {
    flex: 0 1 auto;
    min-height: 0;
    padding: 0.85rem 1.45rem;
    font-size: 0.95rem;
  }
}

.hero-meta {
  position: relative;
  z-index: 1;
  width: min(100% - var(--space-inline), var(--max));
  margin: 0.35rem auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.7rem;
  color: rgba(245, 245, 245, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 0.85rem;
}

@media (min-width: 900px) {
  .hero-meta {
    width: min(100% - 2.5rem, var(--max));
    margin-top: 0;
    color: var(--ink-muted);
    font-size: 0.85rem;
    font-weight: 600;
    gap: 0.65rem 1rem;
    padding-top: 1rem;
    letter-spacing: 0.04em;
  }
}

.hero-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* ========== Trust strip ========== */
.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.98), rgba(14, 14, 14, 0.98));
  border-block: 1px solid rgba(139, 0, 0, 0.22);
  box-shadow:
    0 -18px 40px rgba(10, 10, 10, 0.45),
    inset 0 1px 0 rgba(192, 192, 192, 0.08);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  padding: 1.15rem 0 1.35rem;
}

.trust-item {
  text-align: center;
  padding: 0.7rem 0.4rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3.8vw, 1.7rem);
  color: var(--gold-400);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.15rem;
}

.trust-item span {
  color: var(--ink-muted);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .trust-grid {
    gap: 1rem;
    padding: 1.75rem 0;
  }

  .trust-item {
    padding: 0.5rem;
    border-radius: 0;
    background: transparent;
    border: none;
  }

  .trust-item strong {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-bottom: 0;
  }

  .trust-item span {
    font-size: 0.88rem;
  }
}

/* ========== Brand logos strip ========== */
.brands-strip {
  position: relative;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 2.75rem;
  border-top: 1px solid rgba(139, 0, 0, 0.18);
  border-bottom: 1px solid rgba(139, 0, 0, 0.18);
  background:
    linear-gradient(180deg, rgba(14, 14, 14, 0.98), rgba(18, 18, 18, 0.92));
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(192, 192, 192, 0.08),
    inset 0 -1px 0 rgba(192, 192, 192, 0.06);
}

.brands-strip::before,
.brands-strip::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 2rem, 640px);
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(192, 192, 192, 0.28),
    rgba(139, 0, 0, 0.65),
    rgba(192, 192, 192, 0.28),
    transparent
  );
}

.brands-strip::before {
  top: 0;
}

.brands-strip::after {
  bottom: 0;
}

.brands-strip-head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 1.75rem;
}

.brands-strip-head h2 {
  margin: 0 0 0.55rem;
  font-size: var(--display-h2);
}

.brands-strip-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.brands-marquee {
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.brands-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: brands-scroll 42s linear infinite;
}

.brands-marquee:hover .brands-track {
  animation-play-state: paused;
}

@keyframes brands-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.brands-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0 0.4rem;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 118px;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(214, 230, 247, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(214, 230, 247, 0.72);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.brand-logo svg {
  width: 100px;
  height: 40px;
}

.brand-logo span {
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-logo:hover {
  color: var(--gold-300);
  border-color: rgba(139, 0, 0, 0.4);
  background: rgba(139, 0, 0, 0.08);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .brands-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    gap: 0.65rem;
  }

  .brands-logo-row:last-child {
    display: none;
  }

  .brands-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* ========== Sections ========== */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-head {
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-block;
  color: var(--blue-100);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.eyebrow.gold {
  color: #8B0000;
}

.section h2 {
  font-size: var(--display-h2);
  color: var(--white);
}

.section-lead {
  color: var(--ink-muted);
  margin: 0;
}

/* ========== Services ========== */
.services {
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(139, 0, 0, 0.22), transparent 60%),
    transparent;
}

.service-grid {
  display: grid;
  gap: 1rem;
}

.service-tile {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 0.7rem;
  row-gap: 0.2rem;
  align-items: start;
  background: linear-gradient(165deg, rgba(26, 26, 26, 0.92), rgba(20, 20, 20, 0.94));
  border: 1px solid rgba(214, 230, 247, 0.1);
  border-radius: 14px;
  padding: 0.9rem 0.85rem 0.85rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.service-tile:hover {
  border-color: rgba(139, 0, 0, 0.45);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 36px;
  height: 36px;
  color: var(--gold-400);
  margin-bottom: 0;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(139, 0, 0, 0.12);
  border: 1px solid rgba(139, 0, 0, 0.22);
}

.service-icon svg {
  width: 20px;
  height: 20px;
}

.service-tile h3 {
  font-size: 0.95rem;
  color: var(--white);
  margin: 0;
  align-self: end;
  line-height: 1.2;
}

.service-tile p {
  color: var(--ink-muted);
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.4;
  grid-column: 2;
}

.service-tile .text-link {
  grid-column: 1 / -1;
  margin-top: 0.45rem;
}

@media (min-width: 640px) {
  .service-tile {
    display: block;
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.4rem 1.35rem;
  }

  .service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    grid-row: auto;
    background: transparent;
    border: none;
    place-items: start;
  }

  .service-icon svg {
    width: 100%;
    height: 100%;
  }

  .service-tile h3 {
    font-size: 1.25rem;
    margin-bottom: 0.45rem;
  }

  .service-tile p {
    font-size: 0.96rem;
    margin-bottom: 1.1rem;
    grid-column: auto;
  }

  .service-tile .text-link {
    grid-column: auto;
    margin-top: 0;
  }
}

/* ========== Same day ========== */
.same-day {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.same-day-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.62) 35%, rgba(10, 10, 10, 0.58) 70%, rgba(10, 10, 10, 0.9) 100%),
    linear-gradient(120deg, rgba(10, 10, 10, 0.45), rgba(139, 0, 0, 0.18)),
    var(--section-photo, url("assets/warehouse-bay.jpg")) center/cover no-repeat;
}

.same-day-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.12));
}

.same-day-inner {
  position: relative;
  z-index: 3;
  max-width: 640px;
}

.same-day h2 {
  font-size: var(--display-h1);
  color: var(--white);
}

.same-day p {
  color: var(--blue-100);
  margin-bottom: 1.5rem;
}

/* ========== Offers ========== */
.offer-row {
  display: grid;
  gap: 1rem;
}

.offer-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(214, 230, 247, 0.12);
  border-radius: 14px;
  padding: 1.05rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.offer-panel .btn {
  width: auto;
  max-width: 100%;
  align-self: flex-start;
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  font-size: 0.76rem;
  margin-top: 0.25rem;
}

@media (min-width: 640px) {
  .offer-panel {
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    gap: 0.35rem;
  }

  .offer-panel .btn {
    width: auto;
    min-height: 0;
    align-self: flex-start;
  }
}

.offer-panel:hover,
.offer-panel:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(139, 0, 0, 0.4);
  outline: none;
}

.offer-panel.featured {
  background:
    linear-gradient(160deg, rgba(139, 0, 0, 0.45), rgba(20, 20, 20, 0.95));
  border-color: rgba(139, 0, 0, 0.55);
  box-shadow: 0 20px 50px rgba(4, 12, 24, 0.35);
}

.offer-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-950);
  background: var(--gold-500);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

.offer-label {
  margin: 0;
  color: var(--ink-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.offer-price {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 5.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin: 0.1rem 0;
  letter-spacing: -0.03em;
  line-height: 1;
}

.offer-price span {
  font-size: 0.5em;
  color: var(--gold-400);
  vertical-align: super;
  margin-right: 0.1em;
}

.offer-price-sm {
  font-size: clamp(2rem, 4vw, 2.4rem);
}

.offer-note {
  color: var(--ink-muted);
  margin: 0 0 1.2rem;
  flex: 1;
}

/* ========== Visit ========== */
.visit {
  background:
    radial-gradient(600px 350px at 0% 50%, rgba(139, 0, 0, 0.08), transparent 60%),
    transparent;
}

.visit-grid {
  display: grid;
  gap: 2rem;
}

.visit-copy > p:not(.eyebrow) {
  color: var(--ink-muted);
  max-width: 42ch;
}

.visit-facts {
  display: grid;
  gap: 1.1rem;
  margin: 1.5rem 0 1.75rem;
}

.visit-facts dt {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 0.25rem;
}

.visit-facts dd {
  margin: 0;
  color: var(--blue-100);
}

.visit-facts a {
  color: var(--white);
  font-weight: 700;
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(214, 230, 247, 0.12);
  min-height: 320px;
  box-shadow: var(--shadow);
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
}

/* ========== Book ========== */
.book {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.book-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(10, 10, 10, 0.7), rgba(12, 36, 64, 0.55)),
    var(--section-photo, url("assets/workshop-lift.jpg")) center 40%/cover no-repeat;
}

.book-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  background:
    linear-gradient(145deg, rgba(22, 58, 102, 0.72), rgba(20, 20, 20, 0.94));
  border: 1px solid rgba(139, 0, 0, 0.28);
  border-radius: calc(var(--radius-lg) + 4px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.book-copy h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.book-copy p {
  color: var(--ink-muted);
  margin-bottom: 0;
}

.book-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.book-form label {
  display: grid;
  gap: 0.4rem;
}

.book-form label span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-100);
}

.book-form input,
.book-form select,
.book-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(214, 230, 247, 0.18);
  background: rgba(10, 10, 10, 0.55);
  color: var(--white);
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.book-form input:focus,
.book-form select:focus,
.book-form textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.book-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239bb0c9' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.book-form .btn {
  justify-self: start;
  margin-top: 0.25rem;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--gold-400);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ========== Contact ========== */
.contact {
  padding-top: 0;
}

.contact-bar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(214, 230, 247, 0.1);
  background: rgba(20, 20, 20, 0.65);
}

.contact-bar h2 {
  margin-bottom: 0.35rem;
  font-size: 1.55rem;
}

.contact-bar p {
  margin: 0;
  color: var(--ink-muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* ========== Footer ========== */
.site-footer {
  border-top: 1px solid rgba(214, 230, 247, 0.08);
  padding: 3rem 0 1.5rem;
  background: rgba(4, 10, 18, 0.65);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer-brand p:last-child {
  color: var(--ink-muted);
  margin: 0;
  max-width: 28ch;
}

.footer-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 0 0 0.85rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer li,
.site-footer a {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--ink-muted);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-note {
  color: rgba(155, 176, 201, 0.7);
}

/* ========== Motion ========== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-media img {
    animation: none;
  }
  .btn:hover {
    transform: none;
  }
}

/* ========== Breakpoints ========== */
@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .phone-pill {
    display: inline-flex;
  }

  .header-actions .btn-sm {
    display: inline-flex;
  }
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .offer-row {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }

  .visit-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 3rem;
  }

  .book-panel {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .contact-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .hero {
    align-items: center;
    padding-bottom: 4rem;
  }

  .hero-content {
    padding-bottom: 5rem;
  }
}

/* ========== Book online page ========== */
.page-book .site-header {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(214, 230, 247, 0.08);
}

.nav-desktop a[aria-current="page"],
.nav-mobile a[aria-current="page"] {
  color: var(--gold-400);
}

.book-hero {
  padding: calc(var(--header-h) + 2.5rem) 0 2rem;
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(139, 0, 0, 0.3), transparent 55%),
    radial-gradient(500px 280px at 10% 40%, rgba(139, 0, 0, 0.08), transparent 50%);
  border-bottom: 1px solid rgba(214, 230, 247, 0.08);
}

.book-hero-inner {
  max-width: 720px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--gold-400);
}

.book-hero h1 {
  font-size: var(--display-h1);
  color: var(--white);
  margin-bottom: 0.55rem;
}

.book-hero-lead {
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  max-width: 48ch;
}

.book-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-inline: calc(var(--space-inline) * -0.35);
  padding-inline: calc(var(--space-inline) * 0.35);
  padding-bottom: 0.15rem;
}

.book-filters::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  border: 1px solid rgba(214, 230, 247, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-muted);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
  min-height: 40px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

@media (min-width: 640px) {
  .book-filters {
    flex-wrap: wrap;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
}

.filter-chip:hover {
  color: var(--white);
  border-color: rgba(214, 230, 247, 0.35);
}

.filter-chip.is-active {
  background: linear-gradient(135deg, #a01010, #8B0000);
  border-color: transparent;
  color: #FFFFFF;
}

.catalogue {
  padding-top: 2.5rem;
}

.product-grid {
  display: grid;
  gap: 1.15rem;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, rgba(26, 26, 26, 0.9), rgba(20, 20, 20, 0.95));
  border: 1px solid rgba(214, 230, 247, 0.1);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

@media (min-width: 640px) {
  .product-card {
    border-radius: var(--radius-lg);
  }
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 0, 0, 0.4);
  box-shadow: var(--shadow);
}

.product-card.featured {
  border-color: rgba(139, 0, 0, 0.45);
  box-shadow: 0 16px 40px rgba(4, 12, 24, 0.3);
}

.product-card.is-hidden {
  display: none;
}

.product-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-950);
  background: var(--gold-500);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.product-media {
  aspect-ratio: 16 / 9;
  background: var(--blue-800);
}

.product-media svg {
  width: 100%;
  height: 100%;
  display: block;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem 1.25rem 1.35rem;
  flex: 1;
}

.product-body h2 {
  font-size: 1.2rem;
  color: var(--white);
  margin: 0;
}

.product-body > p {
  color: var(--ink-muted);
  font-size: 0.94rem;
  margin: 0;
  flex: 1;
}

.inline-link {
  color: var(--gold-400);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.25rem 0 0.35rem;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--blue-100);
  font-size: 0.8rem;
  font-weight: 700;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--gold-400);
  letter-spacing: -0.02em;
}

.product-body .btn {
  width: 100%;
  margin-top: 0.25rem;
}

.catalogue-empty {
  text-align: center;
  color: var(--ink-muted);
  padding: 2rem 1rem;
}

.book-help {
  padding-top: 0;
}

.help-bar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(214, 230, 247, 0.1);
  background: rgba(20, 20, 20, 0.65);
}

.help-bar h2 {
  margin-bottom: 0.35rem;
  font-size: 1.55rem;
}

.help-bar p {
  margin: 0;
  color: var(--ink-muted);
}

/* Modal */
.modal[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 18, 0.72);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(92vh, 760px);
  overflow: auto;
  background:
    linear-gradient(160deg, rgba(22, 58, 102, 0.95), rgba(20, 20, 20, 0.98));
  border: 1px solid rgba(139, 0, 0, 0.35);
  border-radius: calc(var(--radius-lg) + 4px);
  padding: 1.5rem 1.35rem 1.6rem;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.modal-panel h2 {
  color: var(--white);
  font-size: 1.55rem;
  margin-bottom: 1rem;
  padding-right: 2rem;
}

.modal-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 0.9rem;
  border-radius: 12px;
  background: rgba(10, 10, 10, 0.45);
  border: 1px solid rgba(214, 230, 247, 0.1);
}

@media (min-width: 521px) {
  .modal-summary {
    grid-template-columns: repeat(3, 1fr);
  }
}

.summary-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.modal-summary strong {
  font-size: 0.92rem;
  color: var(--white);
  font-weight: 700;
}

.gold-text {
  color: #8B0000 !important;
}

.modal-form .btn {
  width: 100%;
  justify-self: stretch;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .help-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .modal-panel {
    padding: 1.85rem 1.75rem 1.9rem;
  }
}

@media (min-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========== Auth pages (login / register) ========== */
.page-auth {
  min-height: 100vh;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
}

.auth-visual {
  display: none;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.auth-visual-bg {
  position: absolute;
  inset: 0;
}

.auth-visual-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-visual-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(10, 10, 10, 0.55), rgba(10, 10, 10, 0.88)),
    linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent 45%);
}

.auth-visual-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.25rem;
  height: 100%;
  padding: 2.5rem;
  max-width: 480px;
}

.auth-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  margin: 0;
}

.auth-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.auth-perks li {
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding-left: 1.25rem;
  position: relative;
}

.auth-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
}

.auth-main {
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem 2.5rem;
}

.auth-card {
  width: min(100%, 460px);
  background:
    linear-gradient(160deg, rgba(22, 58, 102, 0.45), rgba(20, 20, 20, 0.92));
  border: 1px solid rgba(139, 0, 0, 0.28);
  border-radius: calc(var(--radius-lg) + 4px);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow);
}

.auth-card h1 {
  color: var(--white);
  font-size: var(--display-h1);
  margin-bottom: 0.4rem;
}

.auth-lead {
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-form label {
  display: grid;
  gap: 0.4rem;
}

.auth-form label > span,
.auth-form .check-label span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-100);
}

.auth-form .check-label span {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
  line-height: 1.4;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="tel"],
.auth-form input[type="password"],
.auth-form input[type="number"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 12px;
  border: 1px solid rgba(214, 230, 247, 0.18);
  background: rgba(10, 10, 10, 0.55);
  color: var(--white);
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.auth-form input:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.password-field {
  position: relative;
  display: flex;
  align-items: center;
}

.password-field input {
  padding-right: 4.2rem;
}

.password-toggle {
  position: absolute;
  right: 0.55rem;
  border: 0;
  background: transparent;
  color: var(--gold-400);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
}

.password-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}

.auth-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.check-label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  grid-template-columns: none !important;
}

.check-label input {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--gold-500);
  flex-shrink: 0;
}

.auth-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.auth-form .form-status.is-error {
  color: #ff8f8f;
}

.auth-form .form-status.is-success {
  color: var(--gold-400);
}

.form-status.is-error {
  color: #ff8f8f;
}

.form-status.is-success {
  color: var(--gold-400);
}

.auth-switch {
  margin: 1.35rem 0 0;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.auth-switch a {
  color: var(--gold-400);
  font-weight: 700;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.auth-back {
  margin: 0.85rem 0 0;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.85rem;
}

.auth-back a {
  color: var(--blue-100);
  font-weight: 600;
}

.auth-back a:hover {
  color: var(--white);
}

.auth-nav-link {
  display: none;
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.4rem 0.6rem;
}

.auth-nav-link:hover {
  color: var(--white);
}

.user-chip {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.35rem 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  font-weight: 600;
}

.user-chip[hidden] {
  display: none !important;
}

.user-chip button {
  border: 0;
  border-radius: 999px;
  background: rgba(139, 0, 0, 0.18);
  color: var(--gold-400);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

.user-chip button:hover {
  background: rgba(139, 0, 0, 0.3);
}

@media (min-width: 640px) {
  .auth-nav-link {
    display: inline-flex;
  }

  .auth-nav-link[hidden] {
    display: none !important;
  }

  .user-chip.is-visible:not([hidden]) {
    display: inline-flex;
  }

  .auth-form .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .auth-shell {
    grid-template-columns: 1.05fr 1fr;
  }

  .auth-visual {
    display: block;
  }

  .auth-main {
    padding: 3rem 2rem;
  }

  .auth-card {
    width: min(100%, 500px);
  }
}

/* ========== Orders / account page ========== */
.orders-section {
  padding-top: 2rem;
}

.orders-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.stat-tile {
  background: linear-gradient(165deg, rgba(26, 26, 26, 0.9), rgba(20, 20, 20, 0.95));
  border: 1px solid rgba(214, 230, 247, 0.1);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  text-align: center;
}

.stat-tile strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-400);
  letter-spacing: -0.02em;
}

.stat-tile span {
  color: var(--ink-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.orders-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.orders-toolbar .btn {
  align-self: flex-start;
}

.orders-list {
  display: grid;
  gap: 1rem;
}

.order-card {
  background: linear-gradient(165deg, rgba(26, 26, 26, 0.9), rgba(20, 20, 20, 0.95));
  border: 1px solid rgba(214, 230, 247, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem 1.4rem;
  transition: border-color 0.3s var(--ease);
}

.order-card:hover {
  border-color: rgba(139, 0, 0, 0.35);
}

.order-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.order-id {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.order-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  color: var(--white);
}

.order-hint {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.status-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-pending {
  background: rgba(155, 176, 201, 0.18);
  color: var(--blue-100);
}

.status-confirmed {
  background: rgba(42, 116, 196, 0.25);
  color: #8ec5ff;
}

.status-in-progress {
  background: rgba(139, 0, 0, 0.2);
  color: var(--gold-400);
}

.status-ready {
  background: rgba(80, 200, 140, 0.18);
  color: #7de0b0;
}

.status-completed {
  background: rgba(80, 200, 140, 0.12);
  color: #C0C0C0;
}

.status-cancelled {
  background: rgba(255, 100, 100, 0.15);
  color: #ff9b9b;
}

.order-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.9rem;
  border-radius: 12px;
  background: rgba(10, 10, 10, 0.4);
  border: 1px solid rgba(214, 230, 247, 0.08);
}

.order-facts span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.2rem;
}

.order-facts strong {
  color: var(--white);
  font-size: 0.95rem;
}

.order-vehicle {
  margin: 0 0 1rem;
  color: var(--blue-100);
  font-size: 0.94rem;
}

.order-vehicle span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
}

.order-timeline {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.25rem;
  border-top: 1px solid rgba(214, 230, 247, 0.08);
}

.order-timeline li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  position: relative;
}

.order-timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 6px;
  left: calc(50% + 10px);
  right: calc(-50% + 10px);
  height: 2px;
  background: rgba(214, 230, 247, 0.15);
}

.order-timeline li.is-done:not(:last-child)::after,
.order-timeline li.is-current:not(:last-child)::after {
  background: rgba(139, 0, 0, 0.55);
}

.tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(214, 230, 247, 0.2);
  border: 2px solid rgba(214, 230, 247, 0.25);
  z-index: 1;
}

.order-timeline li.is-done .tl-dot {
  background: var(--gold-500);
  border-color: var(--gold-400);
}

.order-timeline li.is-current .tl-dot {
  background: var(--blue-950);
  border-color: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(139, 0, 0, 0.25);
}

.tl-label {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

@media (min-width: 521px) {
  .tl-label {
    font-size: 0.65rem;
  }
}

.order-timeline li.is-done .tl-label,
.order-timeline li.is-current .tl-label {
  color: var(--gold-400);
}

.order-timeline.is-cancelled {
  display: block;
  color: #ff9b9b;
  font-weight: 700;
  font-size: 0.9rem;
  padding-top: 0.85rem;
}

.user-chip a {
  color: var(--white);
  font-weight: 700;
}

.user-chip a:hover {
  color: var(--gold-400);
}

@media (min-width: 640px) {
  .orders-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .orders-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .order-facts {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========== Seller panel ========== */
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.45);
  border: 1px solid rgba(214, 230, 247, 0.1);
}

.auth-tab {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-muted);
  font-weight: 700;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
}

.auth-tab.is-active {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--blue-950);
}

.page-seller .user-chip {
  display: inline-flex;
}

.seller-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.seller-panel {
  background: linear-gradient(165deg, rgba(26, 26, 26, 0.9), rgba(20, 20, 20, 0.95));
  border: 1px solid rgba(214, 230, 247, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.seller-panel-wide {
  margin-top: 0.25rem;
}

.seller-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.seller-panel-head h2 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--white);
}

.panel-note {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.85rem;
}

.panel-empty {
  margin: 0;
  color: var(--ink-muted);
}

.seller-table-wrap {
  overflow-x: auto;
}

.seller-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.seller-table th,
.seller-table td {
  text-align: left;
  padding: 0.7rem 0.45rem;
  border-bottom: 1px solid rgba(214, 230, 247, 0.08);
}

.seller-table th {
  color: var(--ink-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seller-table td {
  color: var(--blue-100);
}

.alert-list {
  display: grid;
  gap: 0.55rem;
}

.alert-item {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(139, 0, 0, 0.1);
  border: 1px solid rgba(139, 0, 0, 0.25);
}

.alert-item.is-critical {
  background: rgba(255, 100, 100, 0.12);
  border-color: rgba(255, 100, 100, 0.3);
}

.alert-item strong {
  color: var(--white);
}

.alert-item span {
  color: var(--gold-400);
  font-weight: 700;
  white-space: nowrap;
}

.alert-item.is-critical span {
  color: #ff9b9b;
}

.sales-bars {
  display: grid;
  gap: 0.85rem;
}

.sales-bar-row {
  display: grid;
  gap: 0.35rem;
}

.sales-bar-label {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.sales-bar-label span {
  color: var(--blue-100);
}

.sales-bar-label strong {
  color: var(--ink-muted);
  font-weight: 600;
}

.sales-bar-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.sales-bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-600), var(--gold-500));
}

.page-seller .orders-hero {
  padding: calc(var(--header-h) + 1.25rem) 0 1.25rem;
}

.page-seller .orders-hero h1 {
  margin-bottom: 0.35rem;
}

.page-seller .orders-hero .book-hero-lead {
  margin-bottom: 0;
  max-width: 48ch;
}

.seller-help-bar {
  margin-top: 1.25rem;
}

.seller-mobile-list {
  display: none;
  gap: 0.55rem;
}

.seller-sale-card {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(10, 10, 10, 0.4);
  border: 1px solid rgba(214, 230, 247, 0.1);
}

.seller-sale-card strong {
  display: block;
  color: var(--white);
  font-size: 0.92rem;
  line-height: 1.35;
  margin-bottom: 0.4rem;
  overflow-wrap: anywhere;
}

.seller-sale-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  color: var(--ink-muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.seller-sale-meta .gold-text {
  color: var(--gold-400);
}

.seller-dashboard .seller-stats .stat-tile span {
  font-size: 0.78rem;
}

.seller-panel-head > div {
  min-width: 0;
}

.seller-panel-head .panel-note {
  margin-top: 0.25rem;
}

.seller-products-layout {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  min-width: 0;
}

.seller-products-layout > * {
  min-width: 0;
  max-width: 100%;
}

.create-panel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  overflow-x: clip;
  overflow-y: visible;
  padding: 1.25rem;
  box-sizing: border-box;
}

.create-panel .seller-panel-head {
  margin-bottom: 0.85rem;
}

.create-panel .auth-form {
  width: 100%;
  min-width: 0;
  gap: 0.75rem;
}

.create-panel .auth-form label {
  min-width: 0;
}

.create-panel .auth-form .form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.65rem;
  min-width: 0;
}

.create-panel .auth-form input,
.create-panel .auth-form select,
.create-panel .auth-form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.create-panel .auth-form input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.create-panel .auth-form input[type="number"]::-webkit-outer-spin-button,
.create-panel .auth-form input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.create-panel .auth-form textarea {
  min-height: 64px;
  max-height: 140px;
  resize: vertical;
  border-radius: 12px;
  border: 1px solid rgba(214, 230, 247, 0.18);
  background: rgba(10, 10, 10, 0.55);
  color: var(--white);
  padding: 0.75rem 0.9rem;
  outline: none;
}

.create-panel .auth-form select {
  border-radius: 12px;
  border: 1px solid rgba(214, 230, 247, 0.18);
  background: rgba(10, 10, 10, 0.55);
  color: var(--white);
  padding: 0.75rem 0.9rem;
  outline: none;
}

.create-panel .auth-form input {
  padding: 0.75rem 0.9rem;
}

.create-panel .auth-form select:focus,
.create-panel .auth-form textarea:focus,
.create-panel .auth-form input:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.create-panel .form-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-top: 0.35rem;
  padding-top: 0.15rem;
}

.create-panel .form-actions .btn {
  width: 100%;
}

.create-panel .form-actions .btn[hidden],
#product-form-reset[hidden] {
  display: none !important;
}

.create-panel .form-status {
  min-height: 1.25em;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.products-list {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.products-board {
  min-width: 0;
}

.product-manage-card {
  background: linear-gradient(165deg, rgba(26, 26, 26, 0.9), rgba(20, 20, 20, 0.95));
  border: 1px solid rgba(214, 230, 247, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  min-width: 0;
  overflow: hidden;
}

.product-manage-card.is-low {
  border-color: rgba(139, 0, 0, 0.45);
}

.pmc-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.pmc-cat {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.product-manage-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--white);
  overflow-wrap: anywhere;
}

.pmc-desc {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.pmc-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-400);
  flex-shrink: 0;
}

.pmc-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.8rem;
  border-radius: 12px;
  background: rgba(10, 10, 10, 0.4);
}

.pmc-metrics span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.2rem;
}

.pmc-metrics strong {
  color: var(--white);
  font-size: 1.05rem;
}

.warn-text {
  color: var(--gold-400) !important;
}

.pmc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pmc-actions .btn.danger {
  border-color: rgba(255, 120, 120, 0.35);
  color: #ff9b9b;
}

.pmc-actions .btn.danger:hover {
  border-color: #ff9b9b;
  color: #ffc4c4;
}

@media (min-width: 900px) {
  .seller-grid {
    grid-template-columns: 1.4fr 1fr;
  }

  .seller-products-layout {
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    align-items: start;
  }

  .create-panel .auth-form .form-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* ========== About & Contact pages ========== */
.about-story {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-copy h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.about-copy p {
  color: var(--ink-muted);
}

.about-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(214, 230, 247, 0.12);
  min-height: 320px;
  aspect-ratio: 4 / 5;
  background: var(--blue-800);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}

.about-values {
  display: grid;
  gap: 1rem;
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(26, 26, 26, 0.9), rgba(20, 20, 20, 0.95));
  border: 1px solid rgba(214, 230, 247, 0.1);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

a.contact-card:hover {
  border-color: rgba(139, 0, 0, 0.45);
  transform: translateY(-3px);
}

.contact-card-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.contact-card strong {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-card span {
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.contact-layout {
  display: grid;
  gap: 1.25rem;
}

.contact-form-panel .auth-form select,
.contact-form-panel .auth-form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(214, 230, 247, 0.18);
  background: rgba(10, 10, 10, 0.55);
  color: var(--white);
  padding: 0.85rem 1rem;
  outline: none;
}

.contact-form-panel .auth-form select:focus,
.contact-form-panel .auth-form textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.contact-side {
  display: grid;
  gap: 0;
  min-width: 0;
}

.contact-side .seller-panel h2 {
  color: var(--white);
  font-size: 1.45rem;
}

.contact-side .seller-panel p {
  color: var(--ink-muted);
}

@media (min-width: 800px) {
  .about-story {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .about-values {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* Staff sale modal + sales log */
body.modal-open {
  overflow: hidden;
}

.sale-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.sale-modal[hidden] {
  display: none !important;
}

.sale-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 12, 24, 0.72);
  backdrop-filter: blur(4px);
}

.sale-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  padding: 1.6rem 1.4rem 1.4rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(26, 26, 26, 0.98), rgba(8, 22, 40, 0.98));
  border: 1px solid rgba(139, 0, 0, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.sale-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.85rem;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.sale-modal-dialog h2 {
  margin: 0.25rem 0 0.65rem;
  color: var(--white);
  font-size: 1.35rem;
}

.sale-modal-product {
  margin: 0;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
}

.sale-modal-meta,
.sale-modal-note {
  margin: 0.35rem 0 1rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.sale-modal-note strong {
  color: var(--gold-400);
}

.sale-modal .auth-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.sale-modal .auth-form input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(214, 230, 247, 0.18);
  background: rgba(10, 10, 10, 0.55);
  color: var(--white);
  padding: 0.85rem 1rem;
}

.sale-modal .auth-form input:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.sales-summary {
  margin-bottom: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .sales-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .sales-summary {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .sales-summary:has(.stat-tile:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sales-summary:has(.stat-tile:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sales-table-wrap {
  overflow-x: auto;
}

.sales-table td strong {
  display: block;
  color: var(--white);
}

.sale-cat,
.sale-emp-email {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 500;
  text-transform: capitalize;
}

.sale-emp-email {
  text-transform: none;
}

.sales-table th:nth-child(2),
.sales-table td:nth-child(2) {
  text-align: center;
}

/* Tyre warehouse */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tyre-search-panel {
  margin-bottom: 1.25rem;
}

.tyre-search-row {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .tyre-search-row {
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }
}

.tyre-search-field input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(214, 230, 247, 0.18);
  background: rgba(10, 10, 10, 0.55);
  color: var(--white);
  padding: 0.95rem 1.1rem;
  font: inherit;
}

.tyre-search-field input:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.tyre-search-hint {
  margin: 0.75rem 0 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.tyre-search-hint.soft {
  margin-top: 0.25rem;
  opacity: 0.85;
  font-size: 0.82rem;
}

.tyre-scan-panel {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.tyre-scan-panel[hidden] {
  display: none !important;
}

.tyre-scan-panel video {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 12px;
  background: #000;
  border: 1px solid rgba(214, 230, 247, 0.15);
}

.tyre-scan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.tyre-scan-actions p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.tyre-find-result {
  margin-top: 1rem;
}

.tyre-find-hit,
.tyre-find-empty {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(214, 230, 247, 0.12);
  background: rgba(10, 10, 10, 0.45);
}

.tyre-find-hit {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .tyre-find-hit {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.tyre-find-hit.is-ok {
  border-color: rgba(72, 187, 120, 0.35);
}

.tyre-find-hit.is-low {
  border-color: rgba(139, 0, 0, 0.45);
}

.tyre-find-hit.is-out {
  border-color: rgba(229, 62, 62, 0.4);
}

.tyre-find-hit h3,
.tyre-find-empty strong {
  margin: 0.2rem 0 0.4rem;
  color: var(--white);
}

.tyre-find-hit p,
.tyre-find-empty p {
  margin: 0.25rem 0;
  color: var(--ink-muted);
}

.tyre-find-loc {
  margin-top: 0.65rem !important;
}

.tyre-find-loc span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 0.2rem;
}

.tyre-find-loc strong {
  color: var(--white);
  font-size: 1.05rem;
}

.tyre-find-barcode code {
  color: var(--gold-400);
  font-family: ui-monospace, monospace;
}

.location-legend {
  margin: 0.35rem 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.create-panel .form-row-3,
.sale-modal .form-row-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tyre-list {
  display: grid;
  gap: 1rem;
}

.tyre-card {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(26, 26, 26, 0.9), rgba(20, 20, 20, 0.95));
  border: 1px solid rgba(214, 230, 247, 0.1);
}

.tyre-card.is-highlight {
  border-color: rgba(139, 0, 0, 0.55);
  box-shadow: 0 0 0 1px rgba(139, 0, 0, 0.2);
}

.tyre-card.is-low {
  border-color: rgba(139, 0, 0, 0.28);
}

.tyre-card.is-out {
  border-color: rgba(229, 62, 62, 0.28);
}

.tyre-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.tyre-brand {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.tyre-card h3 {
  margin: 0.25rem 0 0.35rem;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
}

.tyre-card h3 span {
  color: var(--ink-muted);
  font-weight: 600;
}

.tyre-specs {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.tyre-stock-badge {
  flex-shrink: 0;
  min-width: 4.5rem;
  text-align: center;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid rgba(214, 230, 247, 0.12);
}

.tyre-stock-badge strong {
  display: block;
  font-size: 1.35rem;
  color: var(--white);
  line-height: 1.1;
}

.tyre-stock-badge span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.tyre-stock-badge.is-ok strong {
  color: #68d391;
}

.tyre-stock-badge.is-low strong {
  color: var(--gold-400);
}

.tyre-stock-badge.is-out strong {
  color: #fc8181;
}

.tyre-meta-grid {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 700px) {
  .tyre-meta-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tyre-meta-grid span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.2rem;
}

.tyre-meta-grid strong {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

/* Garage services */
.ok-text {
  color: #68d391;
}

.check-inline {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.35rem 0 0.5rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
  cursor: pointer;
}

.check-inline input {
  margin-top: 0.2rem;
  width: auto;
  accent-color: var(--gold-500);
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service-card {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(26, 26, 26, 0.9), rgba(20, 20, 20, 0.95));
  border: 1px solid rgba(214, 230, 247, 0.1);
}

.service-card.is-inactive {
  opacity: 0.72;
  border-style: dashed;
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.service-cat {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.service-card h3 {
  margin: 0.25rem 0 0.35rem;
  color: var(--white);
  font-size: 1.15rem;
}

.service-desc {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.service-price {
  color: var(--gold-400);
  font-size: 1.25rem;
  white-space: nowrap;
}

.service-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1rem 0;
}

@media (min-width: 561px) {
  .service-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.service-meta span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.2rem;
}

.service-meta strong {
  color: var(--white);
  font-size: 0.95rem;
}

/* Customer service request */
.service-picker {
  border: 0;
  margin: 0 0 1.1rem;
  padding: 0;
  min-width: 0;
}

.service-picker legend {
  padding: 0;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.service-picker-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .service-picker-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-pick {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(214, 230, 247, 0.12);
  background: rgba(10, 10, 10, 0.35);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.service-pick:has(input:checked) {
  border-color: rgba(139, 0, 0, 0.45);
  background: rgba(139, 0, 0, 0.08);
}

.service-pick input {
  margin-top: 0.15rem;
  width: auto;
  accent-color: var(--gold-500);
  flex-shrink: 0;
}

.service-pick span {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.request-steps {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.request-steps li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.request-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* ========== Photo section backgrounds ========== */
.has-photo-bg,
.same-day {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Soft edge blend + accent seam between photo sections */
.has-photo-bg::before,
.same-day::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(56px, 12vw, 110px);
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      transparent 4%,
      rgba(192, 192, 192, 0.22) 28%,
      rgba(139, 0, 0, 0.7) 50%,
      rgba(192, 192, 192, 0.22) 72%,
      transparent 96%
    ) top center / min(100%, 720px) 1px no-repeat,
    linear-gradient(180deg, #0A0A0A 0%, rgba(10, 10, 10, 0.78) 38%, rgba(10, 10, 10, 0.28) 72%, transparent 100%);
}

.has-photo-bg::after,
.same-day::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(56px, 12vw, 110px);
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      transparent 4%,
      rgba(192, 192, 192, 0.14) 30%,
      rgba(139, 0, 0, 0.45) 50%,
      rgba(192, 192, 192, 0.14) 70%,
      transparent 96%
    ) bottom center / min(100%, 560px) 1px no-repeat,
    linear-gradient(0deg, #0A0A0A 0%, rgba(10, 10, 10, 0.78) 38%, rgba(10, 10, 10, 0.28) 72%, transparent 100%);
}

.section-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.72) 28%, rgba(10, 10, 10, 0.7) 72%, rgba(10, 10, 10, 0.9) 100%),
    var(--section-photo) center/cover no-repeat;
}

@media (min-width: 900px) {
  .section-photo-bg {
    background:
      linear-gradient(180deg, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.58) 30%, rgba(8, 22, 40, 0.55) 70%, rgba(10, 10, 10, 0.82) 100%),
      var(--section-photo) center/cover no-repeat;
  }
}

.has-photo-bg > .container,
.same-day > .container {
  position: relative;
  z-index: 3;
}

.services.has-photo-bg .service-tile,
.offers.has-photo-bg .offer-panel,
.visit.has-photo-bg .visit-copy,
.visit.has-photo-bg .visit-map {
  background: linear-gradient(165deg, rgba(26, 26, 26, 0.88), rgba(8, 22, 40, 0.94));
  backdrop-filter: blur(4px);
}

.visit.has-photo-bg .visit-copy {
  padding: 1.5rem 1.35rem 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(214, 230, 247, 0.12);
}

.visit.has-photo-bg .visit-map {
  border: 1px solid rgba(214, 230, 247, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.book-hero.has-photo-bg .book-hero-inner {
  position: relative;
  z-index: 1;
}

.book-hero.has-photo-bg {
  position: relative;
  overflow: hidden;
}

.book-hero .section-photo-bg {
  background:
    linear-gradient(105deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.5) 50%, rgba(10, 10, 10, 0.35) 100%),
    var(--section-photo) center/cover no-repeat;
}

/* ========== Admin panel ========== */
.page-admin {
  min-height: 100svh;
}

.admin-shell {
  display: grid;
  min-height: 100svh;
  grid-template-columns: 1fr;
}

@media (min-width: 980px) {
  .admin-shell {
    grid-template-columns: 250px 1fr;
  }
}

.admin-sidebar {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem 1rem 1.5rem;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.98), rgba(10, 10, 10, 0.98));
  border-right: 1px solid rgba(214, 230, 247, 0.1);
}

@media (min-width: 980px) {
  .admin-sidebar {
    display: flex;
    position: sticky;
    top: 0;
    height: 100svh;
  }
}

.admin-nav {
  display: grid;
  gap: 0.25rem;
  flex: 1;
}

.admin-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  font-weight: 650;
  font-size: 0.92rem;
}

.admin-nav a:hover,
.admin-nav a.is-active {
  color: var(--white);
  background: rgba(139, 0, 0, 0.12);
}

.admin-nav a.is-active {
  color: var(--gold-400);
}

.admin-sidebar-foot {
  display: grid;
  gap: 0.65rem;
}

.admin-muted {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.85rem;
}

.admin-main {
  min-width: 0;
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(139, 0, 0, 0.18), transparent 60%),
    var(--blue-950, #0A0A0A);
}

.admin-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  padding: 1.25rem 1.25rem 0.5rem;
  border-bottom: 1px solid rgba(214, 230, 247, 0.08);
}

.admin-topbar h1 {
  margin: 0.15rem 0 0;
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.admin-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-content {
  padding: 1.25rem;
}

.admin-footer {
  padding: 1rem 1.25rem 1.5rem;
  color: var(--ink-muted);
  font-size: 0.85rem;
}

.admin-report-filters {
  display: grid;
  gap: 1rem;
}

.admin-date-row {
  align-items: end;
}

.admin-date-row label span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.35rem;
}

.admin-date-row input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(214, 230, 247, 0.18);
  background: rgba(10, 10, 10, 0.55);
  color: var(--white);
  padding: 0.75rem 0.9rem;
}

.admin-card {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(26, 26, 26, 0.9), rgba(20, 20, 20, 0.95));
  border: 1px solid rgba(214, 230, 247, 0.1);
  margin-bottom: 1rem;
}

.admin-card.is-inactive {
  opacity: 0.7;
  border-style: dashed;
}

.admin-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.admin-card-top h3 {
  margin: 0;
  color: var(--white);
}

.admin-access-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.admin-access-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 230, 247, 0.14);
  background: rgba(10, 10, 10, 0.4);
  color: var(--ink-muted);
  font-size: 0.8rem;
  font-weight: 650;
  cursor: pointer;
}

.admin-access-chip.is-on {
  border-color: rgba(139, 0, 0, 0.4);
  color: var(--gold-400);
  background: rgba(139, 0, 0, 0.08);
}

.admin-access-chip input {
  width: auto;
  accent-color: var(--gold-500);
}

.admin-table select {
  border-radius: 8px;
  border: 1px solid rgba(214, 230, 247, 0.18);
  background: rgba(10, 10, 10, 0.55);
  color: var(--white);
  padding: 0.35rem 0.5rem;
}

.admin-mobile-nav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.85rem 1.25rem 0;
  -webkit-overflow-scrolling: touch;
}

/* ========== Customer tyre shop (Amazon-style browse) ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shop {
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(30, 90, 160, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(139, 0, 0, 0.08), transparent 50%),
    var(--blue-950);
}

.shop-top {
  padding: 6.5rem 0 1.25rem;
  border-bottom: 1px solid rgba(214, 230, 247, 0.1);
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.4), transparent),
    url("assets/warehouse-bay.jpg?v=3") center 35%/cover no-repeat;
  position: relative;
}

.shop-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0.92));
}

.shop-top-inner {
  position: relative;
  z-index: 1;
}

.shop-top h1 {
  font-size: var(--display-h1);
  margin: 0.2rem 0 0.5rem;
}

.shop-lead {
  color: var(--ink-muted);
  max-width: 48ch;
  margin: 0;
}

.shop-top-row {
  display: grid;
  gap: 1.25rem;
  margin-top: 0.75rem;
}

@media (min-width: 860px) {
  .shop-top-row {
    grid-template-columns: 1.1fr 1fr;
    align-items: end;
  }
}

.shop-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  background: rgba(10, 10, 10, 0.65);
  border: 1px solid rgba(214, 230, 247, 0.16);
  border-radius: 14px;
  padding: 0.45rem;
}

.shop-search input {
  border: 0;
  background: transparent;
  color: var(--white);
  padding: 0.7rem 0.85rem;
  font: inherit;
  width: 100%;
}

.shop-search input:focus {
  outline: none;
}

.shop-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.shop-brand-pill {
  border: 1px solid rgba(214, 230, 247, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.shop-brand-pill:hover {
  border-color: rgba(139, 0, 0, 0.55);
  color: var(--gold-300);
}

.shop-layout {
  padding: 1.5rem 0 3.5rem;
}

.shop-layout-inner {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 980px) {
  .shop-layout-inner {
    grid-template-columns: 250px 1fr;
    align-items: start;
  }
}

.shop-filters {
  display: none;
  background: rgba(20, 20, 20, 0.72);
  border: 1px solid rgba(214, 230, 247, 0.1);
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 1.15rem;
  position: static;
  max-height: none;
}

.shop-filters.is-open {
  display: block;
}

.shop-filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.shop-filters-head h2 {
  font-size: 1.05rem;
  margin: 0;
}

.shop-filter-group {
  border-top: 1px solid rgba(214, 230, 247, 0.1);
  padding: 0.65rem 0;
}

.shop-filter-group summary {
  cursor: pointer;
  font-weight: 750;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shop-filter-group summary::-webkit-details-marker {
  display: none;
}

.shop-filter-group summary::after {
  content: "+";
  color: var(--gold-400);
  font-weight: 800;
}

.shop-filter-group[open] summary::after {
  content: "–";
}

.shop-filter-options {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.65rem;
  max-height: 180px;
  overflow: auto;
}

.shop-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  cursor: pointer;
}

.shop-check input {
  width: auto;
  accent-color: var(--gold-500);
}

.shop-check-stock {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(214, 230, 247, 0.1);
  color: var(--white);
  font-weight: 650;
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.shop-toolbar p {
  margin: 0;
  color: var(--ink-muted);
  font-weight: 650;
}

.shop-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.shop-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.shop-sort select {
  border-radius: 10px;
  border: 1px solid rgba(214, 230, 247, 0.18);
  background: rgba(10, 10, 10, 0.7);
  color: var(--white);
  padding: 0.45rem 0.65rem;
  font: inherit;
}

.shop-filter-mobile-btn {
  display: inline-flex;
}

@media (min-width: 980px) {
  .shop-filter-mobile-btn {
    display: none;
  }

  .shop-filters {
    display: block;
    position: sticky;
    top: 5.5rem;
    max-height: calc(100svh - 6.5rem);
    overflow: auto;
  }
}

.shop-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.shop-active-chip {
  border: 1px solid rgba(139, 0, 0, 0.35);
  background: rgba(139, 0, 0, 0.12);
  color: var(--gold-300);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.shop-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .offer-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .shop-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.shop-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, rgba(26, 26, 26, 0.94), rgba(14, 14, 14, 0.98));
  border: 1px solid rgba(214, 230, 247, 0.1);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

@media (min-width: 640px) {
  .shop-card {
    border-radius: var(--radius-lg);
  }
}

.shop-card:hover {
  border-color: rgba(139, 0, 0, 0.4);
  transform: translateY(-3px);
}

.shop-card.is-featured {
  border-color: rgba(139, 0, 0, 0.35);
}

.shop-card.is-out {
  opacity: 0.72;
}

.shop-card-media {
  position: relative;
  aspect-ratio: 2 / 1;
  background:
    radial-gradient(circle at 50% 45%, rgba(139, 0, 0, 0.16), transparent 55%),
    linear-gradient(160deg, rgba(22, 22, 22, 0.95), rgba(10, 10, 10, 0.98));
  display: grid;
  place-items: center;
}

.shop-tyre-art {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  border: 6px solid rgba(214, 230, 247, 0.22);
  box-shadow:
    inset 0 0 0 8px rgba(10, 10, 10, 0.85),
    0 8px 18px rgba(0, 0, 0, 0.3);
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.12), transparent 45%);
}

.shop-tyre-art span {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold-400);
}

@media (min-width: 640px) {
  .shop-card-media {
    aspect-ratio: 4 / 3;
  }

  .shop-tyre-art {
    width: 7.5rem;
    height: 7.5rem;
    border: 10px solid rgba(214, 230, 247, 0.22);
    box-shadow:
      inset 0 0 0 14px rgba(10, 10, 10, 0.85),
      0 12px 30px rgba(0, 0, 0, 0.35);
  }

  .shop-tyre-art span {
    font-size: 1.6rem;
  }
}

.shop-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--blue-950);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
}

.shop-card-body {
  padding: 0.75rem 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.shop-card-brand {
  margin: 0;
  color: var(--gold-400);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-card-body h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.25;
}

.shop-card-size {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.82rem;
}

@media (min-width: 640px) {
  .shop-card-body {
    padding: 1rem 1rem 1.1rem;
    gap: 0.35rem;
  }

  .shop-card-brand {
    font-size: 0.78rem;
  }

  .shop-card-body h3 {
    font-size: 1.05rem;
  }

  .shop-card-size {
    font-size: 0.9rem;
  }
}

.shop-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.shop-season,
.shop-vehicle {
  font-size: 0.72rem;
  font-weight: 750;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(214, 230, 247, 0.16);
  color: var(--ink-muted);
}

.shop-rating {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.shop-stars {
  color: var(--gold-400);
  letter-spacing: 0.05em;
}

.shop-card-specs {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.84rem;
  line-height: 1.4;
  flex: 1;
}

.shop-card-foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.shop-price {
  display: block;
  font-size: 1.25rem;
  color: var(--gold-300);
}

.shop-stock {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.shop-stock.is-ok { color: #7ddea8; }
.shop-stock.is-low { color: var(--gold-400); }
.shop-stock.is-out { color: #f0a0a0; }

.shop-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(139, 0, 0, 0.45);
  background: rgba(139, 0, 0, 0.14);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-weight: 750;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  min-height: 40px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.shop-cart-btn:hover,
.shop-cart-btn.is-active {
  background: rgba(139, 0, 0, 0.28);
  border-color: rgba(139, 0, 0, 0.7);
  color: #FFFFFF;
}

.shop-cart-count {
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #8B0000;
  color: #FFFFFF;
  display: inline-grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.shop-cart-drawer[hidden] {
  display: none !important;
}

.shop-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
}

.shop-cart-scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 18, 0.65);
}

.shop-cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 400px);
  height: 100%;
  background: linear-gradient(180deg, rgba(12, 30, 52, 0.98), rgba(10, 10, 10, 0.99));
  border-left: 1px solid rgba(214, 230, 247, 0.12);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.35);
}

.shop-cart-head,
.shop-cart-foot {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(214, 230, 247, 0.1);
}

.shop-cart-foot {
  border-bottom: 0;
  border-top: 1px solid rgba(214, 230, 247, 0.1);
  margin-top: auto;
}

.shop-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shop-cart-head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.shop-cart-close {
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.4rem;
  cursor: pointer;
}

.shop-cart-body {
  padding: 1rem 1.15rem;
  overflow: auto;
  flex: 1;
}

.shop-cart-item {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(214, 230, 247, 0.08);
}

.shop-cart-item p {
  margin: 0.2rem 0 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.shop-cart-qty {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.shop-cart-qty button[data-qty-inc],
.shop-cart-qty button[data-qty-dec] {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(214, 230, 247, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  cursor: pointer;
}

.shop-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.shop-cart-total strong {
  color: var(--gold-300);
  font-size: 1.2rem;
}

.shop-cart-note {
  color: var(--ink-muted);
  font-size: 0.82rem;
  margin: 0 0 0.85rem;
}

.shop-checkout-panel {
  width: min(100%, 560px);
}

.shop-checkout-summary {
  margin: 0.25rem 0 0.5rem;
  color: var(--gold-300);
  font-weight: 700;
}

body.shop-cart-open {
  overflow: hidden;
}

/* ========== Shop recommendations & product detail ========== */
.shop-card-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.45rem;
  width: 100%;
  min-width: min(100%, 12.5rem);
}

.shop-card-foot .shop-card-actions .btn {
  width: 100%;
}

.shop-card {
  cursor: pointer;
}

.shop-detail-panel {
  width: min(100%, 720px);
  max-height: min(92vh, 100%);
  overflow: auto;
  padding: 1.25rem 1.1rem 1.4rem;
}

.shop-detail-hero {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.9rem;
  align-items: start;
  margin-bottom: 1rem;
  padding-right: 1.5rem;
}

.shop-detail-art {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

.shop-detail-hero h2 {
  margin: 0.15rem 0 0.35rem;
  font-size: clamp(1.25rem, 4vw, 1.7rem);
  color: var(--white);
}

.shop-detail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0 0 1rem;
  padding: 0.85rem;
  border-radius: 14px;
  background: rgba(10, 10, 10, 0.45);
  border: 1px solid rgba(214, 230, 247, 0.1);
}

.shop-detail-facts dt {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
}

.shop-detail-facts dd {
  margin: 0.15rem 0 0;
  font-weight: 650;
  color: var(--ink);
}

.shop-detail-specs {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.shop-detail-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(214, 230, 247, 0.1);
}

.shop-detail-buy .btn {
  min-width: 9rem;
}

.shop-recs,
.shop-recs-block {
  margin-top: 0.25rem;
}

.shop-recs-cart {
  padding: 0.85rem 1rem 0.35rem;
  border-top: 1px solid rgba(214, 230, 247, 0.1);
  max-height: 42vh;
  overflow: auto;
}

.shop-recs-block h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: var(--white);
}

.shop-recs-sub {
  margin: 0.85rem 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 700;
}

.shop-recs-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.shop-reco-card {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  background: rgba(20, 20, 20, 0.72);
  border: 1px solid rgba(214, 230, 247, 0.1);
  cursor: pointer;
}

.shop-reco-card:hover {
  border-color: rgba(139, 0, 0, 0.35);
}

.shop-reco-reason {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.shop-reco-card h4 {
  margin: 0;
  font-size: 0.98rem;
  color: var(--white);
}

.shop-reco-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.shop-reco-foot strong {
  color: var(--gold-400);
}

.shop-recs-services {
  display: grid;
  gap: 0.5rem;
}

.shop-reco-service {
  display: block;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(214, 230, 247, 0.12);
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.22), rgba(10, 10, 10, 0.35));
}

.shop-reco-service h4 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  color: var(--white);
}

.shop-reco-service p {
  margin: 0 0 0.35rem;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.shop-reco-service span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-400);
}

@media (min-width: 640px) {
  .shop-detail-panel {
    padding: 1.5rem 1.4rem 1.6rem;
  }

  .shop-detail-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop-recs-row {
    grid-template-columns: 1fr 1fr;
  }

  .shop-recs-services {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .shop-detail-hero {
    grid-template-columns: 96px 1fr;
  }

  .shop-detail-art {
    width: 96px;
    height: 96px;
  }

  .shop-recs-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ========== Mobile-first layout layer ========== */
/* Defaults below target phones; larger screens enhance via min-width. */

.eyebrow.gold.hero-eyebrow {
  color: #FFFFFF;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

.section {
  padding: clamp(1.85rem, 5vw, 4.5rem) 0;
}

.section-head {
  margin-bottom: 1rem;
}

.section-head .eyebrow {
  margin-bottom: 0.4rem;
  font-size: 0.68rem;
}

.section-head h2,
.same-day h2,
.book-copy h2,
.visit-copy h2 {
  font-size: var(--display-h2);
  line-height: 1.18;
  text-wrap: balance;
}

.section-lead {
  font-size: 0.86rem;
  line-height: 1.45;
}

.same-day {
  padding: clamp(2.4rem, 6vw, 7rem) 0;
}

.same-day h2 {
  font-size: var(--display-h1);
}

.same-day p {
  font-size: 0.88rem;
}

.same-day-inner {
  text-align: left;
}

.same-day-inner .contact-actions {
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.same-day-inner .btn {
  width: auto;
  max-width: 100%;
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  font-size: 0.76rem;
}

.same-day-inner .btn-lg {
  padding: 0.5rem 0.95rem;
  font-size: 0.78rem;
}

.offer-row,
.service-grid,
.about-values,
.contact-cards {
  gap: 0.75rem;
}

.help-bar,
.contact-bar {
  padding: 1.25rem 1.1rem;
  border-radius: 18px;
  gap: 0.85rem;
}

.help-bar h2,
.contact-bar h2 {
  font-size: 1.1rem;
  line-height: 1.2;
}

.help-bar .contact-actions,
.contact-bar .contact-actions {
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.help-bar .btn,
.contact-bar .btn {
  width: auto;
  max-width: 100%;
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  font-size: 0.76rem;
}

.help-bar .btn-lg,
.contact-bar .btn-lg {
  padding: 0.5rem 0.95rem;
  font-size: 0.78rem;
}

.book-form label,
.auth-form label {
  gap: 0.4rem;
}

.book-form input,
.book-form select,
.book-form textarea,
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="tel"],
.auth-form input[type="password"],
.auth-form input[type="number"],
.shop-search input,
.shop-sort select {
  min-height: var(--touch);
  border-radius: 12px;
}

.book-form textarea {
  min-height: 120px;
}

.book-form .btn,
.auth-form .btn,
.shop-search .btn {
  min-height: var(--touch);
}

.book-panel,
.visit-grid,
.about-story,
.offers-layout {
  gap: 1.35rem;
}

.visit-map,
.visit-map iframe,
.about-visual {
  min-height: 180px;
}

.visit.has-photo-bg {
  padding-top: clamp(1.75rem, 5vw, 3.25rem);
  padding-bottom: clamp(1.75rem, 5vw, 3.25rem);
}

.visit.has-photo-bg .visit-copy {
  padding: 0.95rem 0.9rem 1.05rem;
}

.visit-copy h2 {
  font-size: clamp(1.2rem, 4.8vw, 1.65rem);
  margin-bottom: 0.35em;
  line-height: 1.2;
}

.visit-copy > p:not(.eyebrow) {
  font-size: 0.86rem;
  margin-bottom: 0.55rem;
  max-width: none;
}

.visit-facts {
  margin: 0.85rem 0 1rem;
  gap: 0.65rem 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.visit-facts dt {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.visit-facts dd {
  font-size: 0.92rem;
  line-height: 1.45;
}

.visit-facts > div:last-child {
  grid-column: 1 / -1;
}

.visit-copy .btn {
  width: auto;
  max-width: 100%;
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  font-size: 0.76rem;
  margin-top: 0.15rem;
}

.book-hero {
  padding: calc(var(--header-h) + 1rem) 0 1.1rem;
}

.book-hero h1 {
  font-size: var(--display-h1);
  margin-bottom: 0.45rem;
}

.book-hero-lead {
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.breadcrumb {
  flex-wrap: wrap;
  font-size: 0.75rem;
  margin-bottom: 0.85rem;
}

.orders-hero h1 {
  font-size: var(--display-h1);
}

.order-card-top,
.orders-toolbar {
  gap: 0.75rem;
}

.order-facts {
  grid-template-columns: 1fr 1fr;
}

.stat-tile {
  padding: 0.85rem 0.75rem;
}

.stat-tile strong {
  font-size: 1.45rem;
}

.orders-stats {
  grid-template-columns: 1fr 1fr;
}

/* Seller — mobile default */
.page-seller .header-actions .btn-sm,
.page-seller .user-chip {
  display: none;
}

.page-seller .user-chip[hidden] {
  display: none !important;
}

.page-seller .orders-hero {
  padding: calc(var(--header-h) + 0.85rem) 0 0.9rem;
}

.page-seller .orders-hero h1 {
  font-size: var(--display-h1);
}

.page-seller .orders-hero .book-hero-lead {
  font-size: 0.9rem;
  line-height: 1.45;
}

.page-seller .orders-section {
  padding-top: 1.25rem;
  padding-bottom: 2rem;
}

.seller-dashboard .seller-stats {
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.seller-dashboard .stat-tile {
  padding: 0.75rem 0.65rem;
}

.seller-dashboard .stat-tile strong {
  font-size: 1.35rem;
}

.seller-dashboard .stat-tile span {
  font-size: 0.72rem;
}

.seller-panel {
  padding: 0.95rem;
}

.seller-panel-head {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.seller-panel-head h2 {
  font-size: 1.05rem;
}

.seller-panel-head .panel-note {
  font-size: 0.8rem;
}

.seller-mobile-list {
  display: grid;
}

.seller-table-desktop {
  display: none;
}

.page-seller .seller-table-wrap > .seller-table {
  min-width: 520px;
}

.alert-item {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.alert-item strong {
  overflow-wrap: anywhere;
}

.seller-help-bar {
  padding: 1.1rem;
  gap: 0.9rem;
}

.seller-help-bar h2 {
  font-size: 1.15rem;
}

.seller-help-bar p {
  font-size: 0.88rem;
}

.seller-help-bar .contact-actions {
  width: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.seller-help-bar .btn {
  width: auto;
  max-width: 100%;
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  font-size: 0.76rem;
}

.page-seller .footer-bottom {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.pmc-metrics {
  grid-template-columns: 1fr 1fr;
}

.create-panel .auth-form .form-row,
.auth-form .form-row {
  grid-template-columns: 1fr;
}

/* Admin — mobile default */
.admin-topbar,
.admin-content,
.admin-footer {
  padding-left: 1rem;
  padding-right: 1rem;
}

.admin-topbar {
  align-items: flex-start;
}

.admin-topbar-actions {
  width: 100%;
}

.admin-topbar-actions .btn {
  flex: 1 1 auto;
}

.admin-content .orders-stats,
.admin-content .stat-tile {
  min-width: 0;
}

.admin-date-row.form-row {
  grid-template-columns: 1fr;
}

.admin-date-row .btn {
  width: 100%;
}

.sales-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.seller-products-layout,
.tyre-layout {
  grid-template-columns: 1fr;
}

.admin-table {
  min-width: 640px;
}

.admin-access-grid {
  grid-template-columns: 1fr;
}

/* Shop — mobile default */
.shop-top {
  padding: calc(var(--header-h) + 0.85rem) 0 1rem;
}

.shop-top h1 {
  font-size: var(--display-h1);
  line-height: 1.15;
}

.shop-search {
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.shop-search .btn {
  width: 100%;
}

.shop-toolbar {
  align-items: stretch;
  gap: 0.75rem;
}

.shop-toolbar-actions {
  width: 100%;
  flex-wrap: wrap;
}

.shop-sort {
  flex: 1 1 100%;
  justify-content: space-between;
}

.shop-sort select {
  flex: 1;
  min-width: 0;
}

.shop-card-foot {
  flex-direction: column;
  align-items: stretch;
}

.shop-card-foot .btn {
  width: 100%;
}

.shop-cart-btn {
  padding: 0.4rem 0.65rem;
  font-size: 0.8rem;
  gap: 0.25rem;
}

.shop-cart-panel {
  width: min(100%, 100vw);
}

/* Auth / modal — mobile default */
.auth-main {
  padding: 1.35rem 1rem max(2rem, env(safe-area-inset-bottom, 0px));
}

.auth-card {
  padding: 1.4rem 1.15rem 1.55rem;
  width: 100%;
  border-radius: 18px;
}

.auth-card h1 {
  font-size: var(--display-h1);
  line-height: 1.15;
}

.modal {
  padding: 0.65rem;
  align-items: end;
}

.modal-panel,
.shop-checkout-panel {
  width: 100%;
  max-height: min(92vh, 100%);
  border-radius: 18px 18px 12px 12px;
  padding: 1.25rem 1rem 1.35rem;
}

.brands-strip-head {
  margin-bottom: 1.25rem;
}

.brand-logo {
  min-width: 104px;
  padding: 0.7rem 0.75rem;
}

.footer-grid {
  gap: 1.5rem;
}

.site-footer {
  padding: 2.25rem 0 1.25rem;
}

.trust-item strong {
  font-size: 1.4rem;
}

.trust-item span {
  font-size: 0.8rem;
}

.service-meta {
  grid-template-columns: 1fr;
}

.visit-map iframe,
.about-visual img {
  width: 100%;
  display: block;
}

/* ---- Tablet+ enhancements ---- */
@media (min-width: 640px) {
  .same-day-inner .btn {
    width: auto;
    min-height: 0;
  }

  .same-day-inner .contact-actions {
    width: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .help-bar .contact-actions,
  .contact-bar .contact-actions {
    width: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .help-bar .btn,
  .contact-bar .btn {
    width: auto;
    min-height: 0;
  }

  .section-lead {
    font-size: inherit;
  }

  .section-head .eyebrow {
    margin-bottom: 0.85rem;
    font-size: 0.78rem;
  }

  .orders-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .order-facts {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat-tile {
    padding: 1rem 1.1rem;
  }

  .stat-tile strong {
    font-size: 1.8rem;
  }

  .page-seller .user-chip {
    display: inline-flex;
  }

  .seller-mobile-list {
    display: none;
  }

  .seller-table-desktop {
    display: block;
  }

  .seller-help-bar .contact-actions {
    display: flex;
    flex-wrap: wrap;
    width: auto;
  }

  .seller-help-bar .btn {
    width: auto;
  }

  .pmc-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .create-panel .auth-form .form-row,
  .auth-form .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .shop-search {
    grid-template-columns: 1fr auto;
  }

  .shop-search .btn {
    width: auto;
  }

  .shop-card-foot {
    flex-direction: row;
    align-items: end;
  }

  .shop-card-foot .btn {
    width: auto;
  }

  .sales-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-access-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-meta {
    grid-template-columns: 1fr 1fr;
  }

  .modal {
    padding: 1rem;
    align-items: center;
  }

  .modal-panel,
  .shop-checkout-panel {
    width: min(100%, 560px);
    border-radius: calc(var(--radius-lg) + 4px);
    padding: 1.5rem 1.35rem 1.6rem;
  }
}

/* ---- Desktop enhancements ---- */
@media (min-width: 900px) {
  .eyebrow.gold.hero-eyebrow {
    color: #8B0000;
    text-shadow: none;
  }

  .section {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
  }

  .section-head {
    margin-bottom: 2.5rem;
  }

  .section-head h2,
  .same-day h2,
  .book-copy h2,
  .visit-copy h2 {
    font-size: var(--display-h2);
  }

  .book-panel,
  .visit-grid,
  .about-story,
  .offers-layout {
    gap: 2rem;
  }

  .visit-map,
  .visit-map iframe,
  .about-visual {
    min-height: 320px;
  }

  .visit.has-photo-bg .visit-copy {
    padding: 1.5rem 1.35rem 1.6rem;
  }

  .visit-copy h2 {
    font-size: var(--display-h2);
    margin-bottom: 0.55em;
  }

  .visit-copy > p:not(.eyebrow) {
    font-size: inherit;
    margin-bottom: 1rem;
    max-width: 42ch;
  }

  .visit-facts {
    margin: 1.5rem 0 1.75rem;
    gap: 1.1rem;
    grid-template-columns: 1fr;
  }

  .visit-facts > div:last-child {
    grid-column: auto;
  }

  .visit-facts dt {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
  }

  .visit-facts dd {
    font-size: inherit;
  }

  .visit-copy .btn {
    width: auto;
  }

  .book-hero {
    padding: calc(var(--header-h) + 2.5rem) 0 2rem;
  }

  .book-hero h1 {
    font-size: var(--display-h1);
  }

  .breadcrumb {
    font-size: 0.88rem;
  }

  .help-bar,
  .contact-bar {
    padding: 1.75rem;
  }

  .help-bar h2,
  .contact-bar h2 {
    font-size: var(--display-h2);
  }

  .page-seller .header-actions .btn-sm {
    display: inline-flex;
  }

  .page-seller .orders-hero {
    padding: calc(var(--header-h) + 1.25rem) 0 1.25rem;
  }

  .page-seller .orders-hero h1 {
    font-size: var(--display-h1);
  }

  .page-seller .orders-hero .book-hero-lead {
    font-size: inherit;
  }

  .seller-panel {
    padding: 1.25rem;
  }

  .seller-panel-head {
    flex-direction: row;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .seller-panel-head h2 {
    font-size: 1.2rem;
  }

  .seller-mobile-list {
    display: none;
  }

  .seller-table-desktop {
    display: block;
  }

  .alert-item {
    flex-direction: row;
    align-items: center;
  }

  .seller-help-bar {
    padding: 1.75rem;
  }

  .admin-topbar,
  .admin-content,
  .admin-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .admin-topbar {
    align-items: end;
  }

  .admin-topbar-actions {
    width: auto;
  }

  .admin-date-row.form-row {
    grid-template-columns: 1fr 1fr auto;
  }

  .admin-date-row .btn {
    width: auto;
  }

  .sales-summary {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .sales-summary:has(.stat-tile:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sales-summary:has(.stat-tile:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-access-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shop-top {
    padding: 6.5rem 0 1.25rem;
  }

  .shop-toolbar {
    align-items: center;
  }

  .shop-toolbar-actions {
    width: auto;
  }

  .shop-sort {
    flex: 0 1 auto;
  }

  .shop-cart-btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.85rem;
    gap: 0.4rem;
  }

  .shop-cart-panel {
    width: min(100%, 400px);
  }

  .auth-main {
    padding: 3rem 2rem;
  }

  .auth-card {
    padding: 1.85rem 1.75rem;
    width: min(100%, 500px);
  }

  .auth-card h1 {
    font-size: var(--display-h1);
  }

  .brand-logo {
    min-width: 118px;
    padding: 0.85rem 1rem;
  }

  .brands-strip-head {
    margin-bottom: 1.75rem;
  }

  .footer-grid {
    gap: 2rem;
  }

  .site-footer {
    padding: 3rem 0 1.5rem;
  }

  .trust-item strong {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
  }

  .trust-item span {
    font-size: 0.88rem;
  }

  .service-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-seller .footer-bottom {
    flex-direction: row;
    align-items: center;
  }

  .nav-desktop {
    gap: 1.6rem;
  }
}

@media (min-width: 900px) and (max-width: 1120px) {
  .nav-desktop {
    gap: 0.85rem;
  }

  .nav-desktop a {
    font-size: 0.82rem;
  }

  .phone-pill {
    display: none;
  }
}

@media (min-width: 980px) {
  .seller-products-layout {
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    align-items: start;
  }
}

/* ========== Cart page (dedicated) ========== */
.page-cart .site-header {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(214, 230, 247, 0.08);
}

.cart-hero {
  padding: calc(var(--header-h) + 0.85rem) 0 0.2rem;
  background:
    radial-gradient(520px 200px at 90% 0%, rgba(139, 0, 0, 0.22), transparent 55%),
    linear-gradient(180deg, rgba(20, 20, 20, 0.4), transparent);
}

.cart-hero h1 {
  margin: 0 0 0.25em;
  font-size: var(--display-h1);
  color: var(--white);
  line-height: 1.15;
}

.cart-hero .eyebrow {
  margin-bottom: 0.3rem;
  font-size: 0.7rem;
}

.cart-hero-lead {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.84rem;
  max-width: 40ch;
  line-height: 1.4;
}

.cart-section {
  padding: 0.85rem 0 2.5rem;
}

.cart-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
  max-width: 720px;
}

.cart-layout[hidden],
.cart-empty[hidden],
.cart-success[hidden],
.cart-step-panel[hidden] {
  display: none !important;
}

.cart-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}

.cart-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-muted);
  border-radius: 999px;
  padding: 0.45rem 0.65rem;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  min-height: 40px;
}

.cart-step:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.cart-step.is-active {
  border-color: rgba(139, 0, 0, 0.55);
  background: rgba(139, 0, 0, 0.18);
  color: #FFFFFF;
}

.cart-step.is-done {
  border-color: rgba(192, 192, 192, 0.35);
  color: #FFFFFF;
}

.cart-step-num {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

.cart-step.is-active .cart-step-num {
  background: #8B0000;
  color: #FFFFFF;
}

.cart-steps-line {
  width: 1.5rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
}

.cart-step-panel {
  display: grid;
  gap: 0.85rem;
}

.cart-step-bar {
  position: sticky;
  bottom: 0.65rem;
  z-index: 5;
  margin-top: 0.35rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: rgba(14, 14, 14, 0.94);
  border: 1px solid rgba(139, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 0.55rem;
}

.cart-step-bar-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.cart-step-bar-total strong {
  color: #FFFFFF;
  font-size: 1.05rem;
}

.cart-step-bar .btn {
  width: 100%;
  min-height: var(--touch, 48px);
}

.cart-back-link {
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
  color: var(--gold-400);
  font-weight: 700;
  font-size: 0.92rem;
}

.cart-back-link::after {
  content: none;
}

.cart-summary-full {
  max-width: none;
}

.cart-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.cart-list-head h2 {
  margin: 0;
  font-size: 1rem;
  color: var(--white);
}

.cart-list {
  display: grid;
  gap: 0.55rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.65rem;
  padding: 0.7rem 0.75rem;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(26, 26, 26, 0.95), rgba(14, 14, 14, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-line-art {
  width: 42px;
  height: 42px;
  border-width: 4px;
  box-shadow:
    inset 0 0 0 6px rgba(10, 10, 10, 0.85),
    0 4px 12px rgba(0, 0, 0, 0.25);
}

.cart-line-art span {
  font-size: 0.85rem;
}

.cart-line-main {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.cart-line-copy h3 {
  margin: 0;
  font-size: 0.9rem;
  color: var(--white);
  line-height: 1.25;
}

.cart-line-copy p {
  margin: 0.15rem 0 0;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.cart-line-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.cart-qty button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.cart-qty button:active {
  background: rgba(255, 255, 255, 0.06);
}

.cart-qty span {
  min-width: 1.35rem;
  text-align: center;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--white);
}

.cart-line-total {
  margin-left: auto;
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 800;
}

.cart-line-remove {
  flex: 0 0 auto;
  margin-left: auto;
  border: 0;
  background: none;
  color: var(--ink-muted);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.35rem 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: left;
}

.cart-line-remove:hover {
  color: #FFFFFF;
}

.cart-recs {
  margin-top: 1rem;
}

.page-cart .shop-recs-cart {
  max-height: none;
  padding: 0.5rem 0 0;
  border-top: 0;
}

.page-cart .shop-recs-block h3 {
  font-size: 0.92rem;
}

.page-cart .shop-reco-card h4,
.page-cart .shop-reco-service h4 {
  font-size: 0.88rem;
}

.page-cart .shop-reco-service p {
  font-size: 0.8rem;
}

.cart-aside {
  position: relative;
}

.cart-summary {
  border-radius: 16px;
  padding: 1rem 0.95rem 1.1rem;
  background:
    linear-gradient(165deg, rgba(139, 0, 0, 0.18), rgba(16, 16, 16, 0.96) 42%),
    #141414;
  border: 1px solid rgba(139, 0, 0, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.cart-summary h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  color: var(--white);
}

.cart-totals {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
}

.cart-totals > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.cart-totals dt {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.cart-totals dd {
  margin: 0;
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
}

.cart-totals > div:last-child dd {
  font-size: 1.35rem;
  color: #FFFFFF;
}

.cart-summary-note {
  margin: 0 0 1.15rem;
  color: var(--ink-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.cart-checkout-form {
  display: grid;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-checkout-form h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--white);
}

.cart-checkout-form .form-row {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.cart-checkout-form label > span,
.cart-checkout-form .check-label span {
  color: var(--ink-muted);
}

.cart-checkout-form input,
.cart-checkout-form select,
.cart-checkout-form textarea {
  width: 100%;
  min-height: var(--touch, 48px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.55);
  color: var(--white);
  padding: 0.75rem 0.9rem;
}

.cart-checkout-form textarea {
  min-height: 88px;
  resize: vertical;
}

.cart-checkout-form .btn {
  width: 100%;
  min-height: var(--touch, 48px);
  margin-top: 0.15rem;
}

.cart-checkout-form .shop-checkout-summary {
  margin: 0;
  color: #C0C0C0;
  font-weight: 700;
  font-size: 0.9rem;
}

.cart-empty-card {
  text-align: center;
  max-width: 420px;
  margin: 1.5rem auto 0;
  padding: 2rem 1.25rem;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(26, 26, 26, 0.95), rgba(14, 14, 14, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #C0C0C0;
  background: rgba(139, 0, 0, 0.14);
  border: 1px solid rgba(139, 0, 0, 0.28);
}

.cart-empty-card h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 5vw, 1.7rem);
  color: var(--white);
}

.cart-empty-card p {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.cart-success {
  padding-top: 0.5rem;
}

.cart-success-actions {
  display: grid;
  gap: 0.65rem;
}

.cart-success-actions .btn {
  width: 100%;
}

@media (min-width: 640px) {
  .cart-hero {
    padding: calc(var(--header-h) + 1.75rem) 0 0.5rem;
  }

  .cart-hero h1 {
    font-size: var(--display-h1);
  }

  .cart-hero-lead {
    font-size: 0.92rem;
  }

  .cart-list-head h2 {
    font-size: 1.15rem;
  }

  .cart-line {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 0.95rem 1rem;
    border-radius: 16px;
  }

  .cart-line-art {
    width: 56px;
    height: 56px;
    border-width: 5px;
  }

  .cart-line-art span {
    font-size: 1rem;
  }

  .cart-line-copy h3 {
    font-size: 1rem;
  }

  .cart-line-copy p {
    font-size: 0.86rem;
  }

  .cart-qty button {
    width: 38px;
    height: 38px;
  }

  .cart-line-total {
    order: 2;
    font-size: 1rem;
  }

  .cart-line-remove {
    order: 3;
    font-size: 0.84rem;
    margin-left: 0;
  }

  .cart-checkout-form .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .cart-success-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .cart-success-actions .btn {
    width: auto;
  }

  .cart-steps {
    max-width: 420px;
  }

  .cart-step-bar {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .cart-step-bar .btn {
    width: auto;
    min-width: 240px;
  }
}

@media (min-width: 960px) {
  .cart-section {
    padding: 1.75rem 0 4rem;
  }

  .cart-layout {
    max-width: 760px;
    gap: 1.5rem;
  }

  .cart-summary {
    padding: 1.4rem 1.3rem 1.5rem;
  }

  .cart-step-bar {
    position: static;
  }
}

@media (max-width: 420px) {
  .shop-cart-btn {
    padding: 0.45rem 0.65rem;
    gap: 0.3rem;
  }
}

/* ========== Site-wide mobile density ========== */
@media (max-width: 899px) {
  h1 {
    font-size: var(--display-h1);
  }

  h2 {
    font-size: var(--display-h2);
  }

  h3 {
    font-size: var(--display-h3);
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    margin-bottom: 0.55rem;
  }

  .same-day-inner .btn,
  .help-bar .btn,
  .contact-bar .btn,
  .visit-copy .btn,
  .seller-help-bar .btn {
    min-height: 36px;
    padding: 0.4rem 0.8rem;
    font-size: 0.74rem;
  }

  .same-day-inner .btn-lg,
  .help-bar .btn-lg,
  .contact-bar .btn-lg {
    padding: 0.45rem 0.9rem;
    font-size: 0.76rem;
  }

  .offer-panel .btn,
  .cart-step-bar .btn,
  .cart-checkout-form .btn {
    min-height: var(--touch);
    padding: 0.55rem 0.95rem;
    font-size: 0.8rem;
  }

  .same-day-inner .contact-actions,
  .help-bar .contact-actions,
  .contact-bar .contact-actions,
  .seller-help-bar .contact-actions {
    gap: 0.35rem;
  }

  .brands-strip {
    padding: 1.75rem 0 1.85rem;
  }

  .brands-strip-head {
    margin-bottom: 1rem;
  }

  .brands-strip-head h2 {
    font-size: var(--display-h2);
  }

  .brands-strip-head p {
    font-size: 0.86rem;
  }

  .brand-logo {
    min-width: 88px;
    padding: 0.55rem 0.6rem;
  }

  .product-card {
    border-radius: 14px;
  }

  .product-card .product-media,
  .product-visual {
    min-height: 120px;
  }

  .auth-card {
    padding: 1.15rem 1rem 1.25rem;
    border-radius: 16px;
  }

  .auth-card h1 {
    font-size: var(--display-h1);
  }

  .auth-main {
    padding: 1.1rem 0.9rem max(1.75rem, env(safe-area-inset-bottom, 0px));
  }

  .shop-top {
    padding: calc(var(--header-h) + 0.7rem) 0 0.85rem;
  }

  .shop-top h1 {
    font-size: var(--display-h1);
  }

  .shop-top .book-hero-lead,
  .shop-top p {
    font-size: 0.86rem;
  }

  .contact-card {
    padding: 0.95rem 0.9rem;
    border-radius: 14px;
  }

  .contact-card strong {
    font-size: 1rem;
  }

  .contact-card span {
    font-size: 0.84rem;
  }

  .about-story,
  .about-values {
    gap: 0.85rem;
  }

  .about-visual {
    min-height: 170px;
    border-radius: 14px;
  }

  .stat-tile {
    padding: 0.7rem 0.65rem;
  }

  .stat-tile strong {
    font-size: 1.25rem;
  }

  .stat-tile span {
    font-size: 0.72rem;
  }

  .order-card,
  .seller-panel,
  .admin-panel,
  .create-panel {
    padding: 0.9rem;
    border-radius: 14px;
  }

  .site-footer {
    padding: 1.75rem 0 1.1rem;
  }

  .footer-grid {
    gap: 1.15rem;
  }

  .footer-grid h3,
  .footer-label {
    font-size: 0.92rem;
  }

  .nav-mobile a {
    padding: 0.8rem 0.55rem;
    font-size: 0.92rem;
  }

  .filter-chip {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
    min-height: 36px;
  }

  .catalogue {
    padding-top: 1.5rem;
  }

  .modal-panel,
  .shop-checkout-panel,
  .shop-detail-panel {
    padding: 1.1rem 0.9rem 1.2rem;
  }
}
