/* Eliminados estilos de modal de variantes */

/* Botón corporativo azul (#006ca9) */

.btn-corporate {
    background-color: #006ca9;
    border-color: #006ca9;
    color: #fff;
}

.btn-corporate:hover {
    background-color: #005d93;
    border-color: #005d93;
    color: #fff;
}

.btn-corporate:disabled,
.btn-corporate.disabled {
    background-color: #66a9c9;
    border-color: #66a9c9;
}

#burgeroffcanvas {
    background-color: rgba(255, 255, 255, 0.8);
    margin: 0px 2px;
}

.accordion-button:not(.collapsed) {
    color: #000;
    background-color: #f1f1f0;
    box-shadow: inset 0 -1px 0 rgb(0 0 0 / 13%);
}

.webcatalogo {
    background: #e81268;
    text-align: center;
}

.webcatalogo a {
    color: #fff;
    text-decoration: none;
}

.heapage {
    margin-top: 10px;
}

@media (max-width: 991px) {
    .tab-content>.tab-pane {
        display: block;
        opacity: 1;
    }
}

#cuerpo2 {
    display: flex;
    flex-flow: row wrap;
}

/*#divFiltro{
			flex:0 0 25%;
		}
		#divResultadoBusqueda{
			display: flex;
			flex-flow: row wrap;
			justify-content: center;
			align-items: flex-start;
		}*/

/*- ---- -- - ----*/

#SH_categorias {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
}

.paproductos,
.item {
    cursor: pointer;
    margin-bottom: 20px;
}

.indexLogo {
    padding-left: 0%;
}

@media (max-width: 768px) {
    .indexLogo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        padding-left: 0;
    }
    .logo {
        padding: 10px 0;
    }
}

.ajaxLoader {
    background: white;
    border: 1px solid #3498db;
    color: #3498db;
    margin: 0 auto;
    padding: 5px 5px;
    width: 300px;
    height: 60px;
    margin-bottom: 10px;
}

.loader {
    background: white;
    border: 12px solid #f3f3f3;
    /* Light grey */
    border-top: 12px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin;
    animation-duration: 5000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.top_uno p {
    margin-top: 0;
    margin-bottom: 0;
}

.ind_p_ban {
    margin-left: auto;
}

.ind_cer_ban {
    cursor: pointer;
    margin-left: auto;
    color: #fff;
}

.header {
    background-color: #007bff;
    background-color: #f1f1f0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0px 25px;
    height: 80px;
    align-items: center;
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    padding: 5px 0;
}

.search input {
    background-color: #fff;
    border: 1px solid #d8d8d8;
    height: 35px;
    width: 100%;
    border-radius: 50px;
    padding: 10px;
    font-size: 16px;
}

.icons {
    text-align: right;
}

.icons .fa {
    color: #fff;
    color: #004066;
    text-decoration: none;
    padding: 0px 10px;
    transition: 0.6s;
    font-size: 20px;
}

.icons .fa:hover {
    color: #ff0f62;
}

.links {
    background-color: #007bff;
    height: 0;
    transition: 0.6s;
    display: none;
}

.links a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 10px;
    font-size: 18px;
}

.showmylinks {
    height: 100vh;
}

/*#burger{
	display: none;
}*/

/*.fa-search{
	position: relative;
	right: 20px;
	top: 10px;
}*/

#btnBusca {
    cursor: pointer;
}

#categori {
    display: flex;
    flex-direction: rows;
    align-content: center;
    justify-content: center;
}

#categori .catego_n {
    margin-left: 1px;
    border-radius: 20px;
    border: 1px solid #ccc;
    font-size: 14px;
    padding-top: 10px;
    cursor: pointer;
    justify-items: center;
    margin-bottom: 1rem;
    margin-right: 1rem;
}

.ind_ban_1 {
    display: flex;
    justify-content: center;
}

.whatsapp {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 10px;
    right: 5%;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 38px;
    z-index: 9999;
}

.hWh20 {
    width: 16px;
    height: 16px;
    background-image: url('../img/verde.gif');
    background-repeat: no-repeat;
    position: absolute;
    border-radius: 50%;
    border: 1px solid #fff;
}

.hWh21 {
    width: 16px;
    height: 16px;
    background-image: url('../img/rojo.gif');
    background-repeat: no-repeat;
    position: absolute;
    border-radius: 50%;
    border: 1px solid #fff;
}

/* Estilos modernos para el popup de WhatsApp */

.wwhatapp {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    width: 320px;
    min-height: 320px;
    border-radius: 24px;
    position: fixed;
    bottom: 80px;
    right: 2%;
    z-index: 9999999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.wwhatapp:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.wwhatapp .card-header {
    background: #2d5a47;
    color: #ffffff;
    padding: 16px 60px 16px 20px;
    border-radius: 24px 24px 0 0;
    position: relative;
    overflow: hidden;
}

.wwhatapp .btn-close {
    --bs-btn-close-color: #ffffff;
    color: #ffffff;
    opacity: 0.8;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

/* Asegurar que el pseudo-elemento de Bootstrap se muestre correctamente */

.wwhatapp .btn-close::before {
    content: "×";
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    color: inherit;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wwhatapp .btn-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.wwhatapp .wwhatappTxt h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.wwhatapp .wwhatappImg {
    flex: 0 0 25%;
    position: relative;
}

.wwhatapp .wwhatappImg img {
    width: 100%;
    max-width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.wwhatapp .wwhatappImg img:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.wwhatapp .estado {
    position: relative;
    text-align: center;
    padding: 6px 12px;
    border-radius: 20px;
    color: #ffffff;
    min-width: 80px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 8px;
}

.wwhatapp .online {
    background: #198754;
    box-shadow: 0 2px 4px rgba(25, 135, 84, 0.3);
}

.wwhatapp .offline {
    background: #ffc107;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.wwhatapp .estado h5 {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.wwhatapp .card-body {
    height: 180px;
    background: url('../img/fowwha.webp') no-repeat center center;
    background-size: cover;
    padding: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wwhatapp .card-footer {
    text-align: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 0 0 24px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.wwhatapp .card-body textarea {
    font-size: 0.95rem;
    min-height: 120px;
    border-radius: 16px;
    padding: 16px;
    line-height: 1.5;
    resize: none;
    width: 100%;
    border: 2px solid rgba(37, 211, 102, 0.2);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    font-family: inherit;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.wwhatapp .card-body textarea:focus {
    outline: none;
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 1);
}

.wwhatapp .card-body textarea::placeholder {
    color: #6c757d;
    font-style: italic;
}

.wwhatapp .card-footer button {
    width: 100%;
    background: #2d5a47;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(45, 90, 71, 0.2);
}

.wwhatapp .card-footer button:hover {
    background: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transform: translateY(-1px);
}

.wwhatapp .card-footer button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.2);
}

.wwhatapp .card-footer button i {
    margin-left: 8px;
    font-size: 1.1em;
}

/* Responsive design */

@media (max-width: 768px) {
    .wwhatapp {
        width: 300px;
        right: 1%;
        bottom: 90px;
    }
    .wwhatapp .card-header {
        padding: 14px 55px 14px 18px;
    }
    .wwhatapp .wwhatappTxt h5 {
        font-size: 0.9rem;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .wwhatapp {
        width: 280px;
        right: 2%;
        bottom: 100px;
    }
    .wwhatapp .card-header {
        padding: 12px 50px 12px 16px;
    }
    .wwhatapp .btn-close {
        width: 24px;
        height: 24px;
    }
    .wwhatapp .wwhatappTxt h5 {
        font-size: 0.85rem;
        line-height: 1.2;
        white-space: normal;
        word-break: break-word;
    }
    .wwhatapp .card-body {
        height: 160px;
        padding: 16px;
    }
    .wwhatapp .card-footer {
        padding: 12px 16px;
    }
}

/*   Footer    */

.footer {
    background: #0d71aa;
    font-size: 0.8em;
    color: #fff;
    padding-left: 3.5rem;
    padding-right: 3.5rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer a {
    color: white;
}

.footer_1,
.footer_2,
.footer_3 {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    text-align: left;
    padding-top: 25px;
}

.footer_1,
.footer_2 {
    flex-basis: 20%;
}

.footer_3 {
    flex-basis: 60%;
    justify-content: space-around;
    flex-flow: column wrap;
    align-items: center;
}

#redes-footer a {
    color: #fff;
    font-size: 18px;
}

.footer_tiendas {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    width: 100%;
}

.tiendas1-footer {
    margin: 0 auto;
}

.badgeC {
    position: relative;
    right: 5px;
}

.badgeC[data-badge]:after {
    content: attr(data-badge);
    position: absolute;
    padding: 2px;
    top: -15px;
    right: -20px;
    font-family: Arial;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: -1px;
    background: red;
    color: white;
    width: 23px;
    height: 23px;
    text-align: center;
    line-height: 16px;
    border: 2px solid white;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    box-shadow: 0 0 1px #333;
}

.badgeSLI {
    position: relative;
    right: 5px;
}

.badgeSLI[data-badge]:after {
    content: attr(data-badge);
    position: absolute;
    padding: 2px;
    top: -55px;
    right: -55px;
    font-family: Arial;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: -1px;
    background: red;
    color: white;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 30px;
    border: 1px solid white;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    box-shadow: 0 0 1px #333;
}

.promoXPC h6 span {
    background: #e41660;
    color: #fff;
    padding: 1px 10px;
    font-size: 0.8rem;
}

.promoXPC .precioSPX {
    font-size: 1.6rem;
    font-weight: 900;
    color: #e41660;
}

.promoXPC .dtoSPX {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e41660;
    margin-left: 40px;
}

.promoXPC .btnprecio {
    background: #e41660;
    color: #fff;
    font-weight: 900;
    font-size: 1.2rem;
}

.promoXPC .texto {
    line-height: 18px;
    font-weight: 400;
}

@media only screen and (max-width: 600px) {
    .header {
        grid-template-columns: auto auto;
        padding: 10px 5px;
        height: auto;
    }
    .logo img {
        height: auto;
        width: 120px;
    }
    .search {
        grid-column: 2;
        grid-row: 2;
        grid-column: 1 / span 2;
        padding-top: 10px;
    }
    #burger {
        display: inline;
    }
    #categori {
        display: none;
    }
    .icons .fa {
        padding: 5px;
    }
    .showmylinks {
        display: block;
        position: absolute;
        width: 100%;
        transition: 0.6s;
    }
    .footer {
        flex-direction: column;
    }
    .badgeSLI[data-badge]:after {
        position: absolute;
        padding: 2px;
        top: -55px;
        right: -40px;
        font-family: Arial;
        font-size: 10px;
        font-weight: bold;
        letter-spacing: -1px;
        background: red;
        color: white;
        width: 25px;
        height: 25px;
        text-align: center;
        line-height: 20px;
        border: 1px solid white;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        -o-border-radius: 50%;
        border-radius: 50%;
        box-shadow: 0 0 1px #333;
    }
}

@media only screen and (max-width: 900px) {
    .logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    .footer_1,
    .footer_2 {
        align-content: center;
        flex-basis: 50%;
    }
    .footer_3 {
        align-items: center;
        flex-basis: 100%;
    }
}

@media only screen and (max-width: 375px) and (orientation: portrait) {
    .promoXPC .texto {
        line-height: 14px;
        font-weight: 300;
        font-size: 0.8rem;
    }
    .promoXPC h6 span {
        font-size: 0.7rem;
    }
    .promoXPC .btnprecio {
        font-size: 0.9rem;
    }
    .promoXPC .precioSPX {
        font-size: 0.9rem;
    }
    .promoXPC .dtoSPX {
        font-size: 0.8rem;
        margin-left: 2px;
    }
}