.app-sidebar__user-avatar {
    width: 48px;
    background: gray;
    padding: 6px;
}

/* ========================================
   FOOTER TIENDA - ESTILO COMPACTO
   Con Animación Tubes Cursor
   ======================================== */
.footer-tienda {
    background-color: #0a0a0a;
    color: #b0b0b0;
    padding: 50px 0 0 0;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

/* Canvas de la animación de tubos - contenido en el footer */
#footerTubesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 0;
    pointer-events: auto;
    opacity: 0.35;
}

/* Contenido del footer sobre el canvas */
.footer-tienda > .container {
    position: relative;
    z-index: 1;
}

.footer-main {
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
    margin-bottom: 25px;
}

/* Logo Section */
.footer-logo-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo img {
    max-width: 180px;
    max-height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.footer-slogan {
    color: #808080;
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Social Icons */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-social-label {
    color: #808080;
    font-size: 13px;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
}

.footer-social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #b0b0b0;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    background: #dc3545;
    color: #fff;
    transform: translateY(-2px);
}

/* Footer Titles */
.footer-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #dc3545;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
    display: inline-block;
}

.footer-links li a:hover {
    color: #fff;
    padding-left: 5px;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
}

.footer-contact li i {
    color: #dc3545;
    font-size: 16px;
    margin-top: 2px;
    min-width: 16px;
}

.footer-contact li a,
.footer-contact li span {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.footer-contact li a:hover {
    color: #fff;
}

/* WhatsApp Button */
.footer-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.footer-whatsapp-btn:hover {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.footer-whatsapp-btn i {
    font-size: 18px;
}

/* Footer Bottom */
.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 12px;
    color: #606060;
}

.footer-bottom a {
    color: #808080;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #dc3545;
}

.footer-bottom strong {
    color: #b0b0b0;
}

/* Responsive Footer */
@media (max-width: 991px) {
    .footer-tienda {
        padding-top: 40px;
    }
    
    .footer-col {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .footer-main {
        text-align: center;
    }
    
    .footer-logo-section {
        align-items: center;
    }
    
    .footer-social {
        align-items: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links li a:hover {
        padding-left: 0;
    }
    
    .footer-contact {
        display: inline-block;
        text-align: left;
    }
    
    .footer-whatsapp-btn {
        margin-top: 10px;
    }
}

/* ========================================
   FIN FOOTER TIENDA
   ======================================== */

/* ========================================
   ESTILOS DE PRECIOS - PRODUCTOS
   ======================================== */
.stext-105.cl3,
.block2-txt .stext-105,
span.stext-105 {
    color: #dc3545 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    letter-spacing: 0.5px;
    text-shadow: 0 0 1px rgba(220, 53, 69, 0.3);
}

/* Precio en página de producto individual */
.mtext-106.cl2 {
    color: #dc3545 !important;
    font-weight: 700 !important;
}

/* Precio en el carrito */
.header-cart-item-info,
.header-cart-total {
    color: #dc3545;
    font-weight: 600;
}

.app-sidebar__toggle{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 15pt;
}
.app-sidebar__toggle::before{
	display: none;
}
.headerRegister, .header-primary{
	background: #dc3545;
	color: #FFF;
}
.headerUpdate{
	background: #007bff;
	color: #FFF;
}
.textcenter{
	text-align: center;
}
.textright{
	text-align: right;
}
.textleft{
	text-align: left;
}
.bootstrap-select > .dropdown-toggle{
	border: 1px solid #CCC;
}
/*Estilos login*/
#divLoading{
	position: fixed;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(254,254,255, .65);
	z-index: 9999;
	display: none;
}
#divLoading img{
	width: 50px;
	height: 50px;
}
.required{
	color: red;
	font-size: 13pt;
	font-weight: bold;
}
/* style portada categoría */
.prevPhoto {
    display: flex;
    justify-content: space-between;
    width: 300px;
    height: 200px;
    border: 1px solid #CCC;
    position: relative;
    cursor: pointer;
    background: url(../images/uploads/portada_categoria.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    margin: auto;
}
.prevPortada{
	width: 100%;
	min-width: 200px;
	background: none;
}
.prevPhoto label{
	cursor: pointer;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}
.prevPhoto img{
	width: 100%;
	height: 100%;
}
.upimg, .notblock{
	display: none !important;
}
.errorArchivo{
	font-size: 16px;
	font-family: arial;
	color: #cc0000;
	text-align: center;
	font-weight: bold; 
	margin-top: 10px;
}
.delPhoto{
	color: #FFF;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	width: 25px;
	height: 25px;
	background: red;
	position: absolute;
	right: -10px;
	top: -10px;
	z-index: 10;
}
#tbl_list_productos img{
	width: 50px;
}
.imgProductoDelete{
	width: 175px;
}

#imgCategoria{
	text-align: center;
}
#imgCategoria img{
	width: 200px;
	margin: auto;
}

/* Upload fotos*/
#containerImages{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
}
#containerImages > div{
	margin-right: 10px;
	margin-bottom: 8px;
}
.prevImage{
	border: 1px solid #CCC;
	width: 120px;
	height: 148px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.prevImage img{
	width: 100%;
}
.inputUploadfile{
	display: none;
}
.btnUploadfile, .btnDeleteImage{
	border: 0;
	background-color: #000000;
	text-align: center;
	padding: 2px 3px;
	color: #FFF;
	font-size: 9pt;
	cursor: pointer;
	width: 100%;
}
.btnDeleteImage{
	background-color: #dc3545;
}
.prevImage .loading{
	width: 30px;
	height: 30px;
}
#celFotos img{
	width: 150px;
	margin: 10px;
}

/* TIENDA VIRTUAL */
.divmetodpago label, #divCondiciones{
	width: 100%;
	display: flex;
}
.divmetodpago label input, #divCondiciones input{
	margin-right: 15px;
}
#divCondiciones a{
	margin-left: 5px;
}

#divCondiciones  label{
	margin-bottom: 0;
}
.linkw:hover{
	text-decoration: none;
}
.container-title{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.container-title input{
	border: 1px solid #CCC;
	padding: 4px;
	border-radius: 5px;
	margin-right: 5px;
}
.dflex{
	display: flex;
	justify-content: space-around;
	align-items: center;
}
.ui-datepicker-calendar {
    display: none;
}

.page-content ul li { 
   list-style-type: disc;
   margin-left: 15px; 
   margin-bottom: 10px; 
}
.page-content ol li { 
   list-style-type: decimal;
   margin-left: 15px; 
   margin-bottom: 10px; 
}
.page-content ul li ul li, .page-content ol li ul li { 
   list-style-type: circle; 
   list-style-position: inside; 
   margin-left: 15px; 
}
.page-content ol li ol li, .page-content ul li ol li { 
   list-style-type: lower-latin; 
   list-style-position: inside; 
   margin-left: 15px; 
}

.page-error {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: calc(100vh - 110px);
    margin-bottom: 0;
}

.page-error h1 {
    margin: 10px;
    color: #dc3545;
    font-size: 42px;
}

/* ============================================
   RESPONSIVE MAPS & IFRAMES - CONTACTO
   ============================================ */
/* Contenedor responsive para iframes y mapas */
iframe,
.bg0 iframe,
section iframe {
    max-width: 100% !important;
    height: auto;
}

/* Wrapper para mapas de Google */
.map-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* Fix para contenido dinámico con mapas (TinyMCE) */
.bg0 p iframe,
section p iframe {
    max-width: 100% !important;
    width: 100% !important;
}

/* Página de contacto responsive */
@media (max-width: 991px) {
    .size-210 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .size-212 {
        width: 100%;
    }
    
    .whatsapp {
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }
    
    .whatsapp image,
    .whatsapp img {
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
    }
    
    .incono-whatsapp {
        display: flex;
        justify-content: center;
    }
    
    .incono-whatsapp image,
    .incono-whatsapp img {
        max-width: 280px !important;
        height: auto !important;
    }
    
    .asistente_wa {
        font-size: 18px;
        text-align: center;
    }
}

/* Fix para iframes de Google Maps en contenido dinámico */
@media (max-width: 767px) {
    iframe[src*="google.com/maps"],
    iframe[src*="maps.google"] {
        width: 100% !important;
        max-width: 100% !important;
        height: 300px !important;
    }
    
    /* Cualquier iframe dentro del contenido */
    .container iframe,
    .container-fluid iframe {
        max-width: 100% !important;
    }
}

/* ============================================
   PÁGINA DE CONTACTO - CARDS
   ============================================ */
.contacto-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.contacto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.contacto-icon {
    width: 60px;
    height: 60px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contacto-icon span,
.contacto-icon i {
    font-size: 24px;
    color: #fff;
}

.contacto-icon.whatsapp-icon {
    background: #25d366;
}

.contacto-titulo {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.contacto-texto {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.contacto-texto a {
    color: #3b5998;
    text-decoration: none;
    transition: color 0.3s;
}

.contacto-texto a:hover {
    color: #764ba2;
}

.btn-whatsapp {
    display: inline-block;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    color: #fff;
    text-decoration: none;
}

.btn-whatsapp i {
    margin-right: 8px;
}

/* Responsive contacto cards */
@media (max-width: 575px) {
    .contacto-card {
        margin-bottom: 15px;
    }
}

/* ============================================
   SIDEBAR CATEGORÍAS - TIENDA
   ============================================ */
.sidebar-categorias {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 25px 20px;
    position: sticky;
    top: 130px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 2px solid #3b5998;
    display: flex;
    align-items: center;
}

.sidebar-title i {
    color: #3b5998;
}

.lista-categorias {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-categorias li {
    border-bottom: 1px solid #eee;
}

.lista-categorias li:last-child {
    border-bottom: none;
}

.lista-categorias li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5px;
    color: #555;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lista-categorias li a:hover {
    color: #3b5998;
    padding-left: 10px;
    background-color: #f8f9fa;
}

.lista-categorias li a .cat-count {
    color: #999;
    font-size: 13px;
}

.lista-categorias li a:hover .cat-count {
    color: #3b5998;
}

/* Categoría activa */
.lista-categorias li.categoria-activa a {
    color: #3b5998;
    font-weight: 600;
    padding-left: 10px;
    background-color: #f0f4ff;
    border-left: 3px solid #3b5998;
}

.lista-categorias li.categoria-activa a .cat-count {
    color: #3b5998;
}

/* ============================================
   FILTRO DE PRECIOS - DENTRO DEL SIDEBAR
   ============================================ */
.filtro-precios-seccion {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.filtro-titulo {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.filtro-titulo i {
    color: #3b5998;
}

.filtro-precio-content {
    padding-top: 5px;
}

.precio-inputs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.precio-campo {
    flex: 1;
}

.precio-campo label {
    display: block;
    font-size: 12px;
    color: #777;
    margin-bottom: 5px;
}

.precio-campo input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.precio-campo input:focus {
    outline: none;
    border-color: #3b5998;
}

.precio-separador {
    color: #999;
    font-weight: bold;
    padding-top: 20px;
}

/* Slider de rango doble */
.precio-slider-container {
    margin-bottom: 20px;
}

.precio-slider {
    position: relative;
    height: 30px;
}

.precio-slider-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 5px;
    background: #ddd;
    border-radius: 5px;
}

.precio-slider-range {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 5px;
    background: #3b5998;
    border-radius: 5px;
}

.precio-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 5px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
}

.precio-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #3b5998;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.precio-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.precio-slider input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #3b5998;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Botones de precio rápido */
.precio-rapido {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.btn-precio-rapido {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-precio-rapido:hover,
.btn-precio-rapido.active {
    background: #3b5998;
    border-color: #3b5998;
    color: #fff;
}

/* Botones aplicar/limpiar */
.btn-aplicar-filtro {
    width: 100%;
    padding: 10px;
    background: #3b5998;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 8px;
}

.btn-aplicar-filtro:hover {
    background: #2d4373;
}

.btn-limpiar-filtro {
    width: 100%;
    padding: 10px;
    background: #f5f5f5;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-limpiar-filtro:hover {
    background: #e0e0e0;
}

/* Mensaje sin resultados */
.no-resultados-filtro {
    text-align: center;
    padding: 40px 20px;
    color: #777;
}

.no-resultados-filtro i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

/* Responsive sidebar */
@media (max-width: 767px) {
    .sidebar-categorias {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
    
    .sidebar-filtro-precios {
        margin-top: 15px;
    }
    
    .lista-categorias {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .lista-categorias li {
        border-bottom: none;
    }
    
    .lista-categorias li a {
        background-color: #f0f0f0;
        padding: 8px 15px;
        border-radius: 20px;
        font-size: 13px;
    }
    
    .lista-categorias li a:hover {
        padding-left: 15px;
    }
}

/* ========================================
   CARRUSEL DE CATEGORÍAS - HOME (Marquee)
   ======================================== */
.sec-categorias-carrusel {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

/* Contenedor del marquee */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa 0%, transparent 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #e9ecef 0%, transparent 100%);
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 20px;
    padding: 10px 0;
}

/* Animación hacia la izquierda */
.marquee-left {
    animation: marqueeLeft 40s linear infinite;
}

.marquee-left:hover {
    animation-play-state: paused;
}

@keyframes marqueeLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Animación hacia la derecha */
.marquee-right {
    animation: marqueeRight 40s linear infinite;
}

.marquee-right:hover {
    animation-play-state: paused;
}

@keyframes marqueeRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.categoria-slide {
    flex-shrink: 0;
}

.categoria-card {
    display: block;
    position: relative;
    width: 220px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.categoria-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    text-decoration: none;
}

.categoria-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.categoria-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.categoria-card:hover .categoria-card-img img {
    transform: scale(1.15);
}

.categoria-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    transition: background 0.3s ease;
}

.categoria-card:hover .categoria-card-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.85) 100%);
}

.categoria-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    text-align: center;
    z-index: 2;
}

.categoria-card-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.categoria-card-count {
    display: block;
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    margin-bottom: 10px;
}

.categoria-card-btn {
    display: inline-block;
    padding: 6px 14px;
    background: #dc3545;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.categoria-card:hover .categoria-card-btn {
    background: #c82333;
    transform: scale(1.05);
}

.categoria-card-btn i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.categoria-card:hover .categoria-card-btn i {
    transform: translateX(3px);
}

/* Responsive marquee categorías */
@media (max-width: 991px) {
    .categoria-card {
        width: 200px;
        height: 140px;
    }
    
    .marquee-left,
    .marquee-right {
        animation-duration: 35s;
    }
}

@media (max-width: 767px) {
    .categoria-card {
        width: 180px;
        height: 130px;
    }
    
    .categoria-card-title {
        font-size: 14px;
    }
    
    .categoria-card-btn {
        padding: 5px 12px;
        font-size: 11px;
    }
    
    .marquee-container::before,
    .marquee-container::after {
        width: 50px;
    }
    
    .marquee-left,
    .marquee-right {
        animation-duration: 30s;
    }
}

@media (max-width: 480px) {
    .categoria-card {
        width: 160px;
        height: 120px;
    }
    
    .categoria-card-content {
        padding: 10px;
    }
    
    .categoria-card-title {
        font-size: 13px;
    }
    
    .categoria-card-count {
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .marquee-track {
        gap: 15px;
    }
    
    .marquee-left,
    .marquee-right {
        animation-duration: 25s;
    }
}

/* ========================================
   CARRUSEL DE MARCAS - HOME
   ======================================== */
.sec-marcas {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    overflow: hidden;
}

.marcas-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.marcas-marquee-container::before,
.marcas-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marcas-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa 0%, transparent 100%);
}

.marcas-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa 0%, transparent 100%);
}

.marcas-marquee-track {
    display: flex;
    width: max-content;
    gap: 60px;
    animation: marcasMarquee 40s linear infinite;
}

.marcas-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marcasMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.33%);
    }
}

.marca-item {
    flex-shrink: 0;
}

.marca-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 80px;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.marca-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.marca-card img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.marca-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive marcas */
@media (max-width: 991px) {
    .marcas-marquee-track {
        gap: 40px;
        animation-duration: 35s;
    }
    
    .marca-card {
        width: 130px;
        height: 70px;
    }
    
    .marca-card img {
        max-height: 45px;
    }
    
    .marcas-marquee-container::before,
    .marcas-marquee-container::after {
        width: 100px;
    }
}

@media (max-width: 767px) {
    .marcas-marquee-track {
        gap: 30px;
        animation-duration: 30s;
    }
    
    .marca-card {
        width: 110px;
        height: 60px;
        padding: 10px;
    }
    
    .marca-card img {
        max-height: 40px;
    }
    
    .marcas-marquee-container::before,
    .marcas-marquee-container::after {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .marcas-marquee-track {
        gap: 20px;
        animation-duration: 25s;
    }
    
    .marca-card {
        width: 90px;
        height: 50px;
        padding: 8px;
        border-radius: 8px;
    }
    
    .marca-card img {
        max-height: 35px;
    }
    
    .marcas-marquee-container::before,
    .marcas-marquee-container::after {
        width: 40px;
    }
}

/* ========================================
   BOTÓN FLOTANTE WHATSAPP
   ======================================== */
.btn-whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    text-decoration: none;
}

.btn-whatsapp-float i {
    color: #fff;
    font-size: 32px;
}

/* Animación de pulso para llamar la atención */
.btn-whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    z-index: -1;
    animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Responsive botón WhatsApp */
@media (max-width: 575px) {
    .btn-whatsapp-float {
        bottom: 80px;
        right: 15px;
        width: 55px;
        height: 55px;
    }
    
    .btn-whatsapp-float i {
        font-size: 28px;
    }
}

/* ========================================
   BOTÓN BACK TO TOP - COLOR ROJO
   ======================================== */
.btn-back-to-top {
    background-color: #dc3545 !important;
}

.btn-back-to-top:hover {
    background-color: #c82333 !important;
    opacity: 1;
}

/* ========================================
   BOTÓN FLOTANTE CHAT IA
   ======================================== */
.btn-chat-ia-float {
    position: fixed;
    bottom: 185px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
    outline: none;
    padding: 0;
}

.btn-chat-ia-float:hover {
    background: linear-gradient(135deg, #333333 0%, #1a1a1a 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
    text-decoration: none;
}

.btn-chat-ia-float i {
    color: #fff;
    font-size: 28px;
}

.chat-ia-label {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #dc3545;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Animación de brillo para el botón IA */
.btn-chat-ia-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    z-index: -1;
    animation: iaPulse 2.5s ease-out infinite;
}

@keyframes iaPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Responsive botón Chat IA */
@media (max-width: 575px) {
    .btn-chat-ia-float {
        bottom: 160px;
        right: 15px;
        width: 55px;
        height: 55px;
    }
    
    .btn-chat-ia-float i {
        font-size: 24px;
    }
    
    .chat-ia-label {
        font-size: 9px;
        padding: 1px 4px;
    }
}

/* ========================================
   VENTANA DE CHAT IA
   ======================================== */
.chat-ia-window {
    position: fixed;
    bottom: 260px;
    right: 40px;
    width: 380px;
    height: 500px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0) translateY(20px);
    transform-origin: bottom right;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.chat-ia-window.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Encabezado del chat */
.chat-ia-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.chat-ia-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-ia-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-ia-avatar i {
    color: #fff;
    font-size: 24px;
}

.chat-ia-header-text h5 {
    color: #fff;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-ia-status {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.chat-ia-status i {
    color: #4ade80;
    font-size: 8px;
}

.chat-ia-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.chat-ia-close i {
    color: #fff;
    font-size: 18px;
}

.chat-ia-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

/* Área de mensajes */
.chat-ia-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-ia-messages::-webkit-scrollbar {
    width: 5px;
}

.chat-ia-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-ia-messages::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* Mensajes */
.chat-message {
    display: flex;
    gap: 10px;
    max-width: 85%;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.bot-message {
    align-self: flex-start;
}

.chat-message.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 35px;
    height: 35px;
    min-width: 35px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.message-avatar i {
    color: #fff;
    font-size: 18px;
}

.message-avatar.user-avatar {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
}

.message-content {
    background: #fff;
    padding: 12px 16px;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bot-message .message-content {
    border-top-left-radius: 5px;
}

.user-message .message-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    border-top-right-radius: 5px;
}

.user-message .message-content p {
    color: #fff;
}

.message-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    word-wrap: break-word;
}

.message-content strong {
    color: #dc3545;
}

.user-message .message-content strong {
    color: #ff9999;
}

.message-time {
    display: block;
    font-size: 10px;
    color: #999;
    margin-top: 5px;
    text-align: right;
}

.user-message .message-time {
    color: rgba(255, 255, 255, 0.6);
}

/* Indicador de escritura */
.chat-ia-typing {
    padding: 10px 20px;
    background: #f8f9fa;
    display: none;
    align-items: center;
    gap: 10px;
}

.chat-ia-typing.active {
    display: flex;
}

.chat-ia-typing span:last-child {
    font-size: 12px;
    color: #666;
}

.typing-indicator {
    display: flex;
    gap: 4px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typingBounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Área de entrada */
.chat-ia-input-area {
    padding: 15px 20px;
    background: #fff;
    border-top: 1px solid #eee;
}

.chat-ia-input-wrapper {
    display: flex;
    gap: 10px;
    background: #f1f3f5;
    border-radius: 25px;
    padding: 5px 5px 5px 20px;
    align-items: center;
}

.chat-ia-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 0;
    font-size: 14px;
    color: #333;
    outline: none;
}

.chat-ia-input::placeholder {
    color: #999;
}

.chat-ia-send {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.chat-ia-send i {
    color: #fff;
    font-size: 18px;
}

.chat-ia-send:hover {
    background: linear-gradient(135deg, #333333 0%, #1a1a1a 100%);
    transform: scale(1.05);
}

.chat-ia-send:active {
    transform: scale(0.95);
}

.chat-ia-footer-note {
    text-align: center;
    font-size: 11px;
    color: #999;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.chat-ia-footer-note i {
    font-size: 12px;
}

/* Responsive ventana de chat */
@media (max-width: 575px) {
    .chat-ia-window {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .chat-ia-header {
        border-radius: 0;
    }
    
    .chat-ia-window.active {
        transform: scale(1) translateY(0);
    }
}

@media (max-width: 767px) and (min-width: 576px) {
    .chat-ia-window {
        width: 340px;
        height: 450px;
        bottom: 230px;
        right: 20px;
    }
}

/* Estado activo del botón */
.btn-chat-ia-float.active {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
}

.btn-chat-ia-float.active::before {
    animation: none;
}