/* =========================================================================
   Estilos de la tienda (clon Homecenter para practicar)
   Organizado por secciones, de arriba hacia abajo como en el HTML.
   ========================================================================= */

/* ---- Variables de color (la paleta de Homecenter) ---- */
:root {
  --rojo: #e30613;
  --rojo-osc: #b30410;
  --azul: #00339a;
  --azul-card: #1e4fa8;
  --amarillo: #ffcc00;
  --gris-bg: #f4f4f4;
  --gris-borde: #e0e0e0;
  --texto: #2b2b2b;
  --texto-suave: #6b6b6b;
  --sombra: 0 1px 6px rgba(0, 0, 0, 0.12);
}

/* ---- Reset básico ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Lato", "Segoe UI", Arial, sans-serif;
  color: var(--texto);
  background: var(--gris-bg);
  font-size: 14px;
  line-height: 1.4;
}
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.contenedor { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* ============================ BARRA SUPERIOR ============================ */
.topbar {
  background: #333;
  color: #ddd;
  font-size: 11.5px;
  letter-spacing: .3px;
}
.topbar__row { display: flex; justify-content: space-between; height: 32px; align-items: center; }
.topbar__links { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar__links li { cursor: pointer; }
.topbar__links li:hover { color: #fff; }
.topbar__links strong { color: #fff; font-weight: 700; }

/* ============================== HEADER ============================== */
.header { background: #fff; box-shadow: var(--sombra); position: sticky; top: 0; z-index: 50; }
.header__row { display: flex; align-items: center; gap: 24px; height: 84px; }

/* Logo recreado con CSS */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__casa { position: relative; width: 42px; height: 38px; }
.logo__techo {
  position: absolute; top: 0; left: 0; right: 0; height: 0;
  border-left: 21px solid transparent; border-right: 21px solid transparent;
  border-bottom: 16px solid var(--rojo);
}
.logo__cuerpo {
  position: absolute; bottom: 0; left: 6px; right: 6px; height: 24px;
  background:
    linear-gradient(var(--azul), var(--azul)) left / 33% 100% no-repeat,
    linear-gradient(var(--amarillo), var(--amarillo)) center / 34% 100% no-repeat,
    linear-gradient(var(--rojo), var(--rojo)) right / 33% 100% no-repeat;
}
.logo__texto { display: flex; flex-direction: column; line-height: 1; }
.logo__home { color: var(--azul); font-weight: 900; font-size: 22px; letter-spacing: .5px; }
.logo__sodimac { color: var(--rojo); font-weight: 700; font-size: 11px; letter-spacing: 1px; }
.logo__sodimac em { font-style: italic; font-weight: 400; }

/* Buscador */
.buscador { flex: 1; display: flex; align-items: center; border: 2px solid var(--azul); border-radius: 4px; overflow: hidden; }
.buscador input { flex: 1; border: none; outline: none; padding: 11px 14px; font-size: 14px; }
.buscador__camara { color: var(--azul); padding: 0 10px; display: flex; align-items: center; }
.buscador__lupa { background: var(--azul); color: #fff; padding: 0 16px; align-self: stretch; display: flex; align-items: center; }
.buscador__lupa:hover { background: #002a80; }

/* Acciones de la derecha */
.acciones { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.accion { display: flex; align-items: center; gap: 6px; color: var(--texto); font-size: 12px; position: relative; }
.accion svg { color: var(--azul); }
.accion:hover { color: var(--azul); }
.accion--carro { padding: 4px; }
.badge-carro {
  position: absolute; top: -4px; right: -6px; background: var(--rojo); color: #fff;
  font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.cmr { display: flex; flex-direction: column; align-items: center; background: var(--rojo); color: #fff; padding: 4px 8px; border-radius: 4px; line-height: 1; font-weight: 800; font-size: 13px; }
.cmr small { font-size: 9px; font-weight: 400; }

/* Menú de departamentos */
.menu { border-top: 1px solid var(--gris-borde); }
.menu__lista { display: flex; gap: 22px; height: 42px; align-items: center; font-size: 12.5px; font-weight: 700; color: #444; overflow-x: auto; }
.menu__lista li { white-space: nowrap; cursor: pointer; }
.menu__lista li:hover { color: var(--rojo); }

/* ========================= CÍRCULOS DE CATEGORÍAS ========================= */
.circulos { display: flex; gap: 8px; padding-top: 22px; padding-bottom: 6px; overflow-x: auto; }
.circulo { flex: 0 0 auto; width: 116px; text-align: center; cursor: pointer; }
.circulo__img {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 8px;
  border: 2px solid var(--gris-borde); object-fit: cover; background: #fff;
  transition: border-color .15s, transform .15s;
}
.circulo:hover .circulo__img { border-color: var(--rojo); transform: translateY(-2px); }
.circulo span { font-size: 12.5px; font-weight: 600; display: block; }

/* ========================= FRANJA PRECIOS CAMPEONES ========================= */
.franja { background: var(--rojo); color: #fff; margin-top: 14px; }
.franja__row { display: flex; align-items: center; justify-content: center; gap: 26px; height: 64px; flex-wrap: wrap; }
.franja__texto { font-size: 18px; }
.reloj { display: flex; align-items: center; gap: 6px; }
.reloj em { font-size: 20px; font-weight: 700; }
.reloj__caja { background: #fff; color: var(--rojo); border-radius: 4px; padding: 4px 8px; text-align: center; min-width: 50px; }
.reloj__caja b { font-size: 20px; display: block; line-height: 1; }
.reloj__caja span { font-size: 9px; text-transform: uppercase; letter-spacing: .5px; }

/* ============================== HERO ============================== */
.hero {
  margin-top: 18px; border-radius: 10px; overflow: hidden;
  background: radial-gradient(circle at 70% 30%, #2a6fd6, #0a1f6b 70%);
  color: #fff; min-height: 300px; display: flex; align-items: center; justify-content: space-between;
  padding: 36px 56px; position: relative;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 55%, rgba(227,6,19,.55));
  pointer-events: none;
}
.hero__kicker { background: var(--azul); display: inline-block; padding: 6px 14px; border-radius: 4px; font-weight: 700; letter-spacing: 1px; font-size: 13px; }
.hero__titulo { font-size: 64px; font-weight: 900; line-height: .95; margin: 14px 0; text-shadow: 0 3px 10px rgba(0,0,0,.4); }
.hero__fechas { font-weight: 700; letter-spacing: 2px; opacity: .9; }
.hero__ahorro { text-align: center; position: relative; z-index: 1; }
.hero__ahorro span { display: block; font-size: 20px; font-weight: 600; }
.hero__ahorro strong { font-size: 110px; font-weight: 900; color: var(--amarillo); line-height: 1; text-shadow: 0 4px 12px rgba(0,0,0,.4); }

/* ============================= SECCIONES ============================= */
.seccion { margin-top: 40px; }
.seccion__titulo { text-align: center; font-size: 26px; font-weight: 800; margin-bottom: 22px; }
.seccion__titulo small { display: block; font-size: 14px; font-weight: 400; color: var(--texto-suave); margin-top: 4px; }

/* Fila horizontal de Flash Deals */
.fila-deals { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; }
.fila-deals .card { flex: 0 0 250px; }

/* ============================= CARDS ============================= */
.grilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.sin-resultados { grid-column: 1 / -1; text-align: center; color: var(--texto-suave); padding: 50px 20px; font-size: 16px; }
.sin-resultados small { font-size: 13px; }

.card {
  background: #fff; border: 1px solid var(--gris-borde); border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s;
}
.card:hover { box-shadow: var(--sombra); transform: translateY(-3px); }

.card__media { position: relative; padding: 16px; background: #fff; }
.card__media img { height: 170px; width: 100%; object-fit: contain; }
.card__cat { position: absolute; top: 10px; left: 10px; font-size: 11px; color: var(--azul-card); font-weight: 700; max-width: 60%; }
.badge-desc {
  position: absolute; top: 8px; right: 8px; background: var(--rojo); color: #fff;
  font-size: 11px; font-weight: 700; text-align: center; line-height: 1.1;
  padding: 6px 8px; border-radius: 4px;
}
.badge-desc b { font-size: 14px; }

.card__info { padding: 0 12px 12px; display: flex; flex-direction: column; flex: 1; }
.card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.tag-internet { border: 1px solid var(--rojo); color: var(--rojo); font-size: 9.5px; font-weight: 700; padding: 2px 5px; border-radius: 3px; }
.rating { font-size: 12px; color: var(--texto-suave); font-weight: 700; }
.rating b { color: #f5a623; }
.card__brand { font-weight: 800; font-size: 14px; }
.card__name {
  font-weight: 400; font-size: 13px; color: #444; margin: 2px 0 10px;
  min-height: 36px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Bloque de precios azul (como en Homecenter) */
.card__prices { margin-top: auto; background: var(--azul-card); border-radius: 6px; padding: 8px 10px; color: #fff; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.precio-internet { background: var(--rojo); padding: 3px 8px; border-radius: 4px; font-weight: 800; font-size: 16px; }
.precio-internet small { display: block; font-size: 9px; font-weight: 400; }
.precio-normal { font-size: 13px; opacity: .9; }
.precio-normal s { opacity: .8; }
.precio-normal small { display: block; font-size: 9px; }

.btn-add { margin-top: 10px; background: var(--rojo); color: #fff; font-weight: 700; padding: 9px; border-radius: 4px; font-size: 13px; }
.btn-add:hover { background: var(--rojo-osc); }
.btn-add.ok { background: #2e7d32; }

/* ============================ FILTROS ============================ */
.barra-filtros { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.barra-filtros select { padding: 9px 12px; border: 1px solid var(--gris-borde); border-radius: 4px; background: #fff; font-size: 13px; min-width: 200px; }
.barra-filtros__count { margin-left: auto; color: var(--texto-suave); }

.ver-mas-wrap { text-align: center; margin: 28px 0; }
.btn-ver-mas { border: 2px solid var(--azul); color: var(--azul); font-weight: 700; padding: 11px 28px; border-radius: 4px; }
.btn-ver-mas:hover { background: var(--azul); color: #fff; }
.btn-ver-mas:disabled { opacity: .4; cursor: default; }

/* ============================= FOOTER ============================= */
.footer { background: #222; color: #bbb; margin-top: 50px; padding: 30px 0; text-align: center; }
.footer strong { color: #fff; }
.footer__nota { font-size: 12px; margin-top: 6px; opacity: .7; }

/* ============================= CARRITO ============================= */
.carro-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: .2s; z-index: 90; }
.carro-overlay.abierto { opacity: 1; visibility: visible; }
.carro {
  position: fixed; top: 0; right: 0; height: 100%; width: 380px; max-width: 92vw; background: #fff;
  z-index: 100; transform: translateX(100%); transition: transform .25s; display: flex; flex-direction: column; box-shadow: -4px 0 16px rgba(0,0,0,.2);
}
.carro.abierto { transform: translateX(0); }
.carro__head { display: flex; align-items: center; justify-content: space-between; padding: 18px; background: var(--azul); color: #fff; }
.carro__head h3 { font-size: 18px; }
.carro__head button { color: #fff; font-size: 28px; line-height: 1; }
.carro__items { flex: 1; overflow-y: auto; padding: 10px 16px; }
.carro__vacio { text-align: center; color: var(--texto-suave); margin-top: 40px; }
.ci { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--gris-borde); }
.ci img { width: 56px; height: 56px; object-fit: contain; }
.ci__info { flex: 1; font-size: 12.5px; }
.ci__nombre { font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ci__precio { color: var(--rojo); font-weight: 800; margin-top: 4px; }
.ci__ctrl { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.ci__ctrl button { width: 22px; height: 22px; border: 1px solid var(--gris-borde); border-radius: 4px; font-weight: 700; }
.ci__quitar { color: var(--texto-suave); font-size: 11px; text-decoration: underline; margin-left: auto; }
.carro__pie { border-top: 1px solid var(--gris-borde); padding: 16px; }
.carro__total { display: flex; justify-content: space-between; font-size: 18px; margin-bottom: 12px; }
.carro__total strong { color: var(--rojo); }
.btn-pagar { width: 100%; background: var(--rojo); color: #fff; font-weight: 700; padding: 13px; border-radius: 4px; font-size: 15px; }
.btn-pagar:hover { background: var(--rojo-osc); }

/* La card entera es clickeable (lleva al detalle) */
.card { cursor: pointer; }

/* ============================ DETALLE (PDP) ============================ */
.breadcrumb { font-size: 12.5px; color: var(--texto-suave); margin: 18px 0; }
.breadcrumb a { color: var(--azul); }
.breadcrumb a:hover { text-decoration: underline; }

.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; background: #fff; border: 1px solid var(--gris-borde); border-radius: 10px; padding: 24px; }

/* Galería */
.pdp__galeria { display: flex; gap: 14px; }
.g-thumbs { display: flex; flex-direction: column; gap: 8px; }
.g-thumb { width: 60px; height: 60px; object-fit: contain; border: 1px solid var(--gris-borde); border-radius: 6px; padding: 4px; cursor: pointer; background: #fff; }
.g-thumb.activa { border-color: var(--azul); }
.g-principal { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; }
.g-principal img { max-height: 420px; width: 100%; object-fit: contain; }
.g-exclusivo { position: absolute; top: 8px; left: 8px; background: var(--amarillo); color: #333; font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 3px; }
.g-envio { position: absolute; top: 8px; right: 8px; background: #e6f0ff; color: var(--azul); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 3px; }

/* Columna de info */
.pdp__marca { color: var(--azul-card); font-weight: 800; font-size: 14px; }
.pdp__titulo { font-size: 24px; font-weight: 700; margin: 4px 0 6px; line-height: 1.25; }
.pdp__codigo { color: var(--texto-suave); font-size: 12.5px; }
.pdp__rating { margin: 8px 0 16px; font-weight: 700; color: var(--texto-suave); }
.pdp__rating b { color: #f5a623; letter-spacing: 1px; }

.pdp__precios { border-top: 1px solid var(--gris-borde); padding-top: 14px; }
.pdp__tags { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.tag-desc { background: var(--rojo); color: #fff; font-weight: 800; font-size: 13px; padding: 2px 8px; border-radius: 3px; }
.pdp__precio { font-size: 34px; font-weight: 800; }
.pdp__precio small { font-size: 15px; font-weight: 400; color: var(--texto-suave); }
.pdp__ahorro { color: #2e7d32; font-weight: 700; margin-top: 4px; }
.pdp__normal { color: var(--texto-suave); font-size: 14px; }

/* Compra: cantidad + botón */
.pdp__compra { display: flex; gap: 14px; align-items: stretch; margin: 20px 0; }
.qty { display: flex; align-items: center; border: 1px solid #bbb; border-radius: 6px; overflow: hidden; }
.qty button { width: 42px; font-size: 20px; font-weight: 700; background: #f4f4f4; }
.qty button:hover { background: #e7e7e7; }
.qty input { width: 48px; text-align: center; border: none; font-size: 16px; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.btn-add-pdp { flex: 1; background: var(--rojo); color: #fff; font-weight: 700; font-size: 16px; border-radius: 6px; padding: 0 28px; }
.btn-add-pdp:hover { background: var(--rojo-osc); }
.btn-add-pdp.ok { background: #2e7d32; }

/* Specs */
.pdp__specs { border: 1px solid var(--gris-borde); border-radius: 8px; padding: 16px; }
.pdp__specs h3 { font-size: 15px; margin-bottom: 10px; }
.pdp__specs ul { display: grid; gap: 8px; }
.pdp__specs li { display: flex; justify-content: space-between; font-size: 13px; border-bottom: 1px dashed var(--gris-borde); padding-bottom: 6px; }
.pdp__specs li span { color: var(--texto-suave); }

/* Entrega */
.pdp__entrega { margin-top: 16px; display: grid; gap: 1px; background: var(--gris-borde); border: 1px solid var(--gris-borde); border-radius: 8px; overflow: hidden; }
.entrega-item { background: #fff; padding: 13px 14px; display: flex; justify-content: space-between; font-weight: 600; cursor: pointer; }
.entrega-item:hover { background: #fafafa; }
.entrega-item span { color: var(--texto-suave); }

/* Descripción */
.pdp__descripcion { background: #fff; border: 1px solid var(--gris-borde); border-radius: 10px; padding: 24px; margin-top: 18px; }
.pdp__descripcion h2 { font-size: 20px; margin-bottom: 10px; }
.pdp__descripcion p { color: #444; max-width: 800px; }

/* ============================ CHECKOUT ============================ */
.checkout-titulo { font-size: 26px; margin: 8px 0 20px; }
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.checkout__form { background: #fff; border: 1px solid var(--gris-borde); border-radius: 10px; padding: 22px; display: grid; gap: 14px; }
.checkout__form h3 { font-size: 16px; margin-top: 6px; }
.checkout__form label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; }
.checkout__form input, .checkout__form select { padding: 10px 12px; border: 1px solid var(--gris-borde); border-radius: 6px; font-size: 14px; font-family: inherit; }
.checkout__form input:focus, .checkout__form select:focus { outline: 2px solid var(--azul); border-color: transparent; }
.checkout__detalles { background: #f9f9f9; border: 1px solid var(--gris-borde); border-radius: 8px; padding: 14px; margin: 16px 0; font-size: 14px; }
.checkout__detalles p { display: flex; justify-content: space-between; margin: 6px 0; }
.checkout__detalles span { color: var(--texto-suave); }
.checkout__nota { font-size: 12px; color: var(--texto-suave); text-align: center; }

.checkout__resumen { background: #fff; border: 1px solid var(--gris-borde); border-radius: 10px; padding: 20px; position: sticky; top: 100px; }
.checkout__resumen h3 { margin-bottom: 12px; }
.co-items { max-height: 280px; overflow-y: auto; }
.co-item { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--gris-borde); }
.co-item img { width: 48px; height: 48px; object-fit: contain; }
.co-item__txt { flex: 1; font-size: 12.5px; }
.co-item__txt b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.co-item__txt span { color: var(--texto-suave); }
.co-item__sub { font-weight: 700; font-size: 13px; }
.co-linea { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.co-linea .gratis { color: #2e7d32; }
.co-total { border-top: 2px solid var(--gris-borde); margin-top: 6px; font-size: 18px; font-weight: 800; }
.co-total b { color: var(--rojo); }

/* Procesando pago (spinner) */
.checkout-procesando { text-align: center; padding: 70px 20px; background: #fff; border: 1px solid var(--gris-borde); border-radius: 10px; margin: 20px 0; }
.checkout-procesando h1 { font-size: 24px; margin: 20px 0 8px; }
.checkout-procesando p { color: #555; }
.spinner { width: 60px; height: 60px; border: 6px solid var(--gris-borde); border-top-color: var(--rojo); border-radius: 50%; margin: 0 auto; animation: girar 0.9s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

/* Respuesta cruda del servidor */
.resp-titulo { font-size: 15px; margin: 18px 0 6px; }
.resp-servidor { background: #1e1e1e; color: #9cdcfe; text-align: left; padding: 14px; border-radius: 8px; font-size: 12.5px; overflow-x: auto; max-width: 560px; margin: 0 auto; white-space: pre-wrap; word-break: break-word; }

/* Confirmación / vacío */
.checkout-ok, .checkout-vacio { text-align: center; padding: 60px 20px; background: #fff; border: 1px solid var(--gris-borde); border-radius: 10px; margin: 20px 0; }
.checkout-ok h1 { font-size: 28px; margin: 14px 0 8px; }
.checkout-ok p, .checkout-vacio p { color: #555; margin: 4px 0; }
.checkout-ok .btn-ver-mas, .checkout-vacio .btn-ver-mas { display: inline-block; margin-top: 18px; }
.check-circ { width: 72px; height: 72px; border-radius: 50%; background: #2e7d32; color: #fff; font-size: 40px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }

/* Método de pago */
.metodo-pago { display: flex; gap: 12px; margin: 10px 0 16px; }
.metodo-pago__op { flex: 1; display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; border: 1.5px solid var(--gris-borde); border-radius: 10px; padding: 12px 14px; transition: border-color .15s, background .15s; }
.metodo-pago__op:has(input:checked) { border-color: #2e7d32; background: #f1f8f1; }
.metodo-pago__op input { accent-color: #2e7d32; }

/* Aviso QR dentro del formulario */
.qr-aviso { display: flex; gap: 12px; align-items: center; background: #f1f8f1; border: 1px solid #cde6cd; border-radius: 10px; padding: 14px 16px; margin: 4px 0 16px; }
.qr-aviso__ico { font-size: 28px; }
.qr-aviso p { margin: 0; font-size: 13.5px; color: #3a5a3a; line-height: 1.4; }

/* ===================== MODAL QR ===================== */
.qrm-overlay { position: fixed; inset: 0; background: rgba(20,25,30,.55); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 1000; opacity: 0; transition: opacity .25s; }
.qrm-overlay.abierto { opacity: 1; }
.qrm { background: #fff; border-radius: 16px; width: 100%; max-width: 720px; max-height: 92vh; overflow-y: auto; box-shadow: 0 24px 60px rgba(0,0,0,.3); transform: translateY(16px) scale(.98); transition: transform .25s; position: relative; }
.qrm-overlay.abierto .qrm { transform: translateY(0) scale(1); }
.qrm__cerrar { position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 30px; line-height: 1; color: #888; cursor: pointer; z-index: 2; }
.qrm__cerrar:hover { color: #222; }
.qrm__head { text-align: center; padding: 26px 28px 10px; }
.qrm__head h2 { font-size: 24px; margin: 0 0 6px; }
.qrm__head p { margin: 0; color: #666; font-size: 14px; }
.qrm__body { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 18px 28px; }
.qrm__qr { text-align: center; }
.qrm__qr img { width: 100%; max-width: 220px; border: 1px solid var(--gris-borde); border-radius: 12px; padding: 8px; background: #fff; }
.qrm__monto { display: block; margin-top: 10px; font-size: 22px; font-weight: 800; color: #2e7d32; }
.qrm__noqr { padding: 40px 12px; color: #d9534f; font-weight: 600; line-height: 1.6; border: 2px dashed #e3b6b6; border-radius: 12px; }
.qrm__resumen h3 { font-size: 16px; margin: 0 0 12px; }
.qrm__items { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; max-height: 140px; overflow-y: auto; }
.qrm__item { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: #444; }
.qrm__item em { color: #888; font-style: normal; }
.qrm__linea { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--gris-borde); font-size: 14px; }
.qrm__linea .gratis { color: #2e7d32; }
.qrm__total { font-size: 17px; font-weight: 800; border-top: 2px solid #222; }
.qrm__cliente { margin-top: 14px; background: #f7f8fa; border-radius: 10px; padding: 12px 14px; }
.qrm__cliente p { margin: 3px 0; font-size: 13px; color: #555; }
.qrm__cliente span { color: #999; }
.qrm__pie { padding: 8px 28px 26px; text-align: center; }
.qrm__nota { font-size: 13px; color: #777; margin: 0 0 14px; }
.qrm__confirmar { width: 100%; }
@media (max-width: 620px) {
  .qrm__body { grid-template-columns: 1fr; }
  .qrm__qr img { max-width: 200px; }
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 900px) {
  .acciones .accion span, .topbar { display: none; }
  .hero__titulo { font-size: 42px; }
  .hero__ahorro strong { font-size: 70px; }
  .pdp, .checkout { grid-template-columns: 1fr; }
}
