/* ============================================================
   AMZ Tire & Auto: Shop Wheels page
   Loaded after styles.css and reuses its variables and header.
   ============================================================ */

.shop-page { background: var(--paper-soft); }

.shop-main { padding: 2.2rem 0 4rem; }

/* ---------- Top bar ---------- */
.shop-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.shop-head h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; }
.shop-sub { color: var(--ink-mute); font-size: .95rem; margin-top: .2rem; }

.shop-tools { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.shop-search {
  position: relative;
  display: flex;
  align-items: center;
}
.shop-search svg {
  position: absolute;
  left: .8rem;
  width: 16px; height: 16px;
  color: var(--ink-mute);
  pointer-events: none;
}
.shop-search input {
  font: inherit;
  font-size: .9rem;
  padding: .6em 1em .6em 2.4em;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  width: 250px;
}
.shop-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(225, 29, 46, .15); }

#sortSelect {
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  padding: .6em 2.2em .6em 1em;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}
#sortSelect:focus { outline: none; border-color: var(--accent); }

.filters-toggle { display: none; font-size: .9rem; padding: .6em 1.3em; }

/* ---------- Active chips ---------- */
.active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.2rem;
}
.active-chips .chip {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  background: var(--ink);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: .35em .5em .35em .9em;
  border-radius: 999px;
}
.active-chips .chip button {
  background: rgba(255,255,255,.15);
  border: 0;
  color: #fff;
  width: 18px; height: 18px;
  border-radius: 50%;
  cursor: pointer;
  font-size: .8rem;
  line-height: 1;
  display: grid;
  place-items: center;
}
.active-chips .chip button:hover { background: var(--accent); }
.active-chips .chip.vehicle { background: var(--accent); }
.active-chips .chip.vehicle button { background: rgba(0,0,0,.25); }

/* ---------- Layout ---------- */
.shop-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 1.6rem;
  align-items: start;
}

/* ---------- Sidebar ---------- */
.shop-sidebar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.shop-sidebar::-webkit-scrollbar { display: none; width: 0; }
.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
}
.sidebar-close {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-mute);
}

/* Vehicle finder */
.vehicle-finder {
  background: var(--ink);
  color: #fff;
  padding: 1.2rem;
}
.vehicle-finder h2 {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .98rem;
  margin-bottom: .3rem;
}
.vehicle-finder h2 svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.vf-sub { font-size: .78rem; color: #a1a1aa; margin-bottom: .9rem; }
.vf-fields { display: grid; gap: .55rem; }
.vf-fields select {
  font: inherit;
  font-size: .88rem;
  padding: .55em .8em;
  border-radius: 9px;
  border: 1.5px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
  color: #fff;
  cursor: pointer;
}
.vf-fields select:focus { outline: none; border-color: var(--accent); }
.vf-fields select:disabled { opacity: .4; cursor: not-allowed; }
.vf-fields select option { color: var(--ink); background: #fff; }

.vf-status {
  margin-top: .8rem;
  font-size: .8rem;
  color: #a1a1aa;
}
.vf-status.error { color: #fca5a5; }
.vf-result {
  margin-top: .9rem;
  background: rgba(225, 29, 46, .12);
  border: 1px solid rgba(225, 29, 46, .4);
  border-radius: 10px;
  padding: .8rem .9rem;
  font-size: .82rem;
  line-height: 1.5;
}
.vf-result strong { color: var(--accent); }
.vf-result .vf-spec { display: flex; justify-content: space-between; gap: .8rem; }
.vf-result .vf-spec b { color: #fff; font-weight: 700; }
.vf-clear {
  margin-top: .7rem;
  width: 100%;
  background: none;
  border: 1px solid rgba(255,255,255,.25);
  color: #d4d4d8;
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
  padding: .5em;
  border-radius: 8px;
  cursor: pointer;
}
.vf-clear:hover { border-color: var(--accent); color: #fff; }

/* Size finder (tires) */
.size-finder {
  background: var(--accent);
  color: #fff;
  padding: 1.2rem;
}
.size-finder h2 {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .98rem;
  margin-bottom: .3rem;
}
.size-finder h2 svg { width: 22px; height: 22px; flex-shrink: 0; }
.sf-sub { font-size: .78rem; color: rgba(255,255,255,.85); margin-bottom: .9rem; }
.sf-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: .35rem;
}
.sf-fields select {
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  padding: .55em .2em;
  border-radius: 9px;
  border: 1.5px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.22);
  color: #fff;
  cursor: pointer;
  min-width: 0;
  text-align: center;
}
.sf-fields select:focus { outline: none; border-color: #fff; }
.sf-fields select:disabled { opacity: .5; cursor: not-allowed; }
.sf-fields select option { color: var(--ink); background: #fff; }
.sf-sep { display: none; }
.sf-clear {
  margin-top: .7rem;
  width: 100%;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
  padding: .5em;
  border-radius: 8px;
  cursor: pointer;
}
.sf-clear:hover { background: rgba(0,0,0,.4); }

/* Filter groups */
.filter-groups { padding: .4rem 0; }
.filter-group { border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: 0; }
.filter-group summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .9rem 1.2rem;
  position: relative;
  user-select: none;
}
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 400;
  transition: transform .2s;
}
.filter-group[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.filter-group > *:not(summary) { margin: 0 1.2rem .9rem; }

.chip-set { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip-set button {
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  padding: .35em .8em;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color .12s, background .12s, color .12s;
}
.chip-set button:hover { border-color: var(--accent); color: var(--accent-deep); }
.chip-set button.on {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.chip-set button:disabled { opacity: .35; cursor: not-allowed; }

.list-search {
  width: 100%;
  font: inherit;
  font-size: .82rem;
  padding: .45em .8em;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  margin-bottom: .5rem;
}
.list-search:focus { outline: none; border-color: var(--accent); }

.check-list {
  max-height: 216px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .1rem;
  scrollbar-width: thin;
}
.check-item {
  display: flex;
  align-items: center;
  gap: .55em;
  font-size: .86rem;
  padding: .3em .2em;
  cursor: pointer;
  border-radius: 6px;
  color: var(--ink-soft);
}
.check-item:hover { background: var(--paper-soft); }
.check-item.empty { opacity: .45; cursor: not-allowed; }
.check-item.empty:hover { background: transparent; }
.check-item input {
  accent-color: var(--accent);
  width: 15px; height: 15px;
  cursor: pointer;
  flex-shrink: 0;
}
.check-item .count { margin-left: auto; font-size: .72rem; color: var(--ink-mute); }

.clear-filters { margin: .9rem 1.2rem 1.2rem; width: calc(100% - 2.4rem); color: var(--ink); border-color: var(--line); font-size: .85rem; }
.clear-filters:hover { border-color: var(--accent); color: var(--accent-deep); }

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 180;
}

/* ---------- Results ---------- */
.results-meta {
  font-size: .88rem;
  color: var(--ink-mute);
  margin-bottom: .9rem;
  font-weight: 600;
}

.wheel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 1.1rem;
}

.wheel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.wheel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(225, 29, 46, .45);
}
.wheel-img {
  position: relative;
  aspect-ratio: 1;
  background: #fff;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--paper-soft);
}
.wheel-img img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}
.wheel-img .no-img {
  color: #d4d4d8;
  width: 40%;
  height: 40%;
}
.stock-badge {
  position: absolute;
  top: .7rem;
  left: .7rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .3em .7em;
  border-radius: 999px;
}
.stock-badge.in { background: #dcfce7; color: #166534; }
.stock-badge.order { background: var(--paper-soft); color: var(--ink-mute); }

.season-badge {
  position: absolute;
  top: .7rem;
  right: .7rem;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .3em .65em;
  border-radius: 999px;
}
.season-badge.winter { background: #e0f2fe; color: #075985; }
.season-badge.allweather { background: #ede9fe; color: #5b21b6; }
.season-badge.allseason { background: #f1f5f9; color: #334155; }
.season-badge.summer { background: #fef3c7; color: #92400e; }

.wheel-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }

/* Tire specifics */
.tire-size {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.01em;
  margin: .15rem 0 .5rem;
}
.tire-flags { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .5rem; }
.tire-flag {
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent-deep);
  background: rgba(225, 29, 46, .09);
  border: 1px solid rgba(225, 29, 46, .25);
  padding: .22em .55em;
  border-radius: 6px;
}
.wheel-brand {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.wheel-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin: .1rem 0 .05rem;
}
.wheel-finish { font-size: .8rem; color: var(--ink-mute); margin-bottom: .6rem; }
.wheel-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .15rem .8rem;
  font-size: .76rem;
  color: var(--ink-soft);
  background: var(--paper-soft);
  border-radius: 8px;
  padding: .55rem .7rem;
  margin-bottom: .7rem;
}
.wheel-specs b { font-weight: 700; }
.wheel-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  margin-bottom: .7rem;
}
.wheel-price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
}
.wheel-price small { font-size: .65rem; font-weight: 600; color: var(--ink-mute); display: block; letter-spacing: .05em; }
.wheel-price.call { font-size: .95rem; color: var(--accent-deep); }
.wheel-sku { font-size: .68rem; color: var(--ink-mute); }
.wheel-card .btn { font-size: .85rem; padding: .6em 1em; }

.load-more-wrap { text-align: center; margin-top: 2rem; }

.shop-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--ink-mute);
}
.shop-empty svg { width: 64px; height: 64px; margin-bottom: 1rem; color: #d4d4d8; }
.shop-empty h3 { font-size: 1.2rem; color: var(--ink); margin-bottom: .4rem; }
.shop-empty a { color: var(--accent-deep); font-weight: 700; }

/* Skeleton shimmer while JSON loads */
.wheel-skel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 380px;
  position: relative;
  overflow: hidden;
}
.wheel-skel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(0,0,0,.05) 50%, transparent 70%);
  animation: shimmer 1.2s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- Bottom CTA ---------- */
.shop-cta {
  margin-top: 3.5rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.shop-cta h2 { font-size: 1.5rem; margin-bottom: .3rem; }
.shop-cta p { color: #a1a1aa; font-size: .95rem; }
.shop-cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ============================================================
   Card action buttons
   ============================================================ */
.wheel-actions {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: .5rem;
}
.wheel-actions .btn { font-size: .82rem; padding: .6em .5em; white-space: nowrap; }

/* ============================================================
   Modals (Visualize + Inquiry)
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 13, .72);
  backdrop-filter: blur(3px);
}
.modal-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  width: min(520px, 100%);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  animation: modalIn .22s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.viz-card { width: min(680px, 100%); }
.modal-close {
  position: absolute;
  top: .8rem;
  right: .9rem;
  background: var(--paper-soft);
  border: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-mute);
  display: grid;
  place-items: center;
  z-index: 2;
}
.modal-close:hover { background: var(--accent); color: #fff; }
.modal-card h3 { font-size: 1.3rem; padding-right: 2rem; }
.modal-sub { font-size: .88rem; color: var(--ink-mute); margin: .25rem 0 1.1rem; }

/* ---------- Visualize modal ---------- */
.viz-vehicle { margin-bottom: 1rem; }
.viz-pick-label { font-size: .9rem; font-weight: 600; margin-bottom: .6rem; }
.viz-pick-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: .55rem;
  margin-bottom: .8rem;
}
.viz-pick-fields select {
  font: inherit;
  font-size: .88rem;
  padding: .55em .7em;
  border-radius: 9px;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  min-width: 0;
}
.viz-pick-fields select:focus { outline: none; border-color: var(--accent); }
.viz-pick-fields select:disabled { opacity: .45; cursor: not-allowed; }

.viz-stage {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: .6rem;
}
.viz-stage img { max-width: 100%; max-height: 380px; object-fit: contain; }
.viz-msg { text-align: center; color: var(--ink-mute); font-size: .9rem; padding: 2rem 1.5rem; }
.viz-msg strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: .3rem; }

.viz-spinner {
  width: 42px; height: 42px;
  border: 4px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: vizspin .8s linear infinite;
  margin: 0 auto .8rem;
}
@keyframes vizspin { to { transform: rotate(360deg); } }

.viz-colors {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: .9rem;
}
.viz-colors .swatch-label { font-size: .78rem; font-weight: 700; color: var(--ink-mute); margin-right: .2rem; }
.viz-colors button {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--line);
  cursor: pointer;
  padding: 0;
  transition: transform .12s, border-color .12s;
}
.viz-colors button:hover { transform: scale(1.15); }
.viz-colors button.on { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(225,29,46,.25); }

.viz-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
}
.viz-change {
  background: none;
  border: 0;
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-mute);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.viz-change:hover { color: var(--accent-deep); }

/* ---------- Inquiry modal ---------- */
.inq-wheel {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .9rem 1rem;
  margin-bottom: 1.1rem;
}
.inq-wheel img {
  width: 86px; height: 86px;
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.inq-wheel-info { min-width: 0; }
.inq-wheel-info .iw-name { font-family: var(--font-head); font-weight: 700; font-size: .98rem; }
.inq-wheel-info .iw-finish { font-size: .8rem; color: var(--accent-deep); font-weight: 600; margin-bottom: .25rem; }
.inq-wheel-info .iw-specs { font-size: .78rem; color: var(--ink-mute); line-height: 1.5; }
.inq-wheel-info .iw-price { font-weight: 800; font-family: var(--font-head); font-size: 1.05rem; margin-top: .2rem; }

.inq-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.inq-field { margin-bottom: .7rem; }
.inq-field label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: .3rem;
}
.inq-field .opt { font-weight: 400; color: var(--ink-mute); }
.inq-field input, .inq-field textarea {
  width: 100%;
  font: inherit;
  font-size: .9rem;
  padding: .6em .8em;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: #fff;
  resize: vertical;
}
.inq-field input:focus, .inq-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(225, 29, 46, .12);
}
.inq-field input.invalid, .inq-field textarea.invalid { border-color: var(--accent); }
.inq-note { font-size: .75rem; color: var(--ink-mute); text-align: center; margin-top: .6rem; }

.inq-success { text-align: center; padding: 1.5rem 0 .5rem; }
.inq-success svg { width: 46px; height: 46px; color: var(--green); margin-bottom: .6rem; }
.inq-success h4 { font-size: 1.1rem; margin-bottom: .3rem; }
.inq-success p, .inq-error p { font-size: .9rem; color: var(--ink-mute); }
.inq-success a, .inq-error a { color: var(--accent-deep); font-weight: 700; }
.inq-error { margin-top: .8rem; background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; padding: .8rem 1rem; }

/* ============================================================
   Service & Pricing page
   ============================================================ */
#svcSort {
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  padding: .6em 2.2em .6em 1em;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}
#svcSort:focus { outline: none; border-color: var(--accent); }

.svc-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin: .4rem 0 1.6rem;
}
.svc-tabs button {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  padding: .55em 1.3em;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color .12s, background .12s, color .12s;
}
.svc-tabs button:hover { border-color: var(--accent); color: var(--accent-deep); }
.svc-tabs button.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.1rem;
}
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(225, 29, 46, .45);
}
.svc-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0c0c0e;
}
.svc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.svc-card:hover .svc-img img { transform: scale(1.04); }
.svc-badge {
  position: absolute;
  top: .7rem;
  left: .7rem;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .35em .7em;
  border-radius: 999px;
  color: #fff;
  background: rgba(12, 12, 14, .78);
  backdrop-filter: blur(4px);
}
.svc-badge-tire { border: 1px solid rgba(225, 29, 46, .7); }
.svc-badge-oil { border: 1px solid rgba(255, 255, 255, .4); }
.svc-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: .35rem;
}
.svc-desc { font-size: .84rem; color: var(--ink-mute); line-height: 1.55; margin-bottom: .7rem; }
.svc-meta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .76rem;
  font-weight: 600;
  color: var(--ink-mute);
  margin-bottom: .8rem;
}
.svc-meta svg { width: 14px; height: 14px; }
.svc-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  margin-top: auto;
  padding-top: .8rem;
  border-top: 1px solid var(--paper-soft);
}
.svc-price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -.01em;
}
.svc-price sup { font-size: .7em; }
.svc-from {
  font-size: .68rem;
  font-weight: 600;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.svc-card .btn { font-size: .85rem; padding: .6em 1.2em; white-space: nowrap; }

/* Full menu below the cards */
.pricing-page {
  background: transparent;
  padding: 4.5rem 0 0;
  margin-top: 4rem;
  border-top: 1px solid var(--line);
}
.pricing-page .section-head { margin-bottom: 2.5rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filters-toggle { display: inline-flex; }
  .shop-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(340px, 88vw);
    max-height: none;
    border-radius: 0;
    z-index: 190;
    transform: translateX(-105%);
    transition: transform .25s ease;
    visibility: hidden;
  }
  .shop-sidebar.open { transform: none; visibility: visible; }
  .sidebar-close { display: block; }
}

@media (max-width: 760px) {
  .modal { padding: .6rem; align-items: end; }
  .modal-card { padding: 1.3rem; border-radius: 18px 18px 12px 12px; }
  .viz-pick-fields { grid-template-columns: 1fr; }
  .inq-row { grid-template-columns: 1fr; gap: 0; }
  .viz-foot { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .wheel-actions { grid-template-columns: 1fr; }
  .shop-head { flex-direction: column; align-items: stretch; }
  .shop-tools { justify-content: stretch; }
  .shop-search { flex: 1; }
  .shop-search input { width: 100%; }
  .wheel-grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: .8rem; }
  .wheel-specs { grid-template-columns: 1fr; }
  .shop-cta { padding: 1.8rem 1.4rem; }
  .svc-grid { grid-template-columns: 1fr; }
  #svcSort { width: 100%; }
  .pricing-page { padding-top: 3rem; margin-top: 2.5rem; }
}
