@charset "utf-8";

/*==================================================
====================================================
    CATÁLOGO DE LLANTAS MCTIRE
    DESKTOP / TABLET / MOBILE
====================================================
==================================================*/


/*==================================================
====================================================
    SECCIÓN PRINCIPAL
====================================================
==================================================*/

.mctire-catalog{

    position:relative;

    z-index:20;

    width:100%;

    margin:0;

    padding:18px 0 35px;

    background:#fff;

    overflow:visible;

    isolation:isolate;

}


/*==================================================
    CONTENEDOR
==================================================*/

.mctire-catalog .container{

    position:relative;

    z-index:2;

    width:100%;

    overflow:visible;

}


/*==================================================
====================================================
    ENCABEZADO
====================================================
==================================================*/

.mctire-catalog-header{

    position:relative;

    z-index:2;

    width:100%;

    max-width:760px;

    margin:0 auto 22px;

    text-align:center;

}


/*==================================================
    KICKER
==================================================*/

.mctire-catalog-kicker{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:7px;

    margin:0 0 7px;

    color:var(--primary);

    font-family:
        "Inter",
        sans-serif;

    font-size:10px;

    font-weight:800;

    letter-spacing:1.5px;

    line-height:1.3;

    text-transform:uppercase;

}


.mctire-catalog-kicker i{

    font-size:10px;

}


/*==================================================
    TITULO
==================================================*/

.mctire-catalog-title{

    margin:0;

    padding:0;

    color:#151515;

    font-family:
        "Montserrat",
        sans-serif;

    font-size:
        clamp(
            2rem,
            4vw,
            2.8rem
        );

    font-weight:850;

    line-height:1.05;

    letter-spacing:-1.2px;

}


/*==================================================
    DESCRIPCIÓN
==================================================*/

.mctire-catalog-description{

    max-width:600px;

    margin:9px auto 0;

    padding:0;

    color:#777;

    font-family:
        "Inter",
        sans-serif;

    font-size:13px;

    line-height:1.5;

}


/*==================================================
====================================================
    BARRA DE FILTROS
====================================================
==================================================*/

.mctire-catalog-toolbar{

    position:relative;

    z-index:500;

    width:100%;

    max-width:1180px;

    margin:0 auto;

    padding:15px;

    background:#fff;

    border:
        1px solid
        #e6e6e6;

    border-radius:17px;

    box-shadow:
        0 10px 28px
        rgba(0,0,0,.055);

    overflow:visible;

}


/*==================================================
====================================================
    BUSCADOR
====================================================
==================================================*/

.mctire-search{

    display:flex;

    align-items:center;

    gap:11px;

    width:100%;

    height:48px;

    padding:
        0 14px;

    background:#f8f8f8;

    border:
        1px solid
        #e7e7e7;

    border-radius:11px;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;

}


.mctire-search:focus-within{

    background:#fff;

    border-color:
        rgba(215,25,32,.45);

    box-shadow:
        0 0 0 3px
        rgba(215,25,32,.07);

}


.mctire-search > i{

    flex-shrink:0;

    color:#999;

    font-size:14px;

}


.mctire-search input{

    width:100%;

    height:100%;

    margin:0;

    padding:0;

    color:#222;

    background:transparent;

    border:0;

    outline:0;

    font-family:
        "Inter",
        sans-serif;

    font-size:13px;

}


.mctire-search input::placeholder{

    color:#999;

}


.mctire-search-clear{

    display:flex;

    align-items:center;

    justify-content:center;

    flex-shrink:0;

    width:28px;

    height:28px;

    margin:0;

    padding:0;

    color:#999;

    background:#eee;

    border:0;

    border-radius:50%;

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transition:
        opacity .2s ease,
        visibility .2s ease,
        background .2s ease,
        color .2s ease;

}


.mctire-search-clear.active{

    opacity:1;

    visibility:visible;

}


.mctire-search-clear:hover{

    color:#fff;

    background:#d71920;

}


/*==================================================
====================================================
    FILTROS
====================================================
==================================================*/

.mctire-filters{

    position:relative;

    z-index:600;

    display:grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0,1fr)
        );

    gap:10px;

    width:100%;

    margin-top:11px;

    overflow:visible;

}


/*==================================================
    FILTRO INDIVIDUAL
==================================================*/

.mctire-filter{

    position:relative;

    z-index:610;

    min-width:0;

}


.mctire-filter.open{

    z-index:10000;

}


/*==================================================
    ETIQUETA
==================================================*/

.mctire-filter-label{

    display:block;

    margin:
        0 0 5px;

    color:#777;

    font-family:
        "Inter",
        sans-serif;

    font-size:9px;

    font-weight:800;

    letter-spacing:.8px;

    line-height:1.3;

    text-transform:uppercase;

}


/*==================================================
====================================================
    BOTÓN FILTRO
====================================================
==================================================*/

.mctire-filter-button{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:8px;

    width:100%;

    height:44px;

    margin:0;

    padding:
        0 12px;

    color:#222;

    background:#fff;

    border:
        1px solid
        #e4e4e4;

    border-radius:10px;

    outline:none;

    cursor:pointer;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;

}


.mctire-filter-button:hover{

    border-color:
        rgba(215,25,32,.35);

}


.mctire-filter.open
.mctire-filter-button{

    border-color:
        rgba(215,25,32,.45);

    box-shadow:
        0 0 0 3px
        rgba(215,25,32,.06);

}


.mctire-filter-button i{

    flex-shrink:0;

    color:#999;

    font-size:9px;

    transition:
        transform .25s ease;

}


.mctire-filter.open
.mctire-filter-button i{

    transform:
        rotate(180deg);

}


/*==================================================
    TEXTO BOTÓN
==================================================*/

.mctire-filter-text{

    display:block;

    min-width:0;

    overflow:hidden;

    color:#222;

    font-family:
        "Inter",
        sans-serif;

    font-size:12px;

    font-weight:700;

    line-height:1;

    text-align:left;

    text-overflow:ellipsis;

    white-space:nowrap;

}


/*==================================================
====================================================
    MENÚ DROPDOWN
====================================================
==================================================*/

.mctire-filter-menu{

    position:absolute;

    top:
        calc(100% + 7px);

    left:0;

    z-index:999999;

    display:none;

    width:100%;

    max-height:260px;

    margin:0;

    padding:6px 0;

    overflow-x:hidden;

    overflow-y:auto;

    list-style:none;

    background:#fff;

    border:
        1px solid
        #e5e5e5;

    border-radius:11px;

    box-shadow:
        0 18px 40px
        rgba(0,0,0,.16);

    box-sizing:border-box;

}


.mctire-filter-menu li{

    display:block;

    width:100%;

    margin:0;

    padding:
        10px 12px;

    color:#444;

    background:#fff;

    font-family:
        "Inter",
        sans-serif;

    font-size:11px;

    font-weight:600;

    line-height:1.4;

    cursor:pointer;

    box-sizing:border-box;

    transition:
        background .2s ease,
        color .2s ease;

}


.mctire-filter-menu li:hover{

    color:#d71920;

    background:#fff5f5;

}


/*==================================================
====================================================
    FOOTER DE FILTROS
====================================================
==================================================*/

.mctire-toolbar-footer{

    position:relative;

    z-index:20;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:15px;

    margin-top:11px;

    padding-top:10px;

    border-top:
        1px solid
        #eeeeee;

}


.mctire-results{

    display:flex;

    align-items:center;

    gap:7px;

    color:#777;

    font-family:
        "Inter",
        sans-serif;

    font-size:11px;

}


.mctire-results i{

    color:#d71920;

    font-size:10px;

}


.mctire-results strong{

    color:#222;

}


.mctire-reset{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:6px;

    margin:0;

    padding:0;

    color:#777;

    background:none;

    border:0;

    outline:none;

    font-family:
        "Inter",
        sans-serif;

    font-size:10px;

    font-weight:700;

    cursor:pointer;

    transition:
        color .25s ease;

}


.mctire-reset:hover{

    color:#d71920;

}


.mctire-reset i{

    font-size:10px;

}


/*==================================================
====================================================
    GRID PRODUCTOS
====================================================
==================================================*/

.mctire-products-grid{

    position:relative;

    z-index:1;

    display:grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );

    gap:16px;

    width:100%;

    max-width:1180px;

    min-height:0;

    margin:
        22px auto 0;

    padding:0;

}


/*==================================================
====================================================
    TARJETA PRODUCTO
====================================================
==================================================*/

.mctire-product-card{

    position:relative;

    display:flex;

    flex-direction:column;

    min-width:0;

    background:#fff;

    border:
        1px solid
        #e5e5e5;

    border-radius:15px;

    overflow:hidden;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;

}


.mctire-product-card:hover{

    transform:
        translateY(-4px);

    border-color:
        rgba(215,25,32,.20);

    box-shadow:
        0 15px 30px
        rgba(0,0,0,.08);

}


/*==================================================
====================================================
    IMAGEN
====================================================
==================================================*/

.mctire-product-image{

    position:relative;

    width:100%;

    aspect-ratio:
        1 / .82;

    overflow:hidden;

    background:#f7f7f7;

}


.mctire-product-image img{

    display:block;

    width:100%;

    height:100%;

    object-fit:contain;

    transition:
        transform .45s ease;

}


.mctire-product-card:hover
.mctire-product-image img{

    transform:
        scale(1.05);

}


/*==================================================
====================================================
    INFORMACIÓN PRODUCTO
====================================================
==================================================*/

.mctire-product-info{

    display:flex;

    flex-direction:column;

    flex:1;

    gap:8px;

    min-width:0;

    padding:14px;

}


.mctire-product-brand{

    display:block;

    margin:0;

    color:#999;

    font-family:
        "Inter",
        sans-serif;

    font-size:9px;

    font-weight:800;

    letter-spacing:1px;

    line-height:1.3;

    text-transform:uppercase;

}


.mctire-product-title{

    margin:0;

    padding:0;

    color:#181818;

    font-family:
        "Montserrat",
        sans-serif;

    font-size:14px;

    font-weight:800;

    line-height:1.25;

}


.mctire-product-description{

    display:-webkit-box;

    margin:0;

    padding:0;

    color:#777;

    font-family:
        "Inter",
        sans-serif;

    font-size:11px;

    line-height:1.5;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

    overflow:hidden;

}


/*==================================================
====================================================
    PRECIO
====================================================
==================================================*/

.mctire-product-price{

    margin-top:auto;

    padding-top:8px;

}


.mctire-product-price span{

    display:block;

    margin:0 0 2px;

    color:#999;

    font-family:
        "Inter",
        sans-serif;

    font-size:9px;

    line-height:1.3;

}


.mctire-product-price strong{

    display:block;

    color:#171717;

    font-family:
        "Montserrat",
        sans-serif;

    font-size:17px;

    font-weight:850;

    line-height:1.2;

}


/*==================================================
====================================================
    BOTÓN PRODUCTO
====================================================
==================================================*/

.mctire-product-button{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    width:100%;

    min-height:38px;

    margin-top:4px;

    padding:
        0 10px;

    color:#fff;

    background:#171717;

    border:
        1px solid
        #171717;

    border-radius:9px;

    text-decoration:none;

    font-family:
        "Inter",
        sans-serif;

    font-size:11px;

    font-weight:800;

    line-height:1;

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;

}


.mctire-product-button:hover{

    color:#fff;

    background:#d71920;

    border-color:#d71920;

    transform:
        translateY(-2px);

}


/*==================================================
====================================================
    ESTADO VACÍO
====================================================
==================================================*/

.mctire-empty{

    position:relative;

    z-index:1;

    width:100%;

    margin:22px auto 0;

    padding:
        45px 20px;

    text-align:center;

}


.mctire-empty-icon{

    display:flex;

    align-items:center;

    justify-content:center;

    width:55px;

    height:55px;

    margin:
        0 auto 12px;

    color:#d71920;

    background:#fff4f4;

    border:
        1px solid
        #f5d0d0;

    border-radius:50%;

}


.mctire-empty h2{

    margin:0;

    padding:0;

    color:#222;

    font-family:
        "Montserrat",
        sans-serif;

    font-size:18px;

    font-weight:800;

}


.mctire-empty p{

    margin:
        7px 0 15px;

    color:#777;

    font-family:
        "Inter",
        sans-serif;

    font-size:12px;

    line-height:1.5;

}


.mctire-empty button{

    min-height:38px;

    margin:0;

    padding:
        0 16px;

    color:#fff;

    background:#171717;

    border:0;

    border-radius:9px;

    cursor:pointer;

    font-family:
        "Inter",
        sans-serif;

    font-size:11px;

    font-weight:800;

}


/*==================================================
====================================================
    PAGINACIÓN
====================================================
==================================================*/

.mctire-pagination{

    position:relative;

    z-index:1;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:5px;

    margin:
        25px auto 0;

}


.mctire-pagination button{

    display:flex;

    align-items:center;

    justify-content:center;

    width:34px;

    height:34px;

    margin:0;

    padding:0;

    color:#555;

    background:#fff;

    border:
        1px solid
        #e5e5e5;

    border-radius:9px;

    cursor:pointer;

    font-family:
        "Inter",
        sans-serif;

    font-size:11px;

    font-weight:800;

}


.mctire-pagination button:hover{

    color:#d71920;

    border-color:#d71920;

}


.mctire-pagination button.active{

    color:#fff;

    background:#d71920;

    border-color:#d71920;

}


/*==================================================
====================================================
    LOADING
====================================================
==================================================*/

.mctire-loading{

    grid-column:
        1 / -1;

    display:flex;

    align-items:center;

    justify-content:center;

    min-height:180px;

    color:#777;

    font-family:
        "Inter",
        sans-serif;

    font-size:12px;

}


/*==================================================
====================================================
    TABLET
====================================================
==================================================*/

@media(max-width:1050px){

    .mctire-products-grid{

        grid-template-columns:
            repeat(
                3,
                minmax(0,1fr)
            );

        gap:14px;

    }

}


/*==================================================
    TABLET PEQUEÑO
==================================================*/

@media(max-width:850px){

    .mctire-filters{

        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );

    }


    .mctire-products-grid{

        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );

        gap:14px;

    }


    .mctire-product-info{

        padding:13px;

        gap:7px;

    }


    .mctire-product-title{

        font-size:13px;

    }

}


/*==================================================
====================================================
    MOBILE
====================================================
==================================================*/

@media(max-width:576px){

    .mctire-catalog{

        padding:
            5px 0 20px;

        overflow:visible;

    }


    .mctire-catalog .container{

        padding-left:0;

        padding-right:0;

        overflow:visible;

    }


    /*================================================
        HEADER
    ================================================*/

    .mctire-catalog-header{

        margin:
            0 auto 15px;

        padding:
            0 12px;

    }


    .mctire-catalog-kicker{

        gap:6px;

        margin-bottom:6px;

        font-size:9px;

        letter-spacing:1.2px;

    }


    .mctire-catalog-kicker i{

        font-size:9px;

    }


    .mctire-catalog-title{

        font-size:1.75rem;

        line-height:1.06;

        letter-spacing:-.8px;

    }


    .mctire-catalog-description{

        margin-top:6px;

        font-size:11px;

        line-height:1.45;

    }


    /*================================================
        TOOLBAR
    ================================================*/

    .mctire-catalog-toolbar{

        position:relative;

        z-index:1000;

        margin:0;

        padding:10px;

        border-radius:12px;

        border-left:0;

        border-right:0;

        box-shadow:
            0 6px 20px
            rgba(0,0,0,.045);

        overflow:visible;

    }


    /*================================================
        SEARCH
    ================================================*/

    .mctire-search{

        height:44px;

        padding:
            0 12px;

    }


    .mctire-search input{

        font-size:11px;

    }


    .mctire-search-clear{

        width:26px;

        height:26px;

    }


    /*================================================
        FILTERS
    ================================================*/

    .mctire-filters{

        position:relative;

        z-index:2000;

        display:grid;

        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );

        gap:8px;

        margin-top:8px;

        overflow:visible;

    }


    .mctire-filter{

        position:relative;

        z-index:1;

        min-width:0;

    }


    /*
    Primera fila
    */

    .mctire-filter:nth-child(1),
    .mctire-filter:nth-child(2){

        z-index:100;

    }


    /*
    Segunda fila
    */

    .mctire-filter:nth-child(3),
    .mctire-filter:nth-child(4){

        z-index:90;

    }


    /*
    Filtro abierto siempre queda
    por encima de los demás.
    */

    .mctire-filter.open{

        z-index:99999 !important;

    }


    .mctire-filter-label{

        margin-bottom:4px;

        font-size:8px;

        letter-spacing:.7px;

    }


    .mctire-filter-button{

        width:100%;

        height:40px;

        padding:
            0 9px;

        border-radius:9px;

    }


    .mctire-filter-text{

        min-width:0;

        font-size:10px;

    }


    .mctire-filter-button i{

        flex-shrink:0;

        font-size:8px;

    }


    /*================================================
        DROPDOWN MOBILE
    ================================================*/

    .mctire-filter-menu{

        position:absolute;

        top:
            calc(100% + 6px);

        left:0;

        right:auto;

        z-index:999999 !important;

        display:none;

        width:100%;

        min-width:100%;

        max-height:230px;

        margin:0;

        padding:6px 0;

        overflow-x:hidden;

        overflow-y:auto;

        box-sizing:border-box;

        border-radius:10px;

    }


    .mctire-filter-menu li{

        position:relative;

        z-index:1;

        width:100%;

        min-height:36px;

        padding:
            10px 11px;

        font-size:10px;

        line-height:1.4;

        box-sizing:border-box;

    }


    /*================================================
        FOOTER TOOLBAR
    ================================================*/

    .mctire-toolbar-footer{

        position:relative;

        z-index:20;

        margin-top:8px;

        padding-top:8px;

    }


    .mctire-results{

        gap:5px;

        font-size:9px;

    }


    .mctire-results i{

        font-size:8px;

    }


    .mctire-reset{

        gap:5px;

        font-size:9px;

    }


    .mctire-reset i{

        font-size:9px;

    }


    /*================================================
        PRODUCTOS
    ================================================*/

    .mctire-products-grid{

        position:relative;

        z-index:1;

        display:grid;

        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );

        gap:10px;

        width:100%;

        max-width:none;

        margin-top:15px;

        padding:
            0 5px;

        box-sizing:border-box;

    }


    /*================================================
        TARJETA MÁS AMPLIA
    ================================================*/

    .mctire-product-card{

        width:100%;

        min-width:0;

        border-radius:12px;

    }


    /*================================================
        IMAGEN
    ================================================*/

    .mctire-product-image{

        width:100%;

        aspect-ratio:
            1 / .76;

    }


    /*================================================
        INFORMACIÓN
    ================================================*/

    .mctire-product-info{

        gap:6px;

        padding:11px;

    }


    .mctire-product-brand{

        font-size:8px;

        letter-spacing:.8px;

    }


    .mctire-product-title{

        font-size:12px;

        line-height:1.28;

    }


    .mctire-product-description{

        font-size:9.5px;

        line-height:1.45;

    }


    /*================================================
        PRECIO
    ================================================*/

    .mctire-product-price{

        padding-top:6px;

    }


    .mctire-product-price span{

        font-size:8px;

    }


    .mctire-product-price strong{

        font-size:15px;

    }


    /*================================================
        BOTÓN
    ================================================*/

    .mctire-product-button{

        min-height:36px;

        margin-top:3px;

        padding:
            0 8px;

        border-radius:8px;

        font-size:9.5px;

    }


    /*================================================
        EMPTY
    ================================================*/

    .mctire-empty{

        margin-top:12px;

        padding:
            35px 15px;

    }


    .mctire-empty-icon{

        width:48px;

        height:48px;

        margin-bottom:10px;

    }


    .mctire-empty h2{

        font-size:14px;

    }


    .mctire-empty p{

        font-size:11px;

    }


    /*================================================
        PAGINACIÓN
    ================================================*/

    .mctire-pagination{

        margin-top:18px;

    }


    .mctire-pagination button{

        width:32px;

        height:32px;

        font-size:10px;

    }

}


/*==================================================
====================================================
    MOBILE PEQUEÑO
====================================================
==================================================*/

@media(max-width:380px){

    .mctire-catalog{

        padding:
            4px 0 16px;

    }


    .mctire-catalog-header{

        margin-bottom:13px;

        padding:
            0 10px;

    }


    .mctire-catalog-title{

        font-size:1.6rem;

    }


    .mctire-catalog-description{

        font-size:10px;

    }


    .mctire-catalog-toolbar{


        padding:8px;

    }


    /*================================================
        FILTROS
    ================================================*/

    .mctire-filters{

        gap:6px;

    }


    .mctire-filter-button{

        height:38px;

        padding:
            0 8px;

    }


    .mctire-filter-text{

        font-size:9px;

    }


    .mctire-filter-menu{

        top:
            calc(100% + 5px);

        max-height:210px;

    }


    .mctire-filter-menu li{

        min-height:34px;

        padding:
            9px 10px;

        font-size:9px;

    }


    /*================================================
        PRODUCTOS
    ================================================*/

    .mctire-products-grid{

        gap:4px;

        padding:
            0 4px;

    }


    .mctire-product-card{

        border-radius:10px;

    }


    .mctire-product-info{

        padding:9px;

        gap:5px;

    }


    .mctire-product-brand{

        font-size:7px;

    }


    .mctire-product-title{

        font-size:11px;

    }


    .mctire-product-description{

        font-size:9px;

    }


    .mctire-product-price strong{

        font-size:14px;

    }


    .mctire-product-button{

        min-height:34px;

        font-size:9px;

    }

}


/*==================================================
====================================================
    REDUCIR MOVIMIENTO
====================================================
==================================================*/

@media(prefers-reduced-motion:reduce){

    .mctire-search,
    .mctire-search-clear,
    .mctire-filter-button,
    .mctire-filter-button i,
    .mctire-product-card,
    .mctire-product-image img,
    .mctire-product-button{

        transition:none;

    }

}