:root{
    --rojo-base: #e22f02;
    --rojo-secundario: #f84e24;
    --rojo-rgba: rgba(248, 78, 36, 0.4);
    --gris-base: #ececec;
    --grisoscuro: #3B4957;
    --grisvioleta: #434266;
    --grisvioleta2: #72709d;
    --grisvioleta3: #35354c;
    --azulvioleta: #230844;
    --naranja: #fab535;
    --amarillo: #e4f900;
    --rojo: #ff5b36;
    --rojo2: #961b00db;
    --verde: #00a650;
    --azul:  rgba(11, 118, 218, 1);
    --azul2: rgb(11, 80, 143, 1);
    --blanco: #e8e7e7;
    --blanco2: #c6c6c6;
    --salmon: rgba(253, 126, 91, 0.8);
    --salmon2: rgba(253, 126, 91, 1);
    --font1: Open Sans, sans-serif;
    --font2: 'Poppins', sans-serif;
    --font3: Georgia, serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: var(--gris-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}
footer {
    width: 100%;
    padding: 2rem 1rem;
    background-color: rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.box-footer {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.label-footer {
    font-family: var(--font2);
    font-size: 1rem;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 0.3rem;
}
.container-social-footer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.box-cont-footer {
    display: flex;
    flex-direction: row;
    gap: 0.2rem;
    align-items: center;
    font-family: var(--font2);
    cursor: pointer;
    color: rgba(0, 0, 0, 0.8);
}
.img-redes-sociales {
    width: 1.4rem;
    height: 1.4rem;
}
.box-cobertura {
    font-family: var(--font2);
    text-align: center;
    color: rgba(0, 0, 0, 0.7);
}

/* HEADING */
.container-heading {
    width: 100%;
    padding-top: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: var(--rojo-base);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* HEADING 1 */
.container-heading1 {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
}
.container-inputs-heading {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.container-inputs-heading1, .container-inputs-heading2 {
    display: flex;
    align-items: center;
}
.container-inputs-heading2 {
    gap: 1rem;
}
.icono-cerrar-menu, .icono-abrir-menu {
    width: 1.6rem;
    height: 1.6rem;
    color: white;
    cursor: pointer;
    margin-top: 0.1rem;
}
.icono-user2 {
    height: 1.4rem;
    width: 1.4rem;
    color: white;
    cursor: pointer;
}

/* HEADING 2 */
.container-heading2 {
    display: none;
}

.div-logo {
    font-family: var(--font2);
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    margin-left: 0.5rem;
}
.div-logo a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
}
.container-search {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}
.container-search2 {
    width: 100%;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-top-left-radius: 0.1rem;
    border-top-right-radius: 0.1rem;
}
.container-search3 {
    width: 100%;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-top-left-radius: 0.1rem;
    border-top-right-radius: 0.1rem;
}
.input-search {
   height: 100%;
   width: 100%;
   border: none;
   border-radius: 0.2rem;
   outline: none;
   background-color: white;
   padding-left: 0.5rem;
   padding-right: 0.5rem;
   font-family: var(--font2);
}
.icono-search {
    height: 1.4rem;
    width: 2.4rem;
    color: rgba(0, 0, 0, 0.7);
}
.search-bar {
    width: 100%;
    min-height: 5rem;
    position: absolute;
    background-color: white;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
    border-bottom-left-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem;
    justify-content: center;
    align-items: center;
    font-family: var(--font2);
    top: 100%;
}
.product-link {
    width: 100%;
    text-decoration: none;
}
.box-product-search {
    width: 100%;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
}
.box-product-search:hover {
    background-color: rgba(53, 53, 76, 0.1)
}
.img-product-search {
    width: 2.5rem;
    height: 3rem;
}
.img-product-search img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}
.box-info-product-search {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 1rem;
    gap: 0.2rem;
}
.label-product-search {
    width: 100%;
    font-family: var(--font2);
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.6);
}
.price-product-search {
    width: 100%;
    height: 1.6rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.nuevo-precio-bar {
    font-family: var(--font2);
    font-size: 0.8rem;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.7);
}
.precio-bar {
    font-family: var(--font2);
    font-size: 0.7rem;
    color: rgba(0, 0, 0, 0.4);
    text-decoration: line-through;
}

.enlace-total-results {
    width: 100%;
    height: 2rem;
    text-decoration: none;
}
.container-total-results {
    width: 100%;
    height: 2rem;
    background-color: white;
    border-bottom-left-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font2);
    font-size: 0.8rem;
    color: var(--rojo-base);
    font-weight: bold;
    cursor: pointer;
}
.container-total-results:hover {
    background-color: rgba(53, 53, 76, 0.1)
}   
.container-no-results {
    width: 100%;
    height: 100%;
    font-family: var(--font2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.container-menu2 {
    width: 100%;
    top: 4rem;
    bottom: 0;
    position: absolute;
    background-color: white;
    z-index: 1500;
    padding-left: 1rem;
    padding-right: 1rem;
}
.label-menu {
    width: 100%;
    padding: 0.5rem;
    font-family: var(--font2);
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
    margin-top: 1rem;;
}
.label-menu:hover {
    background-color: rgba(0, 0, 0, 0.1);
}
.box-indices-menu {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-left: 0.5rem;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.box-inputs-indices-menu {
    width: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.box-inputs-indices-menu label {
    font-family: var(--font2);
    padding: 0.5rem;
    font-size: 1.4rem;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}
.icono-flecha-down, .icono-flecha-up {
    width: 1rem;
    height: 1rem;
}
.box-enlaces-menu {
    width: 100%;
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.box-enlaces-menu a {
    text-decoration: none;
}
.p-menu {
    font-family: var(--font2);
    font-size: 1.2rem;
    color: rgba(0, 0, 0, 0.7);
}



.container-right {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.box-carrito {
    display: flex;
    cursor: pointer;
}
.inp-carrito {
    width: 1.7rem;
    height: 1.7rem;
    color: var(--blanco);
    text-shadow: 0px 0px 10px black;
}
.inp-cart {
    font-family: var(--font2);
    font-weight: bold;
    font-size: 0.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--naranja);
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    box-shadow: 0px 0px 3px black;
    position: absolute;
    margin-left: 1rem;
    margin-top: -0.3rem;
    color: black;
}



.barra-horizontal {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.5);
    height: 1.2rem;
}
.link-account {
    text-decoration: none;
}
.container-session {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(0, 0, 0, 0.2);
    height: 1.8rem;
    padding-right: 1rem;
    padding-left: 1rem;
    border-radius: 0.2rem;
    cursor: pointer;
    position: relative;
}
.icono-user {
    width: 1rem;
    height: 1rem;
    color: rgba(255,255,255,0.9);
}
.label-session {
    font-family: var(--font2);
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
}
.container-heading3 {
    display: none;
}
.box-indice {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.box-indice:hover .container-menu {
    display: flex;
}
.box-indice:hover .menu-icon {
    display: block;
}
.box-indice a {
    text-decoration: none;
}
.label-indice {
    font-family: var(--font2);
    font-size: 1rem;
    color: var(--blanco);
    font-weight: bold;
}
.menu-icon {
    position: absolute;
    width: 1rem;
    height: 1rem;
    margin-top: 2.5rem;
    fill: rgba(255,255,255,0.9);
    display: none;
}
.container-menu {
    position: absolute;
    z-index: 1500;
    background-color: var(--rojo-base);
    display: flex;
    justify-content: center;
    padding: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.7);
    width: 100%;
    left: 0;
    right: 0;
    top: 9.8rem;
    display: none;
}
.container-column-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    gap: 1rem;
}
.label-column-menu {
    font-family: var(--font2);
    font-size: 1rem;
    color: var(--blanco);
    font-weight: bold;
}
.box-row-menu {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.box-row-menu a {
    text-decoration: none;
}
.row-menu {
    display: inline;
    font-family: var(--font2);
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}


/* Cartel Advertencia */
.modal-advert {
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    position: fixed;
    z-index: 1000;
    background: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}
.box-advert {
    width: 96%;
    height: 18rem;
    background-color: var(--gris-base);
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    gap: 1rem;
}
.icono-advert {
    width: 7rem;
    height: 7rem;
    color: var(--rojo-secundario);
}
.msj-advert {
    width: 100%;
    font-family: var(--font2);
    font-size: 0.9rem;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.8);
    text-align: center;
}
.box-inp-advert {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.btn-confirm, .btn-cancel {
    width: 8rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    font-family: var(--font2);
    font-weight: bold;
    border: none;
    border-radius: 0.2rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
}
.btn-confirm {
    background-color: var(--verde);
}
.btn-cancel {
    background-color: var(--rojo-secundario);
}


/* cartel de notificaciones */
.box-notif {
    width: 96%;
    padding: 1rem;
    position: fixed;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.9);
    border-radius: 0.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    bottom: -100px;
    right: 10px;
    font-family: var(--font2);
    transition: all 0.5s ease;
    z-index: 2000;
    gap: 0.3rem;
}
.box-notif-success {
    background-color: var(--verde);
}
.box-notif-error {
    background-color: var(--rojo);
}
.label-error, .label-success {
    width: 100%;
    align-items: center;
    font-weight: bold;
    color: white;
}
.label-text {
    font-size: 0.9rem;
}
.msj-notif {
    font-size: 0.75rem;
    color: white;
}
.visible {
    bottom: 10px;
    opacity: 1;
    pointer-events: auto;
}
.hidden {
    bottom: -100px;
    opacity: 0;
    pointer-events: none;
}

/* Spinner */
.spinner {
    border: 6px solid #ccc;
    border-top: 6px solid var(--rojo-base);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    animation: spin 1s linear infinite;
    margin-top: 0.5rem;
    margin-left: 0.5rem;
}

.spinner-checkout {
    border: 16px solid #ccc;
    border-top: 16px solid var(--rojo-base);
    border-radius: 50%;
    width: 6rem;
    height: 6rem;
    animation: spin 1s linear infinite;
    margin-top: 0.5rem;
    margin-left: 0.5rem;
}

/* AYUDA WSSP */
.container-ayuda {
    width: 8rem;
    height: 2.5rem;
    background-color: var(--verde);
    position: fixed;
    bottom: 10px;
    right: 10px;
    border-radius: 0.2rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
    cursor: pointer;
    z-index: 1100;
}
.icono-whatsapp {
    width: 1.6rem;
    height: 1.6rem;
    cursor: pointer;
}
.container-ayuda p {
    font-family: var(--font2);
    font-weight: bold;
    color: white;
    cursor: pointer;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* PAGINATION */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    align-items: center;
}
.container-pagination-numbers {
    display: flex;
    align-items: center;
}
.box-number, .number-select, .box-dots {
    font-family: var(--font2);
    font-size: 1rem;
    font-weight: bold;
    padding: 0.3rem 0.7rem;
    border-radius: 0.2rem;
}
.box-number a {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.8);
    font-weight: bold;
}
.box-number a:hover {
    color: var(--rojo-secundario);
}
.number-select {
    background-color: var(--rojo-secundario);
    color: white;
}


@media (min-width: 480px) {

}
@media (min-width: 768px){
    footer {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: space-evenly;
    }
    .box-footer {
        width: 40%;
    }

}
@media (min-width: 1024px) {
    .box-footer {
        width: 16rem;
    }
    .container-menu2 {
        display: none;
    }
    .container-heading {
        padding-top: 3rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .container-heading1 {
        display: none;
    }
    .container-heading2 {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
    }
    .container-heading3 {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        margin-top: 1.5rem;
    }
    .container-search {
        width: 35rem;
    }
    .box-notif {
        width: 22rem;
    }
}
@media (min-width: 1400px){

}
@media (min-width: 1600px){

}