*{
    text-decoration: none;
    list-style: none;
    /*animation-name: fade-in;*/
    animation-duration: 1s;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Work Sans', serif;
}
.container-cart{
    display: grid;
    grid-template-columns: 0.3fr 1fr;
    grid-template-areas:
        "header header"
        "carousel carousel"
        "featured featured"
        "filters results";
    height: 100%;
    gap: 10px;
    gap: 1em;
    grid-template-rows: 1fr 2fr;
}
.container-cart-withoutfilter{
    grid-template-areas:
        "header header"
        "carousel carousel"
        "featured featured"
        "results results";
}
.container-cart.active{
    display: grid;
    grid-template-columns: 0.3fr 1fr;
    grid-template-areas:
        "filters results";
    height: 100%;
    grid-template-rows: 1fr;
    gap: 1em;
}
.cart {
    position: fixed;
    display: flex;
    width: 100%;
    top: 0;
    left: -100%;
    opacity: 1;
    z-index: 10000;
    height: 100%;
    transition: all 1s ease-out;
    padding-left: 0px;
    flex-direction: column;
    flex-wrap: nowrap;
}
.cart.active {
    position: fixed;
    display: flex;
    grid-template-columns: 1fr .6fr;
    grid-template-areas: "close container";
    background: #ffffff;
    left: 0;
    opacity: 1;
    z-index: 10000;
    transition: all .5s ease-out;
    width: 500px;
    flex-direction: column;
    height: 100%;
    align-items: flex-start;
    justify-content: space-between;
    padding: 8px;
}

.item-cart {
    display: grid;
    grid-template-areas: "imageItem dataItem remove";
    width: 100%;
    flex-direction: row;
    gap: 30px;
    padding: 5px 10px;
    border-bottom: 1px solid #2a2a2a1a;
    grid-template-columns: .3fr 1fr;
    align-items: center;
}
.image-cart-item{
    grid-area: imageItem;
}
.data-item-cart {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    height: 100%;
    width: 100%;
    justify-content: center;
    grid-area: dataItem;
}


.container-header-cart{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0px 10px;
}
.container-items-cart{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    row-gap: 10px;
    padding: 0px 10px;
}
.container-footer-cart{
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 70%;
    justify-content: flex-end;
    padding: 15px;
    text-transform: uppercase;
    border-top: 3px solid #2a2a2a1a;

}
.close-cart{
    cursor: pointer;
    text-align: right;
    font-size: 1.5em !important;
}
.button-filter-head{
    background: transparent;
    border: 0px;
    padding: 10px;
    width: 100%;
    margin: 5px;
    cursor: pointer;
    text-align: left;
    border-radius: 5px;
    box-shadow: -2px 2px 8px 0px #adadad;
}
.results{
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit,minmax(276px,276px));
    padding: 0px 16px;
    justify-content: center;
}
.header-cart {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: .2rem;
    text-transform: capitalize;
    flex-wrap: nowrap;
}
@media screen and (max-width: 700px)  {
    .container-cart{
        display: grid;
        grid-template-areas:
        "carousel"
        "featured"
        "filters"
        "results";
        height: 100%;
        width: 100%;
        gap: 1em;
        grid-template-columns: 1fr;
        grid-template-rows:  auto;

    }
    .cart.active {
        display: flex;
        grid-template-columns: 1fr .6fr;
        grid-template-areas: "close container";
        background: #ffffff;
        left: 0;
        opacity: 1;
        z-index: 10000;
        transition: all .5s ease-out;
        flex-direction: column;
        height: 100%;
        align-items: flex-start;
        justify-content: space-between;
        width: 33.333%;
        min-width: 90%;
        padding: 8px;
    }
    .container-cart.active{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
        "filters"
        "results";
        grid-template-rows: auto;
        height: 100%;
    }
    .item-cart {
        display: flex;
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        border-bottom: 1px solid #2a2a2a1a;
    }

    .data-item-cart {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        height: 100%;
        width: 100%;
        justify-content: center;
    }

    .container-items-cart{
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        padding: 0px 10px;
    }
    .button-filter-head {
        background: transparent;
        border: 0px;
        padding: 10px;
        width: 100%;
        margin: 5px;
        cursor: pointer;
        text-align: center;
        border-radius: 5px;
        box-shadow: 0 0 8px 0px #e6e5e5;
    }
}
.nav-bar{
    grid-area: header;
    display: flex;
    justify-content: space-between;
    top: auto;
    align-items: center;
}
.input-primary {
    width: 100%;
    margin: 15px 0px;
    box-shadow: 0 1px 2px 0 #00000033;
    border: 0 rgba(0,0,0,.2);
    height: 39px;
    border-radius: 2px;
    padding: 0px 10px;
    background-color: #fff;
}
.form-search{
    max-width: 600px;
    width: 100%;
    margin: 5px;
}
.input-primary:focus{
    outline: none;
    border:none;
}
.input-primary:disabled{
    opacity:.5;
}
.cart-container {
    display: flex;
    flex-direction: column;
    color: #464646;
    border: 0px;
    margin-right: .5em;
    background-color: transparent;
}
.container-filters{
    grid-area: filters;
    height: 100%;
    width: 100%;
}
.container-filters::before {
    font-weight: bold;
    color: #000000;
    content: "Filtros";
}
.container-results{

    grid-area: results;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;

}

.badge-cart{
    background-color: #464646 !important;
    margin-bottom: 10px;
    font-size: 10px !important;
}
.container-divider{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-content: center;
    padding: 16px;
    align-items: center;
}
.container-featured{
    grid-area: featured;
}


/* INICIO CAROUSEL*/


.carousel-inner{
    width: auto !important;
}
.carousel-slide{
    min-width: 100%;
    overflow: hidden;
    transition: .3s ease all;
    z-index: 9;
    max-height: 500px;
    position: relative;

}
.carousel-control-prev{
    pointer-events: all;
    background: none;
    border:none;
    outline: none;
    cursor: pointer;
    width: 50px;
    height: 100%;
    text-align: center;
    position: absolute;
    transition: all .3s  ease ;
    display:flex;
    left: 0;
}
.carousel-control-next{
    pointer-events: all;
    background: none;
    border:none;
    outline: none;
    cursor: pointer;
    width: 50px;
    height: 100%;
    text-align: center;
    position: absolute;
    transition: all .3s  ease ;
    display:flex;
    right: 0;
}
.image-slide{
    width: 100%;
    cursor: pointer;
}
.container-image {
    width: 100% !important;
}

.carousel-featured {
    grid-area: carousel;
    height: 100%;
    flex-wrap: nowrap;
}
.carousel-inner-featured{

}
.carousel-slide-featured{
    min-width: 100%;
    overflow: hidden;
    transition: .3s ease all;
    z-index: 9;
    max-height: 500px;
    position: relative;

}
.image-slide-featured{
    width: 100%;
    height: 100% !important;
    object-fit: fill;
}
.container-image-featured {
    height: 468px;
}
/*FIN CAROUSEL*/

/* INICIO DROPDOWN*/

.dropdown-order {
    position: absolute;
    z-index: 1000;
    display: none;
    float: right;
    right: 92px;
    padding: 10px;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
}
.dropdown-order.active {
    display: flex;
    flex-direction: column;
}
.container-order{
    display: flex;
    column-gap: 6px;
    flex-direction: row;
}
.item-order{
    cursor: pointer;
    text-shadow: 0px -1px 0px #cec2c2;
    margin: 5px;
    width: 100%;
}
.item-order:hover{
    transition: all 0.3ms ease;
    opacity: .5;
}
.button-dropdown-order{
    border: 0px solid;
    background-color: white;
    height: 33px;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
}

.button-dropdown-order:hover {
    border: 1px solid;
}
@media screen and (max-width: 960px) {
    .fa-caret-down {
        display: none;
    }
    .image-slide{
        height: calc(100vw * 142 / 538) !important;
    }
}
/* FIN DROPDOWN*/

/*INICIO FILTROS*/
.container-list-filters{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.sub-filters {
    width: 100%;
    display: none;
    top: 0;
    left: -100%;
    opacity: 1;
    transition: all 1s ease;
    padding-left: 0px;
}
.sub-filters.active {
    display: flex;
    flex-direction: column;
    margin-left: 5px;
    opacity: 1;
    padding-bottom: 8px;
    transition: all .5s ease;
    width: 100%;
    height: 100%;
    padding-top: 0px;
    flex-wrap: wrap;
    border-radius: 4px;
    background-color:#f8f7f7;
    box-shadow: -1px 2px 3px 0px #e6dede;
    justify-content: center;
    align-items: center;
}
.cont-filters {
    float: right;
    overflow-y: auto;
    display: flex;
    row-gap: 10px;
    position: relative;
    flex-direction: column;
    z-index: 20000;
    height: 0;
    align-items: flex-start;
}
.cont-cart-after{
    animation: showElement;
    animation-duration: 1s;
    animation-fill-mode: forwards;

}
.cont-cart-before{
    animation: hideElement;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}
@keyframes showElement {
    0%{
        transform: translateX(0%);
        transition: all 0.5ms ease;
    }
    100%{
        transform: translateX(100%);
        transition: all 0.5ms ease;

    }

}
@keyframes hideElement {
    0%{
        transform: translateX(0%);
        transition: all 0.3s ease-in-out;
    }
    100%{
        transform: translateX(100%);
        transition: all 0.3s ease-in-out;

    }
}

/*FIN FILTROS*/

.heading{

}
div::-webkit-scrollbar {
    width: .7em;
}

div::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;

}

div::-webkit-scrollbar-thumb {
    background:#000000; ;
    border-radius: 5px;
    transition: all 1s ease-in-out;

}

div::-webkit-scrollbar-thumb:hover {
    background: #161515;
    transition: all 1s ease-in-out;
}



#root::-webkit-scrollbar {
    width: .7em;
}

#root::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;

}

#root::-webkit-scrollbar-thumb {
    background:#bebdbd; ;
    border-radius: 10px;
    transition: all 1s ease-in-out;
    height:40%;
}

#root::-webkit-scrollbar-thumb:hover {
    background: #433c3c;
    transition: all 1s ease-in-out;
}
.pagination>li>a{
    display: flex !important;
    align-self: center;
    align-items: center;
    height: 100%;
}
.container-buttons-nav{
    display: flex;
    gap : 1em;
    flex-direction: row;
    align-items: center;
}

.card-typeRestriction {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 10px 12px rgba(0, 0, 0, 0.08), -4px -4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    box-sizing: border-box;
    padding: 10px;
    width: 250px;
    scale: .9;
    gap:.5rem;
    justify-content: space-around;
}

.card-typeRestriction:hover {
    transform: translateY(-3px);
    box-shadow: 0px 20px 20px rgba(0, 0, 0, 0.1),
    -4px -4px 12px rgba(0, 0, 0, 0.08);
}
