.tienda { margin: 0; background: #f4f4f4; min-height: 100vh; }

.store-nav { background: #080808; border-bottom: 1px solid #222; position: relative; z-index: 40; }
.store-whatsapp {
  position: fixed;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 1600;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: white;
  box-shadow: 0 6px 18px rgba(22, 139, 67, .45);
  isolation: isolate;
  animation: wa-nudge 5.2s cubic-bezier(.22, 1.2, .36, 1) infinite;
}
.store-whatsapp::before,
.store-whatsapp::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .85);
  pointer-events: none;
  animation: wa-ripple 2.6s ease-out infinite;
}
.store-whatsapp::after {
  animation-delay: 1.15s;
}
.store-whatsapp svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.15));
}
.store-whatsapp[hidden] { display: none; }
.store-whatsapp:hover,
.store-whatsapp:focus-visible {
  background: #1ebe5d;
  animation: none;
  transform: scale(1.06);
}
.store-whatsapp:hover::before,
.store-whatsapp:hover::after,
.store-whatsapp:focus-visible::before,
.store-whatsapp:focus-visible::after {
  animation: none;
  opacity: 0;
}
.store-whatsapp:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@keyframes wa-ripple {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.85); opacity: 0; }
}
@keyframes wa-nudge {
  0%, 62%, 100% { transform: rotate(0deg) scale(1); }
  66% { transform: rotate(-14deg) scale(1.08); }
  70% { transform: rotate(12deg) scale(1.1); }
  74% { transform: rotate(-8deg) scale(1.06); }
  78% { transform: rotate(4deg) scale(1.02); }
  82% { transform: rotate(0deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .store-whatsapp,
  .store-whatsapp::before,
  .store-whatsapp::after { animation: none; }
}
.store-announcement {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 8px 16px;
  background: #b60016;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  animation: store-announcement-color 15s ease-in-out infinite;
}
.store-announcement a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@keyframes store-announcement-color {
  0%, 100% { background-color: #b60016; }
  33% { background-color: #54218c; }
  66% { background-color: #153e91; }
}
@media (max-width: 640px) {
  .store-announcement { flex-direction: column; gap: 0; font-size: 12px; }
  .store-announcement-divider { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .store-announcement { animation: none; }
  .store-whatsapp,
  .store-whatsapp::before,
  .store-whatsapp::after { animation: none; }
}
.store-nav-inner {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  min-height: 56px;
}
.store-nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.store-nav-burger:hover { background: rgba(255,255,255,.14); }
.store-nav-burger-bars,
.store-nav-burger-bars::before,
.store-nav-burger-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.store-nav-burger-bars::before,
.store-nav-burger-bars::after {
  content: '';
  position: absolute;
  left: 0;
}
.store-nav-burger-bars::before { top: -6px; }
.store-nav-burger-bars::after { top: 6px; }
.store-nav.is-open .store-nav-burger-bars { background: transparent; }
.store-nav.is-open .store-nav-burger-bars::before { top: 0; transform: rotate(45deg); }
.store-nav.is-open .store-nav-burger-bars::after { top: 0; transform: rotate(-45deg); }

.store-nav-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-width: 0;
}
.store-nav-tools {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-shrink: 0;
  margin-left: 0;
}
.store-nav-search {
  display: flex;
  align-items: stretch;
  flex: 1 1 240px;
  min-width: 200px;
  max-width: 440px;
  margin-left: auto;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px #e5e5e5;
}
.store-nav-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: .55rem .9rem .55rem 1rem;
  font-size: .88rem;
  color: #111;
  outline: none;
  width: auto;
}
.store-nav-search input::placeholder { color: #8a8a8a; }
.store-nav-search input:focus { outline: none; box-shadow: none; }
.store-nav-search-btn {
  flex-shrink: 0;
  width: 42px;
  border: 0;
  background: #c9a227;
  color: #111;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.store-nav-search-btn:hover { background: #d4b02e; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.store-menu-panel { display: none; }
.store-auth-link {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 8px;
  padding: .35rem .55rem;
  font-size: .82rem;
  line-height: 1;
}
.store-auth-link--secondary { background: rgba(255,255,255,.08); }
.store-auth-link:hover { background: rgba(255,255,255,.18); color: #fff; }
.store-auth-pill {
  color: #fff;
  font-size: .78rem;
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  padding: .3rem .55rem;
}
.nav-cart-btn {
  position: relative;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: 10px;
  padding: .45rem .6rem;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
}
.nav-cart-btn:hover { background: rgba(255,255,255,.14); }
.nav-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 .25rem;
  border-radius: 999px;
  background: #df1d3a;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.store-logo-wrap { display: flex; align-items: center; padding: 0 .35rem 0 0; background: transparent; flex-shrink: 0; }
.store-logo-wrap img {
  width: 125px;
  max-height: 52px;
  object-fit: contain;
  display: block;
  background: transparent;
  mix-blend-mode: normal;
}
.store-menu { display: flex; overflow-x: auto; flex: 0 1 auto; }
.menu-item { color: #fff; text-decoration: none; font-weight: 700; padding: 1.2rem 1.4rem; border-left: 1px solid #252525; white-space: nowrap; }
.menu-item:first-child { border-left: 0; }
.menu-item.active, .menu-item:hover { background: #111; color: #fff; }

.tienda-main { width: 100%; max-width: 100%; margin: 0; padding: .7rem 1rem 2rem; }
.store-cta { display: flex; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.store-cta-text {
  font-size: clamp(1.15rem, 3.5vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  flex: 1;
  letter-spacing: -0.02em;
}
.btn-cta { background: #df1d3a; color: #fff; text-decoration: none; font-weight: 700; border-radius: 4px; padding: .75rem 1.15rem; white-space: nowrap; }
.btn-cta:hover { color: #fff; background: #be0f29; }
.btn-cta-small { display: inline-block; margin-top: .4rem; }

.store-coupon {
  position: relative;
  z-index: 1;
  background: #dedfe2;
  border: 1px solid #bdbdc2;
  margin: 1rem 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.store-coupon--has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.78);
  pointer-events: none;
  z-index: 0;
}
.coupon-content { position: relative; z-index: 1; padding: .75rem 1rem; }
.coupon-content h2 { margin: 0; font-size: 2.7rem; letter-spacing: .2px; line-height: 1; font-weight: 900; text-transform: uppercase; }
.coupon-highlight { margin: .2rem 0 0; font-size: 3rem; color: #df1d3a; font-weight: 900; line-height: 1; text-transform: uppercase; }
.coupon-text { margin: .1rem 0 .35rem; font-size: 2.35rem; line-height: 1.05; font-weight: 800; text-transform: uppercase; }
.coupon-meta { margin: .3rem 0 0; font-size: .8rem; color: #444; }

/* min-height debe caber el finder (~420px) + márgenes */
.store-banner {
  position: relative;
  z-index: 2;
  min-height: 560px;
  border: 1px solid #c4c4c4;
  background: #0b0b0b;
  margin-bottom: 1rem;
  overflow: hidden;
}
.banner-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* z-index: el buscador debe quedar por encima del hero; evita solapamientos raros en móvil */
.banner-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, #d7d7d7, #9ea9bd);
  background-size: cover;
  background-position: center;
}
.banner-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.12) 55%, transparent 100%);
  pointer-events: none;
}
.store-banner--has-video .banner-image::after { display: none; }
.banner-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
  overflow: hidden;
  pointer-events: none; /* evita hover → no aparecen controles/título de YouTube */
}
.banner-video-slides {
  position: absolute;
  inset: 0;
}
.banner-video-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.banner-video-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.banner-video-slide picture {
  position: absolute;
  inset: 0;
  display: block;
}
.banner-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  border: 0;
  display: block;
  /* Escala para recortar bordes (logo/chrome residual de YouTube) y cubrir el banner */
  transform: translate(-50%, -50%) scale(1.35);
  transform-origin: center center;
  pointer-events: none;
}
.banner-video-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.08) 42%, transparent 70%);
}
.banner-video-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  display: grid;
  place-items: center;
  transition: background .15s ease;
}
.banner-video-nav:hover { background: rgba(0,0,0,.7); }
.banner-video-nav--prev { left: 12px; }
.banner-video-nav--next { right: 12px; }
.banner-video-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 8px;
  pointer-events: auto;
}
.banner-video-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}
.banner-video-dot.is-active { background: #df1d3a; }
.banner-overlay {
  position: relative;
  z-index: 2;
  max-width: min(520px, calc(100% - 430px));
  margin: 1rem 1rem 0 395px;
  background: rgba(255,255,255,.88);
  padding: 1.2rem;
  border-radius: 10px;
}
.store-banner--has-video .banner-overlay { display: none; }

/* Página exclusiva por marca */
.store-banner--brand .banner-image,
.store-banner--brand .banner-video,
.store-banner--brand .banner-overlay { display: none; }
.brand-hero-panel {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2332 0%, #0b0f16 100%);
}
.brand-hero-picture,
.brand-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.brand-hero-img {
  object-fit: cover;
  object-position: center;
}
.brand-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1.25rem 1.5rem 395px;
  background: linear-gradient(90deg, rgba(8,12,20,.82) 0%, rgba(8,12,20,.45) 48%, rgba(8,12,20,.15) 100%);
  pointer-events: none;
}
.brand-hero-back {
  position: absolute;
  top: 1rem;
  left: 395px;
  z-index: 3;
  pointer-events: auto;
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.25);
  transition: background .15s ease;
}
.brand-hero-back:hover { background: rgba(0,0,0,.55); }
.brand-hero-copy {
  pointer-events: none;
  max-width: min(520px, calc(100% - 1rem));
}
.brand-hero-logo {
  display: flex;
  align-items: center;
  margin-bottom: .55rem;
}
.brand-hero-logo .brand-logo {
  height: 42px;
  max-width: 180px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.35));
}
.brand-hero-logo .brand-fallback {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .5px;
}
.brand-hero-title {
  margin: 0 0 .35rem;
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
}
.brand-hero-subtitle {
  margin: 0;
  font-size: clamp(.92rem, 1.8vw, 1.05rem);
  line-height: 1.4;
  color: rgba(255,255,255,.88);
  max-width: 42ch;
}
@media (max-width: 900px) {
  .brand-hero-overlay {
    padding: 1rem 1rem 1.2rem 1rem;
    background: linear-gradient(180deg, rgba(8,12,20,.15) 0%, rgba(8,12,20,.72) 55%, rgba(8,12,20,.9) 100%);
  }
  .brand-hero-back { left: 1rem; top: .75rem; }
}

.banner-overlay h3 { margin: 0 0 .5rem; font-size: 2.35rem; font-weight: 900; line-height: 1.05; text-transform: uppercase; }
.banner-overlay p { margin: 0; font-size: 2rem; font-weight: 900; line-height: 1.08; color: #df1d3a; text-transform: uppercase; }

.finder-card {
  position: absolute;
  left: 15px;
  bottom: 15px;
  width: 360px;
  background: #ea0f35;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  z-index: 3;
}
.finder-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: #ea0f35; padding: 3px 3px 0; border-radius: 6px 6px 0 0; overflow: hidden; }
.finder-tab { border: 0; background: #fff; color: #111; padding: .8rem .25rem; font-weight: 800; cursor: pointer; font-size: 1.15rem; }
.finder-tab.active { background: #111; color: #fff; }
.finder-panel {
  display: none;
  background: #f4f4f4;
  padding: .7rem;
  border: 4px solid #111;
  border-radius: 0 0 6px 6px;
  position: relative;
  z-index: 0;
}
.finder-panel.active { display: block; }
.tire-visual {
  background: #fff;
  min-height: 168px;
  border-radius: 8px;
  margin-bottom: .75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: .35rem .25rem 0;
  border: 1px solid #e2e6ec;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  overflow: hidden;
}
.tire-visual-labels {
  position: relative;
  width: 100%;
  height: 22px;
  margin-bottom: 0;
}
.tire-callout {
  position: absolute;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #4a5568;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  white-space: nowrap;
}
.tire-callout-line {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: linear-gradient(to bottom, transparent, #da2247);
  opacity: .85;
}
.tire-callout--ancho { left: 8%; top: 0; color: #da2247; }
.tire-callout--ancho .tire-callout-line { background: linear-gradient(to bottom, transparent, #da2247); }
.tire-callout--perfil { left: 50%; transform: translateX(-50%); top: 0; }
.tire-callout--rin { right: 8%; top: 0; }
.tire-visual-stage {
  position: relative;
  width: 100%;
  max-width: 320px;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.tire-hero-img {
  width: 100%;
  max-height: 130px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.tire-mark-overlay {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 132px;
  background: rgba(0, 0, 0, .78);
  border-radius: 8px;
  padding: .28rem .55rem .38rem;
  text-align: center;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.tire-mark-labels {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin-bottom: .12rem;
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #da2247;
}
.tire-mark-values {
  font-size: .95rem;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  white-space: nowrap;
}
.tire-mark-sep {
  color: rgba(255,255,255,.55);
  font-weight: 700;
}
.tire-mark-num.is-active { color: #da2247; }
.tire-mark-num.is-placeholder { color: rgba(255,255,255,.38); }
.measure-live {
  margin-top: .35rem;
  margin-left: -.25rem;
  margin-right: -.25rem;
  padding: .45rem .5rem .5rem;
  font-size: clamp(1.15rem, 4vw, 1.75rem);
  font-weight: 900;
  color: #f5f5f5;
  background: #0a0a0a;
  text-align: center;
  border-radius: 0 0 7px 7px;
  transition: transform 0.18s ease, color 0.18s ease;
}
.measure-live span.is-active { color: #da2247; }
.measure-live span.is-placeholder { color: rgba(255,255,255,.35); }

.finder-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.finder-field-group { min-width: 0; }
.finder-select-label {
  display: none;
  font-size: .8rem;
  font-weight: 800;
  color: #222;
  margin: 0 0 .25rem;
  letter-spacing: 0.02em;
}
.finder-fields input, .finder-fields select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 2px solid #c9c9c9;
  background: #fff;
  border-radius: 2px;
  padding: .55rem .6rem;
  font-size: 1.18rem;
  color: #111;
  opacity: 1;
}
/* WebKit móvil: menulist evita que el select quede “fantasma” si un padre usa overflow */
.finder-fields select:not(:disabled) {
  -webkit-appearance: menulist;
  appearance: auto;
}
.finder-fields select:disabled, .finder-fields input:disabled { background: #efefef; color: #8f8f8f; }
.btn-find {
  width: 100%;
  margin-top: .65rem;
  border: 0;
  background: linear-gradient(180deg, #1e6fd9 0%, #155cb0 100%);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  padding: .72rem .5rem;
  cursor: pointer;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(21, 92, 176, .35);
  letter-spacing: .02em;
}
.btn-find:hover {
  background: linear-gradient(180deg, #2a7ae8 0%, #1860c4 100%);
  color: #fff;
}
.btn-find:active { transform: translateY(1px); }

.tienda-content { position: relative; }
#tiendaBusqueda { scroll-margin-top: 1rem; }

.store-benefits {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid #dadde3;
  border-radius: 10px;
}
.store-benefits-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.store-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}
.store-benefit-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff5f6 0%, #ffe8eb 100%);
  color: #b8122a;
}
.store-benefit-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}
.store-benefit-copy strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
  line-height: 1.25;
  color: #15233b;
}
.store-benefit-copy p {
  margin: 0;
  color: #4a5568;
  font-size: 0.84rem;
  line-height: 1.4;
}
.store-benefit-meta {
  margin-top: 0.25rem !important;
  font-size: 0.78rem !important;
  color: #64748b !important;
}
@media (max-width: 980px) {
  .store-benefits-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .store-benefits-list {
    grid-template-columns: 1fr;
  }
}
.tienda-empty { text-align: center; padding: 2rem 1rem; color: #666; }
.tienda-loading { text-align: center; padding: 1rem; color: #666; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.product-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); position: relative; display: flex; flex-direction: column; }
.product-badge { position: absolute; top: 10px; right: 10px; background: #df1d3a; color: #fff; font-size: .74rem; font-weight: 800; padding: .24rem .5rem; border-radius: 4px; z-index: 1; }
.product-image { aspect-ratio: 1; background: linear-gradient(135deg, #eee 0%, #ddd 100%); display: flex; align-items: center; justify-content: center; }
.product-image-placeholder { font-size: .9rem; font-weight: 600; color: #888; text-align: center; padding: 1rem; }
.product-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.product-measure { font-size: .8rem; color: #df1d3a; font-weight: 700; margin-bottom: .2rem; }
.product-title { margin: 0 0 .5rem; font-size: 1rem; font-weight: 700; color: #222; line-height: 1.3; }
.product-price { margin: 0 0 .85rem; }
.product-price-old { text-decoration: line-through; color: #999; font-size: .9rem; margin-right: .4rem; }
.product-price-current { color: #067534; font-size: 1.3rem; }
.btn-cotizar { display: block; text-align: center; padding: .6rem .9rem; background: #111; color: #fff; text-decoration: none; border-radius: 5px; font-weight: 700; font-size: .9rem; margin-top: auto; }
.btn-cotizar:hover { background: #262626; color: #fff; }

.results-shell { margin-top: 1rem; }
.results-featured { background: #f0f0f0; border: 1px solid #d6d6d6; padding: 1rem 1rem 1.1rem; border-radius: 8px; }
.featured-section-title {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 1.65rem;
  font-weight: 800;
  color: #1a2a44;
  letter-spacing: -0.02em;
}
.results-featured-carousel {
  display: flex;
  align-items: stretch;
  gap: .5rem;
}
.featured-track-wrap { flex: 1; min-width: 0; }
.carousel-btn { border: 1px solid #c8c8c8; background: #fff; border-radius: 6px; font-size: 1.35rem; width: 40px; min-height: 120px; cursor: pointer; align-self: center; flex-shrink: 0; color: #222; line-height: 1; }
.carousel-btn:hover { background: #f5f5f5; }
.carousel-btn-side { box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.featured-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem 1rem; align-items: start; }
.featured-slot { display: flex; flex-direction: column; align-items: center; gap: .35rem; min-width: 0; }
.featured-badge-stack { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15rem; min-height: 3.1rem; justify-content: flex-end; }
.featured-badge {
  display: inline-block;
  background: #df1d3a;
  color: #fff;
  font-weight: 800;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .35rem .65rem;
  border-radius: 4px;
  line-height: 1.2;
  max-width: 100%;
}
.featured-badge-sub { font-size: .68rem; color: #555; font-weight: 600; line-height: 1.25; max-width: 11rem; }
.featured-slot--center .featured-badge { font-size: .8rem; padding: .4rem .75rem; }
.featured-card {
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  padding: .75rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  min-height: 100%;
  width: 100%;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.featured-slot--center .featured-card {
  border: 2px solid #df1d3a;
  box-shadow: 0 4px 14px rgba(223, 29, 58, .18);
  transform: scale(1.02);
  z-index: 1;
}
.featured-brand, .list-brand { min-height: 28px; display: flex; align-items: center; }
.brand-logo { height: 26px; width: auto; max-width: 120px; object-fit: contain; }
.brand-fallback { font-weight: 800; font-size: .8rem; color: #1a2a44; letter-spacing: .5px; }
.featured-image { background: #f4f4f4; border-radius: 6px; height: 120px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.featured-image img { width: 100%; height: 100%; object-fit: contain; }
.tire-fallback { font-weight: 700; color: #666; padding: .5rem; text-align: center; }
.featured-card h4, .list-card h4 { margin: 0; font-size: 1.05rem; line-height: 1.2; }
.featured-measure, .list-measure { color: #555; font-size: .9rem; }
.featured-price, .list-price { color: #0d7c38; font-weight: 900; font-size: 1.4rem; display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.featured-price-suffix { font-size: .72rem; font-weight: 700; color: #3d5a4a; text-transform: lowercase; }
.price-list { color: #7d8790; font-weight: 700; font-size: .95rem; text-decoration: line-through; }
.price-promo { color: #0d7c38; font-weight: 900; }

.tire-spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .4rem;
  margin: .15rem 0 0;
}
.tire-spec-chip {
  font-size: .68rem;
  font-weight: 700;
  color: #34425a;
  background: #eef1f6;
  border-radius: 4px;
  padding: .12rem .35rem;
  line-height: 1.2;
}
.tire-best-pick {
  display: inline-block;
  margin-left: .35rem;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fff;
  background: linear-gradient(135deg, #c9a227, #8b6914);
  padding: .15rem .4rem;
  border-radius: 4px;
  vertical-align: middle;
}

.results-layout { display: grid; grid-template-columns: 280px 1fr; gap: 1rem; margin-top: .9rem; }
.results-filters { background: #fff; border: 1px solid #d6d6d6; border-radius: 8px; padding: .8rem; height: fit-content; position: sticky; top: 10px; }
.results-filters h3 { margin: 0 0 .6rem; }
.filter-block { margin-bottom: .8rem; }
.filter-block > label { display: block; font-size: .9rem; margin-bottom: .3rem; }
.filter-block input[type="text"] { width: 100%; padding: .5rem .6rem; border: 1px solid #ccc; border-radius: 6px; }
.filter-title { font-weight: 700; margin-bottom: .35rem; }
.filter-options { display: flex; flex-direction: column; gap: .2rem; font-size: .92rem; max-height: 180px; overflow: auto; }
.filter-options label,
.filter-options .filter-option {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: .55rem;
  margin: 0 !important;
  padding: .2rem .15rem;
  text-align: left;
  cursor: pointer;
  line-height: 1.35;
}
.filter-options input[type="checkbox"] {
  flex: 0 0 1.15rem;
  width: 1.15rem;
  height: 1.15rem;
  margin: .12rem 0 0;
  padding: 0;
  align-self: flex-start;
}
.filter-options .filter-option-text {
  flex: 1 1 auto;
  min-width: 0;
  word-break: break-word;
}
.results-list-wrap { min-width: 0; }
.results-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .65rem .9rem;
  margin: 0 0 .55rem;
}
.results-info { font-weight: 700; margin: 0; color: #34425a; }
.results-sort {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .9rem;
  color: #556074;
}
.results-sort label { margin: 0; font-weight: 700; white-space: nowrap; }
.results-sort select {
  min-width: 11.5rem;
  padding: .4rem .55rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  font: inherit;
}
.results-list { display: grid; gap: .7rem; }
.list-card { background: #fff; border: 1px solid #d6d6d6; border-radius: 8px; padding: .7rem; display: grid; grid-template-columns: 140px 1fr 170px; gap: .8rem; align-items: center; }
.list-card-image { height: 110px; background: #f4f4f4; border-radius: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.list-card-image img { width: 100%; height: 100%; object-fit: contain; }
.list-card-side { display: flex; flex-direction: column; align-items: flex-end; gap: .45rem; }
.results-empty-list { margin: 0; color: #666; background: #fff; border: 1px dashed #ccc; border-radius: 8px; padding: .8rem; }

@media (max-width: 1024px) {
  .store-cta { flex-direction: column; align-items: stretch; }
  .store-cta-text { font-size: 1.55rem; }
  .store-cta .btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    white-space: normal;
  }
  .coupon-content h2 { font-size: 2rem; }
  .coupon-highlight { font-size: 2.2rem; }
  .coupon-text { font-size: 1.75rem; }
  .store-banner { min-height: 720px; }
  .banner-overlay { margin: 1rem; max-width: calc(100% - 2rem); }
  /* relative (no static): así z-index aplica y el hero (absolute z-index:1) no tapa el buscador */
  .finder-card {
    position: relative;
    margin: 280px 1rem 1rem;
    width: calc(100% - 2rem);
    max-width: 420px;
    overflow: visible;
    z-index: 3;
  }
  .results-featured-carousel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    align-items: stretch;
  }
  .featured-track-wrap { grid-column: 1 / -1; grid-row: 2; }
  .results-featured-carousel > .carousel-btn-side:first-of-type { grid-row: 1; grid-column: 1; }
  .results-featured-carousel > .carousel-btn-side:last-of-type { grid-row: 1; grid-column: 2; }
  .carousel-btn-side { width: 100%; min-height: 44px; align-self: stretch; }
  .featured-track { grid-template-columns: 1fr; }
  .featured-slot--center .featured-card { transform: none; }
  .results-layout { grid-template-columns: 1fr; }
  .results-filters { position: static; }
  .list-card { grid-template-columns: 120px 1fr; }
  .list-card-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (max-width: 640px) {
  .store-nav-inner {
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: .55rem .85rem;
    min-height: 56px;
    gap: .5rem;
  }
  .store-nav-burger { display: inline-flex; }
  .store-nav-brand {
    flex: 0 1 auto;
    justify-content: flex-start;
  }
  .store-menu--desktop { display: none; }
  .store-nav-tools {
    margin-left: auto;
    justify-content: flex-end;
    gap: .35rem;
  }
  .store-nav-search {
    order: 5;
    flex: 1 1 100%;
    max-width: none;
    min-width: 0;
    margin-left: 0;
  }
  .store-auth-link--desktop,
  .store-auth-pill--desktop { display: none; }
  .store-logo-wrap { justify-content: flex-start; padding: 0; }
  .store-logo-wrap img { width: 110px; max-height: 44px; }

  .store-menu-panel {
    display: block;
    background: #0f0f0f;
    border-top: 1px solid #252525;
    padding: .35rem 0 .55rem;
  }
  .store-menu-panel[hidden] { display: none !important; }
  .store-menu-panel-nav {
    display: flex;
    flex-direction: column;
    padding: 0 .35rem;
  }
  .store-menu-panel-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: .9rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
  }
  .store-menu-panel-link.active,
  .store-menu-panel-link:hover { background: #1a1a1a; }
  .store-menu-panel-sep {
    height: 1px;
    background: #2a2a2a;
    margin: .35rem .75rem;
  }
  .store-menu-panel-user {
    color: rgba(255,255,255,.7);
    font-size: .82rem;
    padding: .35rem 1rem .15rem;
  }

  .store-banner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border: 0;
    overflow: visible;
    background: transparent;
  }
  .banner-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #000;
  }
  .finder-card {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0 0 1rem;
    left: 0;
    overflow: visible;
    z-index: 3;
  }
  .banner-video-nav { width: 36px; height: 36px; font-size: 1.45rem; }
  .banner-video-nav--prev { left: 8px; }
  .banner-video-nav--next { right: 8px; }
  .banner-video-dots {
    top: 12px;
    bottom: auto;
  }
  .finder-tab { font-size: 1rem; padding: .68rem .2rem; }
  .finder-panel { padding: .55rem; border-width: 3px; }
  .tire-visual {
    height: auto;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: .45rem .35rem 0;
  }
  .tire-visual-labels {
    height: 20px;
    margin-bottom: .15rem;
  }
  .tire-callout {
    font-size: .68rem;
    letter-spacing: .03em;
  }
  .tire-callout--ancho { left: 6%; }
  .tire-callout--perfil { left: 50%; }
  .tire-callout--rin { right: 6%; }
  .tire-visual-stage { min-height: 96px; max-width: 100%; }
  .tire-hero-img { max-height: 110px; }
  .tire-mark-overlay { top: 10%; min-width: 118px; padding: .22rem .45rem .32rem; }
  .tire-mark-values { font-size: .85rem; }
  .measure-live {
    margin-top: .25rem;
    margin-left: -.35rem;
    margin-right: -.35rem;
    padding: .4rem .35rem .45rem;
    font-size: 1.65rem;
    line-height: 1.05;
    text-align: center;
  }
  .finder-fields { grid-template-columns: 1fr; gap: .45rem; }
  .finder-select-label { display: block; }
  .finder-fields input, .finder-fields select {
    font-size: 1.05rem;
    padding: .5rem .55rem;
    min-height: 44px;
    line-height: 1.2;
  }
  .btn-find { font-size: 1.2rem; padding: .56rem .45rem; margin-top: .55rem; }
  .banner-overlay { max-width: calc(100% - 2rem); margin: 1rem; }
  .list-card { grid-template-columns: 1fr; }
  .list-card-image { height: 140px; }
  .list-card-side { flex-direction: column; align-items: stretch; }
  .list-card-side .btn-cotizar { width: 100%; }
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .35rem;
  margin-top: .4rem;
}
.product-card-actions .btn-cotizar,
.product-card-actions .btn-ver-info { grid-column: 1 / -1; text-align: center; }
.list-card-actions {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  width: 100%;
  margin-top: .25rem;
}
.list-card-actions .btn-cotizar { text-align: center; }
.btn-ver-info {
  background: none;
  border: none;
  padding: .15rem 0;
  font-size: .88rem;
  font-weight: 700;
  color: #1b49c6;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-align: center;
  width: 100%;
}
.btn-ver-info:hover { color: #c30000; }

.tienda-ficha-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .55rem;
}
.tienda-ficha-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: .55rem .65rem;
  background: #fafafa;
}
.tienda-ficha-card strong {
  display: block;
  font-size: .75rem;
  color: #6b7280;
  font-weight: 700;
  margin-bottom: .15rem;
}
.tienda-ficha-card span { font-size: .92rem; color: #111827; }
.tienda-ficha-image-wrap {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
  border-radius: 8px;
  overflow: hidden;
}
.tienda-ficha-image-wrap img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: contain;
}

body.cart-drawer-open,
body.compare-modal-open {
  overflow: hidden;
}

.cart-drawer { position: fixed; inset: 0; z-index: 2000; pointer-events: none; }
.cart-drawer:not([hidden]) { pointer-events: auto; }
.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(2px);
}
.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(400px, 100vw);
  max-width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: -8px 0 32px rgba(15, 23, 42, .18);
  display: flex;
  flex-direction: column;
  animation: cartSlide .22s ease-out;
}
@keyframes cartSlide {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.cart-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  padding: 1.1rem 1.15rem 1rem;
  border-bottom: 1px solid #eceff3;
}
.cart-drawer-title { margin: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: #111827; }
.cart-drawer-count {
  margin: .2rem 0 0;
  font-size: .88rem;
  color: #6b7280;
  font-weight: 600;
}
.cart-drawer-close {
  border: 0;
  background: #f3f4f6;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  color: #374151;
  flex-shrink: 0;
}
.cart-drawer-close:hover { background: #e5e7eb; }
.cart-drawer-body {
  flex: 1;
  overflow: auto;
  padding: .85rem 1rem 1rem;
  -webkit-overflow-scrolling: touch;
}
.cart-empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
}
.cart-empty {
  color: #111827;
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}
.cart-empty-hint {
  margin: .45rem 0 0;
  color: #6b7280;
  font-size: .9rem;
  line-height: 1.4;
}
.cart-line {
  display: block;
  padding: .9rem .85rem;
  margin-bottom: .65rem;
  border: 1px solid #e8ebf0;
  border-radius: 12px;
  background: #fafbfc;
}
.cart-line-main { min-width: 0; }
.cart-line-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .65rem;
}
.cart-line-title {
  font-weight: 800;
  font-size: .95rem;
  color: #111827;
  line-height: 1.25;
}
.cart-line-meta {
  font-size: .86rem;
  color: #6b7280;
  margin-top: .25rem;
  font-weight: 600;
}
.cart-line-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: .7rem;
  flex-wrap: wrap;
}
.cart-line-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.cart-qty-btn {
  width: 2.15rem;
  height: 2.15rem;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  color: #111827;
}
.cart-qty-btn:hover { background: #f3f4f6; }
.cart-qty-value {
  min-width: 1.75rem;
  text-align: center;
  font-weight: 800;
  font-size: .95rem;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  padding: .35rem .2rem;
}
.cart-line-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .1rem;
}
.cart-line-unit { font-size: .78rem; color: #6b7280; }
.cart-line-sub { font-size: 1rem; color: #0d7c38; font-weight: 800; }
.cart-remove {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: #c30000;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  padding: .15rem 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cart-remove:hover { color: #9a0000; }
.cart-drawer-foot {
  padding: 1rem 1.15rem calc(1rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #eceff3;
  background: #fff;
  box-shadow: 0 -6px 20px rgba(15, 23, 42, .06);
}
.cart-drawer-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
}
.cart-drawer-total-label {
  font-size: .92rem;
  color: #4b5563;
  font-weight: 600;
}
.cart-drawer-total-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -.02em;
}
.cart-drawer-total-note {
  margin: .25rem 0 .85rem;
  font-size: .78rem;
  color: #9ca3af;
}
.cart-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.cart-drawer-cta {
  width: 100%;
  text-align: center;
  min-height: 2.85rem;
  font-weight: 800;
  font-size: 1rem;
}
.cart-drawer-cta:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.cart-drawer-clear {
  width: 100%;
  text-align: center;
  min-height: 2.4rem;
}
.cart-drawer-clear:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* Pedido checkout modal */
.pedido-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.5rem, env(safe-area-inset-top, 0px)) 0.75rem max(0.5rem, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}
.pedido-modal[hidden] { display: none !important; }
.pedido-modal .pedido-dialog {
  position: relative;
  width: min(440px, 100%);
  max-height: min(92dvh, 92vh, 720px);
  margin: 0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
}
.pedido-head {
  flex: 0 0 auto;
  align-items: flex-start;
  padding: 1.1rem 1.15rem 1rem;
  gap: .75rem;
}
.pedido-head-text { min-width: 0; }
.pedido-hint {
  margin: .3rem 0 0;
  font-size: .9rem;
  color: #6b7280;
  line-height: 1.35;
}
.pedido-form {
  margin: 0;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.pedido-form-scroll {
  flex: 1 1 0%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 1.15rem 1rem;
  -webkit-overflow-scrolling: touch;
}
.pedido-resumen {
  margin: 0 0 1rem;
  padding: .75rem .9rem;
  border-radius: 12px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}
.pedido-resumen-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-size: .92rem;
  color: #374151;
}
.pedido-resumen-row strong {
  font-size: 1.05rem;
  color: #0d7c38;
}
.pedido-fields .field { margin: 0 0 .85rem; }
.pedido-fields .label {
  display: block;
  margin-bottom: .35rem;
  font-weight: 700;
  font-size: .88rem;
  color: #111827;
}
.pedido-fields .label-optional {
  font-weight: 500;
  color: #9ca3af;
}
.pedido-fields input,
.pedido-fields textarea {
  width: 100%;
  box-sizing: border-box;
  padding: .65rem .75rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font: inherit;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.pedido-fields input:focus,
.pedido-fields textarea:focus {
  outline: none;
  border-color: #c30000;
  box-shadow: 0 0 0 3px rgba(195, 0, 0, .12);
}
.pedido-metodo {
  margin: .25rem 0 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.pedido-metodo > .label {
  display: block;
  margin-bottom: .55rem;
  font-weight: 700;
  font-size: .88rem;
  color: #111827;
  padding: 0;
}
.pedido-metodo-card {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin: 0 0 .55rem;
  padding: .8rem .85rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  background: #fff;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.pedido-metodo-card:hover { border-color: #c4c9d2; }
.pedido-metodo-card:has(input:checked),
.pedido-metodo-card.is-selected {
  border-color: #c30000;
  background: #fff7f7;
  box-shadow: 0 0 0 1px #c30000;
}
.pedido-metodo-card input {
  margin: .2rem 0 0;
  accent-color: #c30000;
  flex-shrink: 0;
}
.pedido-metodo-body { min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.pedido-metodo-title { font-weight: 800; font-size: .92rem; color: #111827; }
.pedido-metodo-desc { font-size: .82rem; color: #6b7280; line-height: 1.35; }
.pedido-form-error {
  margin: .75rem 0 0;
  padding: .65rem .75rem;
  border-radius: 10px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: .88rem;
  font-weight: 600;
}
.pedido-foot {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: .9rem 1.15rem calc(.9rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #eceff3;
  background: #fff;
  box-shadow: 0 -6px 18px rgba(15, 23, 42, .05);
  z-index: 2;
}
.pedido-submit {
  width: 100%;
  min-height: 2.85rem;
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
}
.pedido-cancel {
  width: 100%;
  min-height: 2.4rem;
  text-align: center;
}

@media (max-width: 480px) {
  .pedido-modal {
    padding: 0;
    align-items: stretch;
  }
  .pedido-modal .pedido-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 100dvh;
    max-height: 100vh;
    height: 100dvh;
    height: 100vh;
    border-radius: 0;
  }
}

.compare-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.compare-dock[hidden] { display: none !important; }
.compare-dock-tab {
  width: 100%;
  border: 0;
  border-radius: 12px 12px 0 0;
  background: #111;
  color: #fff;
  font-weight: 800;
  padding: .65rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: .95rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.15);
}
.compare-dock-chevron { font-size: .75rem; opacity: .85; }
.compare-dock-panel {
  background: #fff;
  border-top: 3px solid #df1d3a;
  padding: .85rem 1rem 1rem;
  box-shadow: 0 -6px 24px rgba(0,0,0,.12);
  max-height: min(52vh, 380px);
  overflow: auto;
}
.compare-dock-hint { margin: 0 0 .65rem; font-size: .82rem; color: #444; line-height: 1.35; }
.compare-dock-slots {
  display: grid;
  gap: .55rem;
  margin-bottom: .75rem;
}
.compare-dock-slot {
  border: 1px dashed #c9c9c9;
  border-radius: 8px;
  padding: .55rem .65rem;
  background: #fafafa;
}
.compare-dock-slot.is-filled {
  border-style: solid;
  border-color: #df1d3a;
  background: #fff;
}
.compare-dock-slot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .2rem;
}
.compare-dock-row { margin-bottom: .5rem; font-size: .88rem; }
.compare-dock-label { display: block; font-weight: 700; font-size: .75rem; color: #555; margin-bottom: .2rem; }
.compare-dock-slot-head .compare-dock-label { margin-bottom: 0; }
.compare-dock-value { margin: 0; font-weight: 600; font-size: .84rem; line-height: 1.35; color: #222; }
.compare-dock-slot:not(.is-filled) .compare-dock-value { color: #777; font-weight: 500; }
.compare-dock-remove {
  border: 0;
  background: #eee;
  color: #444;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.compare-dock-remove:hover { background: #fee2e2; color: #b91c1c; }
.compare-dock-field { display: block; margin: .5rem 0; }
.compare-dock-field select {
  width: 100%;
  padding: .5rem .55rem;
  border: 2px solid #c9c9c9;
  border-radius: 6px;
  font-size: .95rem;
  margin-top: .2rem;
}
.compare-dock-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem;
  align-items: center;
}
.compare-dock-submit { width: 100%; margin-top: 0; }
.compare-dock-clear {
  white-space: nowrap;
  min-height: 2.5rem;
}
@media (max-width: 480px) {
  .compare-dock-actions {
    grid-template-columns: 1fr;
  }
}
.product-card-actions .btn-compare-set-a.is-in-compare,
.list-card-actions .btn-compare-set-a.is-in-compare {
  opacity: .85;
  cursor: default;
}

body.compare-dock-open .store-whatsapp {
  bottom: calc(3.6rem + max(16px, env(safe-area-inset-bottom)));
}
body.compare-dock-expanded {
  padding-bottom: min(52vh, 380px);
}
body.compare-dock-expanded .store-whatsapp {
  bottom: calc(min(52vh, 380px) + 3.6rem + env(safe-area-inset-bottom, 0px));
}

.compare-modal { position: fixed; inset: 0; z-index: 2100; }
.compare-modal[hidden] { display: none !important; }
.compare-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}
.compare-modal-dialog {
  position: relative;
  margin: 4vh auto;
  width: min(920px, 94vw);
  max-height: 90vh;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.compare-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1rem;
  border-bottom: 1px solid #e6e6e6;
}
.compare-modal-title { margin: 0; font-size: 1.15rem; font-weight: 800; }
.compare-modal-close {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #444;
}
.compare-modal-body {
  padding: 1rem;
  overflow: auto;
  flex: 1;
}
.compare-modal-foot {
  padding: .85rem 1rem;
  border-top: 1px solid #e6e6e6;
  background: #fafafa;
}
.compare-modal-foot .btn { width: 100%; text-align: center; }

.compare-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: .88rem;
  min-width: 520px;
}
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table--3 { min-width: 680px; }
.compare-table thead th:first-child { width: 140px; }
.compare-table th,
.compare-table td {
  overflow-wrap: anywhere;
  border: 1px solid #e0e0e0;
  padding: .5rem .55rem;
  vertical-align: top;
  text-align: left;
}
.compare-table thead th {
  background: #f4f4f4;
  font-weight: 800;
}
.compare-table tbody th[scope="row"] {
  background: #fafafa;
  font-weight: 700;
  white-space: normal;
}
.compare-table-hero td {
  background: #fff;
}
.compare-modal-thumb {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  background: #f4f4f4;
  margin-bottom: .35rem;
}
.compare-modal-thumb-fallback {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eee;
  border-radius: 6px;
  font-size: .65rem;
  font-weight: 700;
  text-align: center;
  padding: .25rem;
  margin-bottom: .35rem;
}
.compare-modal-headcell .muted { color: #666; font-size: .82rem; margin-top: .15rem; }
.compare-modal-price { font-weight: 800; color: #0d7c38; margin-top: .25rem; display: flex; gap: .4rem; flex-wrap: wrap; align-items: baseline; }

/* Secciones comerciales de la landing de llantas */
.section-headline { margin: 0 0 .85rem; }
.section-headline h2 {
  margin: 0 0 .25rem;
  font-size: clamp(1.1rem, 2.8vw, 1.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #101625;
}
.section-headline p {
  margin: 0;
  color: #495266;
  font-size: .92rem;
}
.store-brands,
.store-services,
.store-trust {
  background: #fff;
  border: 1px solid #dadde3;
  border-radius: 10px;
  padding: .95rem 1rem 1.05rem;
  margin-bottom: 1rem;
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .65rem;
}
.brand-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  min-height: 64px;
  box-sizing: border-box;
  border: 1px solid #e2e6ec;
  border-radius: 9px;
  padding: .55rem .7rem;
  background: #fafbfd;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
a.brand-chip:hover {
  border-color: #c8ced8;
  box-shadow: 0 4px 14px rgba(17, 28, 47, .08);
  transform: translateY(-1px);
}
a.brand-chip:focus-visible {
  outline: 2px solid #df1d3a;
  outline-offset: 2px;
}
.brand-chip-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  max-width: 132px;
  overflow: hidden;
}
.brand-chip .brand-logo {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
  transform: scale(1.12);
  transform-origin: center;
}
.brand-chip .brand-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: .72rem;
  letter-spacing: .4px;
  text-align: center;
}
.brands-empty {
  text-align: center;
  color: #666f81;
  font-size: .9rem;
  padding: 1rem .5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
.service-card {
  border: 1px solid #e2e6ec;
  border-radius: 9px;
  padding: .8rem .8rem .7rem;
  background: linear-gradient(180deg, #fff, #f9fbff);
}
.service-card h3 {
  margin: 0 0 .4rem;
  font-size: .96rem;
  line-height: 1.2;
  color: #15233b;
}
.service-card p {
  margin: 0;
  color: #4a5568;
  font-size: .86rem;
  line-height: 1.42;
}
.trust-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem 1.1rem;
  justify-content: space-between;
}
.trust-card h2 {
  margin: 0;
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  color: #111c2f;
}
.trust-list {
  margin: 0;
  padding-left: 1rem;
  color: #3f4b60;
  font-size: .9rem;
  line-height: 1.45;
  flex: 1;
  min-width: 240px;
}
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .store-brands,
  .store-services,
  .store-trust { padding: .8rem .8rem .9rem; }
  .brands-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-chip { height: 58px; min-height: 58px; padding: .45rem .5rem; }
  .brand-chip-logo { height: 36px; }
  .trust-card { align-items: flex-start; }
}

/* Toast: arriba a la derecha para no taparlo el dock de comparar */
body.tienda .toast-stack {
  top: calc(4.25rem + env(safe-area-inset-top, 0px));
  bottom: auto;
  left: auto;
  right: 12px;
  z-index: 1600;
}
body.tienda .toast {
  transform: translateY(-8px);
}
body.tienda .toast.is-in {
  transform: translateY(0);
}
