/* ═══════════════════════════════════════════════════════════
   MEGA MENU — dark sidebar / light panel — texto puro
   shop.hausar.com.ar
════════════════════════════════════════════════════════════ */

.header-bottom_wrap {
    position: relative;
    overflow: visible !important;
}

li.mm-trigger {
    position: relative !important;
}

.mm__arrow {
    display: inline-block;
    margin-left: 6px;
    font-size: 0.72em;
    transition: transform 0.22s ease, opacity 0.22s ease;
    vertical-align: middle;
    opacity: 0.75;
}
.mm-trigger:hover .mm__arrow,
.mm-trigger.mm-open .mm__arrow {
    opacity: 1;
}
.mm-trigger.mm-open .mm__arrow {
    transform: rotate(180deg);
}

/* ── Shell ── */
.mm {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    width: 780px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}
.mm-trigger.mm-open .mm {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}

/* ── Inner ── */
.mm__inner {
    display: flex;
    box-shadow: 0 10px 32px rgba(0,0,0,0.2);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

/* ════════════════════════════════
   SIDEBAR IZQUIERDO
════════════════════════════════ */
.mm__sidebar {
    width: 300px;
    flex-shrink: 0;
    background: #272829;
}

.mm__sidebar-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.mm__sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 23px 17px 26px;
    color: rgba(255,255,255,0.68);
    font-size: 1.01rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: background 0.1s, color 0.1s, border-color 0.1s;
    white-space: nowrap;
}
.mm__sidebar-item:hover .mm__sidebar-link {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.9);
}
.mm__sidebar-item.is-active .mm__sidebar-link {
    background: rgba(255,255,255,0.07);
    color: #fff;
    border-left-color: rgba(255,255,255,0.6);
}

.mm__sidebar-arrow {
    font-size: 0.58em;
    color: rgba(255,255,255,0.22);
    flex-shrink: 0;
    margin-left: 8px;
    transition: color 0.1s, transform 0.1s;
}
.mm__sidebar-item:hover .mm__sidebar-arrow,
.mm__sidebar-item.is-active .mm__sidebar-arrow {
    color: rgba(255,255,255,0.5);
    transform: translateX(2px);
}

/* ════════════════════════════════
   PANEL DERECHO
════════════════════════════════ */
.mm__panel-wrap {
    flex: 1;
    background: #f4f4f3;
    overflow: hidden;
}

.mm__panel-item {
    display: none;
    flex-direction: column;
    padding: 31px 42px;
    height: 100%;
    box-sizing: border-box;
}
.mm__panel-item.is-active {
    display: flex;
}

/* VER TODO */
.mm__ver-todo {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.81rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    margin-bottom: 23px;
    align-self: flex-start;
    transition: color 0.12s;
}
.mm__ver-todo:hover { color: #555; }
.mm__ver-todo i {
    font-size: 0.68em;
    transition: transform 0.15s ease;
}
.mm__ver-todo:hover i { transform: translateX(3px); }

/* ── Lista de subcategorías (texto puro) ── */
.mm__cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mm__cat-link {
    display: block;
    padding: 9px 0;
    font-size: 0.94rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2a2a2a;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: color 0.1s, padding-left 0.1s;
}
.mm__cat-link:hover {
    color: #666;
    padding-left: 4px;
}

/* ── Desktop only ── */
@media (max-width: 1199px) {
    .mm { display: none !important; }
}
