/**
 * Maxt Offroad Theme – Homepage Sections
 * Pixel-perfect translation of V0 Next.js Tailwind → CSS.
 * @package maxtoffroad
 */

/* ===================================================================
   1. HERO SECTION
   V0: relative overflow-hidden bg-secondary
=================================================================== */
.mxo-hero {
  position: relative;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  overflow: hidden;
}

.mxo-hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background: radial-gradient(circle at center, oklch(0.65 0.2 35 / 0.2), transparent, transparent);
}

.mxo-hero__wrapper {
  position: relative;
  padding-block: 4rem;
}

@media (min-width: 1024px) {
  .mxo-hero__wrapper { padding-block: 6rem; }
}

.mxo-hero__grid {
  display: grid;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .mxo-hero__grid { grid-template-columns: 1fr 1fr; }
}

.mxo-hero__content { text-align: center; }

@media (min-width: 1024px) {
  .mxo-hero__content { text-align: left; }
}

.mxo-hero__badge {
  display: inline-block;
  border-radius: 9999px;
  background: oklch(0.65 0.2 35 / 0.2);
  padding: 0.25rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  /* Brand orange on the dark hero (#f0532b vs #222 ≈ 4.6:1 — AA). */
  color: var(--brand-orange, var(--primary));
}

.mxo-hero__headline {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--secondary-foreground);
}

@media (min-width: 768px) { .mxo-hero__headline { font-size: 3rem; } }
@media (min-width: 1024px) { .mxo-hero__headline { font-size: 3.75rem; } }

/* Large display heading — brand orange stays (3:1 suffices at this size). */
.mxo-hero__headline-primary { color: var(--brand-orange, var(--primary)); }

.mxo-hero__subheadline {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: oklch(0.98 0 0 / 0.8);
}

.mxo-hero__description {
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: oklch(0.98 0 0 / 0.6);
}

.mxo-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .mxo-hero__actions { flex-direction: row; justify-content: center; }
}

@media (min-width: 1024px) {
  .mxo-hero__actions { justify-content: flex-start; }
}

.mxo-hero__cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.mxo-hero__cta-chevron { width: 1.25rem; height: 1.25rem; }

.mxo-hero__cta-outline {
  background: transparent;
  border: 1px solid var(--secondary-foreground);
  color: var(--secondary-foreground);
}

.mxo-hero__cta-outline:hover {
  background: var(--secondary-foreground);
  color: var(--secondary);
}

/* Hero image column */
.mxo-hero__image-col { position: relative; }

.mxo-hero__image-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: oklch(0.98 0 0 / 0.05);
}

.mxo-hero__image { width: 100%; height: 100%; object-fit: cover; }

.mxo-hero__image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mxo-hero__image-placeholder-box {
  width: 16rem; height: 12rem;
  border-radius: var(--radius-lg);
  background: oklch(0.98 0 0 / 0.1);
}

@media (min-width: 1024px) {
  .mxo-hero__image-placeholder-box { width: 20rem; height: 16rem; }
}

.mxo-hero__image-placeholder-text {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: oklch(0.98 0 0 / 0.4);
}

/* Decorative blurs */
.mxo-hero__blur {
  position: absolute;
  border-radius: 9999px;
  filter: blur(40px);
  pointer-events: none;
}

.mxo-hero__blur--bottom-left {
  bottom: -1rem; left: -1rem;
  width: 6rem; height: 6rem;
  background: oklch(0.65 0.2 35 / 0.2);
}

.mxo-hero__blur--top-right {
  top: -1rem; right: -1rem;
  width: 8rem; height: 8rem;
  background: oklch(0.65 0.2 35 / 0.1);
}

/* Wave divider */
.mxo-hero__wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  color: var(--background);
  line-height: 0;
}

.mxo-hero__wave svg { width: 100%; display: block; }

/* ── Full-bleed lifestyle hero (mxo-hero--bg) ─────────────────────────
   The convoy/machine photo covers the hero via a real <img> (keeps
   alt/SEO/srcset); a gradient scrim keeps the headline legible over the
   open-sky side. Falls back to the two-column featured layout with no image.
   Scoped selectors (.mxo-hero--bg …) win over the global img height:auto. */
.mxo-hero--bg {
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(460px, 56vw, 620px);
  padding: 0;
}

.mxo-hero--bg .mxo-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: -2;
}

.mxo-hero--bg .mxo-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 16, 21, 0.85) 0%, rgba(11, 16, 21, 0.62) 30%, rgba(11, 16, 21, 0.28) 54%, rgba(11, 16, 21, 0) 76%),
    linear-gradient(0deg, rgba(11, 16, 21, 0.42) 0%, rgba(11, 16, 21, 0) 34%);
}

.mxo-hero--bg .mxo-hero__wrapper { position: relative; z-index: 1; }

/* Single column: the text sits over the image. */
.mxo-hero--bg .mxo-hero__grid { display: block; }

.mxo-hero--bg .mxo-hero__content {
  max-width: 44rem;
  padding-block: 3rem;
}

/* Light type over the photo. */
.mxo-hero--bg .mxo-hero__headline,
.mxo-hero--bg .mxo-hero__subheadline { color: #fff; }
.mxo-hero--bg .mxo-hero__subheadline { opacity: 0.92; }

/* Light outline CTA on the dark image. */
.mxo-hero--bg .mxo-hero__cta-outline {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}
.mxo-hero--bg .mxo-hero__cta-outline:hover {
  background: #fff;
  color: var(--secondary);
}

/* No wave over a full-bleed image; it runs edge to edge. */
.mxo-hero--bg .mxo-hero__wave { display: none; }

/* ===================================================================
   2. SHARED LAYOUT
   V0: container mx-auto max-w-7xl px-4
=================================================================== */
.mxo-container {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

/* Trust strip — proof chips between hero and the first product rail. */
.mxo-trust-strip {
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

.mxo-trust-strip__list {
  list-style: none;
  margin: 0;
  padding: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
}

.mxo-trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.mxo-trust-strip__item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.mxo-section--products {
  background: var(--background);
  padding-block: 3rem;
}

@media (min-width: 1024px) {
  .mxo-section--products { padding-block: 4rem; }
}

/* V0: flex items-center justify-between */
.mxo-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* V0: font-oswald text-2xl font-bold uppercase tracking-wide md:text-3xl */
.mxo-section__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .mxo-section__title { font-size: 1.875rem; }
}

/* V0: ghost variant, hidden md:inline-flex, text-primary hover:text-accent */
.mxo-view-all {
  display: none;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 200ms, background 200ms;
}

.mxo-view-all:hover {
  color: var(--accent);
  background: oklch(0.65 0.2 35 / 0.08);
}

@media (min-width: 768px) {
  .mxo-view-all { display: inline-flex; }
}

.mxo-view-all svg { flex-shrink: 0; }

/* ===================================================================
   3. PRODUCT GRID
   V0: mt-8 grid grid-cols-2 gap-4 md:grid-cols-3 lg:grid-cols-4 lg:gap-6
=================================================================== */
/* minmax(0, 1fr), never a bare 1fr — 1fr is minmax(auto, 1fr), and that auto
   floor refuses to shrink below the product card's min-content (~300px), which
   blows the tracks past the container and scrolls the page sideways on mobile. */
.mxo-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .mxo-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .mxo-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

/* Best sellers grid: always 4 cols on lg (same as new products) */
.mxo-product-grid--4 {
  /* inherits from .mxo-product-grid */
}

/* ===================================================================
   SEARCH RESULTS — unified, sectioned (products + guides).
   homepage.css also loads on is_search() (inc/enqueue.php); these rules
   reuse .mxo-product-grid (above) and the guide cards (guide-loops.css).
=================================================================== */
.mxo-search {
  padding-block: 2.5rem 3.5rem;
}

.mxo-search__header {
  margin-bottom: 2rem;
}

.mxo-search__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: var(--foreground);
}

.mxo-search__query {
  color: var(--primary);
}

.mxo-search__count {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.mxo-search__form-wrap {
  margin-top: 1.25rem;
}

.mxo-search__form {
  display: flex;
  gap: 0.5rem;
  max-width: 32rem;
}

.mxo-search__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  font-size: 0.9375rem;
}

.mxo-search__input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.mxo-search__submit {
  flex-shrink: 0;
}

.mxo-search__section {
  margin-top: 2.5rem;
}

.mxo-search__section:first-of-type {
  margin-top: 0;
}

.mxo-search__section--guides {
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.mxo-search__section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 1.25rem;
  color: var(--foreground);
}

.mxo-search__section-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  border-radius: 9999px;
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
}

.mxo-search__section-more {
  margin: 1.5rem 0 0;
}

.mxo-search__pagination {
  margin-top: 2rem;
}

.mxo-search__pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.mxo-search__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1;
}

.mxo-search__pagination a.page-numbers:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.mxo-search__pagination .page-numbers.current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.mxo-search__empty {
  text-align: center;
  padding: 2rem 0 3rem;
}

.mxo-search__empty h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}

.mxo-search__empty p {
  color: var(--muted-foreground);
  margin: 0 auto 1.5rem;
  max-width: 34rem;
}

.mxo-search__empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ===================================================================
   4. PLACEHOLDER PRODUCT CARD (mxo-pcard)
   V0 product-card.tsx: rounded-lg border border-border bg-card p-4
   hover: border-primary/50 shadow-lg
=================================================================== */
.mxo-pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 200ms, box-shadow 200ms;
}

.mxo-pcard:hover {
  border-color: oklch(0.65 0.2 35 / 0.5);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
}

/* V0: absolute right-3 top-3 z-10 bg-primary text-primary-foreground */
.mxo-pcard__badge {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  line-height: 1.2;
}

/* V0: aspect-square overflow-hidden rounded-md bg-muted */
.mxo-pcard__image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0.375rem;
  background: var(--muted);
  margin-bottom: 0;
}

.mxo-pcard__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mxo-pcard__placeholder svg {
  color: var(--muted-foreground);
}

/* V0: mt-4 flex flex-1 flex-col */
.mxo-pcard__body {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* V0: line-clamp-2 text-sm font-medium text-card-foreground */
.mxo-pcard__name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--card-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.mxo-pcard:hover .mxo-pcard__name {
  color: var(--primary);
}

/* V0: mt-1 flex items-center gap-1 */
.mxo-pcard__rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

/* V0: text-xs text-muted-foreground ml-1 */
.mxo-pcard__review-count {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-left: 0.25rem;
}

/* V0: mt-2 text-lg font-bold text-card-foreground */
.mxo-pcard__price {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--card-foreground);
}

/* V0: mt-1 text-xs text-muted-foreground */
.mxo-pcard__financing {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

/* V0: font-semibold text-primary */
.mxo-pcard__apr {
  font-weight: 600;
  color: var(--primary);
}

/* V0: underline */
.mxo-pcard__spend-link {
  text-decoration: underline;
  color: inherit;
}

/* ===================================================================
   STAR SVG CLASSES
   V0: h-3.5 w-3.5 for product cards, h-4 w-4 for review cards,
       h-5 w-5 for header stars
=================================================================== */
.mxo-star {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

/* V0: fill-primary text-primary */
.mxo-star--filled {
  fill: var(--primary);
  color: var(--primary);
}

/* half star: filled primary (clip handled in SVG) */
.mxo-star--half {
  fill: var(--primary);
  color: var(--primary);
}

/* V0: fill-muted text-muted */
.mxo-star--empty {
  fill: var(--muted);
  color: var(--muted);
}

/* V0 reviews header: h-5 w-5 */
.mxo-star--lg {
  width: 1.25rem;
  height: 1.25rem;
}

/* V0 review card stars: h-4 w-4 */
.mxo-star--md {
  width: 1rem;
  height: 1rem;
}

/* ===================================================================
   5. BRANDS SECTION
   V0 brand-logos.tsx: border-y border-border bg-background py-12
=================================================================== */
.mxo-section--brands {
  background: var(--background);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 3rem;
}

/* V0: text-center font-oswald text-2xl font-bold uppercase tracking-wide md:text-3xl */
.mxo-brands__title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--foreground);
  margin: 0;
}

@media (min-width: 768px) {
  .mxo-brands__title { font-size: 1.875rem; }
}

/* V0: mt-8 flex flex-wrap items-center justify-center gap-8 lg:gap-12 */
.mxo-brands__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  list-style: none;
  padding: 0;
}

@media (min-width: 1024px) {
  .mxo-brands__list { gap: 3rem; }
}

/* V0: font-oswald text-xl font-bold tracking-wide text-muted-foreground hover:text-primary md:text-2xl */
.mxo-brands__link {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 200ms;
}

.mxo-brands__link:hover {
  color: var(--primary);
}

@media (min-width: 768px) {
  .mxo-brands__link { font-size: 1.5rem; }
}

/* Manufacturer logos (inc/brand-logos.php — term meta mxo_make_logo).
   Muted to match the strip's grey-text weight; full color on hover.
   Brands without a logo keep the styled-text link above. */
.mxo-brands__link--logo {
  display: inline-flex;
  align-items: center;
}

.mxo-brands__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 9rem;
  max-height: 2.5rem;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 200ms, opacity 200ms;
}

.mxo-brands__link--logo:hover .mxo-brands__logo,
.mxo-brands__link--logo:focus-visible .mxo-brands__logo {
  filter: none;
  opacity: 1;
}

@media (min-width: 768px) {
  .mxo-brands__logo { max-height: 3rem; max-width: 11rem; }
}

/* ===================================================================
   6. REVIEWS SECTION
   V0 reviews-section.tsx: bg-background py-16
=================================================================== */
.mxo-section--reviews {
  background: var(--background);
  padding-block: 4rem;
}

/* V0: flex flex-col gap-4 md:flex-row md:items-center md:justify-between */
.mxo-reviews__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .mxo-reviews__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* V0: flex flex-col items-start gap-1 (always vertical stack — matches V0 layout) */
.mxo-reviews__header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

/* V0: text-sm font-semibold uppercase tracking-wide */
.mxo-reviews__excellent {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--foreground);
}

/* V0: flex gap-1 */
.mxo-reviews__header-stars {
  display: flex;
  gap: 0.25rem;
}

/* V0: text-sm text-muted-foreground */
.mxo-reviews__count {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* V0: rounded bg-muted px-3 py-1.5 text-xs font-medium */
.mxo-reviews__google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.25rem;
  background: var(--muted);
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--foreground);
}

/* V0: flex gap-2 */
.mxo-reviews__nav {
  display: flex;
  gap: 0.5rem;
}

/* V0: h-8 w-8 border outline variant */
.mxo-reviews__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  transition: background 200ms, border-color 200ms;
}

.mxo-reviews__nav-btn:hover {
  background: var(--muted);
  border-color: var(--primary);
}

.mxo-reviews__nav-btn svg {
  width: 1rem;
  height: 1rem;
}

/* V0: mt-8 grid gap-6 md:grid-cols-3 */
.mxo-reviews__grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .mxo-reviews__grid { grid-template-columns: repeat(3, 1fr); }
}

/* V0: rounded-lg border border-border bg-card p-6 */
.mxo-review-card {
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
}

/* V0: flex items-start gap-3 */
.mxo-review-card__header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

/* V0: h-10 w-10 rounded-full bg-muted flex items-center justify-center text-sm font-semibold */
.mxo-review-card__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
  flex-shrink: 0;
}

.mxo-review-card__meta {
  flex: 1;
  min-width: 0;
}

/* V0: text-sm font-semibold text-card-foreground */
.mxo-review-card__author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--card-foreground);
  margin: 0;
}

/* V0: text-xs text-muted-foreground */
.mxo-review-card__date {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.125rem;
}

/* V0: ml-auto rounded bg-muted px-2 py-0.5 text-[10px] font-medium */
.mxo-review-card__verified {
  margin-left: auto;
  border-radius: 0.25rem;
  background: var(--muted);
  padding: 0.125rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--muted-foreground);
  white-space: nowrap;
  align-self: center;
}

/* V0: mt-3 flex gap-0.5 */
.mxo-review-card__stars {
  display: flex;
  gap: 0.125rem;
  margin-top: 0.75rem;
}

/* V0: mt-3 text-sm leading-relaxed text-card-foreground/80 */
.mxo-review-card__content {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: oklch(from var(--card-foreground) l c h / 0.8);
}

/* Fallback for browsers without relative oklch */
@supports not (color: oklch(from red l c h)) {
  .mxo-review-card__content { color: var(--card-foreground); opacity: 0.8; }
}

/* V0: mt-2 text-sm font-medium text-primary hover:text-accent */
.mxo-review-card__readmore {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color 200ms;
}

.mxo-review-card__readmore:hover {
  color: var(--accent);
}

/* V0: mt-8 text-center */
.mxo-reviews__footer {
  margin-top: 2rem;
  text-align: center;
}

/* V0: text-xs — Trustpilot green brand color */
.mxo-reviews__trustpilot {
  font-size: 0.75rem;
  color: var(--primary);
}

/* ===================================================================
   BEST SELLERS SECTION — shares .mxo-section--products styles
   V0: same bg-background py-12 lg:py-16
=================================================================== */
.mxo-section--bestsellers {
  background: var(--background);
  padding-block: 3rem;
}

@media (min-width: 1024px) {
  .mxo-section--bestsellers { padding-block: 4rem; }
}


/* ===================================================================
   4b. PRODUCT CARD (mxo-product-card)
   Moved to main.css - the card renders on the homepage, shop loops,
   PDP related products, and vehicle hubs, so it is a global component.
=================================================================== */
