/* VALKOR Autopartes — Minimalist Light Editorial Storefront */
:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --frame: #F4F3EF;
  --frame-hover: #ECEAE3;
  --ink: #141413;
  --ink-soft: #2B2A27;
  --muted: #5A5853;
  --muted-light: #8A8780;
  --line: #E7E5DF;
  --line-strong: #D4D1C8;
  --crimson: #B91C1C;
  --crimson-hover: #991B1B;
  --crimson-soft: #FDF2F2;
  --green: #166534;
  --green-bg: #EEF7F1;
  --green-border: #C7E3D1;
  --amber: #92400E;
  --amber-bg: #FEF6E7;
  --amber-border: #F2D8A7;
  --slate: #4B5563;
  --slate-bg: #F3F4F6;
  --slate-border: #E5E7EB;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 12px 32px -12px rgba(20, 20, 19, 0.08);
  --shadow-card: 0 1px 2px rgba(20, 20, 19, 0.04);
  --shadow-modal: 0 24px 64px -16px rgba(20, 20, 19, 0.22);
  --max-w: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

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

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

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

:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: 28px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 250, 248, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.brand-wordmark {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.22em;
  color: var(--ink);
}

.brand-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--crimson);
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.18s ease;
}

.main-nav a:hover {
  color: var(--ink);
}

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

.internal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.internal-link:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--surface);
}

.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.12s ease;
}

.cart-trigger:hover {
  background: var(--ink-soft);
}

.cart-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--crimson);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 15px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding-block: 14px;
}

.mobile-nav-link {
  padding: 11px 0;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-internal {
  color: var(--muted);
  font-size: 13.5px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn-primary:hover {
  background: var(--ink-soft);
}

.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--crimson);
}

.btn-lg {
  padding: 13px 28px;
  font-size: 14px;
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero {
  padding: 54px 0 64px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 22px;
}

.status-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
  flex-shrink: 0;
}

.status-pulse.base {
  background: var(--muted-light);
  box-shadow: none;
}

.hero-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.55rem, 4.8vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--crimson);
}

.hero-subtitle {
  margin: 0 0 28px;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

.hero-subtitle strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  max-width: 620px;
}

.hero-search:focus-within {
  border-color: var(--ink);
}

.hero-search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 14px;
  min-width: 0;
}

.search-icon {
  color: var(--muted-light);
  flex-shrink: 0;
}

.hero-search-field input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 9px 4px;
  font-size: 14.5px;
  outline: none;
  min-width: 0;
}

.hero-search-field input::placeholder {
  color: var(--muted-light);
}

.hero-search-btn {
  padding: 11px 22px;
  flex-shrink: 0;
}

.hero-vehicles {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero-vehicles-label {
  font-size: 12.5px;
  color: var(--muted);
  margin-right: 4px;
}

.vehicle-quick-chip {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.vehicle-quick-chip:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-stat dt {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.hero-stat dd {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* Hero Studio Spotlight Card */
.spotlight-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

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

.spotlight-kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.spotlight-avail {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid var(--green-border);
}

.spotlight-avail.low_stock {
  background: var(--amber-bg);
  color: var(--amber);
  border-color: var(--amber-border);
}

.spotlight-avail.on_order {
  background: var(--slate-bg);
  color: var(--slate);
  border-color: var(--slate-border);
}

.spotlight-stage {
  background: var(--frame);
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  margin-bottom: 16px;
  overflow: hidden;
  cursor: pointer;
}

.spotlight-stage img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  mix-blend-mode: multiply;
  transition: transform 0.35s ease;
}

.spotlight-stage:hover img {
  transform: scale(1.04);
}

.spotlight-codes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.mono-code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
}

.brand-tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.spotlight-name {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  min-height: 41px;
}

.spotlight-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.spotlight-price {
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.spotlight-link {
  background: none;
  border: none;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--crimson);
  cursor: pointer;
}

.spotlight-link:hover {
  text-decoration: underline;
}

.spotlight-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}

.spotlight-dot {
  width: 22px;
  height: 3px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--line-strong);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, width 0.2s ease;
}

.spotlight-dot.active {
  width: 34px;
  background: var(--ink);
}

/* Catalog Section */
.catalog-section {
  padding: 68px 0 80px;
}

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

.section-eyebrow {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--crimson);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.95rem, 3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.sync-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sync-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}

.sync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16A34A;
}

.sync-pill.offline .sync-dot {
  background: var(--muted-light);
}

.refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.18s ease;
}

.refresh-btn:hover {
  border-color: var(--ink);
}

.refresh-btn.spinning svg {
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Category Tabs */
.category-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 18px;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.16s ease;
}

.cat-tab:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.cat-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.cat-count {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.75;
}

/* Filter Bar */
.filter-bar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-card);
}

.filter-row-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.catalog-search-wrap {
  flex: 1 1 280px;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0 12px 0 14px;
}

.catalog-search-wrap:focus-within {
  border-color: var(--ink);
  background: var(--surface);
}

.catalog-search-wrap input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 9px 8px;
  font-size: 13.5px;
  outline: none;
}

.clear-search-btn {
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 2px 6px;
}

.filter-selects {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.select-wrap select {
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.avail-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
}

.avail-toggle input {
  accent-color: var(--crimson);
  width: 15px;
  height: 15px;
  margin: 0;
}

.filter-row-secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.vehicle-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.chip {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: transparent;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.16s ease;
}

.chip:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.chip.active {
  background: var(--crimson-soft);
  border-color: rgba(185, 28, 28, 0.35);
  color: var(--crimson);
  font-weight: 600;
}

.results-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.reset-filters-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--crimson);
  cursor: pointer;
  text-decoration: underline;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--frame);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.product-card:hover .card-media {
  background: var(--frame-hover);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  mix-blend-mode: multiply;
  transition: transform 0.3s ease;
}

.product-card:hover .card-media img {
  transform: scale(1.04);
}

.card-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted-light);
  text-align: center;
}

.card-placeholder span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

.avail-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid transparent;
}

.avail-badge.in_stock {
  background: var(--green-bg);
  color: var(--green);
  border-color: var(--green-border);
}

.avail-badge.low_stock {
  background: var(--amber-bg);
  color: var(--amber);
  border-color: var(--amber-border);
}

.avail-badge.on_order {
  background: var(--slate-bg);
  color: var(--slate);
  border-color: var(--slate-border);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

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

.card-code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-brand {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-transform: uppercase;
  flex-shrink: 0;
}

.card-title {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.38;
  color: var(--ink);
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}

.card-title:hover {
  color: var(--crimson);
}

.card-sub {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-price {
  font-size: 16.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.card-price.consult {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.card-add-btn {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.card-add-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.card-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.card-stepper button {
  border: none;
  background: transparent;
  color: #fff;
  width: 26px;
  height: 28px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-stepper button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.card-stepper span {
  min-width: 22px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
}

/* Empty & Pagination */
.empty-state {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
}

.empty-state-inner {
  max-width: 520px;
  margin: 0 auto;
}

.empty-kicker {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--crimson);
}

.empty-state h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
}

.empty-state p {
  margin: 0 0 22px;
  color: var(--muted);
}

.empty-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.catalog-pagination {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pagination-summary {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* Editorial Pillars */
.editorial-section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.editorial-header {
  margin-bottom: 36px;
}

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

.pillar-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
}

.pillar-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--crimson);
  margin-bottom: 16px;
}

.pillar-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.15;
}

.pillar-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.brands-showcase {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.brands-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.brands-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 26px;
}

.brands-strip span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

/* Store Section */
.store-section {
  padding: 76px 0;
}

.store-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.store-media {
  margin: 0;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.store-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.store-media figcaption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
}

.store-lead {
  margin: 14px 0 24px;
  font-size: 15.5px;
  color: var(--muted);
}

.store-details {
  margin: 0 0 28px;
  border-top: 1px solid var(--line);
}

.store-details > div {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.store-details dt {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.store-details dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
}

.mono-phones {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
}

.mono-phones a:hover {
  color: var(--crimson);
  text-decoration: underline;
}

.store-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-note {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

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

.footer-internal {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-weight: 500;
}

/* Floating Cart Pill */
.floating-cart-pill {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-modal);
  cursor: pointer;
}

.floating-pill-count {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  background: var(--crimson);
  font-family: var(--font-mono);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(20, 20, 19, 0.54);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.product-modal {
  position: relative;
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  padding: 28px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  border-color: var(--ink);
}

.modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: start;
}

.modal-stage {
  background: var(--frame);
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  mix-blend-mode: multiply;
}

.modal-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.modal-thumb {
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--frame);
  padding: 4px;
  cursor: pointer;
}

.modal-thumb.active {
  border-color: var(--ink);
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.modal-top-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  padding-right: 38px;
}

.modal-badge {
  position: static;
}

.modal-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.15;
}

.modal-price {
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
}

.modal-price.consult {
  font-size: 1.05rem;
  color: var(--muted);
}

.modal-desc {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
}

.modal-specs {
  margin: 0 0 22px;
  border-top: 1px solid var(--line);
}

.modal-specs > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.modal-specs dt {
  color: var(--muted);
}

.modal-specs dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-add-row {
  display: flex;
  gap: 10px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--bg);
}

.qty-control button {
  width: 36px;
  height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
}

.qty-control span {
  min-width: 28px;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 600;
}

/* Slide-Over Quote Cart Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(20, 20, 19, 0.48);
  backdrop-filter: blur(3px);
  display: flex;
  justify-content: flex-end;
}

.cart-drawer {
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-modal);
}

.drawer-header {
  position: relative;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--line);
}

.drawer-kicker {
  margin: 0 0 3px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--crimson);
}

.drawer-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
}

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

.drawer-empty {
  padding: 44px 12px;
  text-align: center;
  color: var(--muted);
}

.drawer-empty p {
  margin: 0 0 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--frame);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.cart-item-info {
  min-width: 0;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.cart-item-name {
  margin: 0 0 3px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}

.cart-remove {
  background: none;
  border: none;
  color: var(--muted-light);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  align-self: flex-start;
}

.cart-remove:hover {
  color: var(--crimson);
}

.cart-item-code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}

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

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
}

.cart-qty button {
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.cart-qty span {
  min-width: 22px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
}

.cart-item-price {
  font-size: 13.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.drawer-footer {
  padding: 16px 22px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.drawer-summary {
  margin-bottom: 14px;
}

.summary-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 14px;
}

.summary-line strong {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.summary-note {
  margin: 4px 0 0;
  font-size: 11.5px;
  color: var(--muted);
}

.drawer-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.drawer-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.drawer-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-field span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

.drawer-field input,
.drawer-field select {
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 13px;
}

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

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

/* Corporate Editorial Homepage */
.mobile-nav-cta {
  color: var(--crimson);
  font-weight: 600;
}

.corp-hero {
  padding: 72px 0 80px;
}

.corp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
}

.corp-micro-tag {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--crimson);
}

.corp-hero-title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.7rem, 4.9vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.corp-hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--crimson);
}

.corp-hero-sub {
  margin: 0 0 32px;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.68;
  color: var(--muted);
}

.corp-hero-sub strong {
  color: var(--ink);
  font-weight: 600;
}

.corp-hero-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.corp-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 44px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.corp-trust-item dt {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}

.corp-trust-item dd {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

.corp-hero-frame {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.corp-hero-media {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--frame);
}

.corp-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.corp-hero-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 4px 2px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.corp-hero-caption span:first-child {
  color: var(--ink);
  font-weight: 600;
}

/* 4 Specialty Pillars */
.specialty-section {
  padding: 80px 0;
}

.section-kicker-note {
  margin: 0;
  max-width: 38ch;
  font-size: 13.5px;
  color: var(--muted);
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.specialty-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.specialty-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.specialty-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.specialty-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--crimson);
}

.specialty-arrow {
  font-size: 14px;
  color: var(--muted-light);
  transition: transform 0.2s ease, color 0.2s ease;
}

.specialty-card:hover .specialty-arrow {
  transform: translate(2px, -2px);
  color: var(--ink);
}

.specialty-media {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: var(--frame);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  margin-bottom: 18px;
  overflow: hidden;
}

.specialty-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s ease;
}

.specialty-card:hover .specialty-media img {
  transform: scale(1.05);
}

.specialty-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

.specialty-card p {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}

.specialty-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.specialty-card:hover .specialty-link {
  color: var(--crimson);
}

.specialty-cta-wrap {
  margin-top: 38px;
  display: flex;
  justify-content: center;
}

.brand-strips-wrap {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
}

.brand-strips-wrap .brands-showcase {
  margin-top: 0;
  padding: 22px 0;
}

.vehicles-strip a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink);
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--bg);
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.vehicles-strip a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

/* 3-Step National Dispatch */
.shipping-section {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
}

.step-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--crimson);
  margin-bottom: 14px;
}

.step-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 600;
  line-height: 1.15;
}

.step-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
  color: var(--muted);
}

.callout-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: var(--frame);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}

.callout-copy h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.15;
}

.callout-copy p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

/* Dedicated /catalogo Page Banner */
.catalog-page-section {
  padding-top: 42px;
}

.catalog-page-banner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.catalog-page-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.catalog-page-sub {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  max-width: 62ch;
}

/* Web Assistant Chatbot Widget */
.vk-chat-root {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.vk-chat-root.has-cart-pill {
  bottom: 78px;
}

.vk-chat-fab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-modal);
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.14s ease;
}

.vk-chat-fab:hover {
  background: var(--ink-soft);
  transform: translateY(-1px);
}

.vk-chat-fab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
}

.vk-chat-panel {
  width: 390px;
  max-width: calc(100vw - 24px);
  height: 540px;
  max-height: calc(100vh - 110px);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.vk-chat-panel[hidden] {
  display: none;
}

.vk-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 14px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.vk-chat-kicker {
  margin: 0 0 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--crimson);
}

.vk-chat-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.1;
}

.vk-chat-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 19px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vk-chat-close:hover {
  border-color: var(--ink);
}

.vk-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vk-chat-msg {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 90%;
}

.vk-chat-msg.user {
  align-self: flex-end;
}

.vk-chat-msg.assistant {
  align-self: flex-start;
  max-width: 95%;
}

.vk-chat-bubble {
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  word-wrap: break-word;
}

.vk-chat-msg.user .vk-chat-bubble {
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.vk-chat-msg.assistant .vk-chat-bubble {
  background: var(--frame);
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}

.vk-chat-typing {
  color: var(--muted);
  font-style: italic;
}

.vk-chat-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vk-chat-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  padding: 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.vk-chat-card-thumb {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: var(--frame);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.vk-chat-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.vk-chat-thumb-code {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}

.vk-chat-card-body {
  min-width: 0;
}

.vk-chat-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  margin-bottom: 3px;
}

.vk-chat-avail {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
}

.vk-chat-avail.in_stock {
  background: var(--green-bg);
  color: var(--green);
}

.vk-chat-avail.low_stock {
  background: var(--amber-bg);
  color: var(--amber);
}

.vk-chat-avail.on_order {
  background: var(--slate-bg);
  color: var(--slate);
}

.vk-chat-card-name {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vk-chat-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.vk-chat-card-links {
  display: flex;
  gap: 8px;
}

.vk-chat-card-links a {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--crimson);
}

.vk-chat-card-links a:hover {
  text-decoration: underline;
}

.vk-chat-quick {
  display: flex;
  gap: 6px;
  padding: 8px 14px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  background: var(--bg);
  scrollbar-width: none;
}

.vk-chat-quick::-webkit-scrollbar {
  display: none;
}

.vk-chat-chip {
  flex-shrink: 0;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
}

.vk-chat-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.vk-chat-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.vk-chat-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--bg);
  padding: 9px 13px;
  font-size: 13px;
  outline: none;
}

.vk-chat-form input:focus {
  border-color: var(--ink);
  background: var(--surface);
}

.vk-chat-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.vk-chat-send:disabled {
  opacity: 0.5;
  cursor: default;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 90;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-modal);
}

/* Responsive */
@media (min-width: 860px) {
  .floating-cart-pill,
  .mobile-nav {
    display: none !important;
  }
}

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

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

@media (max-width: 960px) {
  .hero-grid,
  .corp-hero-grid,
  .store-grid,
  .modal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

@media (max-width: 859px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

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

  .site-footer {
    padding-bottom: 84px;
  }
}

@media (max-width: 600px) {
  .container {
    padding-inline: 16px;
  }

  .header-inner {
    height: 62px;
    gap: 10px;
  }

  .brand-sub,
  .internal-link {
    display: none;
  }

  .hero,
  .corp-hero {
    padding: 36px 0 48px;
  }

  .specialty-section,
  .shipping-section {
    padding: 54px 0;
  }

  .corp-trust-bar {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 30px;
  }

  .callout-band {
    padding: 22px 20px;
  }

  .hero-search {
    flex-direction: column;
    border-radius: var(--radius-md);
    padding: 8px;
  }

  .hero-search-field {
    width: 100%;
    padding-left: 8px;
  }

  .hero-search-btn {
    width: 100%;
  }

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

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .store-details > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-internal {
    padding-left: 0;
    border-left: none;
  }

  .vk-chat-root {
    right: 12px;
    bottom: 14px;
  }

  .vk-chat-root.has-cart-pill {
    bottom: 74px;
  }

  .vk-chat-panel {
    width: calc(100vw - 24px);
    height: min(500px, calc(100vh - 104px));
  }
}

@media (max-width: 519px) {
  .product-grid,
  .specialty-grid {
    grid-template-columns: 1fr;
  }

  .corp-hero-ctas .btn {
    width: 100%;
  }

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

  .product-modal {
    padding: 20px 16px;
  }
}
