/* Omar Canada — static preview theme
   Colors pulled from the logo: black, sunset red, cream */
:root {
  --bg: #0b0b0b;
  --bg-2: #141414;
  --bg-3: #1c1c1c;
  --line: #2a2a2a;
  --red: #e2331f;
  --red-dark: #b8240f;
  --cream: #f1e8d6;
  --muted: #a39d92;
  --radius: 14px;
  --max: 1200px;
  --font-en-display: "Bebas Neue", "Oswald", sans-serif;
  --font-body: "Inter", "Cairo", system-ui, sans-serif;
  --font-ar: "Cairo", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[dir="rtl"] body { font-family: var(--font-ar); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Display type */
.display {
  font-family: var(--font-en-display);
  letter-spacing: .02em;
  line-height: .95;
  text-transform: uppercase;
}
html[dir="rtl"] .display { font-family: var(--font-ar); font-weight: 900; letter-spacing: 0; line-height: 1.2; text-transform: none; }
.eyebrow {
  color: var(--red);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .95rem; }
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.section-head p { color: var(--muted); margin-top: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: .95rem;
  transition: background .2s, transform .2s, border-color .2s;
  cursor: pointer; border: 2px solid transparent;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,11,11,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.brand-name { font-family: var(--font-en-display); font-size: 1.6rem; letter-spacing: .04em; line-height: 1; }
html[dir="rtl"] .brand-name { font-family: var(--font-ar); font-weight: 900; font-size: 1.4rem; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: .95rem; font-weight: 600; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-links a.active { box-shadow: inset 0 -2px 0 var(--red); padding-bottom: 4px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  background: var(--bg-3); border: 1px solid var(--line); color: var(--cream);
  padding: 8px 14px; border-radius: 999px; font-weight: 700; cursor: pointer;
  font-family: var(--font-ar); font-size: .9rem;
}
.lang-toggle:hover { border-color: var(--red); }
.menu-btn { display: none; background: none; border: 0; color: var(--cream); cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; padding: 80px 0 100px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,51,31,.35), transparent 65%);
  top: -200px; inset-inline-end: -200px; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(3.2rem, 8vw, 6.4rem); }
.hero h1 .accent { color: var(--red); }
.hero p.lead { color: var(--muted); font-size: 1.15rem; max-width: 520px; margin: 22px 0 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-logo { width: 100%; max-width: 480px; margin-inline-start: auto; border-radius: 50%; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.stat strong { display: block; font-family: var(--font-en-display); font-size: 2.4rem; line-height: 1; color: var(--cream); }
.stat span { color: var(--muted); font-size: .9rem; }

html[dir="rtl"] [data-icon="arrow"] svg { transform: scaleX(-1); }
.stat .leaf { width: 38px; height: 38px; color: var(--red); display: block; }

/* Trust strip */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 26px 20px; display: flex; align-items: center; gap: 14px; border-inline-end: 1px solid var(--line); }
.strip-item:last-child { border-inline-end: 0; }
.strip-item svg { width: 28px; height: 28px; color: var(--red); flex-shrink: 0; }
.strip-item b { display: block; font-size: .95rem; }
.strip-item small { color: var(--muted); font-size: .82rem; }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card {
  position: relative; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; transition: border-color .25s, transform .25s;
}
.cat-card:hover { border-color: var(--red); transform: translateY(-4px); }
.cat-card .num { font-family: var(--font-en-display); color: var(--line); font-size: 4.5rem; line-height: 1; position: absolute; top: 14px; inset-inline-end: 22px; transition: color .25s; }
.cat-card:hover .num { color: rgba(226,51,31,.4); }
.cat-card svg.icon { width: 56px; height: 56px; color: var(--red); }
.cat-card h3 { font-size: 2rem; margin-top: 18px; padding-inline-end: 84px; position: relative; }
.cat-card p { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.cat-card .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: .88rem; color: var(--cream); }
.cat-card .go svg { width: 16px; height: 16px; transition: transform .2s; }
.cat-card:hover .go svg { transform: translateX(4px); }
html[dir="rtl"] .cat-card .go svg { transform: scaleX(-1); }
html[dir="rtl"] .cat-card:hover .go svg { transform: scaleX(-1) translateX(4px); }

/* Brand row */
.brands { display: flex; flex-wrap: wrap; gap: 12px; }
.brand-chip {
  padding: 14px 24px; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--font-en-display); font-size: 1.3rem; letter-spacing: .06em; color: var(--muted);
  transition: color .2s, border-color .2s;
}
.brand-chip:hover { color: var(--cream); border-color: var(--red); }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.steps { list-style: none; counter-reset: s; display: grid; gap: 22px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--font-en-display); font-size: 1.6rem; color: var(--red);
  border: 1px solid var(--line); border-radius: 50%; width: 48px; height: 48px;
  display: grid; place-items: center; line-height: 1;
}
.steps b { display: block; font-size: 1.05rem; }
.steps span { color: var(--muted); font-size: .92rem; }

/* CTA band */
.cta-band { background: var(--red); color: #fff; border-radius: 22px; padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.cta-band p { opacity: .9; margin-top: 8px; }
.cta-band .btn { background: #0b0b0b; color: #fff; }
.cta-band .btn:hover { background: #000; }

/* Page hero */
.page-hero { padding: 72px 0 48px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,51,31,.28), transparent 65%);
  top: -180px; inset-inline-end: -120px;
}
.page-hero h1 { font-size: clamp(3rem, 7vw, 5.2rem); position: relative; }
.page-hero p { color: var(--muted); max-width: 620px; margin-top: 14px; font-size: 1.08rem; position: relative; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; position: relative; }
.crumbs a:hover { color: var(--cream); }

/* Category page */
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 22px 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs a { white-space: nowrap; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--muted); }
.cat-tabs a:hover { color: var(--cream); }
.cat-tabs a.active { background: var(--red); border-color: var(--red); color: #fff; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0; align-items: center; }
.filters select {
  background: var(--bg-2); color: var(--cream); border: 1px solid var(--line);
  padding: 11px 16px; border-radius: 10px; font: inherit; font-size: .9rem; min-width: 160px;
}
.filters .count { margin-inline-start: auto; color: var(--muted); font-size: .9rem; }
.bike-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-bottom: 96px; }
.bike-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, transform .25s; }
.bike-card:hover { border-color: var(--red); transform: translateY(-4px); }
.bike-photo {
  aspect-ratio: 4/3; position: relative; display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, #161616 0 14px, #1b1b1b 14px 28px);
  color: #4a4a4a;
}
.bike-photo svg { width: 64px; height: 64px; }
.bike-photo small { position: absolute; bottom: 12px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.badge { position: absolute; top: 14px; inset-inline-start: 14px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 10px; border-radius: 6px; letter-spacing: .04em; }
.bike-body { padding: 20px 22px 22px; }
.bike-body h3 { font-size: 1.15rem; font-weight: 700; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.specs > span { background: var(--bg-3); border: 1px solid var(--line); padding: 4px 10px; border-radius: 6px; font-size: .8rem; color: var(--muted); }
.bike-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; }
.bike-foot .origin { font-size: .85rem; color: var(--muted); }
.bike-foot a { color: var(--red); font-weight: 700; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }
.bike-foot a svg { width: 16px; height: 16px; }

/* Prose / about */
.prose p { color: var(--muted); margin-bottom: 18px; font-size: 1.05rem; }
.prose p strong { color: var(--cream); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.value svg { width: 34px; height: 34px; color: var(--red); margin-bottom: 16px; }
.value h3 { font-size: 1.15rem; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: .93rem; }

/* Payment options */
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pay-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.pay-card.featured { border-color: var(--red); background: linear-gradient(180deg, rgba(226,51,31,.12), var(--bg-2) 60%); }
.pay-card h3 { font-size: 2.4rem; }
.pay-card ul { list-style: none; margin-top: 20px; display: grid; gap: 12px; }
.pay-card li { display: flex; gap: 12px; color: var(--muted); }
.pay-card li svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; margin-top: 3px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 12px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; gap: 18px; align-items: flex-start; transition: border-color .2s; }
a.contact-card:hover { border-color: var(--red); }
.contact-card .ic { width: 52px; height: 52px; border-radius: 12px; background: rgba(226,51,31,.12); display: grid; place-items: center; flex-shrink: 0; }
.contact-card .ic svg { width: 26px; height: 26px; color: var(--red); }
.contact-card b { display: block; font-size: 1.05rem; }
.contact-card span { color: var(--muted); font-size: .93rem; }
.map { margin-top: 22px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 380px; background: var(--bg-2); display: grid; place-items: center; color: var(--muted); text-align: center; padding: 20px; }
.hours { list-style: none; display: grid; gap: 10px; }
.hours li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: 10px; color: var(--muted); }
.hours li b { color: var(--cream); font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #070707; padding: 64px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
html[dir="rtl"] .site-footer h4 { letter-spacing: 0; font-size: .95rem; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer ul a { color: var(--muted); font-size: .92rem; }
.site-footer ul a:hover { color: var(--cream); }
.footer-about p { color: var(--muted); font-size: .92rem; margin-top: 14px; max-width: 320px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.socials a:hover { border-color: var(--red); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 22px; color: #6b665f; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.5);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-logo { max-width: 340px; margin: 0 auto; order: -1; }
  .cat-grid, .bike-grid, .values { grid-template-columns: repeat(2, 1fr); }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(2) { border-inline-end: 0; }
  .strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-links {
    display: none; position: absolute; top: 76px; inset-inline: 0;
    flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 16px 20px; border-top: 1px solid var(--line); }
  .nav-links a.active { box-shadow: inset 3px 0 0 var(--red); padding-bottom: 16px; }
  .menu-btn { display: block; }
  .nav-actions .btn { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .cat-grid, .bike-grid, .values, .pay-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-item { border-inline-end: 0 !important; border-bottom: 1px solid var(--line); }
  .strip-item:last-child { border-bottom: 0; }
  .cta-band { padding: 36px 26px; }
  .hero { padding: 40px 0 64px; }
  .brand-name { font-size: 1.3rem; }
  .filters select { flex: 1; min-width: 0; }
  .filters .count { width: 100%; margin: 0; }
}

/* ===== WordPress theme additions ===== */
[data-lang="ar"] { display: none !important; }
html[lang="ar"] [data-lang="en"] { display: none !important; }
html[lang="ar"] [data-lang="ar"] { display: revert !important; }

.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 18px; }
.h3 { font-size: 2rem; margin-bottom: 20px; }
.muted-lead { color: var(--muted); margin: 14px 0 28px; }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }
.panel-dark { background: var(--bg) !important; }
.narrow { max-width: 860px; }
.note { color: var(--muted); margin-top: 20px; font-size: .92rem; }
.split-top { align-items: start; }
.contact-list { display: grid; gap: 22px; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.stat .leaf svg { width: 100%; height: 100%; }
html[dir="rtl"] .btn .i-arrow { transform: scaleX(-1); }
.about-img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; height: auto; }

/* bike photos */
.bike-photo { overflow: hidden; }
.bike-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bike-card:hover .bike-photo img { transform: scale(1.04); }
.bike-photo .badge { z-index: 2; }
.bike-body h3 a:hover { color: var(--red); }
.badge-sold { background: #555; }
.badge-reserved { background: #b7791f; }
.badge-new { background: #1f8f5f; }
.bike-card.is-sold .bike-photo img { filter: grayscale(1) brightness(.6); }

/* single bike */
.page-hero-sm { padding: 28px 0; }
.page-hero-sm .crumbs { margin: 0; }
.bike-single { padding-top: 48px; }
.bike-detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.bike-hero-img { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.bike-hero-img img { width: 100%; height: auto; }
.bike-hero-img .badge { z-index: 2; }
.bike-photo-lg { border-radius: var(--radius); border: 1px solid var(--line); }
.bike-photo-lg svg { width: 110px; height: 110px; }
.bike-info { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; position: sticky; top: 100px; }
.bike-info h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.bike-price { font-size: 1.5rem; font-weight: 700; color: var(--red); margin: 10px 0 22px; }
.spec-table { display: grid; margin-bottom: 26px; }
.spec-table div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.spec-table dt { color: var(--muted); }
.spec-table dd { font-weight: 600; text-align: end; }
.btn-block { width: 100%; justify-content: center; margin-top: 10px; }
.bike-desc { margin-top: 56px; max-width: 860px; }

/* WordPress content */
.entry { color: var(--muted); font-size: 1.05rem; }
.entry > * + * { margin-top: 1em; }
.entry h2, .entry h3, .entry h4 { color: var(--cream); }
.entry a { color: var(--red); text-decoration: underline; }
.entry img { border-radius: 10px; height: auto; }
.entry ul, .entry ol { padding-inline-start: 1.4em; }
.entry .wp-block-gallery { gap: 12px; }
.entry figure { margin: 0; }
.post-row { padding: 28px 0; border-bottom: 1px solid var(--line); }
.post-row h2 { margin-bottom: 8px; }

/* empty state + pagination */
.empty { text-align: center; padding: 72px 20px 110px; display: grid; justify-items: center; gap: 14px; }
.empty > svg { width: 90px; height: 90px; color: #3a3a3a; }
.empty h1, .empty h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.empty p { color: var(--muted); max-width: 460px; margin-bottom: 10px; }
.pagination { display: flex; gap: 8px; justify-content: center; padding-bottom: 80px; margin-top: -50px; }
.pagination .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); padding: 0 10px; }
.pagination .page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }
.map svg { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--red); }

@media (max-width: 980px) {
	.bike-detail { grid-template-columns: 1fr; }
	.bike-info { position: static; }
}
