/* =============================================================
   WALACAR MVP — Design System
   Basado en globals.css del prototipo v0
   ============================================================= */

/* Google Fonts (Inter) se carga desde functions.php */

/* ------------------------------------------------------------- */
/* 1. VARIABLES CSS                                              */
/* ------------------------------------------------------------- */
:root {
  --navy:    #2c3e5d;
  --cyan:    #00adef;
  --orange:  #f47920;

  --background:          #f0f3f7;
  --foreground:          #1a2437;
  --card:                #ffffff;
  --card-foreground:     #1a2437;

  --primary:             #2c3e5d;
  --primary-foreground:  #ffffff;
  --primary-container:   #3d526f;

  --secondary:           #00adef;
  --secondary-foreground:#ffffff;
  --secondary-container: #b3e6fc;

  --accent:              #f47920;
  --accent-foreground:   #ffffff;

  --muted:               #e3e9f0;
  --muted-foreground:    #5a6478;
  --border:              #d6dde6;
  --outline:             #8290a8;
  --outline-variant:     #c4cad8;

  --radius:    0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl:1.5rem;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg:  0 10px 30px rgba(0,0,0,.1),  0 4px 8px rgba(0,0,0,.06);
  --shadow-xl:  0 20px 48px rgba(0,0,0,.14), 0 8px 16px rgba(0,0,0,.08);

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1280px;
  --px: 1.5rem;
}

/* ------------------------------------------------------------- */
/* 2. RESET & BASE                                               */
/* ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
select, input { font-family: inherit; }

/* ------------------------------------------------------------- */
/* 3. LAYOUT UTILS                                               */
/* ------------------------------------------------------------- */
.wc-container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.wc-section {
  padding-block: 5rem;
  padding-inline: var(--px);
}
.wc-section--sm { padding-block: 3rem; }

/* ------------------------------------------------------------- */
/* 4. NAVBAR                                                     */
/* ------------------------------------------------------------- */
.wc-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.wc-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}
.wc-navbar__logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.wc-navbar__links {
  display: none;
  align-items: center;
  gap: 0.125rem;
}
.wc-navbar__link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted-foreground);
  padding: .5rem .75rem;
  border-radius: var(--radius);
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.wc-navbar__link:hover,
.wc-navbar__link.active {
  color: var(--foreground);
  background: var(--muted);
}
.wc-navbar__cta {
  display: inline-flex;
  align-items: center;
  background: var(--secondary);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  padding: .5rem 1.25rem;
  border-radius: 9999px;
  margin-left: .75rem;
  white-space: nowrap;
  transition: opacity .15s;
}
.wc-navbar__cta:hover { opacity: .9; }

/* hamburger */
.wc-navbar__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  color: var(--muted-foreground);
}
.wc-navbar__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.wc-navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.wc-navbar__burger.open span:nth-child(2) { opacity: 0; }
.wc-navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.wc-navbar__mobile {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
}
.wc-navbar__mobile.open { display: block; }
.wc-navbar__mobile a {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted-foreground);
  padding: .75rem;
  border-radius: var(--radius);
  transition: background .15s;
}
.wc-navbar__mobile a:hover { background: var(--muted); color: var(--foreground); }
.wc-navbar__mobile .wc-navbar__cta,
.wc-navbar__mobile .wc-navbar__cta:hover {
  display: block;
  text-align: center;
  margin-top: 1rem;
  border-radius: 9999px;
  color: #fff;
}

@media (min-width: 1024px) {
  .wc-navbar__links { display: flex; }
  .wc-navbar__burger { display: none; }
}

/* ------------------------------------------------------------- */
/* 5. HERO                                                       */
/* ------------------------------------------------------------- */
.wc-hero {
  position: relative;
  background: linear-gradient(90deg, #0a2f52 0%, #11507f 40%, #1f9fd8 75%, #29d4f5 100%);
  overflow: hidden;
}
.wc-hero__deco {
  position: absolute;
  top: 0; right: 0;
  width: 33%;
  height: 100%;
  background: rgba(0,173,239,.1);
  display: none;
}
.wc-hero__inner {
  position: relative;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 2rem var(--px) 6rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.wc-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(244,121,32,.2);
  color: var(--orange);
  border: 1px solid rgba(244,121,32,.3);
  padding: .375rem 1rem;
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 2rem;
}
.wc-hero__h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
}
.wc-hero__h1 span { color: var(--secondary); }
.wc-hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 3rem;
  max-width: 32rem;
  line-height: 1.7;
}
/* search box */
.wc-hero__search {
  background: #fff;
  padding: 1rem;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.wc-hero__search-row {
  display: grid;
  gap: .75rem;
}
.wc-hero__search-label {
  display: block;
  font-size: .625rem;
  font-weight: 900;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .375rem;
}
.wc-hero__search select {
  width: 100%;
  background: var(--muted);
  border: none;
  border-radius: var(--radius);
  color: var(--foreground);
  padding: .625rem .75rem;
  font-size: .875rem;
  font-weight: 600;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235a6478'%3E%3Cpath d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .5rem center;
  background-size: 1.25rem;
  padding-right: 2rem;
}
.wc-hero__search select:focus { box-shadow: 0 0 0 2px var(--secondary); }
.wc-hero__btn-search {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: .875rem 2rem;
  border-radius: var(--radius-xl);
  transition: opacity .15s;
}
.wc-hero__btn-search:hover { opacity: .9; }
/* car image side */
.wc-hero__car {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  order: -1;
  margin-bottom: 2rem;
}
.wc-hero__car img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.3));
}
.wc-hero__glow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wc-hero__glow::after {
  content: '';
  width: 600px;
  height: 400px;
  background: rgba(41,194,240,.55);
  border-radius: 50%;
  filter: blur(70px);
}

@media (min-width: 1024px) {
  .wc-hero__deco { display: block; }
  .wc-hero__inner { grid-template-columns: 1fr 1fr; gap: 4rem; padding-block: 8rem; }
  .wc-hero__car { order: 0; margin-bottom: 0; }
  .wc-hero__search-row { grid-template-columns: 1fr 1fr 1fr; }
}

/* ------------------------------------------------------------- */
/* 6. CATEGORY CHIPS                                             */
/* ------------------------------------------------------------- */
.wc-chips {
  padding-block: 3.5rem;
  padding-inline: var(--px);
  background: linear-gradient(to bottom, #e0f4fd, transparent);
  border-bottom: 1px solid var(--border);
}
.wc-chips__inner { max-width: var(--max-w); margin-inline: auto; }
.wc-chips__head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.wc-chips__eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 900;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .5rem;
}
.wc-chips__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}
.wc-chips__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.wc-chip {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.5rem;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--foreground);
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, background .15s, color .15s;
}
.wc-chip:hover {
  border-color: var(--secondary);
  background: var(--secondary);
  color: #fff;
}
.wc-chip svg { width: 1.25rem; height: 1.25rem; }

/* ------------------------------------------------------------- */
/* 7. GRID CARDS (entrega inmediata & catálogo)                  */
/* ------------------------------------------------------------- */
.wc-grid-4 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.wc-grid-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.wc-grid-2 {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .wc-grid-4 { grid-template-columns: 1fr 1fr; }
  .wc-grid-3 { grid-template-columns: 1fr 1fr; }
  .wc-grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .wc-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .wc-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ------------------------------------------------------------- */
/* 8. CARD VEHÍCULO (catálogo)                                   */
/* ------------------------------------------------------------- */
.wc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.wc-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px) scale(1.01);
}
.wc-card__img {
  position: relative;
  height: 12rem;
  background: var(--muted);
  overflow: hidden;
  padding: 1rem;
  box-sizing: border-box;
}
.wc-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .5s;
}
.wc-card:hover .wc-card__img img { transform: scale(1.08); }
.wc-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .25rem .75rem;
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 700;
}
.wc-card__badge--inmediata {
  background: var(--accent);
  color: #fff;
}
.wc-card__badge--tipo {
  background: rgba(44,62,93,.85);
  color: #fff;
}
.wc-card__btn-cmp {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  border-radius: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background .15s, color .15s;
}
.wc-card__btn-cmp:hover,
.wc-card__btn-cmp.active { background: var(--secondary); color: #fff; }
.wc-card__body { padding: 1.5rem; }
.wc-card__eyebrow {
  font-size: .75rem;
  font-weight: 700;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .375rem;
}
.wc-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: .75rem;
}
.wc-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  margin-bottom: 1.25rem;
}
.wc-card__tag {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .75rem;
  padding: .25rem .5rem;
  background: var(--muted);
  border-radius: var(--radius);
  color: var(--muted-foreground);
}
.wc-card__tag--0   { background: #dbeafe; color: #1e40af; }
.wc-card__tag--eco { background: #dcfce7; color: #166534; }
.wc-card__tag--c   { background: #fef9c3; color: #854d0e; }
.wc-card__tag--b   { background: #ffedd5; color: #9a3412; }

.wc-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.wc-card__old-price {
  font-size: .75rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
  display: block;
}
.wc-card__price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--secondary);
}
.wc-card__price-unit {
  font-size: .75rem;
  font-weight: 400;
  color: var(--muted-foreground);
}
.wc-card__arrow {
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: #fff;
  border-radius: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  flex-shrink: 0;
}
.wc-card:hover .wc-card__arrow { background: var(--secondary); }

/* card inmediata (home) */
.wc-card-imm {
  background: linear-gradient(135deg, #fff 0%, #f0f7ff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
  display: block;
}
.wc-card-imm:hover {
  box-shadow: var(--shadow-xl);
  transform: scale(1.02);
}
.wc-card-imm__img {
  position: relative;
  height: 14rem;
  background: var(--muted);
  overflow: hidden;
  padding: 1rem;
  box-sizing: border-box;
}
.wc-card-imm__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .5s;
}
.wc-card-imm:hover .wc-card-imm__img img { transform: scale(1.1); }
.wc-card-imm__body {
  padding: 1.5rem;
  height: 12rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.wc-card-imm__brand {
  font-size: .75rem;
  font-weight: 700;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .375rem;
}
.wc-card-imm__model {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}
.wc-card-imm__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.wc-card-imm__desde { font-size: .75rem; color: var(--muted-foreground); display: block; }
.wc-card-imm__price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--secondary);
}
.wc-card-imm__price sup {
  font-size: .75rem;
  font-weight: 400;
}

/* card oferta horizontal (home) */
.wc-card-oferta {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #fff 0%, #f0faff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.wc-card-oferta:hover { box-shadow: var(--shadow-xl); }
.wc-card-oferta__img {
  width: 100%;
  height: 16rem;
  overflow: hidden;
  background: var(--muted);
  position: relative;
  padding: 1rem;
  box-sizing: border-box;
}
.wc-card-oferta__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .7s;
}
.wc-card-oferta:hover .wc-card-oferta__img img { transform: scale(1.08); }
.wc-card-oferta__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.wc-card-oferta__eyebrow {
  font-size: .75rem;
  font-weight: 900;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.wc-card-oferta__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-top: .5rem;
  margin-bottom: .5rem;
}
.wc-card-oferta__trim {
  font-size: 1rem;
  color: var(--muted-foreground);
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wc-card-oferta__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.wc-card-oferta__old {
  font-size: 1rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
  display: block;
  margin-bottom: .25rem;
  font-weight: 500;
}
.wc-card-oferta__price {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--secondary);
}
.wc-card-oferta__price span {
  font-size: .875rem;
  font-weight: 400;
}
.wc-card-oferta__saving {
  background: rgba(0,173,239,.1);
  color: var(--secondary);
  padding: .5rem 1rem;
  border-radius: .75rem;
  font-size: .875rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .wc-card-oferta {
    flex-direction: row;
  }
  .wc-card-oferta__img {
    width: 40%;
    align-self: stretch;
    flex-shrink: 0;
  }
}

/* ------------------------------------------------------------- */
/* 9. VALUE PROPS                                                 */
/* ------------------------------------------------------------- */
.wc-value-props {
  background: linear-gradient(135deg, rgba(0,173,239,.05) 0%, #f0f7ff 50%, #fff5ed 100%);
  border-block: 1px solid var(--border);
}
.wc-value-props__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) { .wc-value-props__grid { grid-template-columns: repeat(3, 1fr); } }
.wc-value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.wc-value-card:hover { box-shadow: var(--shadow-lg); transform: scale(1.04); }
.wc-value-card__icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.wc-value-card__icon--primary { background: rgba(44,62,93,.1); color: var(--primary); }
.wc-value-card__icon--secondary { background: rgba(0,173,239,.1); color: var(--secondary); }
.wc-value-card__icon--accent { background: rgba(244,121,32,.1); color: var(--accent); }
.wc-value-card__icon svg { width: 2.5rem; height: 2.5rem; }
.wc-value-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: .75rem;
}
.wc-value-card__desc {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ------------------------------------------------------------- */
/* 10. BOSQUE WALACAR                                             */
/* ------------------------------------------------------------- */
.wc-bosque { background: linear-gradient(to bottom, #f0fdf4, var(--background)); }
.wc-bosque__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .wc-bosque__grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.wc-bosque__img-wrap {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.wc-bosque__img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.wc-bosque__img-caption {
  position: absolute;
  bottom: 1rem; left: 1rem; right: 1rem;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border-radius: .75rem;
  padding: .75rem;
  text-align: center;
  font-size: .75rem;
  color: var(--muted-foreground);
  font-weight: 500;
}
.wc-bosque__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}
.wc-bosque__text {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.wc-bosque__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.wc-bosque__stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.wc-bosque__stat-num {
  font-size: 1.875rem;
  font-weight: 900;
  color: #16a34a;
  display: block;
  margin-bottom: .25rem;
}
.wc-bosque__stat-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted-foreground);
}
.wc-btn-green {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #16a34a;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  transition: background .15s, gap .15s;
}
.wc-btn-green:hover { background: #15803d; gap: .75rem; }
.wc-btn-green svg { width: 1rem; height: 1rem; }

/* ------------------------------------------------------------- */
/* 11. SECTION HEADERS                                           */
/* ------------------------------------------------------------- */
.wc-sh { margin-bottom: 4rem; }
.wc-sh--center { text-align: center; }
.wc-sh__eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 900;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .75rem;
}
.wc-sh__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 1rem;
}
.wc-sh__sub {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 40rem;
}
.wc-sh--center .wc-sh__sub { margin-inline: auto; }
.wc-sh__row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .wc-sh__row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.wc-sh__more {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--secondary);
  transition: gap .15s;
  flex-shrink: 0;
}
.wc-sh__more:hover { gap: .75rem; }
.wc-sh__more svg { width: 1rem; height: 1rem; }

/* ------------------------------------------------------------- */
/* 12. FOOTER                                                     */
/* ------------------------------------------------------------- */
.wc-footer {
  background: var(--foreground);
  color: #fff;
  padding-block: 4rem;
  padding-inline: var(--px);
}
.wc-footer__inner {
  max-width: var(--max-w);
  margin-inline: auto;
}
.wc-footer__grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .wc-footer__grid { grid-template-columns: repeat(3, 1fr); } }
.wc-footer__logo { height: 3rem; width: auto; object-fit: contain; margin-bottom: 1rem; }
.wc-footer__tagline { color: rgba(255,255,255,.7); font-size: .875rem; line-height: 1.6; max-width: 18rem; }
.wc-footer__heading {
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}
.wc-footer__link {
  display: block;
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  margin-bottom: .5rem;
  transition: color .15s;
}
.wc-footer__link:hover { color: #fff; }
.wc-footer__copy {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  font-size: .875rem;
  color: rgba(255,255,255,.5);
}

/* ------------------------------------------------------------- */
/* 13. CATÁLOGO — SIDEBAR + GRID                                  */
/* ------------------------------------------------------------- */
.wc-catalog {
  max-width: 1440px;
  margin-inline: auto;
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.wc-sidebar {
  display: none;
  width: 18rem;
  flex-shrink: 0;
}
@media (min-width: 1024px) { .wc-sidebar { display: block; } }
.wc-sidebar__inner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.wc-sidebar__inner::-webkit-scrollbar { width: 4px; }
.wc-sidebar__inner::-webkit-scrollbar-thumb { background: var(--muted); border-radius: 4px; }

.wc-filter { margin-bottom: 2rem; }
.wc-filter:last-child { margin-bottom: 0; }
.wc-filter__label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1rem;
  display: block;
}
/* checkbox brand */
.wc-filter__checks {
  max-height: 12rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.wc-filter__check {
  display: flex;
  align-items: center;
  gap: .75rem;
  cursor: pointer;
  font-size: .875rem;
}
.wc-filter__check input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--secondary);
  border-radius: .25rem;
}
/* pill filters */
.wc-filter__pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.wc-filter__pill {
  padding: .375rem 1rem;
  border: 1px solid var(--outline-variant);
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 600;
  transition: border-color .15s, background .15s, color .15s;
  cursor: pointer;
  background: #fff;
  color: var(--foreground);
}
.wc-filter__pill:hover,
.wc-filter__pill.active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}
/* toggle buttons */
.wc-filter__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.wc-filter__btn {
  padding: .5rem 1rem;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-xl);
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  transition: border-color .15s, color .15s, background .15s;
}
.wc-filter__btn:hover,
.wc-filter__btn.active {
  border: 2px solid var(--secondary);
  color: var(--secondary);
  background: rgba(0,173,239,.05);
}
/* price range */
.wc-filter__range-wrap { padding-inline: .5rem; }
.wc-filter__range {
  position: relative;
  height: .5rem;
  background: var(--muted);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}
.wc-filter__range-fill {
  position: absolute;
  left: 25%; right: 25%;
  height: 100%;
  background: var(--secondary);
  border-radius: 9999px;
}
.wc-filter__range-handle {
  position: absolute;
  top: 50%;
  width: 1.25rem;
  height: 1.25rem;
  background: #fff;
  border: 2px solid var(--secondary);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transform: translateY(-50%);
  cursor: pointer;
}
.wc-filter__range-handle--min { left: 25%; margin-left: -.625rem; }
.wc-filter__range-handle--max { right: 25%; margin-right: -.625rem; }
.wc-filter__range-labels {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--muted-foreground);
}
.wc-filter__range-labels span { font-weight: 700; color: var(--foreground); }
/* etiqueta DGT */
.wc-filter__dgt {
  display: flex;
  gap: .75rem;
}
.wc-filter__dgt-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .75rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .15s;
}
.wc-filter__dgt-btn--0   { background: #dbeafe; color: #1e40af; }
.wc-filter__dgt-btn--eco { background: #dcfce7; color: #166534; }
.wc-filter__dgt-btn--c   { background: #fef9c3; color: #854d0e; }
.wc-filter__dgt-btn--b   { background: #ffedd5; color: #9a3412; }
.wc-filter__dgt-btn:hover { border-color: currentColor; }

/* toggle inmediata */
.wc-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .5rem;
}
.wc-toggle-row span { font-size: .875rem; font-weight: 600; }
.wc-toggle {
  width: 3rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: var(--muted);
  position: relative;
  cursor: pointer;
  transition: background .15s;
  border: none;
}
.wc-toggle.active { background: var(--secondary); }
.wc-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: .25rem;
  width: 1rem;
  height: 1rem;
  background: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: left .15s;
  box-shadow: var(--shadow-sm);
}
.wc-toggle.active::after { left: 1.75rem; }

/* catalog main */
.wc-catalog__main { flex: 1; min-width: 0; }
.wc-catalog__topbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) {
  .wc-catalog__topbar { flex-direction: row; align-items: center; justify-content: space-between; }
}
.wc-catalog__count { font-size: .875rem; color: var(--muted-foreground); }
.wc-catalog__count strong { font-weight: 700; color: var(--foreground); font-size: 1rem; }
.wc-catalog__sort {
  background: #fff;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-xl);
  font-size: .75rem;
  font-weight: 600;
  padding: .5rem 1rem;
  outline: none;
  cursor: pointer;
}
.wc-catalog__sort:focus { box-shadow: 0 0 0 2px var(--secondary); }

/* ------------------------------------------------------------- */
/* 14. SINGLE VEHÍCULO                                           */
/* ------------------------------------------------------------- */
.wc-single { max-width: var(--max-w); margin-inline: auto; padding: 2rem var(--px); }
.wc-breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.wc-breadcrumb a:hover { color: var(--primary); }
.wc-breadcrumb__sep { font-size: 1rem; }
.wc-breadcrumb__current { color: var(--foreground); font-weight: 600; }

.wc-single__grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) { .wc-single__grid { grid-template-columns: 7fr 5fr; } }

/* gallery */
.wc-gallery__main {
  aspect-ratio: 16/10;
  background: #fff;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  padding: 1.5rem;
  box-sizing: border-box;
}
.wc-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.wc-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.wc-gallery__thumb {
  aspect-ratio: 1;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .15s, background-color .15s;
  padding: .5rem;
  box-sizing: border-box;
}
.wc-gallery__thumb.active { background-color: #f3f4f6; border-color: var(--primary); }
@media (hover: hover) and (pointer: fine) {
  .wc-gallery__thumb:hover { background-color: #e5e7eb; border-color: var(--primary); }
}
.wc-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }

/* right col */
.wc-single__badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.wc-single__badge {
  font-size: .625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .25rem .625rem;
  border-radius: 9999px;
}
.wc-single__badge--inmediata { background: var(--secondary); color: #fff; }
.wc-single__badge--fuel { background: var(--muted); color: var(--muted-foreground); }
.wc-single__h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: .5rem;
}
.wc-single__trim { color: var(--muted-foreground); margin-bottom: 1.5rem; }
.wc-single__price-row { display: flex; align-items: baseline; gap: .75rem; margin-bottom: .375rem; }
.wc-single__price { font-size: 1.875rem; font-weight: 700; color: var(--secondary); }
.wc-single__old-price { color: var(--muted-foreground); text-decoration: line-through; font-size: 1rem; }
.wc-single__saving {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  background: rgba(0,173,239,.1);
  color: var(--secondary);
  padding: .25rem .75rem;
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
/* simulator box */
.wc-simulator {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.wc-sim__label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--foreground);
  display: block;
  margin-bottom: .75rem;
}
.wc-sim__tabs {
  display: grid;
  background: var(--muted);
  border-radius: var(--radius-xl);
  padding: .25rem;
  gap: .25rem;
  margin-bottom: 1.5rem;
}
.wc-sim__tab {
  padding: .5rem;
  font-size: .75rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background .15s;
  cursor: pointer;
  text-align: center;
  border: none;
  background: none;
  color: var(--foreground);
}
.wc-sim__tab.active { background: #fff; box-shadow: var(--shadow-sm); color: var(--primary); }
.wc-sim__tab:hover:not(.active) { background: rgba(255,255,255,.5); }
/* include accordion */
.wc-sim__accordion { border-top: 1px solid var(--border); padding-top: 1rem; }
.wc-sim__acc-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: .75rem;
  font-weight: 600;
  color: var(--foreground);
  padding: .5rem .75rem;
  margin-inline: -.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.wc-sim__acc-btn,
.wc-sim__acc-btn:focus,
.wc-sim__acc-btn:focus-visible,
.wc-sim__acc-btn:active {
  background-color: transparent !important;
  color: var(--foreground) !important;
  outline: none;
}
@media (hover: hover) and (pointer: fine) {
  .wc-sim__acc-btn:hover { background-color: var(--primary) !important; color: #fff !important; }
}
.wc-sim__acc-btn svg { transition: transform .2s; }
.wc-sim__acc-btn.open svg { transform: rotate(90deg); }
.wc-sim__acc-items { padding-block: .75rem; display: flex; flex-direction: column; gap: .75rem; }
.wc-sim__acc-item { display: flex; align-items: center; gap: .75rem; font-size: .875rem; color: var(--muted-foreground); }
.wc-sim__acc-item svg { color: var(--secondary); flex-shrink: 0; }
/* CTA buttons */
.wc-cta-primary {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--accent);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  padding: 1rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 20px rgba(244,121,32,.25);
  transition: opacity .15s;
  cursor: pointer;
  border: none;
}
.wc-cta-primary:hover { opacity: .9; }
.wc-cta-compare {
  flex: 1;
  text-align: center;
  font-size: .875rem;
  font-weight: 600;
  padding: .75rem 1rem;
  border-radius: var(--radius-xl);
  border: 2px solid var(--primary);
  color: var(--primary);
  cursor: pointer;
  background: #fff;
  transition: background .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.wc-cta-compare:hover { background: rgba(44,62,93,.05); }
.wc-cta-whatsapp {
  width: 3.5rem;
  height: 3.5rem;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .15s;
  flex-shrink: 0;
}
.wc-cta-whatsapp:hover { opacity: .9; }
.wc-single__actions { display: flex; flex-direction: column; gap: .75rem; }
.wc-single__action-row { display: flex; gap: .75rem; }

/* tabs */
.wc-tabs { margin-top: 5rem; }
.wc-tabs__nav {
  display: flex;
  gap: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
  overflow-x: auto;
}
.wc-tabs__btn {
  padding-bottom: 1rem;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--muted-foreground);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  transition: color .15s, border-color .15s;
}
.wc-tabs__btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.wc-tabs__btn:hover:not(.active) { color: var(--foreground); }
.wc-tabs__panel { display: none; }
.wc-tabs__panel.active { display: block; }
/* ficha técnica */
.wc-ficha {
  display: grid;
  gap: 0 3rem;
}
@media (min-width: 768px) { .wc-ficha { grid-template-columns: 1fr 1fr; } }
.wc-ficha__row {
  display: flex;
  justify-content: space-between;
  padding-block: .75rem;
  border-bottom: 1px solid var(--muted);
  font-size: .9375rem;
}
.wc-ficha__key { color: var(--muted-foreground); }
.wc-ficha__val { font-weight: 600; }
.wc-ficha__val--label { color: var(--secondary); }
/* equipamiento */
.wc-equip {
  display: grid;
  gap: .5rem;
}
@media (min-width: 768px) { .wc-equip { grid-template-columns: 1fr 1fr; } }
.wc-equip__item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-block: .5rem;
  font-size: .9375rem;
}
.wc-equip__item svg { color: var(--secondary); flex-shrink: 0; }
/* faq */
.wc-faq { display: flex; flex-direction: column; gap: 1rem; }
.wc-faq__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}
.wc-faq__q { font-weight: 600; margin-bottom: .5rem; }
.wc-faq__a { color: var(--muted-foreground); font-size: .875rem; }

/* ------------------------------------------------------------- */
/* 15. PAGINACIÓN                                                 */
/* ------------------------------------------------------------- */
.wc-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding-top: 2rem;
}
.wc-pagination a,
.wc-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted-foreground);
  transition: background .15s, color .15s, border-color .15s;
}
.wc-pagination a:hover { background: var(--muted); color: var(--foreground); }
.wc-pagination .current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ------------------------------------------------------------- */
/* 16. UTILIDADES                                                 */
/* ------------------------------------------------------------- */
.text-secondary { color: var(--secondary) !important; }
.text-accent    { color: var(--accent) !important; }
.text-primary   { color: var(--primary) !important; }
.bg-primary     { background-color: var(--primary) !important; }
.bg-secondary   { background-color: var(--secondary) !important; }

/* skip kadence */
.site-header { display: none !important; }
.site-footer { display: none !important; }

/* ------------------------------------------------------------- */
/* 12b. FOOTER — estilos extendidos                              */
/* ------------------------------------------------------------- */

/* Override fondo al color exacto de walacar.es */
.wc-footer {
  background: #1a2437;
}

/* Columna 1 */
.wc-footer__col1 { display: flex; flex-direction: column; gap: 1.25rem; }

/* Redes sociales */
.wc-footer__social {
  display: flex;
  gap: .75rem;
  margin-top: .25rem;
}
.wc-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.wc-footer__social-link:hover {
  background: var(--secondary);
  color: #fff;
}

/* Badge NetZero */
.wc-footer__netzero { margin-top: .5rem; }
.wc-footer__netzero-img {
  height: 3rem;
  width: auto;
  object-fit: contain;
  opacity: .9;
  transition: opacity .15s;
}
.wc-footer__netzero-img:hover { opacity: 1; }

/* Contacto */
.wc-footer__contact { display: flex; flex-direction: column; gap: .75rem; }
.wc-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  line-height: 1.4;
}
.wc-footer__contact-item svg { color: var(--secondary); flex-shrink: 0; margin-top: .125rem; }
.wc-footer__link--inline {
  display: inline;
  margin-bottom: 0;
}

/* Barra inferior */
.wc-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8125rem;
  color: rgba(255,255,255,.45);
}
@media (min-width: 768px) {
  .wc-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.wc-footer__copy-text { white-space: nowrap; }
.wc-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem 1rem;
}
.wc-footer__legal-link {
  font-size: .8125rem;
  color: rgba(255,255,255,.45);
  transition: color .15s;
  white-space: nowrap;
}
.wc-footer__legal-link:hover { color: rgba(255,255,255,.85); }

/* ------------------------------------------------------------- */
/* COMPARADOR — Botón en cards                                    */
/* ------------------------------------------------------------- */
.wc-compare-btn {
  position: absolute;
  top: .5rem;
  right: .5rem;
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(4px);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
  color: var(--muted-foreground);
  padding: 0;
}
.wc-compare-btn:hover {
  background: #fff;
  border-color: var(--secondary);
  color: var(--secondary);
  transform: scale(1.05);
}
.wc-compare-btn.is-active {
  background: #00adef;
  border-color: #00adef;
  color: #fff;
}
/* Ensure .wc-card__img is positioned for the overlay */
.wc-card__img  { position: relative; }
.wc-card-oferta__img { position: relative; }
.wc-card-imm__img    { position: relative; }
.card-vehiculo       { position: relative; }

/* ------------------------------------------------------------- */
/* COMPARADOR — Tray flotante                                     */
/* ------------------------------------------------------------- */
.wc-tray {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 2px solid var(--border);
  box-shadow: 0 -4px 32px rgba(0,0,0,.1);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.wc-tray.is-visible { transform: translateY(0); }
.wc-tray__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: .875rem var(--px);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.wc-tray__vehicles {
  display: flex;
  gap: .625rem;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
}
.wc-tray__vehicle {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--muted);
  border-radius: var(--radius-xl);
  padding: .25rem .625rem .25rem .25rem;
}
.wc-tray__thumb {
  width: 3.25rem;
  height: 2.25rem;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--border);
  flex-shrink: 0;
}
.wc-tray__thumb--empty {
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  font-size: .75rem;
}
.wc-tray__name {
  font-size: .75rem;
  font-weight: 600;
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--foreground);
}
.wc-tray__remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: var(--muted-foreground);
  padding: .125rem .25rem;
  border-radius: var(--radius);
  transition: color .1s, background .1s;
  flex-shrink: 0;
}
.wc-tray__remove:hover { color: var(--foreground); background: var(--border); }
.wc-tray__slot-empty {
  width: 3.25rem;
  height: 2.75rem;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  flex-shrink: 0;
}
.wc-tray__cta {
  background: var(--accent);
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-xl);
  white-space: nowrap;
  transition: opacity .15s;
  flex-shrink: 0;
}
.wc-tray__cta:hover { opacity: .9; }
.wc-tray__cta.is-disabled {
  opacity: .4;
  pointer-events: none;
  cursor: not-allowed;
}

/* ------------------------------------------------------------- */
/* COMPARADOR — Toast de aviso                                    */
/* ------------------------------------------------------------- */
.wc-toast {
  position: fixed;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(.75rem);
  background: var(--foreground);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  padding: .625rem 1.25rem;
  border-radius: var(--radius-xl);
  z-index: 1002;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  pointer-events: none;
  white-space: nowrap;
}
.wc-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ------------------------------------------------------------- */
/* COMPARADOR — Página /comparador/                              */
/* ------------------------------------------------------------- */
.wc-cpr {
  max-width: 1200px;
  margin-inline: auto;
  padding: 2rem var(--px) 7rem;
}

/* Estado vacío */
.wc-cpr__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 5rem 1rem;
  text-align: center;
}
.wc-cpr__empty-icon { color: var(--muted-foreground); }
.wc-cpr__empty h1 { font-size: 1.5rem; font-weight: 700; }
.wc-cpr__empty p { color: var(--muted-foreground); max-width: 28rem; line-height: 1.6; }

/* Header */
.wc-cpr__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.wc-cpr__title { font-size: 1.5rem; font-weight: 700; }
.wc-cpr__back { font-size: .875rem; color: var(--muted-foreground); transition: color .15s; }
.wc-cpr__back:hover { color: var(--foreground); }

/* Cards grid */
.wc-cpr__cards {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.wc-cpr__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}
.wc-cpr__card-img-link { display: block; }
.wc-cpr__card-img {
  width: 100%;
  height: 10rem;
  object-fit: contain;
  background: var(--muted);
  display: block;
  padding: .5rem;
}
.wc-cpr__card-img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
}
.wc-cpr__card-body { padding: 1rem; }
.wc-cpr__card-brand {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted-foreground);
  margin-bottom: .25rem;
}
.wc-cpr__card-title {
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: .625rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wc-cpr__card-title a { color: inherit; }
.wc-cpr__card-title a:hover { color: var(--secondary); }
.wc-cpr__price-wrap { display: flex; flex-direction: column; gap: .125rem; }
.wc-cpr__price { font-size: 1.125rem; font-weight: 800; color: var(--primary); }
.wc-cpr__price-old { font-size: .75rem; color: var(--muted-foreground); text-decoration: line-through; }

/* Selectores compartidos */
.wc-cpr__selectors {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  background: var(--muted);
  border-radius: var(--radius-2xl);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  align-items: flex-end;
}
.wc-cpr__sel-group { display: flex; flex-direction: column; gap: .375rem; }

/* Tabla de specs */
.wc-cpr__table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  margin-bottom: 1.75rem;
}
.wc-cpr__table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.wc-cpr__table thead tr { background: var(--primary); color: #fff; }
.wc-cpr__table thead th {
  padding: .875rem 1rem;
  text-align: left;
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  vertical-align: top;
}
.wc-cpr__th-spec { width: 8.5rem; min-width: 8.5rem; }
.wc-cpr__table tbody tr:nth-child(even) { background: var(--muted); }
.wc-cpr__td-spec {
  padding: .75rem 1rem;
  font-size: .8125rem;
  color: var(--muted-foreground);
  font-weight: 600;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  vertical-align: middle;
}
.wc-cpr__td {
  padding: .75rem 1rem;
  font-weight: 500;
  vertical-align: middle;
}
.wc-cpr__best {
  background: rgba(22,163,74,.09) !important;
  color: #16a34a;
  font-weight: 700;
}
.wc-cpr__price-row-spec { border-top: 2px solid var(--border); }
.wc-cpr__price-cell {
  font-weight: 800;
  color: var(--primary);
  font-size: .9375rem;
}

/* Sticky CTA */
.wc-cpr__sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  z-index: 900;
  padding: .875rem var(--px);
  box-shadow: 0 -4px 16px rgba(0,0,0,.06);
}
.wc-cpr__sticky-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.wc-cpr__sticky-text { font-size: .9375rem; font-weight: 600; }

/* ------------------------------------------------------------- */
/* COMPARADOR — Correcciones de icono y posición                 */
/* ------------------------------------------------------------- */

/* Posición: esquina inferior-derecha en vez de superior */
.wc-compare-btn {
  top: auto !important;
  bottom: .5rem !important;
  right: .5rem !important;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Icono +/− */
.wc-cbtn-plus,
.wc-cbtn-minus {
  font-size: 1.375rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  display: block;
}
.wc-cbtn-minus {
  display: none;
}
.wc-compare-btn.is-active .wc-cbtn-plus  { display: none; }
.wc-compare-btn.is-active .wc-cbtn-minus { display: block; }

/* .wc-card necesita position:relative para el botón absoluto */
.wc-card { position: relative; }

/* =============================================================
   BLOG — archive & single
   ============================================================= */

.wc-blog { padding: 3rem 0 5rem; }

.wc-blog__header { margin-bottom: 2rem; }

/* Category chips row */
.wc-blog__cats {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.wc-blog__cat-chip {
  background: var(--muted);
  color: var(--foreground);
  padding: .375rem 1.125rem;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.wc-blog__cat-chip:hover,
.wc-blog__cat-chip.active { background: var(--primary); color: #fff; }

/* Post grid — 3 → 2 → 1 */
.wc-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 1023px) { .wc-blog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .wc-blog__grid { grid-template-columns: 1fr; } }

.wc-blog__empty {
  text-align: center;
  color: var(--muted-foreground);
  padding: 4rem 1rem;
  font-size: 1rem;
}

/* Pagination */
.wc-blog__pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: .375rem; padding: 0 1rem; }
.wc-blog__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 .65rem;
  border-radius: .5rem;
  margin: 0;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--foreground);
  border: 1px solid var(--border);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.wc-blog__pagination .page-numbers.current,
.wc-blog__pagination .page-numbers:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Post card */
.wc-post-card {
  background: #fff;
  border-radius: .75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.wc-post-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.wc-post-card__img-link {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}
.wc-post-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.wc-post-card__img-link:hover .wc-post-card__img { transform: scale(1.05); }
.wc-post-card__img--empty {
  width: 100%;
  height: 100%;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
}
.wc-post-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .5rem;
}

/* Category chip on card */
.wc-post-card__cat {
  display: inline-block;
  background: #2c3e5d;
  color: #fff;
  padding: .2rem .7rem;
  border-radius: 999px;
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  width: fit-content;
  transition: background .15s;
}
.wc-post-card__cat:hover { background: var(--secondary); }

.wc-post-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}
.wc-post-card__title a { color: var(--foreground); text-decoration: none; }
.wc-post-card__title a:hover { color: var(--primary); }

.wc-post-card__excerpt {
  font-size: .875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.wc-post-card__meta {
  font-size: .75rem;
  color: var(--muted-foreground);
  margin-top: .25rem;
}

/* Blog single */
.wc-blog-single {
  max-width: 44rem;
  margin-inline: auto;
  padding: 2.5rem var(--px) 5rem;
}
.wc-blog-single__back {
  display: inline-block;
  font-size: .8125rem;
  color: var(--muted-foreground);
  text-decoration: none;
  margin-bottom: 1.25rem;
  transition: color .15s;
}
.wc-blog-single__back:hover { color: var(--primary); }
.wc-blog-single__header { margin-bottom: 2rem; }
.wc-blog-single__header .wc-post-card__cat { margin-bottom: .75rem; }
.wc-blog-single__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  margin: .75rem 0 1rem;
}
.wc-blog-single__meta {
  display: flex;
  gap: .625rem;
  font-size: .8125rem;
  color: var(--muted-foreground);
  align-items: center;
}
.wc-blog-single__featured {
  margin-bottom: 2.5rem;
  border-radius: .75rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.wc-blog-single__img { width: 100%; height: auto; display: block; }
.wc-blog-single__content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--foreground);
}
.wc-blog-single__content h2 { font-size: 1.5rem; font-weight: 700; margin: 2.5rem 0 .75rem; }
.wc-blog-single__content h3 { font-size: 1.1875rem; font-weight: 700; margin: 1.75rem 0 .5rem; }
.wc-blog-single__content p  { margin-bottom: 1.25rem; }
.wc-blog-single__content img { max-width: 100%; border-radius: .5rem; }
.wc-blog-single__content a  { color: var(--primary); }
.wc-blog-single__content ul,
.wc-blog-single__content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.wc-blog-single__content li { margin-bottom: .375rem; }

/* Post nav */
.wc-blog-single__nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.wc-blog-single__nav-link {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  text-decoration: none;
  max-width: 45%;
}
.wc-blog-single__nav-link--next { text-align: right; margin-left: auto; }
.wc-blog-single__nav-dir { font-size: .75rem; color: var(--muted-foreground); }
.wc-blog-single__nav-title { font-size: .9375rem; font-weight: 600; color: var(--foreground); line-height: 1.4; }
.wc-blog-single__nav-link:hover .wc-blog-single__nav-title { color: var(--primary); }


/* =============================================================
   FORMULARIO SOLICITAR CUOTA (CF7)
   ============================================================= */

.wc-cf7-form {
  max-width: 36rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem var(--px) 3rem;
}

.wc-cf7-label {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--foreground);
}

.wc-cf7-form .wpcf7-form-control:not([type=submit]) {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: .5rem;
  font-size: .9375rem;
  color: var(--foreground);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
}
.wc-cf7-form .wpcf7-form-control:not([type=submit]):focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44,62,93,.12);
}
.wc-cf7-form textarea.wpcf7-form-control { resize: vertical; min-height: 6rem; }
.wc-cf7-form .wpcf7-not-valid-tip { font-size: .75rem; color: #dc2626; margin-top: .25rem; }
.wc-cf7-form .wpcf7-response-output {
  padding: .75rem 1rem;
  border-radius: .5rem;
  font-size: .875rem;
  margin: 0;
}
.wc-cf7-form .wpcf7-mail-sent-ok { background: #f0fdf4; border-color: #16a34a !important; color: #166534; }
.wc-cf7-form .wpcf7-validation-errors { background: #fef9c3; border-color: #ca8a04 !important; color: #854d0e; }
.wc-cf7-form .wpcf7-spam-blocked  { background: #fef2f2; border-color: #dc2626 !important; color: #991b1b; }

/* Vehiculo visible (readonly) */
.wc-cf7-vehiculo-visible { background: var(--muted) !important; cursor: default; }

/* Submit button */
.wc-cf7-submit { margin-top: .5rem; }
.wc-cf7-form .wpcf7-submit {
  width: 100%;
  padding: .9375rem;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: .5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .1s;
  font-family: inherit;
}
.wc-cf7-form .wpcf7-submit:hover { background: var(--secondary-hover, #1a6296); transform: translateY(-1px); }
.wc-cf7-form .wpcf7-submit:active { transform: translateY(0); }
.wc-cf7-form .wpcf7-spinner { margin-left: .5rem; }

/* =============================================================
   STATS
   ============================================================= */

.wc-stats { background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 100%); }
.wc-stats .wc-sh__eyebrow { color: rgba(255,255,255,.7); }
.wc-stats .wc-sh__title   { color: #fff; }

.wc-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 3rem;
}
@media (max-width: 767px) { .wc-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (max-width: 479px) { .wc-stats__grid { grid-template-columns: 1fr 1fr; gap: 1rem; } }

.wc-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .375rem;
}
.wc-stats__num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
}
.wc-stats__label {
  font-size: .875rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}

/* =============================================================
   MARCAS
   ============================================================= */

.wc-marcas__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .75rem;
}
@media (max-width: 1023px) { .wc-marcas__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 639px)  { .wc-marcas__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 399px)  { .wc-marcas__grid { grid-template-columns: repeat(2, 1fr); } }

.wc-marca-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  padding: 1rem .75rem;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: .75rem;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  text-align: center;
}
.wc-marca-chip:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(44,62,93,.12);
  transform: translateY(-2px);
}
.wc-marca-chip__name {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--foreground);
}
.wc-marca-chip__count {
  font-size: .6875rem;
  color: var(--muted-foreground);
}

/* =============================================================
   CHIPS — activo y elemento adicional
   ============================================================= */

.wc-chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.wc-cpr__header-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.wc-cpr__pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  color: #4b5563;
  border: 1.5px solid #d1d5db;
  border-radius: 9999px;
  padding: .55rem 1.1rem;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.wc-cpr__pdf-btn:hover { background: #f47920; color: #fff; border-color: #f47920; }
.wc-cpr__pdf-btn:disabled { opacity: .6; cursor: wait; }
/* hero carousel (5 vehiculos) */
.wc-hero__carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  min-height: 200px;
  max-width: 360px;
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .wc-hero__carousel { min-height: 280px; max-width: none; }
}
.wc-hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.wc-hero__slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.wc-hero__slide-name {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  background: rgba(15, 30, 46, .65);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem 1rem;
  border-radius: 9999px;
  white-space: nowrap;
  z-index: 3;
}
.wc-hero__dots {
  position: absolute;
  left: 50%;
  bottom: -2rem;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 3;
}
.wc-hero__dot {
  width: .5rem;
  height: .5rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.wc-hero__dot:hover { background: rgba(255,255,255,.6); }
.wc-hero__dot.active { background: var(--orange, #f47920); transform: scale(1.3); }
