/**
 * Vini Anchetas - menu link with "Navidad" badge
 */

.vini-anchetas {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 6px 0 14px;
    border-radius: 999px;
    background: #F45A2F;
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    border: 2px solid rgba(10, 13, 18, .18);
    box-sizing: border-box;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 -2px 0 0 rgba(255, 255, 255, .12) inset, 0 1px 2px 0 rgba(10, 13, 18, .05);
}

.vini-anchetas:hover {
    background: #E6532A;
    color: #fff;
}

.vini-anchetas:active {
    background: #E6532A;
}

.vini-anchetas:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #E6532A;
}

.vini-anchetas__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    overflow: visible;
}

.vini-anchetas__lid {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}

.vini-anchetas:hover .vini-anchetas__lid {
    transform: translateY(-2.5px) rotate(-8deg);
}

.vini-anchetas__badge {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #E7F6EC;
    color: #166534;
    font-size: 13px;
    font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
    .vini-anchetas__lid {
        transition: none;
    }

    .vini-anchetas:hover .vini-anchetas__lid {
        transform: none;
    }
}

/* ----------------------------------------------------------------------
   Inside the header menu: the generic `.vini-menu-item > a` rules (block
   display, 8px 12px padding, grey text, grey hover background, 16px/20px
   padding on mobile) have higher specificity than the classes above and
   would flatten the pill. Re-assert the pill there.
   ---------------------------------------------------------------------- */
.vini-menu .vini-menu-item > a.vini-anchetas {
    display: inline-flex;
    padding: 0 6px 0 14px;
    border-radius: 999px;
    background: #F45A2F;
    color: #fff;
    font-weight: 600;
    border: 2px solid rgba(10, 13, 18, .18);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 -2px 0 0 rgba(255, 255, 255, .12) inset, 0 1px 2px 0 rgba(10, 13, 18, .05);
    transition: none;
    text-shadow: none;
}

.vini-menu .vini-menu-item > a.vini-anchetas:hover {
    background: #E6532A;
    color: #fff !important;
    border-radius: 999px;
    transform: none;
    text-shadow: none;
}

.vini-menu .vini-menu-item > a.vini-anchetas:active {
    background: #E6532A;
}

/* Same text colour on every state (generic menu hover forces grey with !important) */
.vini-menu .vini-menu-item > a.vini-anchetas:active,
.vini-menu .vini-menu-item > a.vini-anchetas:focus {
    color: #fff !important;
}

/* Mobile drawer: row separators don't apply to the pill's item */
.vini-menu .vini-menu-item--anchetas {
    border-bottom: none;
}

@media (max-width: 768px) {
    .vini-menu .vini-menu-item > a.vini-anchetas {
        padding: 0 6px 0 14px;
    }

    .vini-menu .vini-menu-item--anchetas {
        padding: 8px 0;
    }
}
