.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: #f5f6f6;
    font-family: 'Roboto', Arial, sans-serif;
}

.container {
    position: relative;
}

header {
    position: relative;
    background-color: #f5f6f6;
}

.no-select {
    user-select: none; /* Evita selección de texto/elemento */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE/Edge */

    pointer-events: none; /* (Opcional) Evita clic y arrastre */
}

.background-topleft {
    position: absolute;
    left: 24%;
    top: 0%;
    width: 50%;
    z-index: 1;
}

.background-bottomleft {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45%;
    z-index: -1;
}

.background-topright {
    position: absolute;
    right: -10%;
    top: 0;
    width: 50%;
    z-index: -1;
}

.background-bottomright {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30%;
    z-index: -1;
}

#btnWhatsapp {
    position: fixed;
    bottom: 13px;
    right: 6%;
    z-index: 100;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.btn-outline-orange {
    color: #ff8c00;
    border-color: #ff8c00;
}

.nowrap {
    text-wrap-mode: nowrap;
}

.card {
    min-height: 530px;
    max-height: 530px;
}

.card-img {
    cursor: pointer;
    max-height: 25rem;
}

.card-text {
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.price {
    color: green;
}

.shopcart {
    position: absolute;
    right: 0;    
    height: calc(100% - 150px);
    z-index: 10;
    opacity: 80%;
    visibility: collapse;
    width: 100%;
}

#btnOpenCart {
    display: none;
    cursor: pointer;
}

.shopcart-hidden {
    animation: shopCart-animation-hidden 1s ease-in-out alternate;
    visibility: hidden;
}

.shopcart-visible {
    animation: shopCart-animation-visible 1s ease-in-out alternate;
    visibility: visible;
}

#img-full {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
    padding: 30px
}

#carouselfullExit {
    position: fixed;
    top: 10px;
    right: 10px;
}

.btn-close {
    opacity: 1;
    font-size: 20px;
}

#categoriesList {
    display: none
}

.footer-main {
    background: transparent;
    padding: 10px 0 0 0;
    font-family: 'Roboto', Arial, sans-serif;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-section {
    flex: 1;
    min-width: 220px;
}

    .footer-section h5 {
        font-weight: bold;
        margin-bottom: 20px;
    }

    .footer-section ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .footer-section ul li {
            margin-bottom: 12px;
        }

            .footer-section ul li a {
                color: #222;
                text-decoration: none;
                transition: color 0.2s;
            }

                .footer-section ul li a:hover {
                    color: #258cfb;
                }

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.footer-payments {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px 0 40px;
}

    .footer-payments h5 {
        font-weight: bold;
        margin-bottom: 10px;
    }

.footer-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

    .footer-icons img {
        height: 32px;
        background: #fff;
        border-radius: 4px;
        padding: 2px 6px;
        box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    }

.footer-bottom {
    background: #111;
    color: #fff;
    padding: 16px 40px;
    font-size: 15px;
    font-family: 'Roboto', Arial, sans-serif;
    margin-top: 30px;
}

.footer-bottom a {
    color: #fff;
    text-decoration: underline;
}

#btnOpenCartMobile {
    padding:1rem
}


@keyframes shopCart-animation-hidden {
    from {
        opacity: 80%;
        visibility: visible;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes shopCart-animation-visible {
    from {
        opacity: 0;
        visibility: hidden;
    }

    to {
        opacity: 80%;
        visibility: visible;
    }
}
@media (min-width: 576px) {
    .background-topleft {
        z-index: 0;
    }
}


@media (min-width: 992px) {
    html {
        font-size: 16px;
    }

    #btnOpenCartMobile {
        display: none;
    }

    #btnOpenCart {
        display: block;
    }

    .shopcart {
        visibility: visible;
        width: 380px;
        height: -webkit-fill-available;
    }

    .shopcart.shopcart-hidden {
        visibility: hidden;
        width: 380px;
    }

    .background-topleft {
        width: 30%;
    }

    .background-topright {
        width: 30%;
    }

    .background-bottomleft {
        width: 20%;
    }

    .background-bottomright {
        width: 20%;
    }

    #btnWhatsapp {
        right: 20px;
        width: 60px;
        height: 60px;
    }

    #btnSearch {
        display: none
    }

    #img-full {
        padding: 550px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow-y: scroll;
    }

    #carouselfullExit {
        right: 500px;
    }

    .card {
        min-height: 650px;
        max-height: 650px;
    }

    #categoriesList {
        display: flex
    }

    .nav-item:hover {
        background-color: #f8f9fa;
        border-radius: 2rem;
    }

    .footer-content {
        flex-direction: row;
        gap: 30px;
        padding: 0 20px;
    }

    .footer-payments {
        padding: 20px 20px 0 20px;
    }

    .footer-bottom {
        padding: 16px 20px;
    }
}