
    .img-container {
        aspect-ratio: 1 / 1;
        width: 100%;
        overflow: hidden;
        background-color: #f4f4f4;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }
    .img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.tipo-carrusel {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 560px;
    margin: 0 auto;
}

.tc-ventana {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tc-ventana::-webkit-scrollbar { display: none; }

.tc-pista { display: flex; }

.tc-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    font-size: 17px;
    font-weight: 700;
    padding: 13px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tc-flecha {
    flex: 0 0 auto;
    background: none;
    border: none;
    font-size: 30px;
    line-height: 1;
    padding: 0 8px;
    cursor: pointer;
    color: var(--reparo-orange, #ff6b1a);
}

.tc-flecha:hover { opacity: .7; }

.tc-puntos {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.tc-punto {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: var(--border-color, #ccc);
    cursor: pointer;
}

.tc-punto.activo {
    width: 9px;
    height: 9px;
    background: var(--reparo-orange, #ff6b1a);
}


:root {
    --rs-fondo: #f5f6f8;
    --rs-panel: #ffffff;
    --rs-tarjeta: #ffffff;
    --rs-borde: #e3e6ea;
    --rs-texto: #1f2328;
    --rs-foto: #eef0f3;
    --rs-sombra: 0 1px 2px rgba(16, 24, 40, .06), 0 2px 8px rgba(16, 24, 40, .06);
    --rs-sombra-hover: 0 6px 18px rgba(16, 24, 40, .12);
}
html.dark-mode {
    --rs-fondo: #0b0d10;
    --rs-panel: #0b0d10;
    --rs-tarjeta: #16191e;
    --rs-borde: #2a2f37;
    --rs-texto: #e8eaed;
    --rs-foto: #1f232a;
    --rs-sombra: 0 1px 2px rgba(0, 0, 0, .5);
    --rs-sombra-hover: 0 6px 20px rgba(0, 0, 0, .6);
}

html body,
html.dark-mode body {
    background-image: none !important;
    background-color: var(--rs-fondo) !important;
    color: var(--rs-texto) !important;
}
html body .navbar {
    background-color: var(--rs-panel) !important;
    border-bottom: 1px solid var(--rs-borde) !important;
}
html body #wizard-container {
    background-color: var(--rs-panel) !important;
    color: var(--rs-texto) !important;
    border: 1px solid var(--rs-borde);
    box-shadow: var(--rs-sombra);
}
html body .category-tile {
    background-color: var(--rs-tarjeta) !important;
    border: 1px solid var(--rs-borde) !important;
    color: var(--rs-texto) !important;
    box-shadow: var(--rs-sombra);
    border-radius: 12px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
html body .category-tile:hover {
    transform: translateY(-2px);
    box-shadow: var(--rs-sombra-hover);
    border-color: var(--reparo-orange, #ff6b1a) !important;
}
html body .category-tile > div:last-child { font-weight: 600 !important; }
html body .img-container { background-color: var(--rs-foto); }
html body #botones-filtro .btn-outline { background-color: var(--rs-tarjeta) !important; }
html body .tc-punto { background: var(--rs-borde); }
html body .tc-punto.activo { background: var(--reparo-orange, #ff6b1a); }

#wizard-container { padding: clamp(14px, 2.5vw, 26px) !important; border-radius: 20px !important; }

.catalogo-hero {
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    gap: 18px 28px;
    margin: 4px 0 18px;
    padding: clamp(18px, 3vw, 30px);
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(135deg, #FF8A3D 0%, #FF6B1A 42%, #D9480F 100%);
    box-shadow: 0 14px 34px rgba(255, 107, 26, .28);
    position: relative;
    clip-path: inset(0 round 22px);
}
.catalogo-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .12;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 6.5 11 12l-5.5 5.5'/%3E%3Cpath d='M12.5 6.5 18 12l-5.5 5.5'/%3E%3C/svg%3E") right -30px bottom -40px / 220px 220px no-repeat;
    pointer-events: none;
}
html.dark-mode .catalogo-hero { box-shadow: 0 14px 34px rgba(0, 0, 0, .5); }
.ch-etiqueta {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .2);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .02em;
}
.catalogo-hero h1 { margin: 10px 0 6px; font-size: clamp(26px, 4vw, 38px); line-height: 1.1; color: #fff; }
.catalogo-hero p { margin: 0; font-size: 15px; opacity: .95; max-width: 460px; }
.ch-buscador {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px 6px 16px;
    border-radius: 16px;
    background: #fff;
    color: #6B7280;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}
html.dark-mode .ch-buscador { background: #14171C; color: #9AA1AC; }
.ch-buscador input {
    flex: 1;
    min-width: 0;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 11px 4px !important;
    font-size: 15.5px;
}
.ch-buscador input::-webkit-search-cancel-button { display: none; }
.ch-limpiar {
    border: none;
    background: #F3F4F6;
    color: #374151;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
}
html.dark-mode .ch-limpiar { background: #262B33; color: #E5E7EB; }

#menu-categorias { text-align: center; padding: 4px 0 6px; }
#wizard-container.buscando #menu-categorias { display: none; }
.tipo-carrusel { gap: 10px; }
.tc-flecha {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--rs-borde) !important;
    background: var(--rs-tarjeta) !important;
    color: var(--reparo-orange, #ff6b1a) !important;
    font-size: 26px !important;
    line-height: 1;
    display: grid;
    place-items: center;
    padding: 0 0 3px !important;
    box-shadow: var(--rs-sombra);
    transition: transform .12s ease, border-color .15s ease;
}
.tc-flecha:hover { opacity: 1 !important; border-color: var(--reparo-orange, #ff6b1a) !important; transform: scale(1.05); }
.tc-item {
    border-radius: 14px !important;
    font-size: 18px !important;
    padding: 14px 10px !important;
    letter-spacing: .01em;
}
#botones-filtro .tc-item.btn-primary {
    background: linear-gradient(135deg, #FF8A3D, #FF6B1A 50%, #E2470A) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(255, 107, 26, .3) !important;
}
.tc-puntos { margin-top: 12px; }
.tc-punto { width: 8px; height: 8px; transition: width .2s ease, background-color .2s ease; }
.tc-punto.activo { width: 22px !important; height: 8px !important; border-radius: 999px; }

.resultado-busqueda { margin: 4px 2px 12px; }
.rb-titulo { margin: 0; font-weight: 700; color: var(--ce-apagado, #6B7280); font-size: 14px; }

#galeria-contenedor { padding: 16px 0 6px; }
#galeria-fotos.grid-4 { gap: clamp(10px, 1.6vw, 16px); }
@media (min-width: 900px) {
    #galeria-fotos.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
.galeria-vacia { grid-column: 1 / -1; text-align: center; color: var(--ce-apagado, #6B7280); padding: 20px 0; }

button.category-tile {
    font: inherit;
    color: inherit;
    width: 100%;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
}
html body #galeria-fotos .category-tile {
    padding: 0 !important;
    overflow: hidden;
    border-radius: 16px !important;
    gap: 0;
}
#galeria-fotos .category-tile .img-container {
    margin: 0 !important;
    border-radius: 0 !important;
    aspect-ratio: 1 / 1;
}
#galeria-fotos .category-tile .img-container img {
    margin: 0 !important;
    border-radius: 0 !important;
    transition: transform .35s ease;
}
#galeria-fotos .category-tile:hover .img-container img { transform: scale(1.05); }
#galeria-fotos .category-tile .ct-nombre {
    flex-direction: column;
    padding: 10px 8px 12px;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.25;
    min-height: 3.1em;
}
#galeria-fotos .category-tile:focus-visible { outline: 3px solid rgba(255, 107, 26, .5); outline-offset: 2px; }

@media (max-width: 700px) {
    .catalogo-hero { grid-template-columns: 1fr; gap: 14px; border-radius: 18px; margin-top: 0; }
    .catalogo-hero p { font-size: 13.5px; }
    .tc-flecha { width: 38px; height: 38px; font-size: 22px !important; }
    .tc-item { font-size: 16px !important; padding: 12px 8px !important; }
    #galeria-fotos .category-tile .ct-nombre { font-size: 12.5px !important; padding: 8px 5px 10px; }
}

.ct-tipo {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--reparo-orange, #ff6b1a);
}
html.dark-mode .ch-buscador input,
html body .ch-buscador input { background-color: transparent !important; border: none !important; }

.inicio { margin: 6px 0 4px; width: 100%; max-width: 100%; min-width: 0; flex: 0 0 100%; }
.inicio-tiendas, .inicio-buscar, .inicio-banner { min-width: 0; max-width: 100%; }
.inicio-saludo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.inicio-saludo h1 { margin: 0; font-size: clamp(22px, 3vw, 30px); line-height: 1.15; }
.inicio-saludo p { margin: 2px 0 0; color: var(--ce-apagado, #6B7280); font-size: 15px; }
.inicio-avatar {
    width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%;
    border: 2px solid var(--ce-naranja, #FF6B1A); background: var(--ce-naranja-suave, #FFF3EA);
    display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
    color: var(--ce-naranja, #FF6B1A); font-weight: 800; font-size: 19px; text-decoration: none;
}
.inicio-avatar img { width: 100%; height: 100%; object-fit: cover; }
.inicio-entrar { white-space: nowrap; }

.inicio-buscar { display: flex; gap: 10px; align-items: stretch; margin-bottom: 16px; }
.inicio-buscar .ch-buscador { flex: 1; box-shadow: none; border: 1px solid var(--ce-linea, #E6E8EC); }
.inicio-buscar .ch-buscador:focus-within { border-color: var(--ce-naranja, #FF6B1A); box-shadow: 0 0 0 3px rgba(255, 107, 26, .15); }
.inicio-filtro {
    width: 54px; flex: 0 0 54px; border-radius: 16px; background: var(--ce-naranja, #FF6B1A); color: #fff !important;
    display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(255, 107, 26, .3);
}

.inicio-banner {
    position: relative; overflow: hidden; display: flex; align-items: center; min-height: 168px;
    border-radius: 24px; padding: 20px 22px; margin-bottom: 6px; color: #fff;
    background: radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 55%),
                linear-gradient(135deg, #FF8A3D 0%, #FF6B1A 42%, #D9480F 100%);
    box-shadow: 0 14px 34px rgba(255, 107, 26, .28);
}
html.dark-mode .inicio-banner { box-shadow: 0 14px 34px rgba(0, 0, 0, .5); }
.ib-texto { position: relative; z-index: 1; max-width: 62%; }
.ib-ceja { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; opacity: .85; }
.inicio-banner h2 { margin: 6px 0 4px; font-size: clamp(22px, 3.2vw, 32px); line-height: 1.1; color: #fff; }
.inicio-banner p { margin: 0 0 14px; opacity: .9; font-weight: 600; font-size: 14px; }
.ib-boton {
    display: inline-block; background: #fff; color: #EA580C !important; font-weight: 800;
    padding: 9px 18px; border-radius: 999px; text-decoration: none; box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.ib-foto {
    position: absolute; right: -14px; top: 16px; bottom: 16px; width: min(38%, 220px); height: calc(100% - 32px);
    object-fit: cover; border-radius: 20px; transform: rotate(-4deg); box-shadow: 0 12px 28px rgba(0,0,0,.25);
}

.inicio-titulo { font-size: 19px; margin: 22px 2px 10px; }
.inicio-tiendas .it-fila {
    display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.inicio-tiendas .it-fila::-webkit-scrollbar { display: none; }
.it-tarjeta {
    flex: 0 0 150px; scroll-snap-align: start; display: flex; flex-direction: column; text-decoration: none;
    color: var(--ce-texto, #1F2430) !important; background: var(--ce-superficie, #fff);
    border: 1px solid var(--ce-linea, #E6E8EC); border-radius: 18px; overflow: hidden; box-shadow: var(--ce-sombra);
    transition: transform .15s ease;
}
.it-tarjeta:hover { transform: translateY(-2px); }
.it-foto { height: 112px; background: var(--ce-naranja-suave, #FFF3EA); display: flex; align-items: center; justify-content: center; font-size: 34px; }
.it-foto img { width: 100%; height: 100%; object-fit: cover; }
.it-tarjeta strong { padding: 9px 11px 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.it-tarjeta small { padding: 1px 11px 10px; color: var(--ce-naranja, #FF6B1A); font-weight: 700; }

.inicio.buscando .inicio-banner, .inicio.buscando .inicio-tiendas, .inicio.buscando #explorar { display: none; }

@media (max-width: 600px) {
    .inicio-banner { min-height: 150px; padding: 16px 18px; }
    .ib-texto { max-width: 64%; }
    .ib-foto { width: 40%; }
}

.cerca-barra {
    display: flex; align-items: center; gap: 10px; margin: -4px 0 12px; padding: 10px 12px;
    background: var(--ce-superficie, #fff); border: 1px solid var(--ce-linea, #E6E8EC); border-radius: 14px;
    box-shadow: var(--ce-sombra); min-width: 0;
}
.cerca-barra .cb-icono { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--ce-naranja-suave, #FFF3EA); color: var(--ce-naranja, #FF6B1A); }
.cerca-barra .cb-icono svg { width: 20px; height: 20px; }
.cerca-barra .cb-cambiar { background: var(--ce-superficie-2, #F9FAFB); color: var(--ce-texto, #1F2430); font-weight: 800; font-size: 13px;
    padding: 8px 14px; border-radius: 999px; cursor: pointer; border: 1px solid var(--ce-linea, #E6E8EC); white-space: nowrap; font-family: inherit; }
.cerca-barra .cb-cambiar:hover { border-color: var(--ce-naranja-borde, #FFD3B8); }
.cerca-barra .cb-texto { flex: 1; min-width: 0; line-height: 1.25; }
.cerca-barra .cb-texto small { display: block; color: var(--ce-apagado, #6B7280); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.cerca-barra .cb-lugar { font-size: 15px; font-weight: 800; }
.cerca-barra .cb-estado { color: var(--ce-apagado, #6B7280); font-size: 12.5px; }
.cerca-aviso {
    margin: 0 0 12px; padding: 9px 12px; border-radius: 12px; font-size: 13.5px;
    background: var(--ce-naranja-suave, #FFF3EA); color: var(--ce-texto, #1F2430);
}
.cerca-aviso .ca-ver { background: none; border: 0; color: var(--ce-naranja, #FF6B1A); font-weight: 700; cursor: pointer; padding: 0 4px; }
.cerca-aviso ul { margin: 8px 0 0; padding-left: 18px; }
.cerca-aviso li { margin: 3px 0; }
.ct-etd {
    display: flex; align-items: center; gap: 4px; width: fit-content; max-width: 100%; margin: 5px auto 0; padding: 3px 8px 3px 6px;
    border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    background: var(--ce-superficie-2, #F3F4F6); color: var(--ce-texto, #1F2430); border: 1px solid var(--ce-linea, #E6E8EC);
}
.ct-etd::before {
    content: ''; flex: 0 0 12px; width: 12px; height: 12px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.it-tarjeta small.ct-etd { margin: 0 11px 10px; padding: 3px 8px 3px 6px; color: var(--ce-texto, #1F2430); }
.cerca-modal {
    position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 3000;
    display: flex; align-items: center; justify-content: center; padding: 12px;
}
.cerca-modal .cm-caja {
    background: var(--ce-superficie, #fff); color: var(--ce-texto, #1F2430); border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.3);
    width: min(560px, 100%); max-height: 95vh; overflow: auto; padding: 14px; position: relative;
}
.cerca-modal .cm-cab { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cerca-modal .cm-cerrar { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: inherit; }
.cerca-modal .cm-buscar { width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--ce-linea, #E6E8EC);
    background: var(--ce-superficie-2, #F9FAFB); color: inherit; font-size: 14.5px; }
.cerca-modal .cm-sug { border: 1px solid var(--ce-linea, #E6E8EC); border-radius: 10px; margin-top: 4px; max-height: 160px; overflow: auto; }
.cerca-modal .cm-sug div { padding: 8px 10px; cursor: pointer; font-size: 13px; }
.cerca-modal .cm-sug div:hover { background: var(--ce-naranja-suave, #FFF3EA); }
.cerca-modal .cm-mapa-caja { position: relative; margin-top: 10px; }
.cerca-modal .cm-mapa { height: 340px; border-radius: 16px; }
.cerca-modal .cm-pin {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%);
    pointer-events: none; z-index: 500;
}
.cerca-modal .cm-ayuda { font-size: 12.5px; color: var(--ce-apagado, #6B7280); margin: 8px 0; }
.cerca-modal .cm-pie { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 600px) {
    .cerca-modal .cm-mapa { height: 55vh; }
}
