/* ═══════════════════════════════════════
   Marketplace Header + Landing v7
   ═══════════════════════════════════════ */

/* ── MARKETPLACE HEADER: Category tabs + search ── */
.nav__market-header{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:0;
  flex:1;
  max-width:580px;
  margin:0 auto;
}

/* Category tabs row (Fahrräder | E-Bikes | Zubehör | Sale) */
.nav__market-tabs{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
  padding-bottom:6px;
}
.nav__market-tab{
  padding:4px 16px;
  font-size:14px;
  font-weight:500;
  color:#374151;
  text-decoration:none;
  transition:color 0.12s ease;
  white-space:nowrap;
}
.nav__market-tab:hover{
  color:#1a1a1a;
}
.nav__market-tab--disabled{
  padding:4px 16px;
  font-size:14px;
  font-weight:500;
  color:#d1d5db;
  cursor:default;
  white-space:nowrap;
}
.nav__market-sep{
  width:1px;
  height:16px;
  background:#e5e7eb;
}

/* Search field (BikeExchange-style: red search icon, clean input) */
.nav__market-search{
  display:flex;
  align-items:center;
  width:100%;
  height:42px;
  border:1.5px solid #e5e7eb;
  border-radius:999px;
  background:#fff;
  padding:0 14px;
  gap:8px;
  transition:border-color 0.15s ease;
}
.nav__market-search:focus-within{
  border-color:#1a1a1a;
}
.nav__market-search-icon{
  flex-shrink:0;
}
.nav__market-search input{
  flex:1;
  border:none;
  outline:none;
  background:transparent;
  font:inherit;
  font-size:14px;
  font-weight:400;
  color:#1a1a1a;
  min-width:0;
}
.nav__market-search input::placeholder{
  color:#9ca3af;
}
.nav__market-search-clear{
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  border-radius:50%;
  background:#f3f4f6;
  color:#6b7280;
  transition:background 0.12s ease;
}
.nav__market-search-clear:hover{
  background:#e5e7eb;
}

@media(max-width:768px){
  .nav__market-header{ max-width:100%; }
  .nav__market-tabs{ overflow-x:auto; justify-content:flex-start; }
  .nav__market-tab{ font-size:13px; padding:4px 12px; }
}


/* ── LANDING: override container width ── */
body.marketplace-landing main > .wrap,
body.marketplace-landing main > .wrap--wide{
  max-width:none !important;
  padding:0 !important;
}

.ml-wrap{
  width:100%;
  max-width:1680px;
  margin:0 auto;
  padding:0 32px;
}
@media(max-width:768px){ .ml-wrap{ padding:0 16px; } }

/* ── Hero ── */
.ml-hero{
  width:100%;
  min-height:520px;
  background-size:cover;
  background-position:center;
  position:relative;
  display:flex;
  align-items:center;
}
.ml-hero__overlay{
  position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.15) 80%);
}
.ml-hero__inner{
  position:relative; z-index:1;
  width:100%; max-width:1440px;
  margin:0 auto; padding:80px 48px;
}
.ml-hero__eyebrow{
  display:inline-block;
  font-size:13px; font-weight:600; letter-spacing:0.06em;
  text-transform:uppercase; color:rgba(255,255,255,0.65);
  margin-bottom:14px;
}
.ml-hero__title{
  margin:0 0 16px;
  font-size:clamp(34px, 4.5vw, 56px);
  font-weight:600; letter-spacing:-0.035em;
  color:#fff; line-height:1.06; max-width:14ch;
}
.ml-hero__text{
  margin:0 0 32px;
  font-size:17px; line-height:1.55;
  color:rgba(255,255,255,0.8); max-width:46ch;
}
.ml-hero__actions{ display:flex; gap:12px; flex-wrap:wrap; }
.ml-hero__btn{
  display:inline-flex; align-items:center;
  padding:13px 28px; border-radius:8px;
  font-size:15px; font-weight:600; text-decoration:none;
  transition:all 0.15s ease;
}
.ml-hero__btn--primary{
  background:#fff; color:#1a1a1a; border:1.5px solid #fff;
}
.ml-hero__btn--primary:hover{ background:rgba(255,255,255,0.88); }
.ml-hero__btn--ghost{
  background:transparent; color:#fff;
  border:1.5px solid rgba(255,255,255,0.35);
}
.ml-hero__btn--ghost:hover{
  border-color:rgba(255,255,255,0.65);
  background:rgba(255,255,255,0.06);
}

@media(max-width:768px){
  .ml-hero{ min-height:400px; }
  .ml-hero__inner{ padding:48px 24px; }
}

/* ── Sections ── */
.ml-section{ padding:56px 0; }
.ml-section--light{ background:#f9fafb; }
.ml-section--dark{ background:#111; }

.ml-section__head{
  display:flex; align-items:baseline;
  justify-content:space-between; gap:16px;
  margin-bottom:28px;
}
.ml-section__head h2{
  margin:0; font-size:24px; font-weight:600;
  letter-spacing:-0.02em; color:#1a1a1a;
}
.ml-section__head p{
  margin:4px 0 0; font-size:14px; color:#6b7280;
}
.ml-section__head--light h2{ color:#fff; }
.ml-section__head--light p{ color:rgba(255,255,255,0.6); }

.ml-section__more{
  font-size:14px; font-weight:600; color:#1a1a1a;
  text-decoration:none; white-space:nowrap; flex-shrink:0;
}
.ml-section__more:hover{ text-decoration:underline; }
.ml-section__more--light{ color:#fff; }
.ml-section__more--light:hover{ color:rgba(255,255,255,0.8); }

/* ── Category grid (image tiles) ── */
.ml-cat-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}
.ml-cat{
  position:relative; display:flex; align-items:flex-end;
  min-height:260px; border-radius:14px; overflow:hidden;
  background-size:120%; background-position:center;
  text-decoration:none;
  transition:transform 0.35s ease, box-shadow 0.35s ease, background-size 0.6s ease;
}
.ml-cat:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 32px rgba(0,0,0,0.18);
  background-size:130%;
}
.ml-cat__overlay{
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.15) 100%);
  transition:background 0.3s ease;
}
.ml-cat:hover .ml-cat__overlay{
  background:linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.12) 100%);
}
.ml-cat__content{
  position:relative; z-index:1;
  padding:24px 24px; display:flex; flex-direction:column; gap:4px;
}
.ml-cat__label{
  font-size:22px; font-weight:700; color:#fff; letter-spacing:-0.02em;
}
.ml-cat__count{
  font-size:13px; color:rgba(255,255,255,0.7); font-weight:500;
}

@media(max-width:1100px){ .ml-cat-grid{ grid-template-columns:repeat(3, 1fr); } }
@media(max-width:768px){
  .ml-cat-grid{ grid-template-columns:repeat(2, 1fr); }
  .ml-cat{ min-height:200px; }
  .ml-cat__label{ font-size:18px; }
  .ml-cat__content{ padding:18px 18px; }
}
@media(max-width:480px){
  .ml-cat-grid{ grid-template-columns:1fr 1fr; gap:10px; }
  .ml-cat{ min-height:160px; }
  .ml-cat__label{ font-size:16px; }
}

/* ── Bike grid + cards ── */
.ml-bike-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
}
@media(max-width:1200px){ .ml-bike-grid{ grid-template-columns:repeat(3, 1fr); } }
@media(max-width:900px){ .ml-bike-grid{ grid-template-columns:repeat(2, 1fr); } }
@media(max-width:540px){ .ml-bike-grid{ grid-template-columns:1fr; } }

.ml-card{
  display:flex; flex-direction:column;
  border:1px solid rgba(0,0,0,0.07); border-radius:16px;
  background:#fff; text-decoration:none; color:#1a1a1a;
  overflow:hidden; position:relative;
  transition:all 0.3s cubic-bezier(.22,1,.36,1);
}
.ml-card:hover{
  transform:translateY(-6px);
  box-shadow:0 16px 44px rgba(0,0,0,0.1);
  border-color:rgba(0,0,0,0.12);
}
.ml-card--dark{
  border-color:rgba(255,255,255,0.08);
  background:#1a1a1a;
}
.ml-card--dark:hover{
  border-color:rgba(255,255,255,0.16);
  box-shadow:0 16px 44px rgba(0,0,0,0.3);
}
.ml-card--dark .ml-card__body{ color:#fff; }
.ml-card--dark .ml-card__brand{ color:#fff; }
.ml-card--dark .ml-card__title{ color:#fff; }
.ml-card--dark .ml-card__price strong{ color:#fff; }
.ml-card--dark .ml-card__specs,
.ml-card--dark .ml-card__type,
.ml-card--dark .ml-card__dealer,
.ml-card--dark .ml-card__price span{ color:rgba(255,255,255,0.5); }

.ml-card__media{
  position:relative; aspect-ratio:4/3; background:#f5f5f5; overflow:hidden;
}
.ml-card--dark .ml-card__media{ background:#222; }
.ml-card__media img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .4s cubic-bezier(.22,1,.36,1);
}
.ml-card:hover .ml-card__media img{ transform:scale(1.05); }
.ml-card__badges{
  position:absolute; top:10px; left:10px; display:flex; gap:6px; z-index:2;
}
.ml-badge{
  display:inline-flex; align-items:center;
  padding:5px 10px; border-radius:8px;
  font-size:11px; font-weight:700; line-height:1;
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
}
.ml-badge--sale{ background:rgba(185,28,28,.88); color:#fff; }
.ml-badge--year{ background:rgba(255,255,255,.88); color:#374151; border:1px solid rgba(0,0,0,.06); }

.ml-card__body{
  padding:16px 18px 18px;
  display:flex; flex-direction:column; gap:2px; flex:1;
}
.ml-card__brand{
  font-size:14px; font-weight:850; text-transform:none;
  letter-spacing:-.01em; color:#1a1a1a;
  margin-left:auto;
}
.ml-card__type{
  font-size:11px; font-weight:600; color:#9ca3af;
  letter-spacing:0.03em; text-transform:uppercase; margin-bottom:3px;
}
.ml-card__title{
  margin:0 0 6px; font-size:15px; font-weight:700;
  line-height:1.3; letter-spacing:-0.01em; color:#1a1a1a;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.ml-card__specs{ font-size:12px; color:#9ca3af; margin-bottom:12px; line-height:1.4; }
.ml-card__price{
  display:flex; align-items:baseline; gap:8px; margin-top:auto;
}
.ml-card__price strong{ font-size:19px; font-weight:800; color:#1a1a1a; letter-spacing:-.02em; }
.ml-card__price strong.is-sale{ color:#b91c1c; }
.ml-card__price span{ font-size:13px; color:#b0b0b0; text-decoration:line-through; }
.ml-card__dealer{
  font-size:12px; color:#9ca3af; margin-top:10px;
  border-top:1px solid rgba(0,0,0,.04); padding-top:10px;
}

/* ── Brands ── */
.ml-brand-grid{
  display:flex; flex-wrap:wrap; gap:10px;
}
.ml-brand{
  display:inline-flex; align-items:center; justify-content:center;
  height:48px; padding:0 24px;
  border:1.5px solid rgba(0,0,0,0.08); border-radius:8px;
  background:#fff; text-decoration:none;
  font-size:14px; font-weight:700; color:#1a1a1a;
  letter-spacing:-0.01em;
  transition:border-color 0.15s ease, background 0.15s ease;
}
.ml-brand:hover{
  border-color:rgba(0,0,0,0.20); background:#f9fafb;
}

/* ── Guides ── */
.ml-guide-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:16px;
}
@media(max-width:900px){ .ml-guide-grid{ grid-template-columns:repeat(2, 1fr); } }
@media(max-width:600px){ .ml-guide-grid{ grid-template-columns:1fr; } }

.ml-guide-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:28px;
  border:1px solid rgba(0,0,0,.06);
  border-radius:20px;
  background:#fff;
  text-decoration:none;
  color:inherit;
  transition:all .22s cubic-bezier(.2,.8,.2,1);
}

.ml-guide-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 36px rgba(0,0,0,.07);
  border-color:rgba(0,0,0,.12);
}

.ml-guide-card__icon{
  width:48px;
  height:48px;
  border-radius:14px;
  background:rgba(15,23,42,.04);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:4px;
}

.ml-guide-card__icon svg{
  width:24px;
  height:24px;
  color:#1a1a1a;
}

.ml-guide-card h3{
  margin:0;
  font-size:18px;
  font-weight:800;
  letter-spacing:-.02em;
  color:#05060a;
}

.ml-guide-card p{
  margin:0;
  font-size:14px;
  color:rgba(15,23,42,.48);
  line-height:1.65;
}

.ml-section--guides{
  background:#fafafa;
  padding:56px 0;
  border-radius:0;
}

/* ── Popular searches (pills) ── */
.ml-pills{
  display:flex; flex-wrap:wrap; gap:10px;
}
.ml-pill{
  display:inline-flex; align-items:center;
  height:38px; padding:0 18px;
  border:1.5px solid rgba(0,0,0,0.08); border-radius:999px;
  background:#fff; text-decoration:none;
  font-size:14px; font-weight:500; color:#374151;
  transition:border-color 0.15s ease, background 0.15s ease;
}
.ml-pill:hover{
  border-color:rgba(0,0,0,0.20); background:#f3f4f6;
}

/* ── Trust bar ── */
.ml-trust{
  display:grid; grid-template-columns:repeat(3, 1fr);
  gap:1px; background:rgba(0,0,0,0.06);
  border-radius:12px; overflow:hidden;
}
.ml-trust__item{
  display:flex; gap:16px; align-items:flex-start;
  padding:28px 24px; background:#fff;
}
.ml-trust__item svg{
  flex-shrink:0; color:#374151; margin-top:2px;
}
.ml-trust__item strong{
  display:block; font-size:15px; font-weight:600;
  color:#1a1a1a; margin-bottom:4px;
}
.ml-trust__item span{
  font-size:13px; color:#6b7280; line-height:1.5;
}
@media(max-width:768px){ .ml-trust{ grid-template-columns:1fr; } }

/* ── CTA section ── */
.ml-cta-section{
  padding:64px 0;
  background:#f9fafb;
}
.ml-cta{
  text-align:center;
  max-width:560px;
  margin:0 auto;
}
.ml-cta h2{
  margin:0 0 10px;
  font-size:28px; font-weight:600;
  letter-spacing:-0.02em; color:#1a1a1a;
}
.ml-cta p{
  margin:0 0 24px;
  font-size:15px; color:#6b7280; line-height:1.55;
}
.ml-cta__actions{
  display:flex; gap:16px; justify-content:center; align-items:center; flex-wrap:wrap;
}
.ml-cta__btn{
  display:inline-flex; align-items:center;
  padding:13px 32px; border-radius:8px;
  background:#1a1a1a; color:#fff !important;
  font-size:15px; font-weight:600; text-decoration:none;
  transition:background 0.15s ease;
}
.ml-cta__btn:hover{ background:#333; }
.ml-cta__link{
  font-size:14px; font-weight:600; color:#6b7280; text-decoration:none;
}
.ml-cta__link:hover{ color:#1a1a1a; text-decoration:underline; }

/* ── Hide old landing ── */
.mkt-landing{ display:none !important; }

/* Step 0026 – cleaner marketplace-only CTAs + hover polish */
.ml-hero__btn{
  box-shadow:0 1px 0 rgba(255,255,255,.18), 0 10px 24px rgba(15,23,42,.08);
}
.ml-hero__btn:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 32px rgba(15,23,42,.16);
}
.ml-card:hover,
.ml-guide:hover,
.ml-brand:hover,
.ml-pill:hover,
.ml-cta__btn:hover{
  transform:translateY(-2px);
}
.ml-card__price strong.is-sale{ color:#b42318; }
.ml-card--dark .ml-card__price strong.is-sale{ color:#ff6b6b; }


/* ============================================================
   HERO NAV – Fahrräder | E-Bikes | Marken | Sale
   ============================================================ */

.ml-hero__nav{
  display:flex;
  gap:0;
  margin-top:28px;
}

.ml-hero__nav-item{
  display:flex;
  align-items:center;
  padding:12px 24px;
  font-size:15px;
  font-weight:600;
  color:rgba(255,255,255,.6);
  text-decoration:none;
  border-bottom:2px solid transparent;
  transition:color .15s ease, border-color .15s ease;
  white-space:nowrap;
}

.ml-hero__nav-item:hover{
  color:rgba(255,255,255,.9);
}

.ml-hero__nav-item.is-active{
  color:#fff;
  font-weight:700;
  border-bottom-color:#fff;
}

@media (max-width:640px){
  .ml-hero__nav{
    overflow-x:auto; overflow-y:hidden;
    scrollbar-width:none;
    -ms-overflow-style:none;
  }
  .ml-hero__nav::-webkit-scrollbar{ display:none; }
  .ml-hero__nav-item{
    padding:10px 18px;
    font-size:14px;
  }
}


/* ============================================================
   BRANDS PAGE
   ============================================================ */

.ml-brands-head{
  max-width:680px;
  margin-bottom:36px;
}

.ml-brands-head h1{
  font-size:clamp(32px, 4vw, 52px);
  font-weight:800;
  letter-spacing:-.04em;
  line-height:.98;
  margin:0 0 14px;
  color:#05060a;
}

.ml-brands-head p{
  font-size:16px;
  line-height:1.65;
  color:rgba(15,23,42,.52);
  margin:0;
}

.ml-brands-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}

.ml-brand-card{
  display:flex;
  flex-direction:column;
  padding:0;
  border-radius:20px;
  border:1px solid rgba(15,23,42,.07);
  background:#fff;
  text-decoration:none;
  color:inherit;
  overflow:hidden;
  transition:all .22s cubic-bezier(.2,.8,.2,1);
}

.ml-brand-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 40px rgba(15,23,42,.08);
  border-color:rgba(15,23,42,.14);
}

.ml-brand-card__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:24px 24px 0;
}

.ml-brand-card__logo{
  height:48px;
  display:flex;
  align-items:center;
}

.ml-brand-card__logo img{
  height:40px;
  width:auto;
  max-width:180px;
  object-fit:contain;
}

.ml-brand-card__logo--text{
  height:48px;
}

.ml-brand-card__logo--text span{
  font-size:26px;
  font-weight:900;
  letter-spacing:-.03em;
  color:#05060a;
}

.ml-brand-card__country{
  font-size:11px;
  font-weight:700;
  color:rgba(15,23,42,.32);
  white-space:nowrap;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(15,23,42,.04);
}

.ml-brand-card__desc{
  margin:16px 24px 0;
  font-size:13px;
  line-height:1.65;
  color:rgba(15,23,42,.48);
  flex:1;
}

.ml-brand-card__cta{
  display:block;
  padding:18px 24px;
  margin-top:18px;
  font-size:14px;
  font-weight:800;
  color:#05060a;
  border-top:1px solid rgba(15,23,42,.05);
}

.ml-brand-card:hover .ml-brand-card__cta{
  color:#CC2200;
}

@media (max-width:980px){
  .ml-brands-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width:600px){
  .ml-brands-grid{
    grid-template-columns:1fr;
  }
  .ml-brand-card{
    padding:22px;
    border-radius:16px;
  }
}


/* ============================================================
   BRAND LOGOS in ml-cards + sale price red
   ============================================================ */

.ml-card__brand--logo{
  font-size:0;
  letter-spacing:0;
  text-transform:none;
  font-style:normal;
  margin-left:auto;
}
.ml-card__brand--logo img{
  height:44px;
  width:auto;
  max-width:180px;
  object-fit:contain;
}

.ml-card__price strong.is-sale{
  color:#b91c1c;
}


/* ============================================================
   BRAND LOGO GRID on marketplace landing
   ============================================================ */

.ml-brand-logo-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  max-width:900px;
  margin:0 auto;
}

.ml-brand-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  width:140px;
  height:72px;
  padding:0 20px;
  border:1.5px solid rgba(0,0,0,.06);
  border-radius:14px;
  background:#fff;
  text-decoration:none;
  transition:all .2s ease;
  overflow:hidden;
}

.ml-brand-logo:hover{
  border-color:rgba(0,0,0,.16);
  box-shadow:0 8px 24px rgba(0,0,0,.06);
  transform:translateY(-2px);
}

.ml-brand-logo img{
  height:22px;
  width:auto;
  max-width:120px;
  object-fit:contain;
  display:block;
}

.ml-brand-logo span{
  font-size:16px;
  font-weight:850;
  letter-spacing:-.02em;
  color:#1a1a1a;
  white-space:nowrap;
}

.ml-brand-logo--more{
  background:rgba(15,23,42,.03);
  border-style:dashed;
  font-size:14px;
  font-weight:700;
  color:rgba(15,23,42,.48);
}

.ml-brand-logo--more:hover{
  color:#1a1a1a;
  background:rgba(15,23,42,.06);
}

@media (max-width:768px){
  .ml-brand-logo{
    width:120px;
    height:60px;
    padding:0 16px;
    border-radius:12px;
  }
  .ml-brand-logo img{
    height:18px;
  }
}


/* ============================================================
   SALE SECTION – clean with red accent tag
   ============================================================ */

.ml-section--sale{
  background:#fff;
  padding:56px 0 64px;
}

.ml-section--sale .ml-bike-grid{
  margin-top:28px;
}

.ml-sale-banner{
  text-align:center;
  padding:0 0 8px;
}

.ml-sale-banner__content{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}

.ml-sale-banner__tag{
  display:inline-flex;
  align-items:center;
  padding:6px 18px;
  border-radius:999px;
  background:#CC2200;
  color:#fff;
  font-size:14px;
  font-weight:850;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.ml-sale-banner h2{
  margin:0;
  color:#1a1a1a;
  font-size:clamp(28px, 3.5vw, 44px);
  font-weight:800;
  letter-spacing:-.04em;
  line-height:1;
}

.ml-sale-banner p{
  margin:0;
  color:#6b7280;
  font-size:15px;
  line-height:1.6;
  max-width:48ch;
}

.ml-sale-banner__btn{
  display:inline-flex;
  align-items:center;
  margin-top:8px;
  padding:10px 22px;
  border-radius:999px;
  border:none;
  background:none;
  color:#CC2200;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  transition:gap .2s ease;
  gap:6px;
}

.ml-sale-banner__btn:hover{
  gap:10px;
}

/* Sale cards: normal white cards, red prices */
.ml-section--sale .ml-card,
.ml-section--sale .ml-card.ml-card--dark{
  background:#fff;
  border:1px solid rgba(0,0,0,.07);
  backdrop-filter:none;
  box-shadow:0 4px 16px rgba(0,0,0,.04);
}

.ml-section--sale .ml-card:hover,
.ml-section--sale .ml-card.ml-card--dark:hover{
  border-color:rgba(0,0,0,.12);
  box-shadow:0 16px 44px rgba(0,0,0,.1);
  transform:translateY(-6px);
}

.ml-section--sale .ml-card__media{
  background:#f5f5f5;
}

.ml-section--sale .ml-card__brand,
.ml-section--sale .ml-card--dark .ml-card__brand{
  color:#1a1a1a !important;
}

.ml-section--sale .ml-card__brand--logo img{
  filter:none !important;
  opacity:1 !important;
}

.ml-section--sale .ml-card__type{
  color:#9ca3af !important;
}

.ml-section--sale .ml-card__title,
.ml-section--sale .ml-card--dark .ml-card__title{
  color:#1a1a1a !important;
}

.ml-section--sale .ml-card__specs,
.ml-section--sale .ml-card--dark .ml-card__specs{
  color:#9ca3af !important;
}

.ml-section--sale .ml-card__price strong,
.ml-section--sale .ml-card--dark .ml-card__price strong{
  color:#b91c1c !important;
}

.ml-section--sale .ml-card__price span,
.ml-section--sale .ml-card--dark .ml-card__price span{
  color:#b0b0b0 !important;
}

.ml-section--sale .ml-card__dealer,
.ml-section--sale .ml-card--dark .ml-card__dealer{
  color:#9ca3af !important;
  border-top-color:rgba(0,0,0,.04) !important;
}

.ml-section--sale .ml-badge--year{
  background:rgba(255,255,255,.88);
  color:#374151;
  border:1px solid rgba(0,0,0,.06);
}

@media(max-width:768px){
  .ml-section--sale{
    padding:40px 0 48px;
  }
}


/* Dark card variant: brand logos need to be white */
.ml-card--dark .ml-card__brand--logo img{
  filter:brightness(0) invert(1);
}


/* ============================================================
   GUIDES – Featured image cards + icon row
   ============================================================ */

.ml-section--guides{
  background:#fafafa;
  padding:56px 0 64px;
}

.ml-guide-featured{
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:16px;
  margin-bottom:20px;
}

.ml-guide-big{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  min-height:340px;
  border-radius:20px;
  overflow:hidden;
  background-size:cover;
  background-position:center;
  text-decoration:none;
  color:#fff;
  transition:transform .3s cubic-bezier(.22,1,.36,1);
}

.ml-guide-big:hover{
  transform:scale(1.01);
}

.ml-guide-big__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.82) 100%);
  border-radius:20px;
}

.ml-guide-big__content{
  position:relative;
  z-index:1;
  padding:32px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.ml-guide-big__tag{
  display:inline-flex;
  align-self:flex-start;
  padding:4px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  font-size:11px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#fff;
}

.ml-guide-big__content h3{
  margin:0;
  font-size:24px;
  font-weight:800;
  letter-spacing:-.03em;
  line-height:1.15;
  color:#fff !important;
  text-shadow:0 2px 8px rgba(0,0,0,.5);
}

.ml-guide-big__content p{
  margin:0;
  font-size:14px;
  color:rgba(255,255,255,.85) !important;
  line-height:1.55;
  max-width:44ch;
  text-shadow:0 1px 4px rgba(0,0,0,.4);
}

.ml-guide-big__cta{
  margin-top:4px;
  font-size:14px;
  font-weight:700;
  color:#fff !important;
  text-shadow:0 1px 4px rgba(0,0,0,.4);
}

.ml-guide-big--small{
  min-height:auto;
}

.ml-guide-big--small .ml-guide-big__content{
  padding:24px;
}

.ml-guide-big--small .ml-guide-big__content h3{
  font-size:20px;
}

/* Quick guide icon cards row */
.ml-guide-row{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
}

@media(max-width:1024px){
  .ml-guide-featured{
    grid-template-columns:1fr 1fr;
  }
  .ml-guide-row{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media(max-width:640px){
  .ml-guide-featured{
    grid-template-columns:1fr;
  }
  .ml-guide-big{
    min-height:260px;
    border-radius:16px;
  }
  .ml-guide-big__content{
    padding:24px;
  }
  .ml-guide-big__content h3{
    font-size:20px;
  }
  .ml-guide-row{
    grid-template-columns:1fr 1fr;
    gap:12px;
  }
  .ml-guide-card{
    padding:20px;
    border-radius:16px;
  }
}
