/* ==========================================================================
   ΑΦΟΙ Α. ΑΝΤΩΝΟΠΟΥΛΟΙ Ο.Ε. — ARCHITECTURAL HARDWARE DESIGN SYSTEM
   Crafted with Unslop principles:
   - Warm stone/graphite neutral ramp (#f7f5f0, #ffffff, #efece6, #171717)
   - Official Business Accent: Aegean Teal (#008580)
   - Weights 400, 500, 600 (zero 700–900 bloated headings)
   - Strict 4px/8px spacing grid, nested radii, tabular numerals
   - CSS Grid mobile header (zero horizontal cropping)
   ========================================================================== */

:root {
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  /* Warm Hardware Neutral Ramp (Light Mode Default) */
  --bg-page: #f7f5f0;
  --bg-card: #ffffff;
  --bg-subtle: #efece6;
  --bg-hover: #e5e0d8;
  --bg-dark: #141415;
  --bg-dark-raised: #1e1e20;

  /* Three Text Roles */
  --text-main: #171717;
  --text-secondary: #525252;
  --text-muted: #737373;

  /* Business Brand Accent (Aegean Teal #008580) */
  --brand-teal: #008580;
  --brand-teal-hover: #006b67;
  --brand-teal-light: #e6f3f2;

  /* Aliases for Full Backward Compatibility */
  --hd-orange: var(--brand-teal);
  --hd-orange-hover: var(--brand-teal-hover);
  --hd-orange-light: var(--brand-teal-light);

  /* Anchor Graphite */
  --navy-slate: #171717;
  --navy-slate-light: #262626;

  --table-hover: #ebe7de;

  /* Quiet Hairline Borders (6–10% ink opacity) */
  --border-light: rgba(23, 23, 23, 0.08);
  --border-strong: rgba(23, 23, 23, 0.16);

  /* Semantic Status Colors */
  --fulfill-green: #0d9488;
  --fulfill-amber: #d97706;
  --fulfill-blue: #0284c7;

  /* Layout & Nested Radii (4px/8px Scale) */
  --container-max: 1240px;
  --container-pad: 24px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Neutral Soft Shadows (Zero Colored Glows) */
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.06);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   AUTOMATIC DEVICE DARK MODE DETECTION & THEME OVERRIDES (Dark Reader Style)
   ========================================================================== */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-page: #181a1b;
    --bg-card: #222426;
    --bg-subtle: #292c2e;
    --bg-hover: #33373a;
    --bg-dark: #121314;
    --bg-dark-raised: #1c1e20;

    --text-main: #e8e6e3;
    --text-secondary: #b2aba1;
    --text-muted: #968e82;

    --border-light: rgba(255, 255, 255, 0.12);
    --border-strong: rgba(255, 255, 255, 0.22);

    --brand-teal: #008580;
    --brand-teal-hover: #006b67;
    --brand-teal-light: rgba(0, 133, 128, 0.18);

    --hd-orange: var(--brand-teal);
    --hd-orange-hover: var(--brand-teal-hover);
    --hd-orange-light: var(--brand-teal-light);

    --navy-slate: #1f2123;
    --navy-slate-light: #2b2f32;

    --table-hover: #2e3235;

    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.45);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.6);
  }
}

[data-theme="dark"] {
  --bg-page: #181a1b;
  --bg-card: #222426;
  --bg-subtle: #292c2e;
  --bg-hover: #33373a;
  --bg-dark: #121314;
  --bg-dark-raised: #1c1e20;

  --text-main: #e8e6e3;
  --text-secondary: #b2aba1;
  --text-muted: #968e82;

  --border-light: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);

  --brand-teal: #008580;
  --brand-teal-hover: #006b67;
  --brand-teal-light: rgba(0, 133, 128, 0.18);

  --hd-orange: var(--brand-teal);
  --hd-orange-hover: var(--brand-teal-hover);
  --hd-orange-light: var(--brand-teal-light);

  --navy-slate: #1f2123;
  --navy-slate-light: #2b2f32;

  --table-hover: #2e3235;

  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.6);
}

[data-theme="light"] {
  --bg-page: #f7f5f0;
  --bg-card: #ffffff;
  --bg-subtle: #efece6;
  --bg-hover: #e5e0d8;
  --bg-dark: #141415;
  --bg-dark-raised: #1e1e20;

  --text-main: #171717;
  --text-secondary: #525252;
  --text-muted: #737373;

  --border-light: rgba(23, 23, 23, 0.08);
  --border-strong: rgba(23, 23, 23, 0.16);

  --brand-teal: #008580;
  --brand-teal-hover: #006b67;
  --brand-teal-light: #e6f3f2;

  --hd-orange: var(--brand-teal);
  --hd-orange-hover: var(--brand-teal-hover);
  --hd-orange-light: var(--brand-teal-light);

  --navy-slate: #171717;
  --navy-slate-light: #262626;

  --table-hover: #ebe7de;

  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-main);
  background-color: var(--bg-page);
  font-family: var(--font-sans);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  transition: background-color 200ms ease, color 200ms ease;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
}

main {
  flex: 1 0 auto;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 150ms var(--ease-out);
}

a:hover {
  color: var(--hd-orange);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--hd-orange);
  outline-offset: 2px;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.ui-icon {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: min(var(--container-max), 100%);
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}




/* ==========================================================================
   2. HEADER & SEARCH BAR (Balanced 42px Vertical Grid & Perfect Padding)
   ========================================================================== */
.header-main {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-card);
  transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(200px, 540px) auto;
  grid-template-areas: "brand search actions";
  align-items: center;
  justify-content: space-between;
  padding: 13px 0 11px 0;
  gap: 16px 24px;
}

.brand-logo-link {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--text-main);
}

.brand-logo-link:hover {
  color: var(--text-main);
}

.brand-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-logo-img { width: 38px; height: 38px; object-fit: contain; display: block; border-radius: 6px; }

.brand-wordmark {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name-primary {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-name-sub {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

/* Search Input Box */
.header-search-form {
  grid-area: search;
  width: 100%;
  display: flex;
  align-items: center;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding-left: 12px;
  overflow: hidden;
  height: 42px;
  transition: border-color 150ms var(--ease-out), background-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
}

.header-search-form:focus-within {
  background-color: var(--bg-card);
  border-color: var(--hd-orange);
  box-shadow: 0 0 0 2px var(--hd-orange-light);
}

.header-search-icon-left {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 0 12px;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--text-main);
  background: transparent;
  height: 100%;
}

.header-search-input::placeholder {
  color: var(--text-muted);
}

.header-search-input:focus {
  outline: none;
}

.header-search-btn {
  background-color: var(--hd-orange);
  color: #ffffff;
  border: none;
  padding: 0 18px;
  height: 100%;
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 150ms var(--ease-out);
}

.header-search-btn:hover {
  background-color: var(--hd-orange-hover);
}

/* Header Action Controls */
.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-header-cart {
  background-color: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  font-family: inherit;
  font-weight: 500;
  font-size: 0.8125rem;
  padding: 0 14px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}

.btn-header-cart:hover {
  background-color: var(--bg-hover);
  border-color: var(--text-muted);
}

.header-cart-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  padding: 2px 7px;
  border-radius: 4px;
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out);
}

.header-cart-count.has-items {
  background-color: var(--hd-orange);
  color: #ffffff;
  border-color: var(--hd-orange);
}

.btn-header-call {
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  font-weight: 500;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  padding: 0 14px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out), color 150ms var(--ease-out);
}

.btn-header-call svg {
  color: var(--hd-orange);
  flex-shrink: 0;
  transition: transform 150ms var(--ease-out);
}

.btn-header-call:hover {
  background-color: var(--hd-orange-light);
  border-color: var(--hd-orange);
  color: var(--hd-orange);
}

.btn-header-call:hover svg {
  transform: scale(1.1);
}

.btn-header-auth {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  height: 42px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}

.btn-header-auth:hover {
  background-color: var(--bg-hover);
  border-color: var(--text-muted);
}

/* ==========================================================================
   3. NAVIGATION STRIPE & UNIFIED HEADER CONTROLS (Quiet Tabs, Perfect Padding)
   ========================================================================== */
.department-bar {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-light);
  max-width: 100%;
  overflow: hidden;
  transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}

.department-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.department-list {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  margin: 0;
}

.department-list::-webkit-scrollbar {
  display: none;
}

.department-link {
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  padding: 12px 2px 10px 2px;
  border-bottom: 2px solid transparent;
  transition: color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}

.department-link:hover {
  color: var(--text-main);
}

.department-link.active {
  color: var(--text-main);
  font-weight: 600;
  border-bottom-color: var(--brand-teal);
}

/* Theme Toggle Button in Header Actions */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0 11px;
  height: 42px;
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}

.theme-toggle-btn:hover {
  background-color: var(--bg-hover);
  border-color: var(--text-muted);
}

.theme-icon-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

/* Header Store Location & Hours Badge */
.header-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-store-badge svg {
  color: var(--brand-teal);
  flex-shrink: 0;
}

.header-map-link {
  color: var(--brand-teal);
  text-decoration: underline;
  font-weight: 500;
}

@media (max-width: 860px) {
  .header-store-badge {
    display: none;
  }
}

/* ==========================================================================
   4. HERO SECTION (Asymmetric Split + Live Store Telemetry Pulse)
   ========================================================================== */
.hero-banner { background-color: var(--bg-subtle); border-bottom: 1px solid var(--border-light); padding: 48px 0; }
.hero-split-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 40px; }
.hero-content { min-width: 0; max-width: 580px; width: 100%; }
.hero-meta-line { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-secondary); margin-bottom: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex-shrink: 0; background-color: var(--text-muted); }
.status-dot-live { background-color: var(--fulfill-green); }
.hero-title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; color: var(--text-main); margin-bottom: 16px; }
.hero-desc { font-size: 1rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: 24px; max-width: 34rem; }
.hero-actions-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn-hero-primary { background-color: var(--hd-orange); color: #ffffff !important; font-size: 0.875rem; font-weight: 500; height: 44px; padding: 0 20px; border-radius: 8px; display: inline-flex; align-items: center; gap: 8px; transition: background-color 150ms var(--ease-out); }
.btn-hero-primary:hover { background-color: var(--hd-orange-hover); }
.btn-hero-secondary { background-color: var(--bg-card); color: var(--text-main) !important; border: 1px solid var(--border-strong); font-size: 0.875rem; font-weight: 500; height: 44px; padding: 0 18px; border-radius: 8px; display: inline-flex; align-items: center; transition: background-color 150ms var(--ease-out); }
.btn-hero-secondary:hover { background-color: var(--bg-hover); }

/* Unslopped Hero Store Activity Pulse (Linear / Stripe Reference) */
.hero-moment-card {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.moment-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.moment-store-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-main);
  min-width: 0;
}

.moment-location-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background-color: var(--bg-subtle);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.moment-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.moment-metric-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0;
}

.moment-metric-val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.moment-metric-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.35;
}

.moment-metric-sub {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.moment-demand-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 0.8125rem;
}

.moment-demand-label {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.moment-demand-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand-teal);
  text-decoration: none;
  transition: color 150ms var(--ease-out);
}

.moment-demand-link:hover {
  color: var(--brand-teal-hover);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .moment-metrics-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   5. SECTIONS & CATEGORY TILES (Architectural Hardware Index)
   ========================================================================== */
.section {
  padding: 48px 0;
}

.section-alt {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
}

.section-heading {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text-main);
}

.section-subheading {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 4px;
}

.section-link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-main);
}

.section-link-more:hover {
  color: var(--hd-orange);
}

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

/* Ensure orphan cards span across columns to eliminate empty gaps */
.category-tile:last-child:nth-child(3n + 1) {
  grid-column: 1 / -1;
}

@media (min-width: 861px) {
  .category-tile:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 28px;
  }

  .category-tile:last-child:nth-child(3n + 1) .category-tile-top {
    margin-bottom: 0;
    gap: 16px;
    order: 2;
    flex-shrink: 0;
  }

  .category-tile:last-child:nth-child(3n + 1) .category-tile-title {
    font-size: 1.15rem;
    margin-bottom: 4px;
  }

  .category-tile:last-child:nth-child(3n + 1) .category-tile-desc {
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    max-width: 720px;
  }
}

@media (max-width: 860px) {
  .category-tile:last-child:nth-child(2n + 1) {
    grid-column: 1 / -1;
  }
}

.category-tile {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: border-color 150ms var(--ease-out), background-color 150ms var(--ease-out);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.category-tile:hover {
  border-color: var(--border-strong);
  background-color: var(--bg-hover);
}

.category-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.category-tile-icon {
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
}

.category-tile-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.category-tile-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 4px;
  line-height: 1.3;
}

.category-tile-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
/* ==========================================================================
   6. PRODUCT CARDS (Quiet Hairlines, Tabular Figures, Nested Radii)
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 228px), 1fr));
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  transition: border-color 150ms var(--ease-out);
}

.product-card:hover {
  border-color: var(--border-strong);
}

.product-thumb-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  padding: 14px;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-thumb-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 180ms var(--ease-out);
}

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

.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.product-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.product-sku-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  padding: 2px 6px;
  border-radius: 4px;
}

.badge-demand-hot {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--hd-orange);
  background-color: var(--hd-orange-light);
  border: 1px solid rgba(200, 75, 17, 0.25);
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.product-brand-tag {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-name {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 8px;
}

.product-card-name a {
  color: inherit;
}

.product-card-name a:hover {
  color: var(--hd-orange);
}

/* Quiet Fulfillment Status Line with Semantic Dot */
.fulfillment-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.fulfillment-in_stock .status-dot {
  background-color: var(--fulfill-green);
}

.fulfillment-order_only .status-dot {
  background-color: var(--fulfill-amber);
}

.fulfillment-call_to_check .status-dot {
  background-color: var(--fulfill-blue);
}

/* Tabular Pricing Block */
.pricing-block {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.hd-price-wrap {
  display: inline-flex;
  align-items: baseline;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
}

.hd-price-int {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hd-price-dec {
  font-size: 0.9375rem;
  font-weight: 500;
}

.hd-price-currency {
  font-size: 0.875rem;
  font-weight: 400;
  margin-left: 3px;
  color: var(--text-muted);
}

.price-unit-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.price-inquiry-only {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Card Button Group (Nested Radius: 12px card - 6px = 6px button) */
.card-actions-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 8px;
}

.btn-card-quote {
  background-color: var(--hd-orange);
  color: #ffffff !important;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0 10px;
  height: 36px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition: background-color 150ms var(--ease-out);
}

.btn-card-quote:hover {
  background-color: var(--hd-orange-hover);
}

.btn-card-view {
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0 10px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}

.btn-card-view:hover {
  background-color: var(--bg-hover);
  color: var(--text-main);
  border-color: var(--text-muted);
}

/* ==========================================================================
   7. QUOTE CART (Grounded Bar & Slide Drawer — Zero Colored Glow)
   ========================================================================== */
.floating-cart-trigger {
  display: none !important;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--bg-dark);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0 16px;
  height: 44px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  z-index: 999;
  transition: background-color 150ms var(--ease-out), transform 150ms var(--ease-out);
}

.floating-cart-trigger:hover {
  background-color: var(--bg-dark-raised);
}

.cart-count-pill {
  font-family: var(--font-mono);
  background-color: var(--hd-orange);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  padding: 2px 7px;
  border-radius: 4px;
}

.cart-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(20, 20, 21, 0.45);
  z-index: 1000;
}

.cart-drawer-overlay.open {
  display: block;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background-color: var(--bg-card);
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 300ms var(--ease-out);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-dark);
  color: #ffffff;
}

.cart-drawer-title {
  font-size: 1rem;
  font-weight: 500;
}

.btn-close-cart {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: #a1a1a6;
  line-height: 1;
  padding: 4px;
}

.btn-close-cart:hover {
  color: #ffffff;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.cart-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--text-muted);
}

.cart-empty-text {
  font-size: 0.9375rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.cart-empty-sub {
  font-size: 0.8125rem;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.cart-item-thumb {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 4px;
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-sku {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.cart-item-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-rate {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cart-qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.btn-qty {
  background: var(--bg-subtle);
  color: var(--text-main);
  border: none;
  padding: 4px 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.btn-qty:hover {
  background: var(--bg-hover);
}

.cart-qty-val {
  font-family: var(--font-mono);
  padding: 0 8px;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  min-width: 24px;
  text-align: center;
}

.cart-row-total {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--text-main);
  min-width: 56px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.btn-cart-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8125rem;
  cursor: pointer;
  padding: 4px;
}

.btn-cart-remove:hover {
  color: #dc2626;
}

.cart-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-page);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.cart-subtotal-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-main);
}

.cart-subtotal-val {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
}

.cart-vat-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.cart-dispatch-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-email-quote {
  background-color: var(--brand-teal);
  color: #ffffff !important;
  border: none;
  border-radius: var(--radius-sm);
  height: 42px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background-color 150ms var(--ease-out);
}

.btn-email-quote:hover {
  background-color: var(--brand-teal-hover);
}

.btn-phone-quote {
  background-color: var(--bg-card);
  color: var(--text-main) !important;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  height: 40px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background-color 150ms var(--ease-out);
}

.btn-phone-quote:hover {
  background-color: var(--bg-hover);
}

.btn-copy-quote {
  background-color: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  height: 38px;
  padding: 0 10px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-copy-quote:hover {
  background-color: var(--bg-hover);
}

.btn-clear-cart {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.75rem;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 4px;
  align-self: center;
}

/* ==========================================================================
   10. SERVICES & RENTALS (5 Compact Square Cards & Desktop Feed)
   ========================================================================== */
.services-section-title {
  font-size: 1.25rem; font-weight: 500; color: var(--text-main);
  margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border-light);
}

/* 5 Compact Square Services / Rentals Grid on Homepage */
.services-compact-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.service-sq-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 14px; display: flex;
  flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-card);
  transition: border-color 150ms var(--ease-out), transform 150ms var(--ease-out);
}

.service-sq-card:hover { border-color: var(--brand-teal); transform: translateY(-2px); }

.service-sq-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;
}

.service-sq-badge {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700;
  color: #ffffff; background: var(--brand-teal); padding: 2px 7px;
  border-radius: 4px; letter-spacing: 0.04em;
}

.service-sq-telemetry {
  font-size: 0.6875rem; font-family: var(--font-mono); color: var(--text-muted);
  background: var(--bg-subtle); border: 1px solid var(--border-light);
  padding: 2px 6px; border-radius: 4px;
}

.service-sq-media {
  width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius-sm);
  overflow: hidden; background: var(--bg-subtle); margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
}

.service-sq-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 200ms var(--ease-out);
}

.service-sq-card:hover .service-sq-img { transform: scale(1.04); }

.service-sq-content {
  flex: 1; display: flex; flex-direction: column;
  justify-content: space-between; margin-bottom: 12px;
}

.service-sq-title {
  font-size: 0.875rem; font-weight: 600; color: var(--text-main);
  line-height: 1.35; margin: 0 0 8px; min-height: 38px;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.service-sq-rate-row { display: flex; flex-direction: column; gap: 2px; }
.service-sq-rate { font-family: var(--font-mono); font-size: 0.9375rem; font-weight: 600; color: var(--brand-teal); }
.service-sq-deposit { font-size: 0.6875rem; color: var(--text-muted); }

.btn-service-sq-inquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 150ms var(--ease-out), border-color 150ms var(--ease-out), color 150ms var(--ease-out);
}

.btn-service-sq-inquire:hover {
  background: var(--brand-teal);
  color: #ffffff;
  border-color: var(--brand-teal);
}

/* 2-Column Desktop Rentals Layout */
.rentals-layout-2col {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 24px; align-items: start; margin-bottom: 36px;
}

.rentals-sidebar {
  position: sticky; top: 16px; background: var(--bg-card);
  border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 16px;
}

.rentals-sidebar-heading {
  font-size: 0.875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--text-muted); margin: 0 0 12px;
}

.rental-filter-btn {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 8px 10px; border-radius: var(--radius-sm);
  background: transparent; border: none; color: var(--text-secondary);
  font-size: 0.875rem; font-weight: 500; cursor: pointer; text-align: left;
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out);
}

.rental-filter-btn:hover { background: var(--bg-hover); color: var(--text-main); }
.rental-filter-btn.active { background: var(--bg-subtle); color: var(--brand-teal); font-weight: 600; }

.rentals-mobile-details {
  display: none; background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); margin-bottom: 16px; padding: 12px;
}

.rentals-mobile-summary {
  font-size: 0.875rem; font-weight: 600; cursor: pointer; color: var(--text-main);
}

/* Machine Cards Feed */
.rentals-feed { display: flex; flex-direction: column; gap: 16px; }

.rental-machine-card {
  display: grid; grid-template-columns: 180px 1fr auto; gap: 20px;
  align-items: center; background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 16px; box-shadow: var(--shadow-card);
  transition: border-color 150ms var(--ease-out), transform 150ms var(--ease-out);
}

.rental-machine-card:hover { border-color: var(--border-strong); transform: translateY(-1px); }

.rental-machine-thumb {
  width: 100%; height: 130px; object-fit: cover;
  border-radius: var(--radius-sm); background: var(--bg-subtle);
}

.rental-machine-info { min-width: 0; }
.rental-machine-title { font-size: 1.125rem; font-weight: 600; color: var(--text-main); margin: 0 0 6px; }
.rental-machine-desc { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.45; margin: 0 0 8px; }

.rental-machine-specs {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none;
}

.rental-machine-specs li {
  font-size: 0.75rem; background: var(--bg-subtle); color: var(--text-secondary);
  padding: 3px 8px; border-radius: 4px;
}

.rental-machine-rates {
  text-align: right; display: flex; flex-direction: column; gap: 6px; min-width: 150px;
}

.rental-rate-pill {
  font-family: var(--font-mono); font-size: 1.125rem; font-weight: 600; color: var(--brand-teal);
}

.rental-rate-sub { font-size: 0.75rem; color: var(--text-muted); }

.btn-rental-inquire {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--brand-teal); color: #ffffff !important; font-size: 0.8125rem;
  font-weight: 600; padding: 8px 12px; border-radius: var(--radius-sm);
  border: none; cursor: pointer; text-decoration: none;
  transition: background 150ms var(--ease-out);
}

.btn-rental-inquire:hover { background: var(--brand-teal-hover); }

.disclaimer-box {
  background-color: var(--bg-subtle); border-left: 2px solid var(--brand-teal);
  padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.8125rem;
  color: var(--text-secondary); margin: 20px 0;
}

@media (max-width: 1100px) {
  .services-compact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .rentals-layout-2col { grid-template-columns: 1fr; }
  .rentals-sidebar { display: none; }
  .rentals-mobile-details { display: block; }
  .rental-machine-card { grid-template-columns: 1fr; text-align: left; }
  .rental-machine-rates { text-align: left; }
}

@media (max-width: 640px) {
  .services-compact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 16px 0 20px 0;
  padding: 0;
  line-height: 1.4;
}

.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 150ms var(--ease-out);
}

.breadcrumbs a:hover {
  color: var(--brand-teal);
}

.breadcrumbs .breadcrumb-current {
  color: var(--text-muted);
  font-weight: 400;
}

.breadcrumbs span.separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  opacity: 0.5;
  width: 12px;
  height: 12px;
  user-select: none;
}

.breadcrumbs span.separator svg {
  width: 11px;
  height: 11px;
}

/* Product Detail Page */
.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  margin-bottom: 48px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 800px) {
  .product-detail-layout {
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  }
}

.product-detail-info {
  min-width: 0;
  width: 100%;
}

.product-detail-media {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.product-detail-img {
  max-height: 380px;
  width: auto;
  object-fit: contain;
}

/* Media Gallery & Mathematical Zoom Viewport */
.product-gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.product-main-view {
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  width: 100%;
  min-height: 400px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: crosshair;
  box-shadow: var(--shadow-card);
  user-select: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.product-zoomable-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 140ms cubic-bezier(0.2, 0, 0.2, 1);
  transform-origin: center center;
  pointer-events: none;
}

.btn-expand-lightbox {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-main) !important;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 120ms ease;
  z-index: 2;
}

.btn-expand-lightbox:hover {
  background: var(--bg-hover);
  color: var(--brand-teal) !important;
  border-color: var(--brand-teal);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.product-thumbs-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0;
}

.product-thumb-item {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

[data-theme="dark"] .product-thumb-item {
  background-color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .product-thumb-item {
    background-color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
  }
}

.product-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-thumb-item:hover {
  border-color: var(--text-muted);
}

.product-thumb-item.active {
  border-color: var(--hd-orange);
}

.product-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-3d-callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.product-3d-callout strong {
  color: var(--text-main);
}

/* Rich Markdown Description */
.product-rich-description {
  margin: 20px 0;
  line-height: 1.6;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.product-desc-heading {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 22px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}

.product-desc-subheading {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 16px 0 8px;
}

.product-desc-p {
  margin: 0 0 12px;
  color: var(--text-secondary);
}

.product-feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.product-feature-bullets li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.90625rem;
  line-height: 1.5;
  color: var(--text-main);
}

.product-feature-bullets li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--hd-orange);
  font-weight: bold;
}

.inline-code {
  font-family: var(--font-mono);
  background: var(--bg-subtle);
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.875em;
  color: var(--text-main);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 16, 0.88);
  backdrop-filter: blur(6px);
}

.lightbox-dialog {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-dialog img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  background-color: #ffffff;
  padding: 16px;
}

.btn-close-lightbox {
  position: absolute;
  top: -44px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  opacity: 0.8;
  transition: opacity 120ms ease;
}
.btn-close-lightbox:hover { opacity: 1; }

.btn-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(23, 23, 23, 0.7);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
  transition: all 120ms ease;
  user-select: none;
}
.btn-lightbox-nav:hover {
  background: rgba(200, 75, 17, 0.9);
  border-color: #ffffff;
}

.btn-lightbox-prev { left: -54px; }
.btn-lightbox-next { right: -54px; }

@media (max-width: 768px) {
  .btn-lightbox-prev { left: 8px; }
  .btn-lightbox-next { right: 8px; }
}

.lightbox-counter {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  color: #ededed;
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 10px;
  border-radius: 12px;
}

.product-desc-quote {
  border-left: 3px solid var(--brand-teal);
  background: var(--bg-subtle);
  padding: 10px 14px;
  margin: 12px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.90625rem;
  color: var(--text-main);
}

/* ==========================================================================
   RENTAL INQUIRY & RESERVATION MODAL
   ========================================================================== */
.rental-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.rental-modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  color: var(--text-main);
}

.rental-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}

.rental-modal-eyebrow { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; color: var(--brand-teal); }
.rental-modal-heading { font-size: 1.125rem; font-weight: 600; margin: 2px 0 0; }
.btn-rental-modal-close { background: transparent; border: none; font-size: 1.5rem; line-height: 1; color: var(--text-muted); cursor: pointer; }

.rental-modal-body {
  padding: 18px 20px;
}

.rental-summary-box {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 14px;
}

.rental-modal-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
}

.rental-summary-title { font-size: 0.9375rem; font-weight: 600; margin: 0 0 4px; }
.rental-summary-rates { display: flex; gap: 8px; align-items: baseline; }

.rental-duration-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 6px 0 14px;
}

.btn-duration-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
}

.btn-duration-pill.active {
  background: var(--brand-teal);
  color: #ffffff;
  border-color: var(--brand-teal);
  font-weight: 600;
}

.rental-message-box {
  width: 100%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 10px;
  font-family: inherit;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
  resize: none;
  box-sizing: border-box;
  margin: 6px 0 14px;
}

.rental-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-modal-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.btn-action-email { background: var(--brand-teal); color: #ffffff !important; }
.btn-action-email:hover { background: var(--brand-teal-hover); }
.btn-action-tel { background: var(--bg-hover); color: var(--text-main) !important; border: 1px solid var(--border-light); }
.btn-action-copy { grid-column: 1 / -1; background: var(--bg-subtle); color: var(--text-secondary); border: 1px dashed var(--border-light); }

.rental-modal-note { font-size: 0.75rem; color: var(--text-muted); margin: 10px 0 0; line-height: 1.4; }

.product-detail-title {
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin-bottom: 6px;
}

.product-detail-brand {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.product-detail-brand strong {
  color: var(--text-main);
  font-weight: 500;
}

.product-detail-price-wrap {
  margin: 4px 0 8px;
}

.product-detail-price-wrap .hd-price-int {
  font-size: 2rem;
}

.inquiry-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 20px 0;
}

.sku-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.sku-code-text {
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--text-main);
}

.btn-copy-sku {
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  height: 34px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-copy-sku:hover {
  background-color: var(--bg-hover);
}

.inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-inquire-add-cart {
  flex: 1 1 200px;
  background-color: var(--hd-orange);
  color: #ffffff !important;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 150ms var(--ease-out), transform 100ms ease;
}

.btn-inquire-add-cart:hover {
  background-color: var(--hd-orange-hover);
}

.btn-inquire-call {
  flex: 1 1 180px;
  background-color: var(--bg-card);
  color: var(--text-main) !important;
  border: 1px solid var(--border-strong);
  font-size: 0.875rem;
  font-weight: 500;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}

.btn-inquire-call:hover {
  background-color: var(--bg-hover);
  color: var(--text-main) !important;
}

.specs-table-wrapper {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0 24px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  display: block;
}

.specs-table-wrapper .markdown-specs-table,
.specs-table-wrapper .specs-table {
  margin: 0;
  border: none;
  width: 100%;
  min-width: 440px;
}

.markdown-specs-table,
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.875rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.markdown-specs-table thead,
.specs-table thead {
  background-color: var(--bg-subtle);
  border-bottom: 2px solid var(--border-strong);
}

.markdown-specs-table thead th,
.specs-table thead th {
  padding: 11px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-main);
  border-bottom: 2px solid var(--border-strong);
  border-right: 1px solid var(--border-light);
}

.markdown-specs-table thead th:last-child,
.specs-table thead th:last-child {
  border-right: none;
}

.markdown-specs-table tbody tr,
.specs-table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: background-color 100ms ease;
}

.markdown-specs-table tbody tr:last-child,
.specs-table tbody tr:last-child {
  border-bottom: none;
}

.markdown-specs-table tbody tr:nth-child(even),
.specs-table tbody tr:nth-child(even) {
  background-color: var(--bg-subtle);
}

.markdown-specs-table tbody tr:hover,
.specs-table tbody tr:hover {
  background-color: var(--table-hover);
}

.markdown-specs-table tbody tr:hover th,
.specs-table tbody tr:hover th,
.markdown-specs-table tbody tr:hover td,
.specs-table tbody tr:hover td {
  color: var(--text-main);
}

.markdown-specs-table tbody th,
.specs-table tbody th {
  padding: 10px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-main);
  background-color: transparent;
  border-right: 1px solid var(--border-light);
  width: 38%;
}

.markdown-specs-table tbody td,
.specs-table tbody td {
  padding: 10px 16px;
  text-align: left;
  color: var(--text-secondary);
  border-right: 1px solid var(--border-light);
  font-variant-numeric: tabular-nums;
}

.markdown-specs-table tbody td:last-child,
.specs-table tbody td:last-child {
  border-right: none;
}

/* Catalog Layout & Multi-faceted Filter Sidebar */
.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin: 16px 0 40px;
  width: 100%;
}
@media (min-width: 861px) {
  .catalog-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }
}
.catalog-layout > *, .catalog-main { min-width: 0; max-width: 100%; }
.catalog-filters-backdrop { display: none; }

.catalog-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  height: fit-content;
  box-sizing: border-box;
}
@media (min-width: 861px) {
  .catalog-sidebar { position: sticky; top: 84px; }
}

.drawer-filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.drawer-title { font-size: 0.875rem; font-weight: 600; color: var(--text-main); display: flex; align-items: center; gap: 6px; }
.btn-clear-filters {
  background: none; border: none; padding: 2px 6px; font-size: 0.75rem; color: var(--brand-teal); cursor: pointer; border-radius: 4px; font-weight: 500;
}
.btn-clear-filters:hover { background: var(--bg-subtle); }
.btn-close-filters-drawer {
  display: none; background: none; border: none; font-size: 1.5rem; color: var(--text-muted); cursor: pointer; padding: 0 4px; line-height: 1;
}

.filter-group { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--border-light); }
.filter-group:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.filter-group-header {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 8px;
}
.filter-checkbox-list { display: flex; flex-direction: column; gap: 2px; }
.filter-brands-scroll { max-height: 180px; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; scrollbar-width: thin; }

.filter-checkbox-row {
  display: flex; align-items: center; gap: 8px; min-height: 28px; padding: 3px 6px; border-radius: var(--radius-sm);
  cursor: pointer; user-select: none; font-size: 0.8125rem; color: var(--text-main); transition: background-color 100ms ease;
}
.filter-checkbox-row:hover { background-color: var(--bg-subtle); }
.filter-check { position: absolute; opacity: 0; pointer-events: none; }
.filter-check-custom {
  width: 16px; height: 16px; flex-shrink: 0; border: 1.5px solid var(--border-strong); border-radius: 3px;
  background-color: var(--bg-card); display: inline-flex; align-items: center; justify-content: center; transition: background-color 120ms ease, border-color 120ms ease;
}
.filter-check:checked + .filter-check-custom { background-color: var(--brand-teal); border-color: var(--brand-teal); }
.filter-check:checked + .filter-check-custom::after {
  content: ""; width: 4px; height: 8px; border: solid #ffffff; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-bottom: 2px;
}
.filter-check:focus-visible + .filter-check-custom { outline: 2px solid var(--brand-teal); outline-offset: 1px; }
.filter-check-label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.filter-count { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--text-muted); font-variant-numeric: tabular-nums; margin-left: auto; }

.drawer-filters-footer { display: none; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border-light); }
.btn-apply-filters {
  width: 100%; height: 40px; background-color: var(--brand-teal); color: #ffffff; border: none; border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 500; cursor: pointer;
}

.catalog-controls {
  background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md);
  padding: 10px 14px; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box;
}
.btn-catalog-filters-toggle {
  display: none; align-items: center; gap: 6px; height: 38px; padding: 0 12px;
  background-color: var(--bg-subtle); border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  color: var(--text-main); font-size: 0.8125rem; font-weight: 500; cursor: pointer; white-space: nowrap;
}
.filters-active-badge { background: var(--brand-teal); color: #ffffff; font-size: 0.6875rem; font-weight: 600; border-radius: 999px; padding: 1px 6px; }

.catalog-search-wrap { flex: 1; min-width: 0; position: relative; }
.catalog-search-input {
  width: 100%; background-color: var(--bg-subtle); border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  padding: 0 12px 0 36px; height: 38px; font-size: 0.875rem; color: var(--text-main); box-sizing: border-box;
}
.catalog-search-input:focus { outline: none; background-color: var(--bg-card); border-color: var(--text-main); }
.catalog-search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; display: flex; }
.catalog-results-count { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

.active-filter-chips-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; font-size: 0.75rem; }
.chips-label { color: var(--text-muted); font-weight: 500; }
.chips-list { display: flex; flex-wrap: wrap; gap: 4px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 4px;
  background-color: var(--bg-card); border: 1px solid var(--border-light); color: var(--text-main); font-size: 0.75rem;
}
.filter-chip button { background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 0; font-size: 0.875rem; line-height: 1; }
.btn-chips-clear { background: none; border: none; color: var(--brand-teal); font-size: 0.75rem; cursor: pointer; padding: 2px 6px; text-decoration: underline; }

.btn-load-more {
  background-color: var(--bg-card); color: var(--text-main); border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 0 24px; height: 42px; font-size: 0.875rem; font-weight: 500; cursor: pointer;
}
.search-autocomplete-dropdown {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: var(--bg-card);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 1000; max-height: 320px; overflow-y: auto;
}
.autocomplete-item {
  display: flex; align-items: center; justify-content: space-between; padding: 10px 14px;
  cursor: pointer; border-bottom: 1px solid var(--border-light); text-decoration: none; color: var(--text-main);
}
.autocomplete-item:hover { background-color: var(--bg-subtle); }

/* Contact Page */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  min-width: 0;
}

@media (min-width: 800px) {
  .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  min-width: 0;
  overflow-wrap: break-word;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid var(--border-light);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table tr.closed {
  color: var(--text-muted);
}

.hours-table td {
  padding: 10px 0;
  font-size: 0.875rem;
}

.hours-table td.days {
  font-weight: 500;
  color: var(--text-main);
  width: 45%;
}

.hours-table td.hours {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   ACCOUNT & LOGOUT MODAL (On-Brand Dialog Replacing Browser Confirm)
   ========================================================================== */
.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 16, 0.72);
  backdrop-filter: blur(4px);
  z-index: 2800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.auth-modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  color: var(--text-main);
  overflow: hidden;
  animation: modalFadeIn 160ms var(--ease-out);
}

.auth-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.auth-modal-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-auth-modal-close {
  background: transparent;
  border: none;
  font-size: 1.375rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 6px;
}
.btn-auth-modal-close:hover { color: var(--text-main); }

.auth-modal-body {
  padding: 18px;
}

.auth-user-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.auth-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-teal);
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.auth-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-user-info {
  min-width: 0;
  flex: 1;
}

.auth-user-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-user-mail {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.auth-status-pill {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--brand-teal);
  background: rgba(0, 133, 128, 0.12);
  padding: 2px 8px;
  border-radius: 10px;
}

.auth-sync-note {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.auth-modal-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.btn-auth-modal-stay {
  height: 40px;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 150ms var(--ease-out);
}
.btn-auth-modal-stay:hover { background: var(--bg-hover); }

.btn-auth-modal-signout {
  height: 40px;
  background: #dc2626;
  color: #ffffff;
  border: 1px solid #dc2626;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms var(--ease-out);
}
.btn-auth-modal-signout:hover { background: #b91c1c; }

/* Legal Page */
.legal-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
  line-height: 1.65;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  min-width: 0;
  overflow-wrap: break-word;
}

.legal-content-card strong {
  color: var(--text-main);
  font-weight: 500;
}

/* Footer */
.footer-main {
  background-color: var(--bg-subtle);
  color: var(--text-secondary);
  padding: 48px 0 24px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 32px;
  margin-bottom: 32px;
  min-width: 0;
}

.footer-brand-title {
  color: var(--text-main);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-brand-tagline {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-heading {
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color 120ms ease;
}

.footer-links a:hover {
  color: var(--brand-teal);
}

.footer-main .disclaimer-box {
  background-color: var(--bg-card);
  color: var(--text-secondary);
  border-left-color: var(--brand-teal);
}

.footer-main .disclaimer-box strong {
  color: var(--text-main);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

[data-theme="dark"] .footer-main, .dark-mode .footer-main { background-color: var(--bg-dark); }
[data-theme="dark"] .footer-main .disclaimer-box, .dark-mode .footer-main .disclaimer-box { background-color: var(--bg-dark-raised); }

/* GDPR Cookie Consent Floating Bar */
.cookie-consent-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 16px 0;
  animation: slideUpConsent 0.3s ease-out;
}

@keyframes slideUpConsent {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cookie-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-consent-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
  flex: 1;
  min-width: min(100%, 240px);
}

.cookie-consent-text strong {
  color: var(--text-main);
}

.cookie-consent-text a {
  color: var(--brand-teal);
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-cookie-accept {
  background-color: var(--brand-teal);
  color: #ffffff;
  border: 1px solid var(--brand-teal);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 150ms var(--ease-out);
}

.btn-cookie-accept:hover {
  background-color: var(--brand-teal-hover);
}

.btn-cookie-necessary {
  background-color: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out);
}

.btn-cookie-necessary:hover {
  background-color: var(--bg-hover);
  color: var(--text-main);
}

/* Cart Cloud Auth Banner */
.cart-auth-banner {
  padding: 10px 20px;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.8125rem;
}

.cart-auth-guest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.auth-hint-text {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.btn-google-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}

.btn-google-login:hover {
  background: var(--bg-hover);
  border-color: var(--text-muted);
}

.cart-auth-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.auth-user-email {
  color: var(--text-secondary);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-auth-logout {
  background: none;
  border: none;
  color: var(--brand-teal);
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

/* ==========================================================================
   9. MOBILE & TABLET RESPONSIVE PASS (ZERO CROPPING, REAL HARDWARE PROPORTIONS)
   ========================================================================== */

/* Tablet & Mobile Header Grid (<= 860px) */
@media (max-width: 860px) {
  :root { --container-pad: 16px; }
  .utility-hours-inline { display: none; }

  /* 2-Row CSS Grid guarantees Search NEVER sits beside buttons or crops */
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "search search";
    padding: 10px 0;
    gap: 10px 12px;
  }

  .hero-split-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-banner { padding: 28px 0; }
  .category-tiles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .card-actions-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }

  /* Mobile Filter Toggle Button & Slide-over Drawer (Unslop Mobile UX) */
  .btn-catalog-filters-toggle { display: inline-flex; }

  .catalog-filters-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }
  .catalog-filters-backdrop.is-open { opacity: 1; pointer-events: auto; }

  .catalog-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 86vw;
    z-index: 1060;
    background: var(--bg-card);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    border: none;
    border-right: 1px solid var(--border-strong);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    padding: 16px;
    transform: translateX(-105%);
    transition: transform 240ms cubic-bezier(0.2, 0, 0, 1);
  }
  .catalog-sidebar.is-open { transform: translateX(0); }

  .btn-close-filters-drawer { display: block; }
  .sidebar-filters-scroll {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 4px;
    margin-right: -4px;
  }
  .drawer-filters-footer { display: block; }
}

/* Mobile Handsets (<= 640px) */
@media (max-width: 640px) {
  :root {
    --container-pad: 12px;
  }

  .header-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .theme-toggle-btn,
  .btn-header-auth,
  .btn-header-cart,
  .btn-header-call {
    height: 36px;
    padding: 0 8px;
    font-size: 0.75rem;
    gap: 4px;
    min-width: 36px;
    justify-content: center;
  }

  .theme-toggle-label,
  .btn-auth-label,
  .btn-cart-label,
  .btn-call-number {
    display: none;
  }

  .brand-logo-link {
    gap: 8px;
    min-width: 0;
  }

  .brand-wordmark {
    min-width: 0;
  }

  .brand-name-primary {
    font-size: 0.9375rem;
    white-space: normal;
    line-height: 1.15;
  }

  .brand-name-sub {
    font-size: 0.6875rem;
    white-space: normal;
    line-height: 1.2;
  }

  /* Product details unclipped on mobile */
  .product-detail-layout,
  .product-detail-info,
  .product-rich-description {
    min-width: 0;
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .product-main-view {
    min-height: 280px;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 12px;
  }

  .specs-table-wrapper {
    margin: 14px 0 20px;
    width: 100%;
    max-width: 100%;
  }

  .specs-table-wrapper .markdown-specs-table,
  .specs-table-wrapper .specs-table {
    min-width: 340px;
    font-size: 0.8125rem;
  }

  .markdown-specs-table thead th,
  .specs-table thead th,
  .markdown-specs-table tbody th,
  .specs-table tbody th,
  .markdown-specs-table tbody td,
  .specs-table tbody td {
    padding: 8px 10px;
  }

  .header-search-form {
    height: 38px;
  }

  .header-search-input {
    font-size: 0.8125rem;
  }

  .department-list {
    gap: 16px;
    font-size: 0.8125rem;
  }

  .department-link {
    padding: 8px 0;
  }

  /* Breadcrumbs hidden on mobile handsets */
  .breadcrumbs {
    display: none;
  }

  /* Hero Mobile */
  .hero-banner {
    padding: 20px 0 24px;
  }

  .hero-title {
    font-size: 1.5rem;
    line-height: 1.15;
    margin-bottom: 10px;
  }

  .hero-desc {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 16px;
  }

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

  .btn-hero-primary,
  .btn-hero-secondary {
    height: 40px;
    padding: 0 10px;
    font-size: 0.8125rem;
    justify-content: center;
    text-align: center;
    min-width: 0;
  }

  /* Hero Moment Telemetry & Advertised Card on Mobile */
  .hero-moment-card {
    padding: 14px;
  }

  .moment-card-header {
    padding-bottom: 10px;
    margin-bottom: 12px;
  }

  .moment-sku-tag {
    font-size: 0.6875rem;
    padding: 2px 6px;
  }

  .advertised-content-row {
    align-items: flex-start;
    gap: 10px;
  }

  .advertised-img-wrap {
    width: 56px;
    height: 56px;
  }

  .moment-stat-num {
    font-size: 0.8125rem;
  }

  .moment-stat-label {
    font-size: 0.6875rem;
  }

  /* Sections & 2-Column Mobile Grids */
  .section {
    padding: 28px 0;
  }

  .section-header-row {
    margin-bottom: 16px;
    gap: 6px;
  }

  .section-heading {
    font-size: 1.25rem;
  }

  .section-subheading {
    font-size: 0.8125rem;
  }

  /* 2-Column Category Grid on Mobile (No Giant Empty Boxes) */
  .category-tiles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .category-tile {
    padding: 12px;
  }

  .category-tile-top {
    margin-bottom: 8px;
  }

  .category-tile-icon {
    width: 28px;
    height: 28px;
  }

  .category-tile-title {
    font-size: 0.875rem;
    margin-bottom: 2px;
  }

  .category-tile-desc {
    font-size: 0.75rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
/* Mobile Product Grid & Compact Layout (<= 580px) */
@media (max-width: 580px) {
  /* 2-Column Fluid Product Catalog Grid on Mobile */
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .catalog-layout {
    gap: 12px;
    margin: 12px 0 28px;
  }

  .catalog-controls {
    padding: 10px 12px;
    margin-bottom: 12px;
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-search-wrap {
    flex: 1 1 auto;
    width: 100%;
  }

  .catalog-results-count {
    font-size: 0.75rem;
  }

  .product-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .product-thumb-container {
    padding: 10px;
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-thumb-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .product-card-body {
    padding: 10px;
  }

  .product-card-header {
    margin-bottom: 4px;
    gap: 4px;
  }

  .product-sku-badge {
    font-size: 0.6875rem;
    padding: 1px 4px;
    flex-shrink: 0;
  }

  .product-brand-tag {
    font-size: 0.6875rem;
  }

  .product-card-name {
    font-size: 0.8125rem;
    line-height: 1.28;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.56em;
  }

  .fulfillment-badge {
    font-size: 0.6875rem;
    margin-bottom: 6px;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .pricing-block {
    padding-top: 6px;
    margin-bottom: 8px;
  }

  .hd-price-int {
    font-size: 1.125rem;
  }

  .hd-price-dec,
  .hd-price-currency {
    font-size: 0.75rem;
  }

  .price-unit-label {
    display: none;
  }

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

  .btn-card-quote,
  .btn-card-view {
    height: 32px;
    font-size: 0.75rem;
    padding: 0 8px;
    width: 100%;
    justify-content: center;
  }

  /* Rentals, Contact & Legal on Mobile */
  .rentals-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .rental-card,
  .contact-card,
  .legal-content-card {
    padding: 16px;
  }

  /* Grounded Floating Cart Bar on Mobile */
  .floating-cart-trigger {
    bottom: 12px;
    right: 12px;
    height: 40px;
    padding: 0 14px;
    font-size: 0.8125rem;
  }

  .cart-drawer {
    max-width: 100vw;
  }
}

/* Compact & Narrow Phones (<= 400px & <= 340px) */
@media (max-width: 400px) {
  .brand-name-primary {
    font-size: 0.875rem;
  }

  .brand-name-sub {
    display: none;
  }

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

@media (max-width: 340px) {
  .product-grid,
  .category-tiles-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   21-QUOTE-MODAL.CSS — RICH QUOTE DISPATCH & EMAIL MODAL
   ========================================================================== */

.quote-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.quote-modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  color: var(--text-main);
  overflow: hidden;
  animation: modalFadeIn 180ms var(--ease-out);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.quote-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.quote-modal-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}
.quote-modal-logo { width: 26px; height: 26px; object-fit: contain; border-radius: 4px; background: #ffffff; padding: 1px; }

.quote-modal-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-top: 2px;
}

.btn-quote-modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
}
.btn-quote-modal-close:hover { color: var(--text-main); }

.quote-modal-body {
  padding: 18px 20px;
  overflow-y: auto;
  flex: 1;
}

.quote-section-heading {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--brand-teal);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quote-auth-badge {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: none;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 8px;
  border-radius: 12px;
}

.quote-customer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.quote-customer-full { grid-column: 1 / -1; }
.quote-field-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 5px;
}

.quote-input {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.4;
  color-scheme: light dark;
}
.quote-input:focus {
  outline: none;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 2px rgba(0, 133, 128, 0.2);
}

select.quote-input {
  cursor: pointer;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23171717' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

select.quote-input option {
  background-color: var(--bg-card);
  color: var(--text-main);
  font-size: 0.875rem;
}

.quote-preview-box {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 16px;
  max-height: 220px;
  overflow-y: auto;
  font-size: 0.8125rem;
}
.quote-preview-box table { width: 100%; border-collapse: collapse; }
.quote-preview-box th { text-align: left; font-size: 0.6875rem; color: var(--text-muted); border-bottom: 1px solid var(--border-light); padding: 6px 4px; }
.quote-preview-box td { padding: 8px 4px; border-bottom: 1px solid var(--border-light); vertical-align: middle; }

.quote-preview-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  background: var(--bg-card);
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

.quote-modal-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-quote-send-single {
  width: 100%;
  height: 44px;
  background: var(--brand-teal);
  color: #ffffff !important;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background 150ms var(--ease-out);
}
.btn-quote-send-single:hover { background: var(--brand-teal-hover); }
.btn-quote-send-single:disabled { opacity: 0.65; cursor: not-allowed; }

.quote-field-help {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.35;
  font-weight: 500;
}

.quote-clipboard-tip {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: 6px;
  font-weight: 500;
}

@media (prefers-color-scheme: dark) {
  select.quote-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e8e6e3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  }
}

@media (max-width: 600px) {
  .quote-customer-grid { grid-template-columns: 1fr; }
  .quote-footer-actions { grid-template-columns: 1fr; }
}

@media print {
  body * { visibility: hidden !important; }
  #quoteDispatchModal, #quoteDispatchModal * { visibility: visible !important; }
  #quoteDispatchModal { position: absolute; inset: 0; background: #ffffff; }
  .quote-modal-card { box-shadow: none; border: none; max-width: 100%; }
  .btn-quote-modal-close, .quote-modal-footer, .quote-auth-badge { display: none !important; }
}
