
:root {
  --auto-red: #dc2626;
  --auto-red-hover: #b91c1c;
  --auto-red-light: #fee2e2;
  --auto-dark: #0f172a;
  --auto-darker: #020617;
  --auto-slate: #1e293b;
  --auto-border: #334155;
  --auto-text-main: #f8fafc;
  --auto-text-muted: #94a3b8;
  --auto-surface: #1e293b;
}
body.theme-autoparts {
  background-color: #0b1120;
  color: #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.auto-topbar {
  background-color: var(--auto-darker);
  color: #94a3b8;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0;
}
.auto-header {
  background-color: #0f172a;
  border-bottom: 2px solid var(--auto-red);
  padding: 0.85rem 0;
  position: sticky;
  top: 36px;
  z-index: 999;
}
.auto-brand-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.fitment-box {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
.fitment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1rem;
  align-items: flex-end;
}
.fitment-select {
  width: 100%;
  background-color: #0b1120;
  color: #f8fafc;
  border: 1px solid #475569;
  border-radius: 4px;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  outline: none;
}
.fitment-select:focus {
  border-color: var(--auto-red);
}
.btn-auto-primary {
  background-color: var(--auto-red);
  color: #ffffff;
  font-weight: 700;
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-auto-primary:hover {
  background-color: var(--auto-red-hover);
  transform: translateY(-1px);
}
.btn-auto-outline {
  background: transparent;
  color: #f8fafc;
  border: 1px solid #475569;
  padding: 0.65rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-auto-outline:hover {
  border-color: var(--auto-red);
  color: var(--auto-red);
}
.oe-search-bar {
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.oe-input {
  background: transparent;
  border: none;
  color: #ffffff;
  outline: none;
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
  flex-grow: 1;
}
.auto-card {
  background: #151e2e;
  border: 1px solid #26354a;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.auto-card:hover {
  border-color: var(--auto-red);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
.auto-card-thumb {
  height: 180px;
  background-color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid #26354a;
}
.oe-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.5);
  color: #fca5a5;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-family: ui-monospace, monospace;
}
.auto-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.auto-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.4rem;
}
.auto-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.auto-spec-label {
  color: #94a3b8;
}
.auto-spec-val {
  color: #cbd5e1;
  font-family: ui-monospace, monospace;
  font-weight: 600;
}
.shipping-calc-panel {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 1.5rem;
}
