/**
 * RACKSLINE /5/ — Storefront & Auction Layout
 * UI Style: Clean, ultra-readable enterprise bare-metal cloud (Inter + JetBrains Mono)
 * Fast, crisp, high contrast, WCAG AA compliant.
 */

/* ==================== 1. DESIGN TOKENS ==================== */
:root {
  --bg-page: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-panel: #ffffff;
  --border-line: #e2e8f0;
  --border-card: #e2e8f0;
  --border-subtle: #f1f5f9;
  
  --ink-primary: #0f172a;
  --ink-title: #020617;
  --ink-muted: #475569;
  --ink-faint: #94a3b8;
  
  --teal-accent: #0f766e;
  --teal-deep: #115e59;
  --teal-soft: #f0fdfa;
  --teal-mint: #99f6e4;
  --teal-border: #5eead4;
  
  --hz-red: #dc2626;
  --hz-red-hover: #b91c1c;
  --hz-red-dark: #991b1b;
  --hz-red-soft: #fef2f2;
  --hz-red-border: #fecaca;
  
  --dark-btn: #0f172a;
  --dark-btn-hover: #1e293b;
  
  --green-ok: #16a34a;
  --green-bg: #f0fdf4;
  --green-border: #bbf7d0;
  
  --font-h: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-b: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-m: 'JetBrains Mono', 'IBM Plex Mono', 'SF Mono', Menlo, Consolas, monospace;
  
  --radius-full: 9999px;
  --radius-lg: 8px;
  --radius-md: 6px;
  --radius-sm: 4px;
  
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
}

/* ==================== 3. RESET ==================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--bg-page);
  color: var(--ink-primary);
}
body {
  font-family: var(--font-b);
  background: var(--bg-page);
  color: var(--ink-primary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
.mono {
  font-family: var(--font-m);
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--dark-btn);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-family: var(--font-b);
  font-size: 13px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* ==================== 4. BUTTONS & CHIPS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-b);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--dark-btn);
  color: #ffffff;
  border-color: var(--dark-btn);
}
.btn-primary:hover {
  background: var(--dark-btn-hover);
  border-color: var(--dark-btn-hover);
}

.btn-red {
  background: var(--hz-red);
  color: #ffffff;
  border: 1px solid var(--hz-red);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(235, 0, 0, 0.15);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.btn-red:hover {
  background: var(--hz-red-hover);
  border-color: var(--hz-red-hover);
  box-shadow: 0 6px 18px -4px rgba(235, 0, 0, 0.45);
  transform: translateY(-1px);
}

.btn-outline {
  background: #ffffff;
  color: var(--ink-title);
  border: 1px solid var(--border-card);
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.btn-outline:hover {
  background: rgba(235, 0, 0, 0.03);
  border-color: var(--hz-red);
  color: var(--hz-red);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  border: 1px solid transparent;
}
.btn-ghost:hover {
  color: var(--ink-title);
  background: rgba(0, 0, 0, 0.04);
}

.btn-sm {
  height: 34px;
  padding: 0 12px;
  font-size: 12.5px;
}
.btn-lg {
  height: 48px;
  padding: 0 26px;
  font-size: 15px;
}
.btn-block {
  width: 100%;
}

/* Signature Tag Pill */
.tag-pill {
  box-sizing: border-box;
  color: #334155;
  letter-spacing: -0.01em;
  white-space: nowrap;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.tag-pill:hover {
  color: var(--hz-red);
  background-color: #fff1f2;
  border-color: #fecdd3;
}
.tag-pill.is-active {
  color: #ffffff;
  background-color: #0f172a;
  border-color: #0f172a;
  font-weight: 600;
}

/* ==================== 5. HEADER (SINGLE-LINE & CLEAN BRAND) ==================== */
.hz-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: #ffffff;
  border-bottom: 1px solid var(--border-line);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.hz-header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hz-header-left {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
  flex-shrink: 0;
}

/* Inverted Stealth Hardware Plate Brand Logo */
.hz-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  background: #0b0f19;
  height: 50px;
  padding: 0 30px 0 18px;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  box-shadow: 0 4px 14px rgba(11, 15, 25, 0.22);
  border-bottom: 2.5px solid var(--hz-red);
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hz-brand:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(11, 15, 25, 0.32);
}
.hz-brand-logo-img {
  height: 25px;
  width: auto;
  max-width: 156px;
  display: block;
  object-fit: contain;
}
@media (max-width: 640px) {
  .hz-brand {
    height: 44px;
    padding: 0 24px 0 14px;
  }
  .hz-brand-logo-img {
    height: 21px;
  }
}
.hz-footer-logo-img {
  height: 26px;
  width: auto;
  max-width: 150px;
  display: block;
  object-fit: contain;
}

.hz-nav {
  display: none;
}
.hz-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}
.hz-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-b);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.hz-nav-link:hover {
  color: var(--hz-red);
  background: var(--hz-red-soft);
}

@media (min-width: 980px) {
  .hz-nav { display: block; }
}

.hz-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.hz-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  border: 1px solid var(--border-line);
  background: #ffffff;
  color: var(--ink-title);
  cursor: pointer;
  flex-shrink: 0;
}
@media (min-width: 980px) {
  .hz-burger { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 290;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  display: none;
}
.mobile-menu.is-open { display: block; }
.mobile-menu-drawer {
  position: absolute;
  top: 64px;
  left: 16px;
  right: 16px;
  max-width: 420px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}
.mobile-menu-link {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-title);
}
.mobile-menu-link:hover {
  background: var(--hz-red-soft);
  color: var(--hz-red);
}
.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-card);
}

/* ==================== 6. STORE HERO BANNER (Value Prop + Live Featured Server Deal) ==================== */
.store-hero {
  background: radial-gradient(circle at 85% 25%, rgba(235, 0, 0, 0.22) 0%, transparent 55%),
              linear-gradient(135deg, #0b0f19 0%, #111827 50%, #1a2234 100%);
  color: #ffffff;
  padding: clamp(48px, 5.5vw, 76px) 0;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.store-hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.store-hero-left h1 {
  font-family: var(--font-h);
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 14px;
}
.store-hero-left p {
  color: #cbd5e1;
  font-size: 16px;
  max-width: 60ch;
  line-height: 1.6;
  margin-bottom: 22px;
}

/* Value Proposition Guarantees */
.store-hero-guarantees {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}
.hero-guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #e2e8f0;
  line-height: 1.5;
}
.guarantee-check {
  color: #ef4444;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  flex-shrink: 0;
}

.store-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.store-hero-actions .btn-white {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.store-hero-actions .btn-white:hover {
  background: #f1f5f9;
  color: var(--hz-red);
  transform: translateY(-1px);
}
.store-hero-actions .btn-ghost-light {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}
.store-hero-actions .btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Featured Live Server Deal Card */
.hero-deal-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  color: var(--ink-base);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  border-left: 4px solid var(--hz-red);
  position: relative;
}
.deal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.deal-prov-logo {
  height: 16px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
}
.deal-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-m);
  font-size: 11.5px;
  font-weight: 600;
  color: #16a34a;
}
.deal-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
}
.deal-title {
  font-family: var(--font-h);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-title);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}
.deal-chassis {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.deal-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 18px;
}
.deal-spec-item {
  display: flex;
  flex-direction: column;
}
.deal-spec-k {
  color: var(--ink-muted);
  font-family: var(--font-m);
  font-size: 10.5px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.deal-spec-v {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-title);
}
.deal-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.deal-price-wrap {
  display: flex;
  align-items: baseline;
  line-height: 1;
}
.deal-price-cur {
  font-size: 15px;
  font-weight: 700;
  color: var(--hz-red);
  margin-right: 1px;
}
.deal-price-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink-title);
  letter-spacing: -0.02em;
}
.deal-price-unit {
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 500;
  margin-left: 2px;
}

@media (max-width: 992px) {
  .store-hero-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
@media (max-width: 640px) {
  .store-hero {
    padding: 36px 0;
  }
  .deal-specs-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .deal-bottom {
    flex-direction: column;
    align-items: stretch;
  }
  .deal-price-wrap {
    justify-content: space-between;
  }
  .deal-bottom .btn {
    width: 100%;
  }
}

/* ==================== 7. STORE AUCTION LAYOUT ==================== */
.store-section {
  padding: 32px 0 64px;
}
.store-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 12px;
}
.store-heading h2 {
  font-family: var(--font-h);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  color: var(--ink-title);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.store-note {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Quick Architecture Nav (Human-Crafted Segmented Chips) */
.quick-arch-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.quick-arch-nav::-webkit-scrollbar {
  display: none;
}
.quick-arch-pill {
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-line);
  background: #ffffff;
  color: var(--ink-muted);
  font-family: var(--font-b);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-sm);
}
.quick-arch-pill:hover {
  background: var(--bg-subtle);
  color: var(--ink-title);
  border-color: #cbd5e1;
}
.quick-arch-pill.is-active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.12);
}
.quick-pill-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Active Filter Breadcrumbs */
.active-filter-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.active-chips-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}
.active-chips-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.active-chip {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.15s ease;
}
.active-chip:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}
.active-chip-x {
  font-size: 14px;
  line-height: 1;
}
.active-chips-clear {
  background: none;
  border: none;
  color: var(--hz-red);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background 0.15s ease;
}
.active-chips-clear:hover {
  background: #fff1f2;
}

/* Desktop Table Header for Scannability */
.store-table-head {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 195px;
  gap: 24px;
  align-items: center;
  padding: 8px 24px;
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  border-bottom: 1px solid var(--border-line);
}
.th-item.th-price {
  text-align: right;
}
@media (max-width: 1120px) {
  .store-table-head {
    grid-template-columns: 210px minmax(0, 1fr) 180px;
    gap: 16px;
    padding: 8px 18px;
  }
}
@media (max-width: 960px) {
  .store-table-head {
    display: none;
  }
}

/* 2-Column Grid: Left Sidebar + Right Results */
.store-auction-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.store-filter-mobile-btn {
  display: none;
  margin-bottom: 16px;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 16px;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 860px) {
  .store-auction-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .store-filter-mobile-btn {
    display: flex;
  }
  .store-filter {
    display: none;
    margin-bottom: 18px;
  }
  .store-filter.is-mobile-open {
    display: flex;
  }
}

/* Left Filter Sidebar (.store-filter) */
.store-filter {
  font-family: var(--font-b);
  background: #ffffff;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 76px;
  overflow: visible;
}
.store-filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}
.store-filter-title h3 {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.store-filter-clear {
  background: none;
  border: none;
  color: var(--hz-red);
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  min-height: 32px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.15s ease;
  text-decoration: none;
}
.store-filter-clear:hover {
  color: var(--hz-red-hover);
  background: #fff1f2;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.filter-field label,
.filter-sublabel {
  font-family: var(--font-b);
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.25;
}
.filter-sublabel {
  display: block;
  margin-bottom: 1px;
}

/* Sidebar Filter Inputs & Selects with SVG Icons */
.filter-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.filter-input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: #64748b;
  pointer-events: none;
  z-index: 2;
  flex-shrink: 0;
}
.filter-input-wrap input,
.filter-input-wrap select {
  padding-left: 36px !important;
  width: 100%;
}

.filter-field input,
.filter-field select {
  font-family: var(--font-b);
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.filter-field input::placeholder {
  font-family: var(--font-b);
  font-size: 13.5px;
  color: #94a3b8;
  font-weight: 400;
}
.filter-field input:focus,
.filter-field select:focus {
  border-color: var(--hz-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
  outline: none;
}
.filter-field select option {
  font-family: var(--font-b);
  font-size: 14px;
  color: #0f172a;
  padding: 8px 12px;
}

/* Custom Location Select Dropdown with real SVG Flags */
.custom-select {
  position: relative;
  width: 100%;
}
.custom-select-trigger {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font-b);
  font-size: 13.5px;
  font-weight: 500;
  color: #0f172a;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.custom-select-trigger:focus,
.custom-select.is-open .custom-select-trigger {
  border-color: var(--hz-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
  outline: none;
}
.custom-select-current {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.custom-select-current span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.custom-select-arrow {
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.custom-select.is-open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
  padding: 4px;
  z-index: 100;
  max-height: 280px;
  overflow-y: auto;
  display: none;
}
.custom-select.is-open .custom-select-menu {
  display: block;
}
.custom-select-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-b);
  font-size: 13.5px;
  font-weight: 500;
  color: #1e293b;
  transition: background 0.12s ease, color 0.12s ease;
  white-space: nowrap;
}
.custom-select-opt span,
.custom-select-current span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.custom-select-opt:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.custom-select-opt.is-selected {
  background: #fff1f2;
  color: var(--hz-red);
  font-weight: 600;
}
.custom-select-opt.is-selected .opt-svg-icon {
  color: var(--hz-red);
}

/* Flag, Provider & SVG Icons inside select */
.opt-svg-icon {
  width: 16px;
  height: 16px;
  color: #64748b;
  flex-shrink: 0;
  display: block;
}
.opt-flag-img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  display: block;
}
.opt-provider-img {
  max-height: 15px;
  max-width: 60px;
  width: auto;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  display: block;
}
.opt-globe-svg {
  width: 18px;
  height: 18px;
  color: #64748b;
  flex-shrink: 0;
  display: block;
}

.filter-pill-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

/* Right Results Container (.store-results) */
.store-results {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Result Bar */
.store-result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.store-result-count {
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}
.store-result-meta {
  font-family: var(--font-b);
  font-size: 12.5px;
  color: #64748b;
  font-weight: 500;
}
/* ==================== 8. AUCTION ROWS SYSTEM ==================== */
.store-auction-rows {
  display: grid;
  gap: 16px;
  width: 100%;
}

.store-auction-row {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 195px;
  gap: 24px;
  align-items: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.store-auction-row:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px -12px rgba(10, 20, 40, 0.12);
  transform: translateY(-1px);
}
.store-auction-row.is-gpu {
  border-left: 3px solid var(--hz-red);
}

/* Col 1: Provider Identity, Title, Chassis & Locations */
.auction-col-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}
.auction-provider-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.auction-logo-wrap {
  display: inline-flex;
  align-items: center;
  height: 18px;
  max-width: 100px;
}
.auction-provider-logo {
  max-height: 18px;
  max-width: 95px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.auction-title-wrap {
  margin: 0;
}
.auction-server-name {
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 2px;
}
.auction-server-chassis {
  font-family: var(--font-b);
  font-size: 12.5px;
  color: #64748b;
  font-weight: 500;
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.gpu-badge-clean {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  background: var(--hz-red);
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* Locations: Datacenter Region Chips */
.auction-flags-row {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.loc-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
  text-decoration: none;
}
.loc-chip:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}
.loc-chip-flag {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.loc-chip-code {
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.02em;
}

/* Col 2: Specifications Matrix (Columnar Scannability) */
.auction-col-specs {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 10px 24px;
  min-width: 0;
  border-left: 1px solid #f1f5f9;
  border-right: 1px solid #f1f5f9;
  padding: 2px 24px;
  background: transparent;
  border-radius: 0;
}
.auction-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.auction-spec-k {
  font-family: var(--font-b);
  font-size: 10.5px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}
.auction-spec-v {
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.4;
  white-space: normal;
}
.auction-spec-v strong {
  font-weight: 600;
  color: #020617;
}
.auction-spec-v .spec-dim {
  color: #64748b;
  font-weight: 400;
}

/* Minimal Server Live Status Dot */
.server-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.server-status-dot.is-in-stock {
  background: #16a34a;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.18);
}
.server-status-dot.is-limited {
  background: #d97706;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.18);
}
.server-status-dot.is-order {
  background: #64748b;
  box-shadow: 0 0 0 2px rgba(100, 116, 139, 0.18);
}

/* Col 3: Clean Price, Setup, SLA & Order CTA */
.auction-col-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  height: 100%;
}
.auction-price-wrap {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}
.auction-price-main {
  font-family: var(--font-h);
  font-weight: 700;
  color: #020617;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 1px;
}
.price-symbol {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--hz-red);
  margin-right: 1px;
}
.price-val {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #020617;
}
.price-sub {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  margin-left: 2px;
}
.auction-delivery-sla {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  background: transparent;
  padding: 0;
  border: none;
  white-space: nowrap;
  line-height: 1.4;
  margin-top: 2px;
}
.auction-action-buttons {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
.btn-order {
  min-height: 44px;
  height: 44px;
  padding: 0 18px;
  font-size: 13.5px;
  font-weight: 600;
  gap: 8px;
  width: 100%;
  max-width: 190px;
  justify-content: center;
  white-space: nowrap;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 2px rgba(220, 38, 38, 0.2);
  transition: all 0.15s ease;
}
.btn-order:hover {
  background: var(--hz-red-hover);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
  transform: translateY(-1px);
}
.btn-arrow {
  transition: transform 0.15s ease;
  display: inline-block;
}
.btn-order:hover .btn-arrow {
  transform: translateX(3px);
}

/* ==================== CARDS GRID VIEW ==================== */
.store-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
  gap: 18px;
}
.store-card {
  background: #ffffff;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.store-card:hover {
  border-color: var(--hz-red-border);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.store-card.is-gpu {
  border-top: 4px solid var(--teal-accent);
}
.card-head-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card-logo-wrap {
  height: 22px;
  max-width: 105px;
  display: flex;
  align-items: center;
}
.card-provider-logo {
  height: 18px;
  max-width: 95px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.card-title-wrap {
  margin: 2px 0 0;
}
.card-server-name {
  font-family: var(--font-h);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-title);
  line-height: 1.25;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-server-sku {
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.card-specs-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
}
.card-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.card-spec-item.card-spec-gpu {
  grid-column: 1 / -1;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 4px;
  padding: 4px 8px;
  margin-bottom: 2px;
}
.card-spec-k {
  font-family: var(--font-m);
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.card-spec-v {
  font-family: var(--font-b);
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
  white-space: normal;
  line-height: 1.35;
  word-break: normal;
}
.card-locations-list {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.card-footer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  margin-top: auto;
}
.card-price-wrap {
  text-align: left;
}
.card-price-main {
  display: flex;
  align-items: baseline;
  font-family: var(--font-h);
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
}
.card-price-main .price-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
}
.card-actions-wrap {
  display: flex;
  align-items: center;
}
.card-actions-wrap .btn-order {
  padding: 8px 14px;
  font-size: 12px;
  width: auto;
  max-width: none;
}

/* Empty State */
.store-empty-panel {
  background: #ffffff;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.empty-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-card);
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* Responsiveness */
@media (max-width: 1120px) {
  .store-auction-row {
    grid-template-columns: 210px minmax(0, 1fr) 180px;
    gap: 16px;
    padding: 16px 18px;
  }
  .auction-col-specs {
    padding: 2px 16px;
    gap: 10px 16px;
  }
}

@media (max-width: 960px) {
  .store-auction-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }
  .auction-col-specs {
    border-left: none;
    border-right: none;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    padding: 14px 0;
  }
  .auction-col-action {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px 16px;
    width: 100%;
    padding-top: 4px;
    border-top: none;
  }
  .auction-price-wrap {
    text-align: left;
    align-items: flex-start;
  }
  .auction-action-buttons {
    width: auto;
  }
  .btn-order {
    max-width: none;
    width: auto;
    padding: 9px 20px;
  }
}

@media (max-width: 560px) {
  .store-auction-row {
    padding: 16px 14px;
    gap: 12px;
  }
  .auction-col-specs {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 0;
  }
  .auction-spec-v {
    white-space: normal;
    word-break: break-word;
  }
  .auction-col-action {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .auction-price-wrap {
    text-align: left;
    align-items: flex-start;
  }
  .auction-action-buttons {
    width: 100%;
  }
  .btn-order {
    width: 100%;
    max-width: none;
  }
}

/* ==================== 9. OTHER SECTIONS (PROVIDERS, HOW, PAYMENT, FAQ) ==================== */
.section-pad {
  padding: 64px 0;
}
.section-head-center {
  text-align: center;
  margin-bottom: 36px;
}
.section-head-center h2 {
  font-family: var(--font-h);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  color: var(--ink-title);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.section-head-center p {
  font-size: 15px;
  color: var(--ink-muted);
  max-width: 60ch;
  margin: 0 auto;
}

.providers-grid-hz {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 18px;
}
.provider-box {
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
}
.provider-box__accent {
  width: 32px;
  height: 3px;
  background: var(--hz-red);
  border-radius: 2px;
  transition: width 0.35s ease;
  margin-bottom: 2px;
}
.provider-box:hover .provider-box__accent {
  width: 56px;
}
.provider-box:hover {
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px -16px rgba(10, 20, 40, 0.14);
  transform: translateY(-3px);
}
.provider-flag-row {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.provider-box img {
  max-height: 22px;
  max-width: 110px;
  object-fit: contain;
}

.flow-steps-hz {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}
.flow-step-box {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.flow-step-box:hover {
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px -16px rgba(10, 20, 40, 0.14);
  transform: translateY(-3px);
}
.flow-step-num {
  font-family: var(--font-m);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--hz-red);
  margin-bottom: 10px;
  display: inline-block;
  background: rgba(235, 0, 0, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.flow-step-box h3 {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-title);
  margin-bottom: 6px;
}
.flow-step-box p {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.5;
}

.faq-list-hz {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-box {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-box:hover {
  border-color: #cbd5e1;
}
.faq-box.is-open {
  border-color: rgba(235, 0, 0, 0.45);
  box-shadow: 0 4px 16px -4px rgba(10, 20, 40, 0.08);
}
.faq-box.is-open .faq-q-btn {
  color: var(--hz-red);
}
.faq-q-btn {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-title);
  transition: color 0.15s ease;
}
.faq-ans {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
}
.faq-box.is-open .faq-ans {
  display: block;
}

/* ==================== 10. MODAL SYSTEM ==================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.is-active {
  display: flex;
}
.modal-window {
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
  display: flex;
  flex-direction: column;
}
.modal-window.is-wide {
  max-width: 900px;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-card);
}
.modal-head h3 {
  font-family: var(--font-h);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-title);
}
.modal-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-muted);
  padding: 4px;
}
.modal-body {
  padding: 22px;
  overflow-y: auto;
}
.modal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 22px;
  border-top: 1px solid var(--border-card);
  background: var(--bg-subtle);
}

/* Order Form in Modal */
.order-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-card);
  margin-bottom: 14px;
}
.order-head-logo {
  background: #ffffff;
  border: 1px solid var(--border-line);
  border-radius: 6px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-width: 60px;
}
.order-provider-img {
  max-height: 20px;
  max-width: 90px;
  object-fit: contain;
  display: block;
}
.modal-loc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-m);
  font-size: 11px;
  padding: 2px 7px;
  background: #ffffff;
  border: 1px solid var(--border-line);
  border-radius: 4px;
  color: var(--ink-title);
  margin: 2px 4px 2px 0;
}
.order-head-text {
  flex: 1;
}
.order-head-text strong {
  font-family: var(--font-h);
  font-size: 17px;
  color: var(--ink-title);
  display: block;
}
.order-head-text span {
  font-size: 12px;
  color: var(--ink-muted);
}
.order-head-price {
  font-family: var(--font-h);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink-title);
  text-align: right;
}

.modal-spec-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 12px 0 16px;
  background: var(--bg-subtle);
  padding: 12px;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
}
@media (min-width: 560px) {
  .modal-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.modal-spec-cell {
  display: flex;
  flex-direction: column;
}
.modal-spec-k {
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
.modal-spec-v {
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-title);
}

.config-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
@media (min-width: 560px) {
  .config-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.config-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.config-field.is-full {
  grid-column: 1 / -1;
}
.config-field label {
  font-family: var(--font-b);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-title);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.config-field select,
.config-field input,
.config-field textarea {
  width: 100%;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-size: 13px;
  color: var(--ink-primary);
}
.config-field select:focus,
.config-field input:focus,
.config-field textarea:focus {
  border-color: var(--hz-red);
  outline: none;
}
.config-field textarea {
  min-height: 56px;
  resize: vertical;
}

.modal-quote-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 12px;
}
.quote-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  font-size: 13px;
  color: var(--ink-muted);
}
.quote-row span:last-child {
  font-family: var(--font-m);
  font-weight: 700;
  color: var(--ink-title);
}
.quote-row.is-total {
  padding-top: 8px;
  margin-top: 6px;
  border-top: 1px solid var(--border-card);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-title);
}
.quote-row.is-total span:last-child {
  font-size: 16px;
  color: var(--hz-red);
}

.order-note {
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.order-error {
  padding: 10px;
  border-radius: var(--radius-sm);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 12.5px;
  margin-bottom: 12px;
}
.order-success {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  color: var(--green-ok);
  text-align: center;
}
.order-success strong {
  font-family: var(--font-m);
  font-size: 16px;
  display: block;
  margin-bottom: 6px;
}
.order-success p {
  font-size: 13px;
  margin-bottom: 6px;
}

/* ==================== 11. FOOTER ==================== */
.hz-footer {
  background: #171c25;
  color: #94a3b8;
  padding: 48px 0 28px;
  font-size: 13px;
}
.hz-footer a {
  color: #cbd5e1;
}
.hz-footer a:hover {
  color: #ffffff;
}
.hz-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 32px;
  margin-bottom: 36px;
}
.hz-footer-brand h4 {
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 10px;
}
.hz-footer-col h5 {
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 12px;
}
.hz-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hz-footer-bottom {
  padding-top: 20px;
  border-top: 1px solid #283344;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-b);
  font-size: 12px;
  color: #94a3b8;
  flex-wrap: wrap;
}
