/* Estilos generales bajo la clase principal hazt-navmob */
.hazt-navmob {
    display: none; /* Oculto en escritorio */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    height: 60px;
}

/* Mostrar solo en móviles (menos de 768px) */
@media screen and (max-width: 767px) {
    .hazt-navmob {
        display: flex;
    }
    /* Opcional: añadir margen al body para que el menu no tape contenido */
    body {
        margin-bottom: 60px;
    }
}

.hazt-navmob-item {
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    transition: color 0.3s ease;
}

.hazt-navmob-item:hover, 
.hazt-navmob-item:active {
    color: #0073aa; /* Color azul WordPress */
}

/* Iconos (Dashicons) */
.hazt-navmob-item .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}

/* Texto de los ítems */
.hazt-navmob-text {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

/* ==============================
   Modal de Categorías
   ============================== */
.hazt-categories-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
}

.hazt-categories-modal .off-modal-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hazt-categories-modal .categories-panel-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.hazt-categories-modal.open .categories-panel-content {
    transform: translateX(0);
}

.hazt-categories-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.hazt-categories-modal .modal-header .modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.hazt-categories-modal .button-close {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    padding: 5px;
}

.hazt-categories-modal .button-close:hover {
    color: #000;
}

.hazt-categories-modal .modal-content {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Tabs de categorías padre */
.hazt-cat-tabs-wrapper {
    flex-shrink: 0;
    border-bottom: 1px solid #eee;
}

.hazt-cat-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
}

.hazt-cat-tabs::-webkit-scrollbar {
    display: none;
}

.hazt-cat-tab {
    flex-shrink: 0;
    padding: 12px 18px;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 500;
    color: #999;
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
	line-height: 15px;
}

.hazt-cat-tab.active {
    color: #333;
    border-bottom-color: #333;
}

/* Paneles de subcategorías */
.hazt-cat-panel {
    display: none;
    flex: 1;
    overflow-y: auto;
}

.hazt-cat-panel.active {
    display: block;
}

.hazt-subcats-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
}

.hazt-subcat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #333;
    background: #fff;
    box-shadow: 0 1px 7px rgba(0, 0, 0, 0.14);
    border-radius: 0;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
	border: 1px solid #00000017;
  border-radius: 3px;
}

.hazt-subcat-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.hazt-subcat-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.hazt-subcat-thumb-placeholder {
    background: #f0f0f0;
}

.hazt-subcat-name {
    font-size: 15px;
    font-weight: 500;
    padding-right: 12px;
}
.hazticon {
  display: flex;
  margin-bottom: 4px;
}
.hazticon svg{
	width:22px;
	
}