/* =========================================================
   PASALAVENTA - CATEGORÍAS
   CSS COMPLETO
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --pv-red: #d60000;
    --pv-red-dark: #b30000;
    --pv-red-light: #fff0f0;

    --pv-black: #191919;
    --pv-gray-900: #262626;
    --pv-gray-700: #555;
    --pv-gray-500: #777;
    --pv-gray-400: #999;
    --pv-gray-300: #ddd;
    --pv-gray-200: #e8e8e8;
    --pv-gray-100: #f5f5f5;

    --pv-bg: #f3f4f6;
    --pv-white: #ffffff;

    --pv-radius-sm: 8px;
    --pv-radius-md: 12px;
    --pv-radius-lg: 18px;
    --pv-radius-xl: 24px;

    --pv-shadow-sm:
        0 2px 8px rgba(0, 0, 0, .05);

    --pv-shadow:
        0 8px 25px rgba(0, 0, 0, .07);

    --pv-shadow-lg:
        0 15px 40px rgba(0, 0, 0, .10);

}


/* =========================================================
   RESET
   ========================================================= */

.categoria-header *,
.categoria-hero *,
.categoria-selector *,
.categoria-publicidad *,
.categoria-ofertas *,
.categoria-marketplace *,
.categoria-vender *,
.categoria-footer * {

    box-sizing: border-box;

}


body {

    margin: 0;

    background:
        linear-gradient(
            180deg,
            #f8f9fb 0%,
            #f3f4f6 100%
        );

    color: var(--pv-black);

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

}


/* =========================================================
   HEADER
   Compatibilidad con el header general del sitio
   ========================================================= */

.categoria-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(255, 255, 255, .96);

    backdrop-filter:
        blur(14px);

    border-top:
        4px solid var(--pv-red);

    border-bottom:
        1px solid #e8e8e8;

}


.categoria-header-inner {

    width:
        min(1440px, calc(100% - 40px));

    min-height: 76px;

    margin: auto;

    display: flex;

    align-items: center;

    gap: 28px;

}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.categoria-breadcrumb {

    width:
        min(1440px, calc(100% - 40px));

    margin: 16px auto 0;

    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 12px;

    color: var(--pv-gray-500);

}


.categoria-breadcrumb a {

    color: var(--pv-red);

    text-decoration: none;

    font-weight: 650;

}


.categoria-breadcrumb a:hover {

    text-decoration: underline;

}


/* =========================================================
   HERO ANTIGUO
   OCULTO - REEMPLAZADO POR PUBLICIDAD
   ========================================================= */

.categoria-hero {

    display: none !important;

}


/* =========================================================
   SELECTOR DE SUBCATEGORÍAS
   ========================================================= */

.categoria-selector {

    width:
        min(1440px, calc(100% - 40px));

    margin: 18px auto 0;

}


.categoria-selector-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 10px;

}


.categoria-selector-header h2 {

    margin: 3px 0 13px;

    font-size: 23px;

}


.categoria-section-kicker {

    color: var(--pv-red);

    font-size: 10px;

    font-weight: 850;

    letter-spacing: 1.8px;

}


.categoria-pills {

    display: flex;

    gap: 10px;

    overflow-x: auto;

    padding: 3px 2px 10px;

    scrollbar-width: thin;

    scrollbar-color:
        #d4d4d4 transparent;

}


.categoria-pills::-webkit-scrollbar {

    height: 5px;

}


.categoria-pills::-webkit-scrollbar-thumb {

    background: #d4d4d4;

    border-radius: 20px;

}


.categoria-pill {

    flex-shrink: 0;

    min-height: 42px;

    padding: 0 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    border:
        1px solid #e1e3e6;

    border-radius: 999px;

    background: white;

    color: var(--pv-gray-700);

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

    box-shadow:
        0 2px 7px rgba(0, 0, 0, .035);

    transition:
        background .18s ease,
        color .18s ease,
        border-color .18s ease,
        transform .18s ease;

}


.categoria-pill:hover {

    transform:
        translateY(-1px);

    border-color:
        rgba(214, 0, 0, .4);

    color:
        var(--pv-red);

}


.categoria-pill.active {

    border-color: var(--pv-red);

    background:
        linear-gradient(
            135deg,
            var(--pv-red),
            var(--pv-red-dark)
        );

    color: white;

    box-shadow:
        0 5px 14px rgba(214, 0, 0, .16);

}


.pill-icon {

    font-size: 16px;

}


/* =========================================================
   PUBLICIDAD PRINCIPAL
   AHORA OCUPA EL LUGAR DEL HERO
   ========================================================= */

.categoria-publicidad {

    width:
        min(1440px, calc(100% - 40px));

    height: auto;

    min-height: 150px;

    margin: 12px auto 0;

    padding: 0;

}


.publicidad-card {

    position: relative;

    width: 100%;

    min-height: 150px;

    overflow: hidden;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f7f7f8
        );

    border:
        1px solid #e5e5e5;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .06);

}


/* =========================================================
   PUBLICIDAD CON IMAGEN
   ========================================================= */

.publicidad-card.publicidad-con-imagen {

    background: transparent;

}


.publicidad-imagen-link {

    display: block;

    width: 100%;

    height: 100%;

    min-height: 150px;

    text-decoration: none;

}


.publicidad-imagen {

    display: block;

    width: 100%;

    height: 100%;

    min-height: 150px;

    object-fit: cover;

    object-position: center;

    transition:
        transform .25s ease;

}


.publicidad-clickeable:hover .publicidad-imagen {

    transform:
        scale(1.015);

}


/* =========================================================
   PUBLICIDAD SIN IMAGEN
   ========================================================= */

.publicidad-content {

    position: relative;

    width: 100%;

    min-height: 150px;

    padding: 28px 34px;

    display: flex;

    align-items: center;

    gap: 20px;

}


.publicidad-content::before {

    content: "📣";

    width: 58px;

    height: 58px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 18px;

    background: var(--pv-red-light);

    font-size: 27px;

}


.publicidad-content strong {

    display: block;

    font-size: 18px;

    color: var(--pv-black);

}


.publicidad-content p {

    margin: 6px 0 0;

    color: var(--pv-gray-500);

    font-size: 13px;

}


.publicidad-texto-link {

    display: block;

    width: 100%;

    height: 100%;

    color: inherit;

    text-decoration: none;

}


/* =========================================================
   OFERTAS
   ========================================================= */

.categoria-ofertas {

    width:
        min(1440px, calc(100% - 40px));

    margin: 30px auto 0;

}


/* Clase que agregará JavaScript cuando no existan ofertas */

.categoria-ofertas.sin-ofertas {

    display: none;

}


.categoria-section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 15px;

}


.categoria-section-heading p {

    margin: 4px 0 0;

    color: var(--pv-gray-500);

    font-size: 13px;

}


.categoria-heading-btn {

    flex-shrink: 0;

    padding: 9px 14px;

    border: 1px solid #e4e4e4;

    border-radius: 10px;

    background: white;

    color: var(--pv-red);

    font-size: 11px;

    font-weight: 750;

    cursor: pointer;

    transition: .18s ease;

}


.categoria-heading-btn:hover {

    border-color: var(--pv-red);

    background: var(--pv-red-light);

}


/* =========================================================
   GRIDS
   ========================================================= */

.ofertas-grid,
.productos-categoria-grid,
#productosCategoria,
#productosOfertas {

    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;

}


/* =========================================================
   PRODUCT CARD
   ========================================================= */

.producto-card,
.producto-categoria-card {

    position: relative;

    width: 100%;

    min-width: 0;

    max-width: 100%;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    background: #fff;

    border:
        1px solid #e8e8e8;

    border-radius: 18px;

    box-shadow:
        0 3px 13px rgba(0, 0, 0, .045);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;

}


.producto-card:hover,
.producto-categoria-card:hover {

    transform:
        translateY(-4px);

    border-color:
        rgba(214, 0, 0, .22);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .09);

}


/* =========================================================
   IMAGEN PRODUCTO
   ========================================================= */

.producto-imagen-container,
.producto-card-imagen {

    position: relative;

    width: 100%;

    height: 210px;

    min-height: 210px;

    max-height: 210px;

    padding: 14px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #fafafa,
            #f5f5f5
        );

    text-decoration: none;

}


.producto-imagen-container::after {

    content: "";

    position: absolute;

    inset: auto 0 0;

    height: 30px;

    background:
        linear-gradient(
            transparent,
            rgba(0, 0, 0, .02)
        );

    pointer-events: none;

}


.producto-imagen-container img,
.producto-imagen,
.producto-card-imagen img {

    position: relative;

    z-index: 1;

    display: block;

    width: auto;

    height: auto;

    max-width: 100%;

    max-height: 182px;

    object-fit: contain;

    object-position: center;

    margin: auto;

    transition:
        transform .25s ease;

}


.producto-card:hover .producto-imagen {

    transform:
        scale(1.035);

}


/* =========================================================
   BADGES
   ========================================================= */

.oferta-badge,
.producto-agotado {

    position: absolute;

    z-index: 5;

    top: 11px;

    left: 11px;

    padding: 6px 9px;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            var(--pv-red),
            #f02020
        );

    color: white;

    font-size: 9px;

    font-weight: 850;

    box-shadow:
        0 4px 10px rgba(214, 0, 0, .18);

}


.producto-card-top {

    min-height: 23px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 8px;

}


.producto-estado {

    padding: 4px 7px;

    border-radius: 6px;

    background: #f4f4f5;

    color: #666;

    font-size: 9px;

    font-weight: 700;

}


.producto-stock {

    width: fit-content;

    margin: 0;

    padding: 4px 7px;

    border-radius: 6px;

    background: #eaf8ee;

    color: #16803c;

    font-size: 9px;

    font-weight: 750;

}


/* =========================================================
   PRODUCT BODY
   ========================================================= */

.producto-card-body,
.producto-card-contenido {

    width: 100%;

    min-width: 0;

    padding: 13px 14px 14px;

    display: flex;

    flex-direction: column;

    flex: 1;

}


.producto-nombre,
.producto-card-contenido h3 {

    width: 100%;

    min-height: 40px;

    max-height: 40px;

    margin: 7px 0 0;

    overflow: hidden;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    line-clamp: 2;

    -webkit-box-orient: vertical;

    color: #222;

    font-size: 14px;

    font-weight: 700;

    line-height: 20px;

    text-decoration: none;

    word-break: break-word;

}


.producto-nombre:hover {

    color: var(--pv-red);

}


/* =========================================================
   PRECIOS
   ========================================================= */

.producto-precio,
.producto-card-precio {

    margin-top: 9px;

    color: #111;

    font-size: 21px;

    font-weight: 850;

    line-height: 1.15;

}


.producto-precio-oferta {

    margin-top: 8px;

    display: flex;

    flex-direction: column;

    gap: 2px;

}


.precio-anterior {

    color: #999;

    text-decoration: line-through;

    font-size: 11px;

    font-weight: 500;

}


.precio-nuevo {

    color: var(--pv-red);

    font-size: 21px;

    font-weight: 850;

    line-height: 1.15;

}


/* =========================================================
   UBICACIÓN
   ========================================================= */

.producto-ubicacion,
.producto-card-ubicacion {

    margin-top: 8px;

    overflow: hidden;

    color: #929292;

    font-size: 10px;

    white-space: nowrap;

    text-overflow: ellipsis;

}


/* =========================================================
   BOTÓN PRODUCTO
   ========================================================= */

.producto-ver,
.producto-card-btn {

    width: 100%;

    min-height: 38px;

    margin-top: 12px;

    padding: 8px 11px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border:
        1px solid #f0d7d7;

    border-radius: 10px;

    background: #fff6f6;

    color: var(--pv-red);

    font-size: 11px;

    font-weight: 800;

    text-decoration: none;

    cursor: pointer;

    transition:
        background .18s ease,
        color .18s ease,
        border-color .18s ease;

}


.producto-ver:hover {

    border-color: var(--pv-red);

    background: var(--pv-red);

    color: white;

}


/* =========================================================
   MARKETPLACE
   ========================================================= */

.categoria-marketplace {

    width:
        min(1440px, calc(100% - 40px));

    margin: 38px auto 0;

}


.marketplace-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.marketplace-title p {

    margin: 4px 0 0;

    color: var(--pv-gray-500);

    font-size: 13px;

}


.productos-count {

    flex-shrink: 0;

    padding: 9px 13px;

    border:
        1px solid #e6e6e6;

    border-radius: 10px;

    background: white;

    color: var(--pv-gray-500);

    font-size: 11px;

}


.productos-count span {

    margin-right: 3px;

    color: var(--pv-black);

    font-size: 15px;

    font-weight: 850;

}


/* =========================================================
   FILTROS COMPACTOS
   ========================================================= */

.categoria-filtros {

    width: 100%;

    margin-top: 16px;

    padding: 10px;

    display: grid;

    grid-template-columns:
        minmax(250px, 1.8fr)
        minmax(120px, .8fr)
        minmax(120px, .8fr)
        minmax(145px, 1fr)
        auto;

    align-items: center;

    gap: 8px;

    background: white;

    border:
        1px solid #e8e8e8;

    border-radius: 14px;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, .035);

}


.filtro-busqueda {

    height: 42px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 0 12px;

    background: #f7f8fa;

    border:
        1px solid #e5e6e8;

    border-radius: 9px;

}


.filtro-busqueda::before {

    content: "⌕";

    color: #999;

    font-size: 19px;

}


.filtro-busqueda input {

    width: 100%;

    height: 100%;

    border: 0;

    outline: 0;

    background: transparent;

    font-size: 12px;

}


.filtro-control {

    display: flex;

    flex-direction: column;

    gap: 0;

    min-width: 0;

}


.filtro-control label {

    display: none;

}


.filtro-input-wrap {

    position: relative;

}


.filtro-input-wrap span {

    position: absolute;

    left: 10px;

    top: 50%;

    transform:
        translateY(-50%);

    z-index: 2;

    color: #888;

    font-size: 12px;

    pointer-events: none;

}


.filtro-input-wrap input {

    padding-left: 23px !important;

}


.filtro-control input,
.filtro-control select {

    width: 100%;

    height: 42px;

    padding: 0 10px;

    border:
        1px solid #e3e4e7;

    border-radius: 9px;

    background: #fafafa;

    color: #333;

    font-size: 11px;

    outline: none;

}


.filtro-control input:focus,
.filtro-control select:focus {

    border-color:
        rgba(214, 0, 0, .55);

    background: white;

}


.btn-limpiar-filtros {

    height: 42px;

    padding: 0 13px;

    border:
        1px solid #e5e5e5;

    border-radius: 9px;

    background: white;

    color: #777;

    font-size: 10px;

    font-weight: 750;

    cursor: pointer;

    white-space: nowrap;

}


.btn-limpiar-filtros:hover {

    border-color:
        rgba(214, 0, 0, .4);

    color: var(--pv-red);

}


/* =========================================================
   PRODUCTOS
   ========================================================= */

#productosCategoria {

    margin-top: 18px;

}


/* =========================================================
   EMPTY / ERROR
   ========================================================= */

.categoria-empty {

    min-height: 190px;

    grid-column: 1 / -1;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 30px;

    border:
        1px dashed #d9d9d9;

    border-radius: 16px;

    background: white;

    color: var(--pv-gray-500);

    text-align: center;

}


.categoria-empty strong {

    margin-top: 4px;

    color: var(--pv-black);

    font-size: 16px;

}


.categoria-empty p {

    margin: 6px 0 15px;

    font-size: 12px;

}


.categoria-empty button,
.categoria-error button {

    padding: 9px 16px;

    border: 0;

    border-radius: 8px;

    background: var(--pv-red);

    color: white;

    font-size: 11px;

    font-weight: 700;

    cursor: pointer;

}


.categoria-error {

    min-height: 280px;

    grid-column: 1 / -1;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    border:
        1px solid #eadcdc;

    border-radius: 18px;

    background: white;

}


/* =========================================================
   VENDER
   ========================================================= */

.categoria-vender {

    position: relative;

    width:
        min(1440px, calc(100% - 40px));

    min-height: 155px;

    margin: 52px auto 45px;

    overflow: hidden;

    padding: 30px 40px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    border-radius: 20px;

    background:
        linear-gradient(
            120deg,
            #73000b,
            #b50014,
            #d60000
        );

    color: white;

    box-shadow:
        0 14px 32px rgba(126, 0, 10, .16);

}


.vender-decoration {

    font-size: 43px;

}


.vender-content {

    flex: 1;

}


.vender-content > span {

    color:
        rgba(255, 255, 255, .65);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.8px;

}


.vender-content h2 {

    margin: 5px 0;

    font-size: 25px;

}


.vender-content p {

    margin: 0;

    color:
        rgba(255, 255, 255, .82);

    font-size: 12px;

}


.btn-vender {

    flex-shrink: 0;

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 13px 18px;

    border-radius: 10px;

    background: white;

    color: var(--pv-red-dark);

    text-decoration: none;

    font-size: 12px;

    font-weight: 800;

}


/* =========================================================
   FOOTER
   ========================================================= */

.categoria-footer {

    margin-top: 0;

    background:
        linear-gradient(
            180deg,
            #1b1b1b,
            #121212
        );

    color: #ddd;

}


.categoria-footer-inner {

    width:
        min(1440px, calc(100% - 40px));

    margin: auto;

    padding: 52px 0 40px;

    display: grid;

    grid-template-columns:
        minmax(220px, 1.1fr)
        minmax(0, 1.9fr);

    gap: 70px;

}


.footer-brand {

    max-width: 300px;

}


.footer-brand strong {

    display: block;

    font-size: 25px;

    color: white;

    letter-spacing: -.5px;

}


.footer-brand strong span {

    color: #ff3434;

}


.footer-brand p {

    margin: 11px 0 0;

    color: #949494;

    font-size: 12px;

    line-height: 1.7;

}


.footer-links {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 45px;

}


.footer-links > div {

    display: flex;

    flex-direction: column;

    gap: 10px;

}


.footer-links h3 {

    margin: 0 0 4px;

    color: white;

    font-size: 12px;

}


.footer-links a {

    width: fit-content;

    color: #979797;

    text-decoration: none;

    font-size: 11px;

    transition:
        color .18s ease;

}


.footer-links a:hover {

    color: white;

}


.categoria-footer-bottom {

    width:
        min(1440px, calc(100% - 40px));

    margin: auto;

    padding: 18px 0 22px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid #2a2a2a;

    color: #777;

    font-size: 10px;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1200px) {

    .ofertas-grid,
    .productos-categoria-grid,
    #productosCategoria,
    #productosOfertas {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

    }


    .categoria-filtros {

        grid-template-columns:
            minmax(220px, 1.6fr)
            repeat(3, minmax(120px, 1fr));

    }


    .btn-limpiar-filtros {

        grid-column:
            1 / -1;

    }


    .categoria-footer-inner {

        gap: 45px;

    }

}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .ofertas-grid,
    .productos-categoria-grid,
    #productosCategoria,
    #productosOfertas {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .categoria-publicidad {

        min-height: 110px;

    }


    .publicidad-card,
    .publicidad-imagen,
    .publicidad-imagen-link {

        min-height: 110px;

    }


    .categoria-filtros {

        grid-template-columns:
            1fr 1fr;

    }


    .filtro-busqueda {

        grid-column:
            1 / -1;

    }


    .btn-limpiar-filtros {

        grid-column:
            1 / -1;

        width: 100%;

    }


    .categoria-footer-inner {

        grid-template-columns:
            1fr;

        gap: 35px;

    }


    .footer-links {

        max-width: 700px;

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .categoria-breadcrumb,
    .categoria-selector,
    .categoria-ofertas,
    .categoria-marketplace,
    .categoria-vender,
    .categoria-footer-inner,
    .categoria-footer-bottom {

        width:
            calc(100% - 24px);

    }


    .categoria-breadcrumb {

        margin-top: 12px;

        font-size: 11px;

    }


    .categoria-publicidad {

        width:
            calc(100% - 20px);

        min-height: 82px;

        margin:
            10px auto 0;

    }


    .publicidad-card {

        min-height: 82px;

        border-radius: 12px;

    }


    .publicidad-imagen-link,
    .publicidad-imagen {

        min-height: 82px;

    }


    .publicidad-content {

        min-height: 100px;

        padding: 17px;

        gap: 12px;

    }


    .publicidad-content::before {

        width: 42px;

        height: 42px;

        border-radius: 13px;

        font-size: 20px;

    }


    .publicidad-content strong {

        font-size: 13px;

    }


    .publicidad-content p {

        margin-top: 3px;

        font-size: 10px;

    }


    .categoria-selector {

        margin-top: 15px;

    }


    .categoria-pills {

        gap: 7px;

        padding-bottom: 7px;

    }


    .categoria-pill {

        min-height: 36px;

        padding: 0 12px;

        font-size: 10px;

    }


    .pill-icon {

        font-size: 14px;

    }


    .ofertas-grid,
    .productos-categoria-grid,
    #productosCategoria,
    #productosOfertas {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;

    }


    .categoria-section-heading {

        margin-bottom: 11px;

    }


    .categoria-section-heading p {

        font-size: 11px;

    }


    .categoria-heading-btn {

        padding: 7px 9px;

        font-size: 9px;

    }


    .marketplace-header {

        align-items: flex-start;

    }


    .marketplace-title p {

        font-size: 11px;

        line-height: 1.45;

    }


    .productos-count {

        padding: 7px 9px;

        font-size: 9px;

    }


    .productos-count span {

        font-size: 13px;

    }


    .producto-imagen-container,
    .producto-card-imagen {

        height: 150px;

        min-height: 150px;

        max-height: 150px;

        padding: 8px;

    }


    .producto-imagen-container img,
    .producto-imagen,
    .producto-card-imagen img {

        max-height: 130px;

    }


    .producto-card-body,
    .producto-card-contenido {

        padding: 9px;

    }


    .producto-card-top {

        min-height: 18px;

        gap: 4px;

    }


    .producto-estado,
    .producto-stock {

        padding: 3px 5px;

        font-size: 8px;

    }


    .producto-nombre,
    .producto-card-contenido h3 {

        min-height: 32px;

        max-height: 32px;

        margin-top: 5px;

        font-size: 11px;

        line-height: 16px;

    }


    .producto-precio,
    .producto-card-precio {

        margin-top: 7px;

        font-size: 17px;

    }


    .precio-anterior {

        font-size: 9px;

    }


    .precio-nuevo {

        font-size: 17px;

    }


    .producto-ubicacion,
    .producto-card-ubicacion {

        margin-top: 6px;

        font-size: 9px;

    }


    .producto-ver,
    .producto-card-btn {

        min-height: 32px;

        margin-top: 8px;

        padding: 6px 8px;

        border-radius: 8px;

        font-size: 9px;

    }


    .categoria-filtros {

        grid-template-columns:
            1fr 1fr;

        gap: 6px;

        padding: 7px;

        border-radius: 11px;

        box-shadow: none;

    }


    .filtro-busqueda {

        grid-column:
            1 / -1;

        height: 38px;

        padding: 0 9px;

        border-radius: 8px;

    }


    .filtro-busqueda input {

        font-size: 11px;

    }


    .filtro-control input,
    .filtro-control select {

        height: 37px;

        padding: 0 7px;

        border-radius: 8px;

        font-size: 10px;

    }


    .btn-limpiar-filtros {

        grid-column:
            1 / -1;

        width: auto;

        height: 28px;

        padding: 0 8px;

        border: 0;

        background: transparent;

        font-size: 9px;

    }


    .categoria-vender {

        min-height: 165px;

        padding: 23px;

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

        margin-top: 38px;

    }


    .vender-decoration {

        display: none;

    }


    .vender-content h2 {

        font-size: 21px;

    }


    .vender-content p {

        font-size: 10px;

        line-height: 1.5;

    }


    .btn-vender {

        padding: 11px 14px;

        font-size: 10px;

    }


    .categoria-footer-inner {

        width:
            calc(100% - 30px);

        padding: 35px 0 28px;

        gap: 30px;

    }


    .footer-links {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 27px;

    }


    .footer-brand p {

        font-size: 11px;

    }


    .categoria-footer-bottom {

        width:
            calc(100% - 30px);

        flex-direction: column;

        align-items: flex-start;

        gap: 5px;

        padding: 15px 0 18px;

    }

}


/* =========================================================
   CELULARES MUY PEQUEÑOS
   ========================================================= */

@media (max-width: 380px) {

    .categoria-publicidad {

        width:
            calc(100% - 16px);

    }


    .categoria-breadcrumb,
    .categoria-selector,
    .categoria-ofertas,
    .categoria-marketplace,
    .categoria-vender {

        width:
            calc(100% - 16px);

    }


    .producto-imagen-container,
    .producto-card-imagen {

        height: 125px;

        min-height: 125px;

        max-height: 125px;

        padding: 7px;

    }


    .producto-imagen-container img,
    .producto-imagen,
    .producto-card-imagen img {

        max-height: 108px;

    }


    .producto-card-body,
    .producto-card-contenido {

        padding: 8px;

    }


    .producto-nombre,
    .producto-card-contenido h3 {

        font-size: 10px;

        line-height: 14px;

        min-height: 28px;

        max-height: 28px;

    }


    .producto-precio,
    .producto-card-precio {

        font-size: 15px;

    }


    .precio-nuevo {

        font-size: 15px;

    }


    .producto-ver,
    .producto-card-btn {

        font-size: 8px;

    }


    .footer-links {

        gap: 20px;

    }

}





/* =====================================================
   SUBCATEGORÍAS
===================================================== */

.categoria-subcategorias {
    width: 100%;
    margin: 28px 0 38px;
}


.subcategorias-header {
    margin-bottom: 18px;
}


.subcategorias-header h2 {
    margin: 0 0 6px;

    font-size: 1.45rem;
    font-weight: 700;

    color: #1f2937;
}


.subcategorias-header p {
    margin: 0;

    font-size: 0.95rem;

    color: #6b7280;
}


/* =====================================================
   GRID
===================================================== */

.subcategorias-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(150px, 1fr)
        );

    gap: 16px;

    width: 100%;
}


/* =====================================================
   TARJETA
===================================================== */

.subcategoria-card {
    position: relative;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-height: 185px;

    padding: 16px;

    text-decoration: none;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 16px;

    overflow: hidden;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


.subcategoria-card:hover {
    transform: translateY(-4px);

    border-color: #d1d5db;

    box-shadow:
        0 10px 25px
        rgba(0, 0, 0, 0.10);
}


/* =====================================================
   IMAGEN
===================================================== */

.subcategoria-imagen {
    width: 100%;
    height: 115px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 12px;

    overflow: hidden;

    border-radius: 12px;

    background: #f8fafc;
}


.subcategoria-imagen img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition:
        transform 0.25s ease;
}


.subcategoria-card:hover
.subcategoria-imagen img {
    transform: scale(1.06);
}


/* =====================================================
   NOMBRE
===================================================== */

.subcategoria-nombre {
    display: block;

    width: 100%;

    text-align: center;

    font-size: 0.95rem;
    font-weight: 600;

    color: #1f2937;

    line-height: 1.3;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* =====================================================
   SIN IMAGEN
===================================================== */

.subcategoria-imagen-placeholder {
    display: flex;

    width: 100%;
    height: 100%;

    align-items: center;
    justify-content: center;

    font-size: 2.2rem;

    background: #f3f4f6;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .subcategorias-grid {
        grid-template-columns:
            repeat(
                4,
                minmax(0, 1fr)
            );

        gap: 14px;
    }


    .subcategoria-card {
        min-height: 165px;
    }


    .subcategoria-imagen {
        height: 95px;
    }

}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 650px) {

    .categoria-subcategorias {
        margin-top: 20px;
        margin-bottom: 30px;
    }


    .subcategorias-header h2 {
        font-size: 1.25rem;
    }


    .subcategorias-grid {

        display: flex;

        gap: 12px;

        overflow-x: auto;

        padding-bottom: 8px;

        scroll-snap-type: x proximity;

        -webkit-overflow-scrolling: touch;
    }


    .subcategorias-grid::-webkit-scrollbar {
        height: 5px;
    }


    .subcategorias-grid::-webkit-scrollbar-thumb {
        background: #d1d5db;

        border-radius: 20px;
    }


    .subcategoria-card {

        flex:
            0 0 135px;

        min-height: 160px;

        padding: 12px;

        scroll-snap-align: start;

        border-radius: 14px;
    }


    .subcategoria-imagen {
        height: 95px;

        margin-bottom: 10px;
    }


    .subcategoria-nombre {
        font-size: 0.85rem;
    }

}


/* =====================================================
   MÓVIL PEQUEÑO
===================================================== */

@media (max-width: 400px) {

    .subcategoria-card {
        flex-basis: 120px;

        min-height: 145px;
    }


    .subcategoria-imagen {
        height: 82px;
    }

}