/*
 * Capa de rediseno "premium" (oct 2026). Se carga DESPUES de styles.css y solo sobreescribe
 * la presentacion: no cambia el HTML ni lo que hace app.js. Para volver al diseno anterior
 * basta con quitar el <link> a este archivo en las paginas.
 *
 * Todas las reglas llevan el prefijo `html:root:root body`: styles.css usa mucho selectores
 * de dos y tres clases (.home-page .hero-panel--pro ...) y sin ese empujon de especificidad
 * ganarian ellos aunque este archivo cargue despues.
 */

:root {
  --bg: #f5f4f2;
  --surface: #ffffff;
  --surface-2: #f3f2ef;
  --surface-elevated: #ffffff;
  --text: #121214;
  --muted: #66666d;
  --line: #e7e5e1;
  --line-soft: #efeeea;
  --accent: #e85a14;
  --accent-2: #ff7a2f;
  --accent-deep: #c2460a;
  --ink: #0d0d0f;
  --ink-2: #17171a;
  --shadow: 0 24px 60px -24px rgba(13, 13, 15, 0.28);
  --shadow-soft: 0 1px 2px rgba(13, 13, 15, 0.04), 0 12px 32px -16px rgba(13, 13, 15, 0.14);
  --radius-sm: 0.75rem;
  --radius-md: 1.1rem;
  --radius-lg: 1.5rem;
  --header-bg: rgba(13, 13, 15, 0.86);
  --catalog-hero-bg: #ffffff;
  --catalog-card-bg: #ffffff;
  --catalog-panel-bg: #ffffff;
  --catalog-beige-panel-bg: #ffffff;
  --shell-panel-bg: transparent;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
html:root:root body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -0.005em;
}

/* El marco beige centrado desaparece: la pagina respira a todo lo ancho. */
html:root:root body.page-beige-frame::before,
html:root:root body.catalog-page::before,
html:root:root body.home-page::before {
  display: none;
}

html:root:root body .container {
  width: min(1240px, calc(100% - 2.5rem));
}

/* Titulares: Manrope apretada en lugar de la condensada. */
html:root:root body :is(h1, h2, h3, h4),
html:root:root body :is(.hero-brand, .home-promo-card__eyebrow, .home-promo-card__title, .filters-panel-title, .catalog-head-title, .logo-text, .logo-mark) {
  font-family: "Manrope", "Segoe UI", sans-serif;
  letter-spacing: -0.03em;
  text-transform: none;
}

html:root:root body :is(h1, h2) {
  font-weight: 800;
  line-height: 1.08;
}

html:root:root body .eyebrow,
html:root:root body .catalog-finder__label,
html:root:root body .filters-panel-eyebrow,
html:root:root body .home-promo-card__eyebrow {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

html:root:root body ::selection {
  background: rgba(232, 90, 20, 0.2);
}

html:root:root body :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Botones ---------- */
html:root:root body .btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 0.8rem 1.35rem;
  min-height: 2.9rem;
  border: 1px solid transparent;
  box-shadow: none;
  transition: transform 0.25s var(--ease), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s var(--ease), color 0.2s ease;
}

html:root:root body .btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(232, 90, 20, 0.75);
}

html:root:root body .btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -12px rgba(232, 90, 20, 0.8);
}

html:root:root body .btn-ghost,
html:root:root body .btn-support {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

html:root:root body .btn-ghost:hover,
html:root:root body .btn-support:hover {
  border-color: var(--text);
  background: #fff;
  transform: translateY(-1px);
}

html:root:root body .btn:disabled,
html:root:root body .btn[disabled] {
  background: var(--surface-2);
  color: #9a9aa1;
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}

html:root:root body .btn-sm {
  min-height: 2.2rem;
  padding: 0.45rem 0.95rem;
}

/* ---------- Encabezado ---------- */
html:root:root body .site-header,
html:root:root body .site-header.compact,
html:root:root body.catalog-page .site-header.compact {
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

html:root:root body .nav-wrap {
  min-height: 4.25rem;
  gap: 1.5rem;
}

html:root:root body .logo-img {
  height: 2.5rem;
  width: auto;
  border-radius: 0.6rem;
}

html:root:root body .main-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

html:root:root body .main-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

html:root:root body .main-nav a[aria-current="page"] {
  color: #fff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

html:root:root body .header-actions .icon-btn {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
  box-shadow: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

html:root:root body .header-actions .icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

html:root:root body .header-actions .guest-signup-btn {
  background: var(--accent);
  border-color: var(--accent);
}

html:root:root body .header-actions .guest-signup-btn:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

html:root:root body .cart-count {
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

/* ---------- Inicio: hero ---------- */
html:root:root body .hero {
  position: relative;
  margin: 0;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6.5rem);
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(232, 90, 20, 0.28), transparent 60%),
    radial-gradient(40rem 26rem at 0% 110%, rgba(255, 122, 47, 0.12), transparent 60%),
    var(--ink);
  color: #fff;
  overflow: hidden;
}

html:root:root body .hero-grid {
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

html:root:root body .hero-copy {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

/* El logo ya esta en el encabezado; en el hero oscuro sobra. */
html:root:root body .hero-brand {
  display: none;
}

html:root:root body .hero .eyebrow {
  color: var(--accent-2);
}

html:root:root body .hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0.6rem 0 1.1rem;
  max-width: 14ch;
}

html:root:root body .hero-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.08rem;
  max-width: 34rem;
}

html:root:root body .hero-cta {
  margin-top: 1.75rem;
  gap: 0.7rem;
}

html:root:root body .hero .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

html:root:root body .hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}

html:root:root body .quick-trust {
  margin-top: 2rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  list-style: none;
  background: transparent;
}

html:root:root body .quick-trust li {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

html:root:root body .quick-trust li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent-2);
  flex: none;
}

/* Buscador por medida: tarjeta blanca flotando sobre el hero. */
html:root:root body .hero-panel {
  background: #fff;
  color: var(--text);
  border: 0;
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.65);
}

html:root:root body .hero-panel h2 {
  color: var(--text);
  font-size: 1.55rem;
  margin: 0.35rem 0 0.4rem;
}

html:root:root body .hero-panel .finder-intro {
  color: var(--muted);
}

html:root:root body .finder-form label,
html:root:root body .catalog-finder-controls label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

html:root:root body :is(.finder-form, .catalog-finder, .filters-card, .auth-card, .cart-page, .checkout-form) :is(select, input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="search"], input[type="number"]) {
  min-height: 3rem;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  box-shadow: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

html:root:root body :is(.finder-form, .catalog-finder, .filters-card, .auth-card, .cart-page, .checkout-form) :is(select, input):focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(232, 90, 20, 0.14);
}

/* ---------- Secciones ---------- */
html:root:root body .flow-section,
html:root:root body .brands,
html:root:root body .products,
html:root:root body .branches {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: transparent;
  border: 0;
}

html:root:root body .section-head {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

html:root:root body .section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  margin: 0.4rem 0 0.5rem;
}

html:root:root body .section-subtitle {
  color: var(--muted);
  font-size: 1.02rem;
}

html:root:root body .text-link {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.1rem;
}

/* Tarjetas promocionales */
html:root:root body .home-promos {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: 0;
}

html:root:root body .home-promo-card {
  border-radius: var(--radius-lg);
  border: 0;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

html:root:root body .home-promo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

html:root:root body .home-promo-card__title {
  font-weight: 800;
  line-height: 1.1;
}

html:root:root body .home-promo-card__eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

/* Marcas */
html:root:root body .brand-strip {
  gap: 0.75rem;
}

html:root:root body .brand-logo {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  box-shadow: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.2s ease;
}

html:root:root body .brand-logo:hover {
  transform: translateY(-3px);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

/* ---------- Tarjetas de producto ---------- */
html:root:root body .product-grid {
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
}

html:root:root body .product-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: none;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.2s ease;
}

html:root:root body .product-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

html:root:root body .product-card__media,
html:root:root body .product-card > img {
  background: var(--surface-2);
  border: 0;
  border-radius: 0;
  margin: 0;
}

html:root:root body .product-card__media {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 1.1rem;
}

html:root:root body .product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.6s var(--ease);
}

html:root:root body .product-card:hover .product-card__media img {
  transform: scale(1.05);
}

html:root:root body .product-card .product-content {
  padding: 1.1rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

html:root:root body .product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

html:root:root body .product-card__tag {
  background: var(--surface-2);
  color: var(--text);
  border: 0;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.28rem 0.65rem;
}

html:root:root body .product-card__tag--brand {
  background: transparent;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

html:root:root body .product-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0;
}

html:root:root body .product-card h3 a {
  color: var(--text);
  text-decoration: none;
}

html:root:root body .product-card h3 a:hover {
  color: var(--accent-deep);
}

html:root:root body .product-card__type,
html:root:root body .product-card .meta {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: capitalize;
  margin: 0;
}

html:root:root body .product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.35rem;
  border: 0;
}

html:root:root body .product-card .price {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text);
  margin: 0;
}

html:root:root body .stock-pill,
html:root:root body .product-card .stock {
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border: 0;
  margin: 0;
  width: fit-content;
}

html:root:root body .stock-pill--in,
html:root:root body .product-card .stock.in {
  background: rgba(15, 122, 59, 0.1);
  color: #0b6a32;
}

html:root:root body .stock-pill--low,
html:root:root body .product-card .stock.low {
  background: rgba(217, 119, 6, 0.12);
  color: #9a5300;
}

html:root:root body .stock-pill--out,
html:root:root body .product-card .stock.out {
  background: var(--surface-2);
  color: #8a8a91;
}

html:root:root body .product-card .add-to-cart {
  width: 100%;
  margin-top: 0.35rem;
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}

html:root:root body .product-card .add-to-cart:hover:not(:disabled) {
  background: var(--accent);
  box-shadow: 0 12px 24px -12px rgba(232, 90, 20, 0.8);
}

/* ---------- Banda de conversion ---------- */
html:root:root body .conversion-band {
  background: transparent;
  border: 0;
  padding: 0 0 clamp(2rem, 4vw, 3rem);
}

html:root:root body .conversion-wrap {
  background:
    radial-gradient(40rem 20rem at 100% 0%, rgba(232, 90, 20, 0.35), transparent 60%),
    var(--ink);
  color: #fff;
  border: 0;
  border-radius: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow);
}

html:root:root body .conversion-wrap h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
}

html:root:root body .conversion-wrap p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

html:root:root body .conversion-wrap .eyebrow {
  color: var(--accent-2);
}

html:root:root body .conversion-wrap .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

/* ---------- Sucursales ---------- */
html:root:root body .branch-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: none;
  padding: 1.5rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

html:root:root body .branch-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

html:root:root body .branch-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

html:root:root body .branch-card__hours {
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

/* ---------- Catalogo ---------- */
html:root:root body .catalog-layout {
  padding-top: clamp(1.25rem, 3vw, 2.25rem);
  gap: clamp(1rem, 2.4vw, 2rem);
}

/* El logo grande sobre el catalogo repetia el del encabezado. */
html:root:root body .catalog-layout > .page-brand-logo {
  display: none;
}

html:root:root body .filters-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: none;
  padding: 1.25rem;
}

html:root:root body .filters-panel-title {
  font-size: 1.35rem;
  font-weight: 800;
}

html:root:root body .filter-section {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line-soft);
  border-radius: 0;
  box-shadow: none;
  padding: 0.35rem 0;
  margin: 0;
}

html:root:root body .filter-section::before {
  display: none;
}

html:root:root body .filter-section__summary {
  padding: 0.9rem 0.15rem;
  border: 0;
  background: transparent;
  border-radius: 0;
}

html:root:root body .filter-section__label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text);
}

html:root:root body .filter-section__hint {
  color: var(--muted);
  font-size: 0.8rem;
}

html:root:root body .filter-chip {
  border-radius: 999px;
}

html:root:root body .catalog-head {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: none;
  padding: clamp(1.1rem, 2.4vw, 1.75rem);
}

html:root:root body .catalog-head-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  text-align: left;
}

html:root:root body .catalog-head-intro {
  text-align: left;
  align-items: flex-start;
}

html:root:root body .catalog-finder {
  background: var(--surface-2);
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: none;
}

html:root:root body .catalog-finder :is(select, input) {
  background: #fff;
}

html:root:root body .catalog-results-count strong {
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
  font-weight: 800;
}

/* ---------- Pie ---------- */
html:root:root body .site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.66);
  border-top: 0;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

html:root:root body .site-footer h4 {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html:root:root body .site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

html:root:root body .site-footer a:hover {
  color: #fff;
}

/* ---------- Movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html:root:root body *,
  html:root:root body *::before,
  html:root:root body *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Telefono ---------- */
@media (max-width: 900px) {
  html:root:root body .container {
    width: calc(100% - 2rem);
  }

  html:root:root body .hero h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  html:root:root body .hero {
    padding: 2.25rem 0 2.75rem;
  }

  html:root:root body .hero-cta .btn {
    flex: 1 1 100%;
  }

  /* Dos columnas compactas: se ven mas llantas por pantalla sin perder legibilidad. */
  html:root:root body .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  html:root:root body .product-card {
    border-radius: 1.1rem;
  }

  html:root:root body .product-card__media {
    padding: 0.6rem;
  }

  html:root:root body .product-card .product-content {
    padding: 0.75rem 0.75rem 0.85rem;
    gap: 0.4rem;
  }

  html:root:root body .product-card h3 {
    font-size: 0.84rem;
  }

  html:root:root body .product-card .price {
    font-size: 1.15rem;
  }

  html:root:root body .product-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  html:root:root body .product-card .add-to-cart {
    min-height: 2.6rem;
    padding: 0.55rem 0.6rem;
    font-size: 0.82rem;
  }

  html:root:root body .product-card__tag--brand {
    display: none;
  }
}

/* ---------- Ajustes sobre variantes --pro del inicio ---------- */
html:root:root body .hero-panel--pro {
  background: #fff;
  border: 0;
}

html:root:root body .hero-panel--pro .finder-form {
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  gap: 0.9rem;
  margin-top: 1.1rem;
}

html:root:root body .finder-row {
  gap: 0.6rem;
}

html:root:root body .finder-form label {
  gap: 0.4rem;
}

html:root:root body .finder-actions {
  gap: 0.6rem;
  margin-top: 0.25rem;
  padding-top: 0;
}

html:root:root body .hero-panel .finder-actions .btn {
  min-height: 3.25rem;
  border-radius: 999px;
  text-align: center;
}

html:root:root body .btn-support {
  color: var(--text);
}

/* Tarjetas del inicio (sin envoltura __media): la foto ocupa el mismo cuadro gris. */
html:root:root body .product-card > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 1.1rem;
  mix-blend-mode: multiply;
}

html:root:root body .home-featured .product-card {
  background: linear-gradient(var(--surface-2), var(--surface-2)) top / 100% auto no-repeat, #fff;
  padding: 0;
}

html:root:root body .home-featured .product-card .product-content {
  background: #fff;
}

/* Fotos de producto: fondo blanco (la mayoria de las fotos lo traen) con una linea fina. */
html:root:root body .product-card__media,
html:root:root body .product-card > img {
  background: #fff;
}

html:root:root body .product-card__media {
  border-bottom: 1px solid var(--line-soft);
}

html:root:root body .home-featured .product-card {
  background: #fff;
}

/* Cabecera del catalogo alineada a la izquierda. */
html:root:root body .catalog-head-top,
html:root:root body .catalog-head-intro {
  justify-items: start;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}

html:root:root body .catalog-head-intro > * {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

html:root:root body .catalog-results-count {
  justify-content: flex-start;
  color: var(--muted);
}

/* ---------- Telefono: encabezado y buscador compactos ---------- */
@media (max-width: 640px) {
  html:root:root body .nav-wrap {
    min-height: 3.75rem;
    gap: 0.5rem;
  }

  html:root:root body .logo-img {
    height: 2.2rem;
  }

  html:root:root body .header-actions {
    gap: 0.35rem;
  }

  html:root:root body .header-actions .icon-btn {
    white-space: nowrap;
    font-size: 0.76rem;
    padding: 0.42rem 0.7rem;
    min-height: 2.25rem;
  }

  html:root:root body .catalog-head {
    padding: 1rem;
  }

  /* Ancho / perfil / rin en una sola fila en vez de tres renglones. */
  html:root:root body .catalog-finder-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    align-items: end;
  }

  html:root:root body .catalog-finder-controls > :is(button, .btn) {
    grid-column: 1 / -1;
  }

  html:root:root body .catalog-finder-controls select {
    min-height: 2.75rem;
    padding-left: 0.6rem;
    padding-right: 1.4rem;
    font-size: 0.9rem;
    width: 100%;
  }

  html:root:root body .catalog-finder {
    padding: 0.85rem;
  }

  html:root:root body .mobile-filters-toggle {
    width: 100%;
  }
}
