.zonesoft-categorias {
    --zs-cat-color: #772825;
    --zs-cat-hover: #f3eee8;
    --zs-cat-line: rgba(119, 40, 37, 0.12);
    font-family: inherit;
    color: var(--zs-cat-color);
}

.zonesoft-categorias__header {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--zs-cat-color);
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    min-height: 0;
    text-align: left;
    width: auto;
}

.zonesoft-categorias__header:hover,
.zonesoft-categorias__header:focus,
.zonesoft-categorias__header:focus-visible {
    background: none;
    color: var(--zs-cat-color);
    outline: none;
}

.zonesoft-categorias__icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transform-origin: center center;
}

.zonesoft-categorias__icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

.zonesoft-categorias__title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

.zonesoft-categorias__list,
.zonesoft-categorias .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.zonesoft-categorias__item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 8px;
    color: var(--zs-cat-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px solid var(--zs-cat-line);
    line-height: 1.2;
}

.zonesoft-categorias__item > a:hover,
.zonesoft-categorias__item.is-current > a,
.zonesoft-categorias__item.current-menu-item > a {
    background: var(--zs-cat-hover);
    color: var(--zs-cat-color);
}

.zonesoft-categorias__chevron {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.zonesoft-categorias__item.has-children.is-open > a > .zonesoft-categorias__chevron,
.zonesoft-categorias__item.has-children:hover > a > .zonesoft-categorias__chevron,
.zonesoft-categorias--hover:hover > .zonesoft-categorias__header .zonesoft-categorias__chevron--trigger,
.zonesoft-categorias--hover:focus-within > .zonesoft-categorias__header .zonesoft-categorias__chevron--trigger,
.zonesoft-categorias--hover.is-open > .zonesoft-categorias__header .zonesoft-categorias__chevron--trigger {
    transform: rotate(180deg);
}

.zonesoft-categorias--hover {
    position: relative;
    display: inline-block;
}

.zonesoft-categorias--hover > .zonesoft-categorias__header {
    margin-bottom: 0;
}

.zonesoft-categorias--hover .zonesoft-categorias__panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 120;
    min-width: 260px;
    padding-top: 8px;
}

.zonesoft-categorias--hover .zonesoft-categorias__panel::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 8px;
}

.zonesoft-categorias--hover:hover > .zonesoft-categorias__panel,
.zonesoft-categorias--hover:focus-within > .zonesoft-categorias__panel,
.zonesoft-categorias--hover.is-open > .zonesoft-categorias__panel {
    display: block;
}

.zonesoft-categorias--hover .zonesoft-categorias__panel > .zonesoft-categorias__list {
    background: #fff;
    border: 1px solid var(--zs-cat-line);
    box-shadow: 0 10px 28px rgba(119, 40, 37, 0.12);
}

.zonesoft-categorias--hover .zonesoft-categorias__panel > .zonesoft-categorias__list:first-child {
    border-radius: 6px 6px 0 0;
}

.zonesoft-categorias--hover .zonesoft-categorias__panel > .zonesoft-categorias__list:last-child {
    border-radius: 0 0 6px 6px;
}

.zonesoft-categorias--hover .zonesoft-categorias__panel > .zonesoft-categorias__list:only-child {
    border-radius: 6px;
}

.zonesoft-categorias--hover .zonesoft-categorias__panel > .zonesoft-categorias__list--shop {
    border-bottom: 0;
}

.zonesoft-categorias--hover .zonesoft-categorias__panel > .zonesoft-categorias__list--shop + .zonesoft-categorias__list {
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.zonesoft-categorias .sub-menu {
    display: none;
    padding: 0 0 6px 12px;
}

.zonesoft-categorias__item.has-children.is-open > .sub-menu,
.zonesoft-categorias__item.has-children:hover > .sub-menu {
    display: block;
}

.zonesoft-categorias .sub-menu a {
    font-size: 13px;
    font-weight: 600;
    padding: 8px 8px;
    border-bottom-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
    .zonesoft-categorias__icon,
    .zonesoft-categorias__chevron {
        transition: none;
        transform: none !important;
    }
}
