/*
Theme Name: Brakoon
Theme URI: https://brakoon.com
Author: Brakoon
Description: Custom dark theme for Brakoon offroad A-pillar brackets and roof racks.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: brakoon
*/

/* ===========================
   BRAKOON — Main Stylesheet
   =========================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:     #e8391e;
  --orange:  #f97316;
  --bg:      #0a0a0b;
  --bg2:     #111113;
  --card:    #161618;
  --border:  #2a2a2e;
  --text:    #f4f4f5;
  --muted:   #9a9aa4;
  --font-h:  'Barlow Condensed', sans-serif;
  --font-b:  'Barlow', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ===========================
   TYPOGRAPHY
   =========================== */
.text-gradient {
  background: linear-gradient(135deg, var(--red), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  display: inline-block;
  padding: 15px 34px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff;
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(249,115,22,.35);
  transition: box-shadow .25s, transform .2s, opacity .2s;
}
.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(249,115,22,.55);
  transform: translateY(-2px);
}
.btn-hero {
  padding: 17px 40px;
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: #fff;
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,.4);
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.btn-secondary:hover { border-color: var(--orange); transform: translateY(-2px); }

.btn-order {
  display: inline-block;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff;
  font-family: var(--font-h);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: opacity .2s;
}
.btn-order:hover { opacity: .85; }

.btn-check {
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff;
  font-family: var(--font-h);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: 2px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .2s;
}
.btn-check:hover { opacity: .9; }

.btn-fitment-check {
  margin-top: 24px;
  padding: 16px 48px;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.btn-whatsapp-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #25d366;
  color: #fff;
  border-radius: 4px;
  font-family: var(--font-h);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .5px;
  transition: opacity .2s;
}
.btn-whatsapp-nav svg { width: 16px; height: 16px; }
.btn-whatsapp-nav:hover { opacity: .9; }

/* ===========================
   LAYOUT
   =========================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-dark { background: var(--bg2); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-eyebrow {
  font-family: var(--font-h);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ===========================
   HEADER / NAV
   =========================== */
#header {
  position: fixed;
  top: 44px; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,13,13,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 36px; height: 36px; object-fit: contain; }
.logo-text {
  font-family: var(--font-h);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 3px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav-link {
  font-family: var(--font-h);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 8px 12px;
  color: var(--muted);
  transition: color .2s;
}
.nav-link:hover, .nav-link.active { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 114px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,13,13,.95) 0%, rgba(13,13,13,.75) 50%, rgba(232,57,30,.15) 100%);
}

.hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 80px 24px 40px; }
.hero-eyebrow {
  font-family: var(--font-h);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-h);
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-checker {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px 40px;
}
.checker-label {
  font-family: var(--font-h);
  font-size: .85rem;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.checker-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.checker-select {
  flex: 1; min-width: 120px;
  padding: 12px 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-b);
  font-size: .9rem;
  border-radius: 4px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.checker-select:focus { outline: none; border-color: var(--orange); }
.checker-select option { background: #1a1a1a; color: #fff; }

.hero-result { margin-top: 14px; font-family: var(--font-h); font-size: 1rem; letter-spacing: 1px; }
.hero-result.found { color: #4ade80; }
.hero-result.not-found { color: var(--orange); }

.stats-bar {
  position: relative; z-index: 1;
  background: rgba(232,57,30,.12);
  border-top: 1px solid rgba(232,57,30,.3);
  padding: 24px;
  display: flex; justify-content: center; gap: 64px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-h); font-size: 1.8rem; font-weight: 700; color: var(--orange); }
.stat-label { font-size: .8rem; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }

/* ===========================
   PRODUCTS
   =========================== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
  display: flex; flex-direction: column;
}
.product-card:hover { border-color: var(--orange); transform: translateY(-4px); }
.product-card.featured { border-color: var(--red); }
.product-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 12px;
  background: var(--red); color: #fff;
  font-family: var(--font-h); font-size: .75rem; font-weight: 600; letter-spacing: 1px;
  border-radius: 3px;
}
.badge-orange { background: var(--orange); }
.product-info { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product-name { font-family: var(--font-h); font-size: 1.3rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 10px; }
.product-desc { color: var(--muted); font-size: .9rem; line-height: 1.6; margin-bottom: 16px; }
.product-features { margin-bottom: 20px; }
.product-features li {
  font-size: .85rem; color: rgba(255,255,255,.7);
  padding: 4px 0 4px 16px; position: relative;
}
.product-features li::before {
  content: '▶'; position: absolute; left: 0;
  color: var(--orange); font-size: .6rem; top: 7px;
}
.product-footer {
  margin-top: auto; display: flex; align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 16px;
}
.product-price { font-family: var(--font-h); font-size: 1.6rem; font-weight: 700; color: var(--orange); }
.product-price small { font-size: .85rem; color: var(--muted); font-weight: 400; }

/* ===========================
   FITMENTS
   =========================== */
.fitment-checker {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 40px; text-align: center; margin-bottom: 64px;
}
.fitment-selects { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.select-group { display: flex; flex-direction: column; gap: 6px; min-width: 200px; flex: 1; max-width: 280px; }
.select-label { font-family: var(--font-h); font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); text-align: left; }
.fitment-select {
  width: 100%; padding: 14px 18px;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text); font-family: var(--font-b); font-size: 1rem;
  border-radius: 4px; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  transition: border-color .2s;
}
.fitment-select:focus { outline: none; border-color: var(--orange); }
.fitment-select option { background: #1a1a1a; }
.fitment-result { margin-top: 32px; min-height: 40px; }

.result-cards { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.result-card {
  background: var(--bg); border: 1px solid var(--orange);
  border-radius: 8px; overflow: hidden; text-align: left; min-width: 240px;
  transition: transform .2s, border-color .2s;
}
.result-card:hover { transform: translateY(-3px); border-color: var(--red); }
.result-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.result-card .result-card-tag,
.result-card .result-card-product,
.result-card .result-card-price,
.result-card .btn-order { display: block; padding-left: 16px; padding-right: 16px; }
.result-card .result-card-tag { padding-top: 14px; }
.result-card .btn-order { margin: 12px 16px 16px; display: inline-block; padding-left: 22px; padding-right: 22px; }
.result-card-tag { font-family: var(--font-h); font-size: .7rem; letter-spacing: 2px; color: var(--orange); text-transform: uppercase; margin-bottom: 6px; }
.result-card-product { font-family: var(--font-h); font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.result-card-price { font-family: var(--font-h); font-size: 1.5rem; color: var(--orange); margin-bottom: 14px; }
.result-no-fit { font-family: var(--font-h); font-size: 1rem; color: var(--muted); padding: 20px; }
.result-no-fit a { color: var(--orange); }

.compat-title { font-family: var(--font-h); font-size: 1.2rem; letter-spacing: 2px; margin-bottom: 20px; color: var(--muted); text-transform: uppercase; }
.table-scroll { overflow-x: auto; }
.compat-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.compat-table th {
  background: var(--card); padding: 14px 16px; text-align: left;
  font-family: var(--font-h); font-size: .8rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.compat-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); color: rgba(255,255,255,.85); }
.compat-table tr:hover td { background: rgba(255,255,255,.02); }
.compat-table .price-cell { font-family: var(--font-h); color: var(--orange); font-weight: 600; }
.compat-table .order-link { color: var(--orange); font-family: var(--font-h); font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; transition: color .2s; }
.compat-table .order-link:hover { color: var(--red); }

/* ===========================
   GALLERY
   =========================== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; margin-bottom: 40px; }
.gallery-item { overflow: hidden; border-radius: 6px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.large { grid-column: span 2; }
.gallery-cta { text-align: center; }
.gallery-cta p { color: var(--muted); margin-bottom: 14px; }

/* ===========================
   ABOUT
   =========================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img { border-radius: 8px; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-text { color: rgba(255,255,255,.75); margin-bottom: 16px; line-height: 1.8; }
.about-features { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.about-feature { display: flex; gap: 16px; align-items: flex-start; }
.about-feature-icon { font-size: 1.5rem; flex-shrink: 0; }
.about-feature h4 { font-family: var(--font-h); font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.about-feature p { color: var(--muted); font-size: .9rem; }

/* ===========================
   CONTACT
   =========================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-main { display: flex; flex-direction: column; gap: 16px; }
.contact-side-title { font-family: var(--font-h); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 20px; }
.social-links { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.social-link {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 6px; font-size: .9rem; transition: border-color .2s;
}
.social-link svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--orange); }
.social-link:hover { border-color: var(--orange); }
.social-link--wa svg { color: #25d366; }
.social-link--wa:hover { border-color: #25d366; }
.contact-info-box { background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 20px; }
.contact-info-box h4 { font-family: var(--font-h); font-size: .9rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.contact-info-box p { font-size: .9rem; padding: 5px 0; color: rgba(255,255,255,.8); }

/* ===========================
   FOOTER
   =========================== */
.footer { background: #080808; border-top: 1px solid var(--border); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { width: 40px; margin-bottom: 12px; }
.footer-tagline { color: var(--muted); font-size: .9rem; line-height: 1.6; max-width: 220px; }
.footer-links-col h4, .footer-social-col h4 { font-family: var(--font-h); font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-links-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links-col a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color .2s; }
.footer-links-col a:hover { color: var(--orange); }
.footer-social-col { display: flex; flex-direction: column; gap: 8px; }
.footer-social-col a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color .2s; }
.footer-social-col a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; color: var(--muted); font-size: .85rem; }
.footer-logo-text { font-family: var(--font-h); font-size: 1.4rem; font-weight: 900; letter-spacing: 3px; display: block; margin-bottom: 10px; }
.footer-order-btn {
  margin-top: 8px; padding: 10px 16px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff !important; border-radius: 5px; text-align: center;
  font-family: var(--font-h); font-size: .85rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  box-shadow: 0 2px 12px rgba(249,115,22,.3);
}

/* ===========================
   NAV CTA
   =========================== */
.btn-nav-cta {
  display: inline-block; padding: 9px 20px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff; font-family: var(--font-h); font-size: .85rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; border-radius: 5px;
  box-shadow: 0 2px 12px rgba(249,115,22,.35);
  transition: box-shadow .2s, transform .2s;
}
.btn-nav-cta:hover { box-shadow: 0 4px 18px rgba(249,115,22,.55); transform: translateY(-1px); }
.logo-on { color: var(--orange); }

/* ===========================
   HERO BADGES + PRICE
   =========================== */
.hero-price-badge {
  display: inline-block;
  background: rgba(249,115,22,.15); border: 1px solid rgba(249,115,22,.4);
  color: var(--orange); font-family: var(--font-h); font-size: .9rem;
  letter-spacing: 1px; padding: 6px 16px; border-radius: 100px; margin-bottom: 24px;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero-badge {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.75); font-family: var(--font-b); font-size: .8rem;
  padding: 5px 14px; border-radius: 100px; letter-spacing: .5px;
}

/* ===========================
   BUILT FOR YOU IF
   =========================== */
.bfy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.bfy-card {
  background: var(--bg); border: 1px solid var(--border); border-top: 3px solid var(--orange);
  border-radius: 10px; padding: 32px 28px;
  transition: border-color .25s, transform .25s;
}
.bfy-card:hover { border-color: var(--orange); border-top-color: var(--red); transform: translateY(-4px); }
.bfy-icon-wrap {
  width: 48px; height: 48px; background: rgba(249,115,22,.12);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--orange);
}
.bfy-icon-wrap svg { width: 24px; height: 24px; }
.bfy-card h3 { font-family: var(--font-h); font-size: 1.15rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 12px; }
.bfy-card p { color: var(--muted); font-size: .93rem; line-height: 1.7; }
.bfy-card strong { color: var(--text); }

.disclaimer-box {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(249,115,22,.06); border: 1px solid rgba(249,115,22,.2);
  border-radius: 8px; padding: 20px 24px;
  color: rgba(255,255,255,.65); font-size: .85rem; line-height: 1.7; margin-top: 8px;
}
.disclaimer-box strong { color: var(--text); }
.disclaimer-box svg { color: var(--orange); margin-top: 1px; }

/* ===========================
   4 STEPS GRID
   =========================== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-card { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 28px 22px; position: relative; }
.step-num { font-family: var(--font-h); font-size: 2.5rem; font-weight: 900; color: rgba(249,115,22,.2); line-height: 1; margin-bottom: 14px; }
.step-card h4 { font-family: var(--font-h); font-size: 1rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; color: var(--text); }
.step-card p { color: var(--muted); font-size: .88rem; line-height: 1.65; }
.step-link { color: var(--orange); text-decoration: underline; }

/* ===========================
   PRODUCT MODAL
   =========================== */
.modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.85); align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; width: 100%; max-width: 960px; max-height: 90vh;
  overflow-y: auto; position: relative;
  animation: modalIn .2s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; color: var(--muted);
  font-size: 1.8rem; cursor: pointer; line-height: 1; z-index: 10; transition: color .2s;
}
.modal-close:hover { color: var(--text); }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.modal-gallery { background: #111; border-radius: 10px 0 0 10px; overflow: hidden; }
.modal-main-wrap { position: relative; aspect-ratio: 4/3; background: #000; }
.modal-main-img { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.modal-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.6); border: none; color: #fff;
  font-size: 1.4rem; padding: 10px 14px; cursor: pointer; z-index: 5; transition: background .2s;
}
.modal-arrow:hover { background: rgba(232,57,30,.8); }
.modal-prev { left: 0; border-radius: 0 4px 4px 0; }
.modal-next { right: 0; border-radius: 4px 0 0 4px; }
.modal-counter { position: absolute; bottom: 10px; right: 12px; font-family: var(--font-h); font-size: .75rem; letter-spacing: 1px; color: rgba(255,255,255,.6); }
.modal-thumbs { display: flex; gap: 4px; padding: 8px; overflow-x: auto; background: #0a0a0a; }
.modal-thumb { width: 64px; height: 48px; object-fit: cover; border-radius: 3px; cursor: pointer; opacity: .5; border: 2px solid transparent; flex-shrink: 0; transition: opacity .2s, border-color .2s; }
.modal-thumb:hover { opacity: .8; }
.modal-thumb.active { opacity: 1; border-color: var(--orange); }
.modal-info { padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; max-height: 85vh; }
.modal-title { font-family: var(--font-h); font-size: 1.4rem; font-weight: 700; letter-spacing: 1px; padding-right: 32px; }
.modal-years { font-family: var(--font-h); font-size: .85rem; letter-spacing: 2px; color: var(--orange); text-transform: uppercase; }
.modal-notes { color: var(--muted); font-size: .9rem; line-height: 1.7; }
.modal-outside-note {
  background: rgba(249,115,22,.1); border: 1px solid rgba(249,115,22,.35);
  border-radius: 6px; padding: 10px 14px; font-size: .85rem; color: var(--orange); line-height: 1.5;
}
.modal-outside-note strong { color: var(--text); }
.modal-price { font-family: var(--font-h); font-size: 2rem; font-weight: 700; color: var(--orange); }

/* ===========================
   PHOTO FULLSCREEN
   =========================== */
.photo-fs-backdrop {
  display: none; position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,.95); align-items: center; justify-content: center;
}
.photo-fs-backdrop.open { display: flex; }
.photo-fs-img {
  max-width: 95vw; max-height: 92vh; object-fit: contain;
  border-radius: 4px; display: block;
}
.photo-fs-close {
  position: fixed; top: 16px; right: 20px;
  background: none; border: none; color: #fff;
  font-size: 2.2rem; cursor: pointer; line-height: 1; z-index: 3001; opacity: .8;
  transition: opacity .2s;
}
.photo-fs-close:hover { opacity: 1; }

/* ===========================
   ORDER FORM
   =========================== */
.order-form { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.of-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.of-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.of-group { display: flex; flex-direction: column; gap: 5px; }
.of-label { font-family: var(--font-h); font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.of-req { color: var(--orange); font-size: .8rem; }
.of-input { background: var(--bg); border: 1px solid var(--border); color: var(--text); font-family: var(--font-b); font-size: .9rem; padding: 10px 12px; border-radius: 4px; transition: border-color .2s; width: 100%; }
.of-input:focus { outline: none; border-color: var(--orange); }
.of-input::placeholder { color: #555; }
.of-select { appearance: none; cursor: pointer; }
.of-radio-group { display: flex; gap: 8px; }
.of-radio {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 14px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 4px; font-size: .9rem; cursor: pointer;
  transition: border-color .2s; flex: 1; justify-content: center;
}
.of-radio:has(input:checked) { border-color: var(--orange); color: var(--orange); }
.of-radio input { display: none; }
.of-char-counter { font-family: var(--font-b); font-size: .8rem; font-weight: 400; color: var(--orange); letter-spacing: 0; text-transform: none; }
.of-hint { color: #555; font-size: .78rem; line-height: 1.5; }
.of-divider { height: 1px; background: var(--border); margin: 4px 0; }
.of-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.of-price-block { display: flex; flex-direction: column; gap: 2px; }
.of-price-label { font-family: var(--font-h); font-size: .7rem; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }
.of-submit { flex: 1; min-width: 180px; text-align: center; }
.of-woo-note { text-align: center; font-size: .75rem; color: #444; margin-top: -6px; }
.of-feedback { font-size: .85rem; text-align: center; min-height: 20px; }
.of-feedback--error { color: #f87171; }

/* ===========================
   ANNOUNCEMENT BANNER
   =========================== */
.ann-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  background: linear-gradient(90deg, #b52a12, var(--red), var(--orange));
  color: #fff; display: flex; align-items: center; justify-content: center;
  gap: 12px; padding: 9px 48px 9px 16px;
  font-family: var(--font-b); font-size: .88rem; text-align: center; line-height: 1.4;
}
.ann-text strong { font-weight: 700; }
.ann-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #fff; font-size: 1.25rem; line-height: 1;
  cursor: pointer; opacity: .8; padding: 4px 6px;
}
.ann-close:hover { opacity: 1; }

/* ===========================
   FAQ
   =========================== */
.faq-grid { display: flex; flex-direction: column; gap: 10px; max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: none; color: var(--text);
  font-family: var(--font-h); font-size: 1.1rem; font-weight: 600; letter-spacing: .02em;
  text-align: left; padding: 18px 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: color .2s;
}
.faq-q:hover { color: var(--orange); }
.faq-q::after { content: '+'; font-size: 1.4rem; font-weight: 300; color: var(--orange); flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 14px 20px 18px; color: var(--muted); font-size: .95rem; line-height: 1.7; border-top: 1px solid var(--border); }
.faq-item.open .faq-a { display: block; }
.faq-a a { color: var(--orange); text-decoration: underline; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img { aspect-ratio: 16/9; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.large { grid-column: span 2; }
  .bfy-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: rgba(13,13,13,.98); flex-direction: column;
    padding: 24px; gap: 4px; border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 0; border-bottom: 1px solid var(--border); width: 100%; }

  .hero-title { font-size: clamp(2.5rem, 12vw, 5rem); }
  .stats-bar { gap: 32px; }
  .checker-row { flex-direction: column; }
  .checker-select, .btn-check { width: 100%; }
  .fitment-checker { padding: 24px 16px; }
  .fitment-selects { flex-direction: column; align-items: stretch; }
  .select-group { max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; }
  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; }
  .result-cards { flex-direction: column; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-badges { gap: 6px; }
}

@media (max-width: 700px) {
  .modal-body { grid-template-columns: 1fr; }
  .modal-gallery { border-radius: 10px 10px 0 0; }
  .modal-info { padding: 24px 20px; }
  .of-row { grid-template-columns: 1fr; }
  .of-row-3 { grid-template-columns: 1fr; }
  .of-footer { flex-direction: column; align-items: stretch; }
  .of-submit { min-width: unset; }
}
