/* Mutual Jaguar — estilos del sitio institucional.
   Estética de las piezas de comunicación: verde #0E4A47, dorado #C9A44C, Manrope y el trazo de esquina redondeada.
   Mobile first: las reglas base son las del celular; las media queries min-width solo agrandan. */

:root {
  --verde: #0E4A47;
  --verde-osc: #0A3634;
  --verde-medio: #155E5A;
  --verde-trazo: #1F625E;
  --verde-claro: #CFE3DE;
  --dorado: #C9A44C;
  --dorado-osc: #A9822C;
  --dorado-claro: #F3E8CC;
  --crema: #F6F3EC;
  --crema-osc: #E7E1D3;
  --blanco: #FFFFFF;
  --texto: #23403D;
  --texto-suave: #5B6F6C;
  --radio: 18px;
  --sombra: 0 10px 30px rgba(14, 74, 71, .10);
  --fuente: 'Manrope', Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--fuente); font-size: 16px; line-height: 1.6; color: var(--texto); background: var(--crema); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--verde); }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.12; letter-spacing: -.6px; color: var(--verde); }
p { margin: 0; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--dorado); outline-offset: 3px; }
.dorado { color: var(--dorado); }
.contenedor { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px 28px; border: 0; border-radius: 999px; font-family: var(--fuente); font-size: 16px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-dorado { background: var(--dorado); color: var(--verde); }
.btn-dorado:hover { background: #D6B464; }
.btn-verde { background: var(--verde); color: var(--blanco); }
.btn-verde:hover { background: var(--verde-medio); }
.btn-linea { background: transparent; color: var(--blanco); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.btn-linea-verde { background: transparent; color: var(--verde); box-shadow: inset 0 0 0 2px var(--verde); }
.btn-ancho { width: 100%; }
.etiqueta { display: inline-block; padding: 5px 14px; border-radius: 999px; background: rgba(201, 164, 76, .18); color: var(--dorado); font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }

/* ---------- Barra superior ---------- */
.barra-sup { background: var(--verde-osc); color: var(--verde-claro); font-size: 13px; }
.barra-sup .contenedor { display: flex; justify-content: center; gap: 18px; min-height: 36px; align-items: center; text-align: center; }
.barra-sup a { color: var(--blanco); font-weight: 700; text-decoration: none; }
.barra-sup .solo-escritorio { display: none; }

/* ---------- Encabezado ---------- */
.encabezado { position: sticky; top: 0; z-index: 50; background: var(--blanco); box-shadow: 0 1px 0 var(--crema-osc); }
.encabezado .contenedor { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.logo img { height: 38px; width: auto; }
.btn-menu { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--crema); cursor: pointer; }
.btn-menu span, .btn-menu span::before, .btn-menu span::after { content: ""; display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--verde); position: relative; transition: transform .2s; }
.btn-menu span::before { position: absolute; top: -7px; }
.btn-menu span::after { position: absolute; top: 7px; }
.btn-menu[aria-expanded="true"] span { background: transparent; }
.btn-menu[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.btn-menu[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.menu { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 106px); overflow: auto; padding: 8px 20px 24px; background: var(--blanco); box-shadow: var(--sombra); }
.menu.abierto { display: block; }
.menu > ul { list-style: none; margin: 0 0 16px; padding: 0; }
.menu > ul > li > a, .submenu > summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 2px; font-weight: 700; color: var(--verde); text-decoration: none; border-bottom: 1px solid var(--crema-osc); cursor: pointer; list-style: none; }
.submenu > summary::-webkit-details-marker { display: none; }
.submenu > summary::after { content: ""; width: 9px; height: 9px; border-right: 2.5px solid var(--dorado); border-bottom: 2.5px solid var(--dorado); transform: rotate(45deg); transition: transform .2s; margin-right: 6px; }
.submenu[open] > summary::after { transform: rotate(-135deg); }
.mega { padding: 6px 0 12px; }
.mega h4 { margin: 14px 0 6px; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--dorado-osc); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega a { display: block; padding: 8px 0; color: var(--texto); text-decoration: none; font-weight: 600; }
.mega a:hover { color: var(--verde); text-decoration: underline; }

/* ---------- Hero con carrusel ---------- */
.hero { position: relative; overflow: hidden; background: var(--verde); color: var(--blanco); }
/* Trazo de esquina redondeada de las piezas de comunicación */
.trazo { position: absolute; right: -60px; bottom: -60px; width: 260px; height: 220px; border: 14px solid var(--verde-trazo); border-right: 0; border-bottom: 0; border-radius: 46px 0 0 0; pointer-events: none; }
.carrusel { position: relative; z-index: 1; }
.slides { display: flex; transition: transform .5s ease; touch-action: pan-y; }
.slide { flex: 0 0 100%; padding: 44px 0 30px; }
.slide .contenedor { display: grid; gap: 28px; }
.slide h1, .slide .titulo-slide { margin: 14px 0 14px; color: var(--blanco); font-size: 40px; }
.slide .bajada { max-width: 560px; margin-bottom: 26px; color: var(--verde-claro); font-size: 18px; }
.slide .botones { display: flex; flex-wrap: wrap; gap: 12px; }
.slide-tarjeta { align-self: center; max-width: 380px; padding: 22px; border-radius: 22px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.slide-tarjeta li { display: flex; gap: 10px; padding: 8px 0; color: var(--blanco); font-weight: 600; }
.slide-tarjeta li::before { content: "✓"; flex: none; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--dorado); color: var(--verde); font-size: 13px; font-weight: 800; }
.slide-tarjeta ul { list-style: none; margin: 0; padding: 0; }
.puntos-carrusel { position: relative; z-index: 1; display: flex; gap: 10px; padding: 0 20px 26px; max-width: 1180px; margin: 0 auto; }
.puntos-carrusel button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .2s, background-color .2s; }
.puntos-carrusel button[aria-current="true"] { width: 30px; background: var(--dorado); }

/* ---------- Secciones ---------- */
.seccion { padding: 60px 0; }
.seccion-blanca { background: var(--blanco); }
.seccion-titulo { font-size: 30px; margin-bottom: 10px; }
.seccion-bajada { max-width: 620px; margin-bottom: 30px; color: var(--texto-suave); }
.centrado { text-align: center; }
.centrado .seccion-bajada { margin-left: auto; margin-right: auto; }

/* Accesos rápidos ("¿En qué podemos ayudarte?") */
.accesos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acceso { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; border-radius: var(--radio); background: var(--blanco); box-shadow: var(--sombra); text-decoration: none; color: var(--texto); transition: transform .15s; }
.acceso:hover { transform: translateY(-3px); }
.acceso .icono { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--verde); color: var(--dorado); }
.acceso .icono svg { width: 26px; height: 26px; }
.acceso h3 { font-size: 16px; }
.acceso p { font-size: 13px; color: var(--texto-suave); line-height: 1.45; }

/* Grilla de servicios ("Tu cuota es una inversión") */
.grilla-servicios { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.servicio-mini { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--crema); color: var(--verde); font-weight: 700; font-size: 14px; line-height: 1.3; text-decoration: none; }
.servicio-mini:hover { background: var(--dorado-claro); }
.servicio-mini svg { flex: none; width: 26px; height: 26px; color: var(--dorado-osc); }

/* Banda verde */
.banda { position: relative; overflow: hidden; padding: 40px 24px; border-radius: 26px; background: var(--verde); color: var(--blanco); }
.banda .trazo { width: 200px; height: 170px; border-width: 12px; }
.banda > *:not(.trazo) { position: relative; z-index: 1; }
.banda h2 { color: var(--blanco); font-size: 28px; margin: 12px 0 10px; }
.banda p { color: var(--verde-claro); margin-bottom: 24px; max-width: 560px; }
.banda .botones { display: flex; flex-wrap: wrap; gap: 12px; }

/* Canales de atención */
.canales { display: grid; gap: 12px; }
.canal { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radio); background: var(--blanco); box-shadow: var(--sombra); }
.canal .icono { flex: none; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--dorado-claro); color: var(--verde); }
.canal .icono svg { width: 24px; height: 24px; }
.canal h3 { font-size: 16px; margin-bottom: 2px; }
.canal p { font-size: 14px; color: var(--texto-suave); word-break: break-word; }
.canal a { font-weight: 700; }

/* Botones legales (baja y arrepentimiento) */
.tramites { display: grid; gap: 12px; }
.tramite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 22px; border-radius: var(--radio); background: var(--blanco); box-shadow: inset 0 0 0 2px var(--crema-osc); }
.tramite h3 { font-size: 17px; }
.tramite p { font-size: 14px; color: var(--texto-suave); }

/* ---------- Página de servicios ---------- */
.cabecera-pagina { position: relative; overflow: hidden; padding: 44px 0 40px; background: var(--verde); color: var(--blanco); }
.cabecera-pagina h1 { color: var(--blanco); font-size: 36px; margin: 12px 0 10px; }
.cabecera-pagina p { color: var(--verde-claro); max-width: 640px; }
.cabecera-pagina .contenedor { position: relative; z-index: 1; }
/* Trazo de esquina a la medida de la cabecera (más baja que el hero): se ve la curva completa, no solo una franja */
.cabecera-pagina .trazo { width: 220px; height: 120px; right: -30px; bottom: -34px; border-width: 14px; border-radius: 44px 0 0 0; }
@media (min-width: 1000px) {
  .cabecera-pagina .trazo { width: 340px; height: 150px; right: -20px; bottom: -40px; border-width: 18px; border-radius: 60px 0 0 0; }
}
.chips { position: sticky; top: 70px; z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding: 12px 20px; background: var(--crema); border-bottom: 1px solid var(--crema-osc); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; padding: 8px 16px; border-radius: 999px; background: var(--blanco); color: var(--verde); font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: inset 0 0 0 1px var(--crema-osc); }
.chips a:hover { background: var(--verde); color: var(--blanco); }
.categoria { padding: 40px 0 10px; }
.categoria > h2 { font-size: 26px; margin-bottom: 18px; }
.servicios-lista { display: grid; gap: 14px; }
.servicio { display: flex; flex-direction: column; gap: 12px; padding: 24px 22px; border-radius: var(--radio); background: var(--blanco); box-shadow: var(--sombra); scroll-margin-top: 140px; }
.servicio .cab { display: flex; align-items: center; gap: 14px; }
.servicio .icono { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 15px; background: var(--verde); color: var(--dorado); }
.servicio .icono svg { width: 28px; height: 28px; }
.servicio h3 { font-size: 20px; }
.servicio .resumen { font-weight: 700; color: var(--texto); }
.servicio .detalle { color: var(--texto-suave); font-size: 15px; }
.servicio ul { margin: 0; padding: 0; list-style: none; }
.servicio li { position: relative; padding: 4px 0 4px 22px; font-size: 14px; }
.servicio li::before { content: "●"; position: absolute; left: 2px; color: var(--dorado); font-size: 11px; top: 7px; }
.servicio .acciones { margin-top: auto; padding-top: 6px; }
.servicio.destacado { box-shadow: inset 0 0 0 2px var(--dorado), var(--sombra); }

/* ---------- Formularios ---------- */
.form-caja { padding: 26px 20px; border-radius: 22px; background: var(--blanco); box-shadow: var(--sombra); }
.form { display: grid; gap: 14px; }
.campo { display: grid; gap: 6px; }
.campo label { font-size: 14px; font-weight: 700; color: var(--verde); }
.campo input, .campo select, .campo textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 2px solid var(--crema-osc); border-radius: 14px; background: var(--blanco); font-family: var(--fuente); font-size: 16px; color: var(--texto); }
.campo textarea { min-height: 110px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--verde); outline: none; }
.campo.con-error input, .campo.con-error select, .campo.con-error textarea { border-color: #B3261E; }
.campo .error { display: none; font-size: 13px; color: #B3261E; }
.campo.con-error .error { display: block; }
.aviso-form { font-size: 13px; color: var(--texto-suave); }
.dos-col { display: grid; gap: 24px; }
.beneficios-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.beneficios-lista li { display: flex; gap: 12px; }
.beneficios-lista li::before { content: "✓"; flex: none; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--verde); color: var(--dorado); font-size: 13px; font-weight: 800; }

/* ---------- Páginas de texto ---------- */
.texto { max-width: 820px; }
.texto h2 { font-size: 22px; margin: 30px 0 10px; }
.texto p, .texto li { margin-bottom: 10px; }
.recuadro { margin: 22px 0; padding: 22px; border-radius: var(--radio); background: var(--blanco); box-shadow: var(--sombra); }
.reglamentos { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.reglamentos li { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--blanco); font-weight: 600; }
.reglamentos li span { color: var(--dorado-osc); font-weight: 800; }

/* ---------- Pie ---------- */
.pie { padding: 48px 0 28px; background: var(--verde-osc); color: #A9C4BF; font-size: 14px; }
.pie .logo img { height: 40px; width: auto; }
.pie-grilla { display: grid; gap: 28px; margin-bottom: 30px; }
.pie .lema { margin-top: 12px; color: var(--blanco); font-weight: 700; }
.pie h4 { margin: 0 0 12px; color: var(--dorado); font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; }
.pie ul { list-style: none; margin: 0; padding: 0; }
.pie li { margin-bottom: 8px; }
.pie a { color: #D7E6E3; text-decoration: none; }
.pie a:hover { color: var(--blanco); text-decoration: underline; }
.pie-legal { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; line-height: 1.65; }
.pie-legal p { margin-bottom: 8px; }
.pie-legal strong { color: var(--blanco); }

.wsp-flotante { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: var(--dorado); color: var(--verde); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.wsp-flotante svg { width: 30px; height: 30px; }

.aparecer { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.aparecer.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aparecer { opacity: 1; transform: none; transition: none; }
  .slides { transition: none; }
}

/* ======================================================
   Tablet
   ====================================================== */
@media (min-width: 640px) {
  .contenedor { padding: 0 32px; }
  .barra-sup .solo-escritorio { display: inline; }
  .slide h1, .slide .titulo-slide { font-size: 54px; }
  .trazo { width: 380px; height: 300px; border-width: 18px; right: -40px; bottom: -40px; border-radius: 60px 0 0 0; }
  .accesos { grid-template-columns: repeat(3, 1fr); }
  .grilla-servicios { grid-template-columns: repeat(3, 1fr); }
  .canales { grid-template-columns: 1fr 1fr; }
  .tramites { grid-template-columns: 1fr 1fr; }
  .servicios-lista { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr 1fr; }
  .form .ancho-total { grid-column: 1 / -1; }
  .pie-grilla { grid-template-columns: 1fr 1fr; }
  .banda { padding: 56px 48px; }
  .banda h2 { font-size: 36px; }
  .seccion-titulo { font-size: 38px; }
  .cabecera-pagina h1 { font-size: 46px; }
  .chips { padding: 12px 32px; }
}

/* ======================================================
   Escritorio
   ====================================================== */
@media (min-width: 1000px) {
  .btn-menu { display: none; }
  .menu { display: flex !important; position: static; align-items: center; gap: 26px; max-height: none; overflow: visible; padding: 0; box-shadow: none; }
  .menu > ul { display: flex; align-items: center; gap: 24px; margin: 0; }
  /* El menú de servicios se ubica respecto del ancho del encabezado (no del ítem) para no salirse de la pantalla */
  .encabezado .contenedor { position: relative; }
  .menu > ul > li { position: static; }
  .menu > ul > li > a, .submenu > summary { padding: 8px 0; border: 0; font-size: 15px; white-space: nowrap; }
  .menu > ul > li > a:hover { text-decoration: underline; text-underline-offset: 6px; }
  .submenu > summary::after { margin: 0 0 4px 10px; width: 7px; height: 7px; }
  .mega { position: absolute; top: calc(100% - 4px); left: 32px; right: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 26px; padding: 22px 28px 24px; border-radius: 20px; background: var(--blanco); box-shadow: 0 20px 50px rgba(14, 74, 71, .18); }
  .mega h4 { margin-top: 0; }
  .menu .btn { min-height: 46px; padding: 10px 24px; white-space: nowrap; }

  .slide { padding: 80px 0 50px; }
  .slide .contenedor { grid-template-columns: 1.3fr .7fr; align-items: center; gap: 56px; }
  .slide h1, .slide .titulo-slide { font-size: 68px; }
  .slide .bajada { font-size: 20px; }
  .trazo { width: 520px; height: 380px; border-width: 22px; border-radius: 80px 0 0 0; }

  .seccion { padding: 90px 0; }
  .accesos { grid-template-columns: repeat(6, 1fr); }
  .grilla-servicios { grid-template-columns: repeat(4, 1fr); }
  .canales { grid-template-columns: repeat(4, 1fr); }
  .servicios-lista { grid-template-columns: repeat(3, 1fr); }
  .dos-col { grid-template-columns: 1fr 1.1fr; align-items: start; gap: 48px; }
  .pie-grilla { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .chips { justify-content: center; }
}

/* ======================================================
   Proveeduría (catálogo con precios para asociados)
   ====================================================== */
.solo-lectores { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.aviso-precios { background: var(--dorado-claro); border-bottom: 1px solid #E8D9AE; }
.aviso-precios .contenedor { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.aviso-precios p { color: var(--verde); font-size: 15px; }
.aviso-precios .btn { min-height: 44px; padding: 10px 22px; }
.aviso-precios[hidden] { display: none; }

.catalogo { padding: 28px 0 64px; scroll-margin-top: 80px; }
.catalogo-barra { display: grid; gap: 14px; margin-bottom: 22px; }
.buscador { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border: 2px solid var(--crema-osc); border-radius: 999px; background: var(--blanco); color: var(--texto-suave); }
.buscador:focus-within { border-color: var(--verde); }
.buscador svg { width: 20px; height: 20px; flex: none; }
.buscador input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font-family: var(--fuente); font-size: 16px; color: var(--texto); outline: none; }
.filtros { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.filtros::-webkit-scrollbar { display: none; }
.filtros button { flex: none; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--blanco); box-shadow: inset 0 0 0 1px var(--crema-osc); font-family: var(--fuente); font-size: 14px; font-weight: 700; color: var(--verde); cursor: pointer; }
.filtros button[aria-pressed="true"] { background: var(--verde); color: var(--blanco); box-shadow: none; }
.catalogo-estado { padding: 30px 0; text-align: center; color: var(--texto-suave); }
.catalogo-estado[hidden] { display: none; }

.productos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.producto { position: relative; display: flex; flex-direction: column; padding: 16px 14px; border-radius: var(--radio); background: var(--blanco); box-shadow: var(--sombra); }
.producto-destacado { box-shadow: inset 0 0 0 2px var(--dorado), var(--sombra); }
.cinta { position: absolute; top: 12px; right: 12px; padding: 3px 10px; border-radius: 999px; background: var(--dorado); color: var(--verde); font-size: 11px; font-weight: 800; }
.producto-icono { display: flex; align-items: center; justify-content: center; height: 92px; margin-bottom: 12px; border-radius: 14px; background: var(--crema); color: var(--verde); }
.producto-icono svg { width: 46px; height: 46px; }
.producto-cat { font-size: 11.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--dorado-osc); }
.producto h3 { margin: 4px 0 2px; font-size: 16px; line-height: 1.25; }
.producto-pres { margin-bottom: 12px; font-size: 13px; color: var(--texto-suave); }
.precio { margin-top: auto; margin-bottom: 12px; }
.precio b { display: block; font-size: 22px; font-weight: 800; color: var(--verde); letter-spacing: -.3px; }
.precio .plaza { font-size: 13px; color: var(--texto-suave); text-decoration: line-through; }
.precio small { display: block; font-size: 12px; font-weight: 600; color: var(--dorado-osc); }
.precio-oculto b { color: var(--crema-osc); letter-spacing: 2px; }
.producto .btn { min-height: 44px; padding: 10px 12px; font-size: 14px; }
.solo-ancho { display: none; }

.pasos-compra { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pasos-compra li { display: flex; gap: 16px; padding: 20px; border-radius: var(--radio); background: var(--crema); }
.pasos-compra li > span { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--verde); color: var(--dorado); font-weight: 800; font-size: 18px; }
.pasos-compra h3 { font-size: 17px; margin-bottom: 4px; }
.pasos-compra p { font-size: 14.5px; color: var(--texto-suave); }

@media (min-width: 640px) {
  .catalogo-barra { grid-template-columns: minmax(260px, 360px) 1fr; align-items: center; }
  .productos { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .producto { padding: 20px; }
  .solo-ancho { display: inline; }
  .pasos-compra { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .productos { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Carrito y checkout de la Proveeduría ---------- */
.cantidad { display: flex; align-items: center; justify-content: space-between; height: 44px; border-radius: 999px; background: var(--verde); color: var(--blanco); }
.cantidad button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--blanco); font-family: var(--fuente); font-size: 22px; font-weight: 700; line-height: 1; cursor: pointer; }
.cantidad button:hover { background: rgba(255, 255, 255, .12); }
.cantidad span { font-weight: 800; font-size: 16px; }
.cantidad-chica { width: 120px; height: 36px; margin-top: 8px; }
.cantidad-chica button { width: 36px; height: 36px; font-size: 19px; }

.barra-carrito { position: fixed; left: 16px; right: 86px; bottom: 16px; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 58px; padding: 0 20px; border-radius: 999px; background: var(--verde); color: var(--blanco); font-size: 14.5px; text-decoration: none; box-shadow: 0 10px 30px rgba(14, 74, 71, .35); }
.barra-carrito b { color: var(--dorado); }
.barra-carrito[hidden] { display: none; }

.modal-tienda { position: fixed; inset: 0; z-index: 150; display: flex; align-items: flex-end; justify-content: center; background: rgba(10, 54, 52, .55); }
.modal-tienda[hidden] { display: none; }
.modal-tienda-caja { display: flex; flex-direction: column; width: 100%; max-height: 92vh; border-radius: 24px 24px 0 0; background: var(--blanco); }
.modal-tienda-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--crema-osc); }
.modal-tienda-cab h2 { font-size: 21px; }
.modal-tienda-cerrar { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--crema); color: var(--verde); font-size: 22px; line-height: 1; cursor: pointer; }
.vista-tienda { display: flex; flex-direction: column; min-height: 0; overflow: auto; padding: 16px 20px 20px; }
.vista-tienda[hidden] { display: none; }
.modal-tienda-pie { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.modal-tienda-pie .btn { min-height: 48px; padding: 10px 14px; font-size: 15px; }
.modal-tienda-pie .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.carrito-lineas { display: grid; gap: 4px; }
.carrito-vacio { padding: 28px 0; text-align: center; color: var(--texto-suave); }
.linea { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--crema-osc); }
.linea-icono { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: var(--crema); color: var(--verde); }
.linea-icono svg { width: 28px; height: 28px; }
.linea-datos b { display: block; font-size: 15px; color: var(--verde); line-height: 1.3; }
.linea-datos small { font-size: 12.5px; color: var(--texto-suave); }
.linea-subtotal { display: grid; justify-items: end; gap: 6px; }
.linea-subtotal b { font-size: 15.5px; color: var(--verde); }
.quitar { border: 0; background: none; font-family: var(--fuente); font-size: 13px; font-weight: 700; color: var(--dorado-osc); text-decoration: underline; cursor: pointer; }
.carrito-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; font-size: 16px; font-weight: 700; color: var(--verde); }
.carrito-total b { font-size: 24px; font-weight: 800; }

.resumen-pedido { padding: 14px 16px; border-radius: 14px; background: var(--crema); font-size: 14.5px; }
.resumen-linea { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.resumen-linea span:last-child { flex: none; white-space: nowrap; }
.resumen-total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--crema-osc); font-weight: 800; font-size: 16px; color: var(--verde); }
.opciones-pago { display: grid; gap: 8px; margin: 16px 0 12px; padding: 0; border: 0; }
.opciones-pago legend { margin-bottom: 8px; font-size: 14px; font-weight: 800; color: var(--verde); }
.opciones-pago label { position: relative; display: block; cursor: pointer; }
.opciones-pago input { position: absolute; opacity: 0; }
.opciones-pago span { display: block; padding: 12px 16px; border: 2px solid var(--crema-osc); border-radius: 14px; }
.opciones-pago b { display: block; color: var(--verde); }
.opciones-pago small { font-size: 13px; color: var(--texto-suave); }
.opciones-pago input:checked + span { border-color: var(--verde); background: #F1F7F5; }
.opciones-pago input:focus-visible + span { outline: 3px solid var(--dorado); outline-offset: 2px; }
.entrega { margin-bottom: 12px; padding: 12px 16px; border-radius: 14px; background: var(--dorado-claro); font-size: 14px; color: var(--verde); }
.error-tienda { min-height: 18px; margin-top: 6px; font-size: 14px; font-weight: 600; color: #B3261E; }
.vista-listo { align-items: center; text-align: center; }
.listo-icono { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 8px 0 14px; border-radius: 50%; background: var(--verde); color: var(--dorado); font-size: 30px; font-weight: 800; }
.vista-listo h3 { font-size: 22px; margin-bottom: 8px; }
.vista-listo p { color: var(--texto-suave); }
.vista-listo .modal-tienda-pie { width: 100%; }

@media (min-width: 640px) {
  .modal-tienda { align-items: center; padding: 24px; }
  .modal-tienda-caja { max-width: 560px; border-radius: 24px; }
  .barra-carrito { left: auto; right: 90px; width: 360px; }
}

/* ---------- Mis pedidos y Mis compras ---------- */
.pestanas-cuenta { display: flex; gap: 6px; margin-bottom: 18px; border-bottom: 1px solid var(--crema-osc); }
.pestanas-cuenta a { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 3px solid transparent; font-weight: 800; color: var(--texto-suave); text-decoration: none; }
.pestanas-cuenta a.activa { border-color: var(--dorado); color: var(--verde); }
.cuenta-n:empty { display: none; }
.cuenta-n { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--crema-osc); font-size: 12px; text-align: center; color: var(--verde); }
.lista-pedidos { display: grid; gap: 12px; }
.pedido { padding: 18px 18px 16px; border-radius: var(--radio); background: var(--blanco); box-shadow: var(--sombra); }
.pedido-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pedido-cab b { font-size: 16.5px; color: var(--verde); }
.pedido-datos { margin-top: 4px; font-size: 13.5px; color: var(--texto-suave); }
.pedido-total { margin: 6px 0 12px; font-size: 22px; font-weight: 800; color: var(--verde); }
.pedido-acciones { display: flex; flex-wrap: wrap; gap: 8px; }
.pedido-acciones .btn { min-height: 42px; padding: 8px 18px; font-size: 14px; }
.btn-quitar { background: transparent; color: #9B2C2C; box-shadow: inset 0 0 0 2px #E8C9C9; }
.estado { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.estado-pendiente { background: #FFF4D6; color: #8A6413; }
.estado-confirmado { background: #E1EEFB; color: #1F4E79; }
.estado-listo-para-retirar { background: #DDF2E5; color: #1C6B3C; }
.estado-entregado { background: var(--crema-osc); color: var(--verde); }
.estado-cancelado { background: #F6E1E1; color: #9B2C2C; }
.pedido-ficha { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 16px 0; font-size: 14.5px; }
.pedido-ficha dt { font-weight: 800; color: var(--verde); }
.pedido-ficha dd { margin: 0; color: var(--texto); }
.historial-tit { font-size: 16px; margin-bottom: 8px; }
.historial { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--crema-osc); }
.historial li { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 6px 0 6px 10px; font-size: 14px; }
.historial li::before { content: ""; position: absolute; left: -21px; top: 11px; width: 12px; height: 12px; border-radius: 50%; background: var(--dorado); }
.historial span { color: var(--texto-suave); }
@media (min-width: 760px) {
  .pedido { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 20px; }
  .pedido-total { grid-column: 2; grid-row: 1 / span 2; margin: 0; text-align: right; }
  .pedido-acciones { grid-column: 1 / -1; margin-top: 8px; }
}

/* ---------- Crédito para pagar compras en cuotas ---------- */
.estado-credito-sin-solicitar { background: #F3E8FF; color: #6B2FA3; }
.estado-pendiente-de-aprobacion-crediticia { background: #FFE8D6; color: #9A4A0E; }
.estado-en-evaluacion { background: #FFE8D6; color: #9A4A0E; }
.estado-aprobado { background: #DDF2E5; color: #1C6B3C; }
.estado-rechazado { background: #F6E1E1; color: #9B2C2C; }
.historial li > div small { display: block; font-size: 12.5px; color: var(--texto-suave); }

.credito-grilla { display: grid; gap: 16px; }
.credito-grilla[hidden] { display: none; }
.credito-caja { margin-bottom: 16px; padding: 22px 20px; border-radius: var(--radio); background: var(--blanco); box-shadow: var(--sombra); }
.credito-caja h2 { font-size: 19px; margin-bottom: 14px; }
.credito-armado { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; margin: 0; font-size: 15px; }
.credito-armado dt small { font-weight: 500; color: var(--texto-suave); }
.credito-armado dd { margin: 0; text-align: right; font-weight: 700; white-space: nowrap; color: var(--verde); }
.credito-armado .neto { padding-top: 10px; border-top: 1px solid var(--crema-osc); font-size: 17px; font-weight: 800; color: var(--verde); }
.credito-nota { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--dorado-claro); font-size: 13.5px; color: var(--verde); }

.cuotas-opciones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.cuotas-opciones button { display: grid; justify-items: center; gap: 0; padding: 12px 6px; border: 2px solid var(--crema-osc); border-radius: 14px; background: var(--blanco); font-family: var(--fuente); color: var(--verde); cursor: pointer; }
.cuotas-opciones button b { font-size: 24px; font-weight: 800; line-height: 1.1; }
.cuotas-opciones button span { font-size: 12.5px; color: var(--texto-suave); }
.cuotas-opciones button[aria-checked="true"] { border-color: var(--verde); background: var(--verde); }
.cuotas-opciones button[aria-checked="true"] b, .cuotas-opciones button[aria-checked="true"] span { color: var(--blanco); }
.credito-resultado { margin-bottom: 18px; padding: 18px; border-radius: 16px; background: var(--verde); color: var(--blanco); text-align: center; }
.credito-resultado[hidden] { display: none; }
.cr-cuota-tit { color: var(--verde-claro); font-size: 15px; }
.cr-cuota { margin: 2px 0 14px; font-size: 38px; font-weight: 800; color: var(--dorado); letter-spacing: -.5px; }
.cr-tasas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; text-align: left; }
.cr-tasas div { padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .08); }
.cr-tasas span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--verde-claro); }
.cr-tasas b { font-size: 15px; color: var(--blanco); }
/* El CFT va más destacado que la TNA */
.cr-tasas .cr-cft { grid-column: 1 / -1; background: rgba(201, 164, 76, .22); }
.cr-tasas .cr-cft b { font-size: 22px; color: var(--dorado); }
.credito-placeholder { margin-bottom: 18px; padding: 20px; border: 2px dashed var(--crema-osc); border-radius: 16px; text-align: center; color: var(--texto-suave); }
.credito-placeholder[hidden] { display: none; }
.credito-elegir .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.credito-legal { margin-top: 14px; font-size: 12px; line-height: 1.55; color: var(--texto-suave); }
.acepto { display: flex; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--texto); cursor: pointer; }
.acepto input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--verde); }
.credito-ficha { margin: 4px 0 14px; padding: 14px 16px; border-radius: 14px; background: #F1F7F5; font-size: 14px; }
.credito-ficha p { margin-top: 6px; }
@media (min-width: 900px) {
  .credito-grilla { grid-template-columns: 1fr 1fr; align-items: start; gap: 24px; }
  .credito-elegir { position: sticky; top: 96px; }
  .cuotas-opciones { grid-template-columns: repeat(6, 1fr); }
}
/* ---------- Checkout: pasos, entrega y pago ---------- */
.pasos-checkout { display: flex; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; counter-reset: paso; }
.pasos-checkout li { flex: 1; padding: 6px 4px; border-bottom: 3px solid var(--crema-osc); font-size: 12.5px; font-weight: 700; text-align: center; color: var(--texto-suave); counter-increment: paso; }
.pasos-checkout li::before { content: counter(paso) ". "; }
.pasos-checkout li.hecho { border-color: var(--dorado); color: var(--verde); }
.pasos-checkout li.actual { border-color: var(--verde); color: var(--verde); }
.modalidades { grid-template-columns: 1fr 1fr; }
.modalidades legend { grid-column: 1 / -1; }
.etiqueta-campo { font-size: 14px; font-weight: 700; color: var(--verde); }
.vista-tienda > .campo, .bloque-domicilio, .bloque-recibe { margin-top: 14px; }
.chips-fecha, .chips-franja, .chips-montos { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
.chips-franja, .chips-montos { flex-wrap: wrap; overflow: visible; }
.chips-fecha button, .chips-franja button, .chips-montos button { flex: none; min-height: 44px; padding: 8px 14px; border: 2px solid var(--crema-osc); border-radius: 12px; background: var(--blanco); font-family: var(--fuente); font-size: 14px; font-weight: 700; color: var(--verde); cursor: pointer; }
.chips-fecha button { display: grid; justify-items: center; min-width: 74px; line-height: 1.2; }
.chips-fecha button small, .chips-franja button small { display: block; font-size: 11.5px; font-weight: 600; color: var(--texto-suave); }
.chips-fecha button[aria-checked="true"], .chips-franja button[aria-checked="true"] { border-color: var(--verde); background: var(--verde); color: var(--blanco); }
.chips-fecha button[aria-checked="true"] small, .chips-franja button[aria-checked="true"] small { color: var(--dorado-claro); }
.chips-fecha button:disabled, .chips-franja button:disabled { opacity: .45; cursor: not-allowed; }
.chips-montos { margin: 10px 0 4px; }
.chips-montos button:hover { border-color: var(--verde); }
.bloque-domicilio, .bloque-recibe { display: grid; gap: 12px; padding: 0; border: 0; min-width: 0; }
.bloque-domicilio legend, .bloque-recibe legend { margin-bottom: 8px; font-size: 14px; font-weight: 800; color: var(--verde); }
.bloque-domicilio[hidden], #ent-otra-persona[hidden], #cr-efectivo[hidden] { display: none; }
.dos-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dos-campos .campo-ancho { grid-column: 1 / -1; }
.opciones-recibe { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.opciones-recibe label { position: relative; cursor: pointer; }
.opciones-recibe input { position: absolute; opacity: 0; }
.opciones-recibe span { display: block; padding: 11px 12px; border: 2px solid var(--crema-osc); border-radius: 12px; font-size: 14.5px; font-weight: 700; text-align: center; color: var(--verde); }
.opciones-recibe input:checked + span { border-color: var(--verde); background: #F1F7F5; }
.opciones-recibe input:focus-visible + span { outline: 3px solid var(--dorado); outline-offset: 2px; }
.resumen-entrega { display: grid; gap: 2px; padding: 12px 16px; border: 2px dashed var(--crema-osc); border-radius: 14px; font-size: 14px; }
.resumen-entrega b { color: var(--verde); }
.resumen-entrega button { justify-self: start; margin-top: 4px; padding: 0; border: 0; background: none; font-family: var(--fuente); font-size: 13.5px; font-weight: 700; color: var(--dorado-osc); text-decoration: underline; cursor: pointer; }
.etiqueta-descuento { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--dorado); font-size: 12px; font-style: normal; font-weight: 800; color: var(--verde); vertical-align: 1px; }
.etiqueta-descuento:empty { display: none; }
.resumen-descuento span:last-child { color: #1C6B3C; font-weight: 700; }
.resumen-total { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--crema-osc); font-weight: 800; color: var(--verde); }

/* ---------- Ficha del producto: cuotas y efectivo ---------- */
.precio-cuotas { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 700; color: var(--verde); }
.precio-efectivo { display: block; font-size: 12.5px; font-weight: 600; color: #1C6B3C; }

/* ---------- Landing del crédito: efectivo y liquidación ---------- */
.ayuda-campo { font-size: 12.5px; color: var(--texto-suave); }
.ayuda-campo.con-error { color: #B3261E; font-weight: 600; }
#cr-cbu.con-error { border-color: #B3261E; }
#cr-efectivo { display: grid; gap: 12px; }
.credito-armado-chico { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--crema-osc); font-size: 13.5px; }
.credito-armado-chico dd { font-weight: 600; }

.estado-en-camino { background: #E0F2F1; color: #00695C; }

/* Checkout: los botones de cada paso quedan siempre a la vista al final del popup */
.modal-tienda-caja { max-height: 92dvh; }
.vista-tienda > .modal-tienda-pie { position: sticky; bottom: -20px; z-index: 2; margin: 16px -20px -20px; padding: 12px 20px 20px; border-top: 1px solid var(--crema-osc); background: var(--blanco); }
.btn-texto { margin-top: 10px; padding: 6px 0; border: 0; background: none; font-family: var(--fuente); font-size: 14px; font-weight: 700; color: var(--dorado-osc); text-decoration: underline; cursor: pointer; text-align: left; }
#cr-error:empty { min-height: 0; margin: 0; }
.pedido-total small { display: block; font-size: 12.5px; font-weight: 600; color: var(--texto-suave); }
