/* Product page (Dobinsons-style) */
.pp-crumbs { padding: 16px 0 0; }
.pp-crumbs .crumbs { margin: 0; font-size: 13px; }
.pp-top { padding: 22px 0 40px; }
.pp-top .pd { grid-template-columns: 1fr 1fr; gap: 44px; }
.pp-top .pd-gallery { background: #fff; border-radius: 6px; padding: 20px; }
.pp-top .thumb { border-radius: 4px; background: #fff; }
.pp-brand { font: 600 12px var(--body); letter-spacing: .14em; text-transform: uppercase; color: #a86f00; margin: 0 0 6px; }
.pp-top .pd-info h1 { font-family: var(--head); text-transform: uppercase; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.15; margin: 0 0 10px; }
.pp-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pp-meta b { color: var(--ink); }
.pp-sku { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .02em; }
.pp-summary { font-size: 15.5px; margin: 14px 0 0; }
.pp-fit { margin-top: 14px; padding: 10px 14px; border-radius: 4px; font-size: 14px; }
.pp-fit.yes { background: #e3f6ea; color: #17643a; border: 1px solid #b7e4c7; }
.pp-fit.no { background: #fff4d6; color: #6b4a00; border: 1px solid #f3dc9a; }

.pp-kit { margin-top: 20px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.pp-kit h2 { margin: 0; padding: 10px 14px; background: var(--ink); color: #fff; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.pp-comp { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 14px; border-top: 1px solid var(--line); background: #fff; }
.pp-comp:first-of-type { border-top: 0; }
.pp-comp-img { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 4px; display: grid; place-items: center; background: #fafafa; }
.pp-comp-img img { max-width: 44px; max-height: 44px; object-fit: contain; }
.pp-comp-name { font-weight: 500; color: var(--ink); line-height: 1.3; }
.pp-comp-name a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.pp-comp-name small { display: block; color: var(--muted); font-size: 12px; font-family: ui-monospace, Menlo, Consolas, monospace; }
.pp-qty { font: 600 16px var(--head); color: var(--ink); white-space: nowrap; }

.pp-buy { background: #fff; border-radius: 6px; margin: 18px 0 14px; }
.pp-buy .buy-row { margin: 0; }
.pp-buy .price { margin-bottom: 10px; }
.pp-buy .btn { text-transform: uppercase; letter-spacing: .05em; }
.pp-assure { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pp-assure li { border-left: 3px solid var(--accent); padding: 2px 0 2px 10px; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.pp-assure b { display: block; color: var(--ink); font-size: 13px; }
.pp-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; font-size: 13px; }
.pp-links a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.pp-tabs-wrap { padding: 0 0 48px; }
.pp-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--ink); overflow-x: auto; }
.pp-tabs button { border: 0; background: var(--bg-alt); color: var(--ink); font: 500 16px var(--head); text-transform: uppercase; letter-spacing: .05em; padding: 12px 24px; cursor: pointer; margin-right: 4px; border-radius: 4px 4px 0 0; white-space: nowrap; }
.pp-tabs button.on { background: var(--ink); color: #fff; }
.pp-panel { padding: 22px 0 0; }
.pp-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; }
.pp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pp-table th { background: var(--bg-alt); text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.pp-table td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.pp-table tr:first-child td { border-top: 0; }
.pp-table tbody tr:nth-child(even) td { background: #fafbfc; }
.pp-table small { display: block; color: var(--muted); font-size: 12px; }
.pp-table .c { text-align: center; }
.pp-table .nowrap { white-space: nowrap; }
.pp-ov { max-width: 820px; font-size: 15.5px; }
.pp-ov h3 { margin-top: 22px; }
.pp-specs { border-collapse: collapse; width: 100%; max-width: 720px; font-size: 14px; }
.pp-specs th, .pp-specs td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pp-specs th { width: 38%; background: var(--bg-alt); font-weight: 600; color: var(--ink); }

@media (max-width: 900px) {
  .pp-top .pd { grid-template-columns: 1fr; gap: 24px; }
  .pp-top .pd-media { position: static; }
  .pp-assure { grid-template-columns: 1fr; }
  .pp-tabs button { padding: 10px 14px; font-size: 14px; }
}

/* Category landing page */
.cat-hero { padding: 44px 0 38px; }
.cat-hero .lead { max-width: 760px; }
.cat-sec { padding-top: 32px; }
.cat-layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.cat-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.cat-box { border: 1px solid var(--line); border-radius: 6px; padding: 14px; background: #fff; }
.cat-box h4 { margin: 0 0 8px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.cat-box .f-link { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 4px; font-size: 14px; color: var(--ink); }
.cat-box .f-link small { color: var(--muted); }
.cat-box .f-link:hover { background: var(--bg-alt); text-decoration: none; }
.cat-box .f-link.on { background: var(--ink); color: #fff; }
.cat-box .f-link.on small { color: #c5cbd3; }
.cat-help { background: var(--bg-alt); }
.cat-help p { margin: 0 0 10px; color: var(--muted); }
.cat-mine { margin: 0 0 14px; }
.cat-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 0 0 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.cat-clear { margin-left: 10px; color: var(--muted); text-decoration: underline; }
.cat-sort { display: flex; gap: 8px; align-items: center; }
.cat-sort select { height: 36px; width: auto; font-size: 14px; }
.cat-grid-p { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.cc h3 { font-size: 16px; line-height: 1.3; }
.cc .card-img { background: #fff; }
.cc-foot { flex-direction: row; }
.cc-foot .btn { flex: 1; padding-left: 8px; padding-right: 8px; }
@media (max-width: 900px) {
  .cat-layout { grid-template-columns: 1fr; }
  .cat-side { position: static; flex-direction: row; overflow-x: auto; }
  .cat-box { min-width: 230px; max-height: 260px; overflow-y: auto; }
  .cat-help { display: none; }
}

/* Inner page banners: same picture as the home page instead of black */
.page-hero { background: #ecebe8 url("../img/hero-bg.jpg") center 35% / cover no-repeat; color: var(--ink); }
.page-hero::before { background: linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.3) 50%, rgba(255,255,255,0) 80%); }
.page-hero h1 { color: var(--ink); }
.page-hero .lead { color: var(--ink-2); opacity: 1; }
.page-hero .crumbs, .page-hero .crumbs a, .page-hero .crumbs span { color: var(--ink-2); }
.page-hero .crumbs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(22,25,29,.3); }

/* Product pictures: every picture fills the same box (scaled up or down, never cropped) */
.card-img { aspect-ratio: 4 / 3; padding: 12px; overflow: hidden; background: #fff; }
.card-img img { width: 100%; height: 100%; max-height: none; object-fit: contain; object-position: center; display: block; }
.pd-gallery { aspect-ratio: 1 / 1; overflow: hidden; }
.pd-gallery img { width: 100%; height: 100%; max-height: none; object-fit: contain; display: block; }
.thumb img, .pp-comp-img img, .ct-prod img, .a-thumb { object-fit: contain; }
.pp-comp-img img { width: 44px; height: 44px; max-width: none; max-height: none; }
.thumb img { width: 100%; height: 100%; }
.pp-warranty { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.pp-warranty b { color: var(--ink); }

/* Customer note ("RunFlats available for this wheel") */
.card-img { position: relative; }
.card-note { position: absolute; left: 8px; top: 8px; right: 8px; width: fit-content; max-width: calc(100% - 16px); background: var(--accent); color: var(--accent-ink); font: 600 11.5px/1.3 var(--body); padding: 4px 8px; border-radius: 3px; text-align: left; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.pp-note { margin-top: 14px; padding: 11px 14px; background: #fff6dc; border: 1px solid #f2d27a; border-left: 4px solid var(--accent); border-radius: 4px; font-weight: 600; color: var(--ink); font-size: 15px; }
.pp-note b { color: #a86f00; margin-right: 4px; }
.card-axle { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.card-axle b { color: var(--ink); font-weight: 600; }

/* Customer note: logo red */
.card-note { background: #d62d2d; color: #fff; }
.pp-note { background: #fdecec; border-color: #f3b9b9; border-left-color: #d62d2d; }
.pp-note b { color: #d62d2d; }

/* Text logo (Armor Parts) */
.logo-text { display: inline-flex; align-items: baseline; gap: 5px; font: 600 22px/1 var(--head, 'Oswald', sans-serif); letter-spacing: .08em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo-text b { font-weight: 700; color: var(--ink); }
.logo-text span { color: var(--accent); font-weight: 500; }
a.logo-text:hover { text-decoration: none; }
.site-footer .flogo-text { margin-bottom: 14px; font-size: 24px; }
.site-footer .flogo-text b { color: #fff; }
.a-top .logo-text { font-size: 18px; }
.card-brand { font: 600 11px var(--body); letter-spacing: .1em; text-transform: uppercase; color: #a86f00; margin-bottom: 2px; }

/* Notice strip (config 'notice_bar') */
.notice-bar { background: #1d74d0; color: #fff; font: 600 14px/1.4 var(--body); text-align: center; padding: 9px 0; }
.notice-bar .wrap { padding-left: 16px; padding-right: 16px; }

/* ---------- Typography refresh: Archivo (headings) + Manrope (text) ---------- */
:root {
  --head: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body { font-size: 15.5px; line-height: 1.65; letter-spacing: -.003em; font-feature-settings: "ss01", "cv11"; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }
h1 { font-weight: 800; letter-spacing: -.03em; line-height: 1.04; text-transform: none; }
h2 { font-size: clamp(24px, 2.6vw, 32px); }
h3 { letter-spacing: -.01em; }
h4 { font-family: var(--body); font-weight: 700; letter-spacing: .08em; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); max-width: 760px; }
.page-hero h1 { font-size: clamp(32px, 4.2vw, 52px); }
.lead { font-size: 17.5px; line-height: 1.6; }
.eyebrow, .pp-brand, .card-brand { font-family: var(--body); font-weight: 700; }
.nav-link { font: 600 15px var(--body); text-transform: none; letter-spacing: -.005em; }
.dd-menu a { font-family: var(--body); }
.btn { font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.pp-buy .btn, .sb-veh .btn, .sb-pn .btn { text-transform: none; letter-spacing: 0; font-size: 15px; }
.sb-title { font: 800 15px var(--head); letter-spacing: -.01em; text-transform: none; }
.cat-name { font: 700 17px/1.25 var(--head); letter-spacing: -.01em; }
.card h3, .cc h3 { font-weight: 700; letter-spacing: -.01em; }
.price.big { font-weight: 700; letter-spacing: -.02em; }
.steps li b { font-weight: 700; letter-spacing: -.01em; }
.pp-top .pd-info h1 { text-transform: none; font-size: clamp(28px, 3vw, 40px); }
.pp-kit h2 { font: 700 14px var(--body); letter-spacing: .06em; }
.pp-tabs button { font: 700 15px var(--body); text-transform: none; letter-spacing: 0; }
.pp-qty { font: 800 16px var(--head); }
.sku, .pp-sku { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; }
.logo-text { font: 800 22px/1 var(--head); letter-spacing: .02em; }
.logo-text span { font-weight: 600; }
.a-main h1 { font-weight: 800; letter-spacing: -.02em; }
.a-nav a { font-weight: 600; }

/* Wheels: forged badge + weight / load rating on product cards */
.card-img img.card-forged { position: absolute; left: 10px; bottom: 10px; width: 34px; height: 34px; max-height: none; padding: 0; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.card:hover .card-img img.card-forged { transform: none; }
.card-stats { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 6px; }
.card-stats li { display: grid; grid-template-columns: 18px 1fr; column-gap: 7px; align-items: center; padding: 7px 9px; border: 1px solid var(--line, #e6e8eb); border-radius: 8px; background: #f7f8f9; }
.card-stats svg { grid-row: span 2; width: 18px; height: 18px; fill: #6b7280; }
.card-stats span { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #6b7280; line-height: 1.2; }
.card-stats b { font-size: 14px; color: #16191d; line-height: 1.25; }

/* Category filter column: on desktop it stays in view and scrolls on its own when it is taller than the screen */
@media (min-width: 901px) {
  .cat-side { max-height: calc(100vh - 112px); overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; scrollbar-width: thin; scrollbar-color: #c5cbd3 transparent; }
  .cat-side::-webkit-scrollbar { width: 6px; }
  .cat-side::-webkit-scrollbar-thumb { background: #c5cbd3; border-radius: 3px; }
  .cat-side .cat-box { flex-shrink: 0; }
}

/* Home hero: desert armored vehicle + parts photo (assets/img/home-hero.jpg) */
.hero { background-image: url("../img/home-hero.jpg"); background-size: cover; background-position: center; background-color: #6b4a2a;
  min-height: clamp(440px, 44vw, 760px); display: flex; align-items: center; }
.hero::before { background: linear-gradient(90deg, rgba(14,16,19,.86) 0%, rgba(14,16,19,.70) 30%, rgba(14,16,19,.30) 52%, rgba(14,16,19,0) 66%); }
.hero-inner { width: 100%; }
.hero .eyebrow { color: #f2a900; }
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero .lead { color: #e9ecef; max-width: 560px; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
@media (max-width: 900px) {
  .hero { background-image: url("../img/home-hero-960.jpg"); background-position: 22% center; min-height: 420px; }
  .hero::before { background: linear-gradient(180deg, rgba(14,16,19,.55) 0%, rgba(14,16,19,.78) 100%); }
}
