/* 0.46.3 — Navegación en dos filas compactas (Home, Samsung, /ofertas/).
   Fila 1: tiendas (scroll horizontal, una línea) + «Orden» fijo a la derecha. Fila 2: categorías (scroll horizontal, una línea). */
body .ctc-nav { box-sizing: border-box; margin: 0 0 8px; padding: 0; min-width: 0; }
body .ctc-nav *, body .ctc-nav *::before, body .ctc-nav *::after { box-sizing: border-box; }
body .ctc-nav-fila1 { display: flex; align-items: center; gap: 8px; }
body .ctc-nav-scroll { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; min-width: 0; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; scroll-behavior: auto; }
body .ctc-nav-scroll::-webkit-scrollbar { display: none; }
body .ctc-nav-tiendas { flex: 1 1 auto; padding: 2px 0; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 18px), transparent); }
body .ctc-nav-item { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 13px; border: 1px solid var(--ctc-borde, #e4e7ee); border-radius: 999px; background: #fff; color: var(--ctc-texto, #12141a); font-size: 13.5px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; }
body .ctc-nav-item:hover { border-color: var(--ctc-azul, #1428a0); color: var(--ctc-azul, #1428a0); }
body .ctc-nav-item.is-activo { background: var(--ctc-azul, #1428a0); border-color: var(--ctc-azul, #1428a0); color: #fff; }
body .ctc-nav a:focus-visible { outline: 2px solid var(--ctc-azul, #1428a0); outline-offset: 2px; }
/* fila 2: categorías, jerarquía distinta (más pequeñas, esquinas redondeadas) */
body .ctc-nav-fila2 { margin-bottom: 10px; }
body .ctc-nav-cats { width: 100%; padding: 2px 0; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 22px), transparent); }
body .ctc-nav-cat { height: 30px; padding: 0 12px; border-radius: 9px; border-color: transparent; background: #e2e6f6; color: #1b2150; font-size: 13px; font-weight: 600; }
body .ctc-nav-cat.is-activo { background: #fff; border-color: var(--ctc-azul, #1428a0); color: var(--ctc-azul, #1428a0); box-shadow: inset 0 0 0 1px var(--ctc-azul, #1428a0); }
/* «Orden»: botón fijo a la derecha; el <select> real queda encima (invisible) para abrir el menú nativo */
body .ctc-nav-orden { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; height: 36px; padding: 0 12px 0 32px; border: 1px solid var(--ctc-borde, #e4e7ee); border-radius: 10px; background: #fff; color: var(--ctc-texto, #12141a); font-size: 13.5px; font-weight: 600; cursor: pointer; }
body .ctc-nav-orden::after { display: none; }
body .ctc-nav-orden .ctc-home-orden-select { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; opacity: 0; cursor: pointer; }
body .ctc-nav-orden-txt { white-space: nowrap; }
body .ctc-nav-orden-val { display: none; }
@media (max-width: 429px) {
	body .ctc-nav-orden { width: 36px; padding: 0; justify-content: center; }
	body .ctc-nav-orden .ctc-home-orden-ico { left: 9px; }
	body .ctc-nav-orden-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (min-width: 1024px) {
	body .ctc-nav-orden-val { display: inline; }
	body .ctc-nav-item { height: 36px; padding: 0 16px; font-size: 14px; }
	body .ctc-nav-cat { height: 32px; }
	body .ctc-nav-fila1 { margin-bottom: 4px; }
}
body .ctc-nav-h1 { margin: 0; }

/* Directorio de cuponeras */
body .ctc-cupdir { padding-top: 12px; }
body .ctc-cupdir-titulo { margin: 4px 0 2px; font-size: 22px; line-height: 1.2; font-weight: 800; color: var(--ctc-texto, #12141a); }
body .ctc-cupdir-sub { margin: 0 0 12px; font-size: 14px; color: #5b5f6e; }
body .ctc-cupdir-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
body .ctc-cupdir-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid var(--ctc-borde, #e4e7ee); border-radius: 14px; color: var(--ctc-texto, #12141a); text-decoration: none; }
body .ctc-cupdir-item:hover { border-color: var(--ctc-azul, #1428a0); }
body .ctc-cupdir-nombre { font-size: 16px; font-weight: 800; color: var(--ctc-azul, #1428a0); }
body .ctc-cupdir-texto { grid-column: 1; font-size: 13px; color: #5b5f6e; }
body .ctc-cupdir-ir { grid-column: 2; grid-row: 1 / span 2; font-size: 24px; color: var(--ctc-azul, #1428a0); }
@media (min-width: 768px) { body .ctc-cupdir-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* «Orden» con texto entre 430 y 1023 px (anula la regla de solo icono de ≤479 px de la 0.46.0) */
@media (min-width: 430px) {
	body .ctc-nav-orden { width: auto; padding: 0 12px 0 32px; justify-content: flex-start; }
	body .ctc-nav-orden .ctc-home-orden-ico { left: 10px; }
}
/* Migas del listado: siguen en el HTML (SEO/lectores) pero en móvil no ocupan espacio; las ofertas empiezan más arriba */
@media (max-width: 1023px) {
	body .ctc-ofl .ctc-migas-nav { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
