/* --- ESTILOS PARA EL CARRUSEL DE CATEGORÍAS --- */
.categories-carousel-section {
    position: relative;
}

/* Posicionamiento y personalización de las flechas de Owl */
#home-categories-carousel .owl-nav button {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8) !important;
    color: #333 !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px !important;
    line-height: 40px;
    transition: all 0.3s ease;
    border: 1px solid #ddd !important;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
}

#home-categories-carousel .owl-nav button:hover {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

#home-categories-carousel .owl-nav .owl-prev {
    left: -20px; /* Saca ligeramente la flecha izquierda fuera del contenedor */
}

#home-categories-carousel .owl-nav .owl-next {
    right: -20px; /* Saca ligeramente la flecha derecha fuera del contenedor */
}

/* Ajuste para evitar que las flechas queden fuera en pantallas muy pequeñas */
@media (max-width: 1212px) {
    #home-categories-carousel .owl-nav .owl-prev { left: 10px; }
    #home-categories-carousel .owl-nav .owl-next { right: 10px; }
}

/* 1. Ocultar de manera absoluta los contenedores de puntos (dots) */
#home-categories-carousel .owl-dots,
.owl-theme .owl-dots {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Neutralizar cualquier texto 'undefined' residual en botones de la sección */
.categories-carousel-section button {
    font-size: 0 !important;
    color: transparent !important;
  
}

/* 3. Darle el diseño circular limpio a las flechas laterales como la referencia */
#home-categories-carousel .owl-nav button.owl-prev,
#home-categories-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9) !important;
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Inyectar las puntas de flecha tipográficas usando la fuente zmdi instalada */
#home-categories-carousel .owl-nav button.owl-prev::before {
    content: '\f2f4';
    font-family: 'Material-Design-Iconic-Font';
    font-size: 22px;
    color: #444;
}

#home-categories-carousel .owl-nav button.owl-next::before {
    content: '\f2f6';
    font-family: 'Material-Design-Iconic-Font';
    font-size: 22px;
    color: #444;
}

/* Efecto hover elegante */
#home-categories-carousel .owl-nav button:hover {
    background: #000 !important;
    border-color: #000 !important;
}
#home-categories-carousel .owl-nav button:hover::before {
    color: #fff !important;
}

/* Ubicación exacta para que queden flotando a los lados */
#home-categories-carousel .owl-nav .owl-prev { left: -22px; }
#home-categories-carousel .owl-nav .owl-next { right: -22px; }

@media (max-width: 1200px) {
    #home-categories-carousel .owl-nav .owl-prev { left: 10px; }
    #home-categories-carousel .owl-nav .owl-next { right: 10px; }
}