/* Header utility nav — Track order + Vendor CTA */

header.header-nav.menu_style_home_one .widget_menu_home2.header-utility-nav {
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(20, 12, 56, 0.12);
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0;
    padding: 4px;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    z-index: 12;
}

header.header-nav.menu_style_home_one .widget_menu_home2.header-utility-nav > li {
    align-items: center;
    display: inline-flex;
    float: none;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

header.header-nav.menu_style_home_one .widget_menu_home2.header-utility-nav > li > a:before {
    display: none !important;
}

header.header-nav.menu_style_home_one .widget_menu_home2.header-utility-nav > li > a.header-utility-nav__link,
header.header-nav.menu_style_home_one .widget_menu_home2.header-utility-nav > li > a.header-vendor-cta {
    display: inline-flex !important;
    float: none;
    font-size: inherit;
    font-weight: inherit;
    height: auto;
    line-height: 1.2 !important;
    margin: 0 !important;
    text-transform: none !important;
    vertical-align: middle;
    width: auto;
}

.header-utility-nav__item--cta {
    position: relative;
}

.header-utility-nav__item--cta::before {
    background: rgba(255, 255, 255, 0.16);
    content: "";
    height: 1.65rem;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
}

.header-utility-nav__link {
    align-items: center;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.94) !important;
    display: inline-flex;
    font-size: 0.8125rem;
    font-weight: 600;
    gap: 0.45rem;
    padding: 0.48rem 0.85rem !important;
    text-decoration: none !important;
    transition: background 0.18s ease, color 0.18s ease;
    white-space: nowrap;
}

.header-utility-nav__link:hover,
.header-utility-nav__link:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    outline: none;
}

.header-utility-nav__icon {
    align-items: center;
    background: rgba(245, 195, 75, 0.14);
    border-radius: 8px;
    color: #f5c34b;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.78rem;
    height: 1.75rem;
    justify-content: center;
    width: 1.75rem;
}

.header-utility-nav__icon i {
    padding-right: 0 !important;
}

.header-utility-nav__label--short {
    display: none;
}

.header-vendor-cta {
    align-items: center;
    background: linear-gradient(135deg, #f5c34b 0%, #f0b429 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(245, 195, 75, 0.22);
    color: #352678 !important;
    display: inline-flex !important;
    gap: 0.45rem;
    margin-left: 4px !important;
    max-width: none;
    min-width: max-content;
    padding: 0.42rem 0.75rem 0.42rem 0.42rem !important;
    position: relative;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    white-space: nowrap;
    z-index: 0;
}

.header-vendor-cta--pulse {
    animation: header-vendor-cta-pulse-glow 2.6s ease-in-out infinite;
    isolation: isolate;
}

.header-vendor-cta--pulse::before {
    animation: header-vendor-cta-pulse-ring 2.6s ease-out infinite;
    background: linear-gradient(135deg, rgba(255, 213, 106, 0.55), rgba(245, 195, 75, 0.15));
    border-radius: 13px;
    content: "";
    inset: -2px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.header-vendor-cta--pulse::after {
    animation: header-vendor-cta-pulse-shimmer 2.6s ease-in-out infinite;
    background: linear-gradient(
        105deg,
        transparent 38%,
        rgba(255, 255, 255, 0.42) 50%,
        transparent 62%
    );
    background-size: 220% 100%;
    border-radius: inherit;
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

.header-vendor-cta--pulse > * {
    position: relative;
    z-index: 2;
}

@keyframes header-vendor-cta-pulse-glow {
    0%,
    100% {
        box-shadow:
            0 6px 16px rgba(245, 195, 75, 0.22),
            0 0 0 0 rgba(245, 195, 75, 0.38);
    }

    50% {
        box-shadow:
            0 10px 24px rgba(245, 195, 75, 0.34),
            0 0 0 5px rgba(245, 195, 75, 0.12);
    }
}

@keyframes header-vendor-cta-pulse-ring {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    75%,
    100% {
        opacity: 0;
        transform: scale(1.18);
    }
}

@keyframes header-vendor-cta-pulse-shimmer {
    0%,
    100% {
        background-position: 130% 0;
        opacity: 0;
    }

    45% {
        opacity: 0.55;
    }

    55% {
        background-position: -30% 0;
        opacity: 0;
    }
}

.header-vendor-cta:hover,
.header-vendor-cta:focus-visible {
    background: linear-gradient(135deg, #ffd56a 0%, #f5c34b 100%);
    box-shadow: 0 10px 22px rgba(245, 195, 75, 0.28);
    color: #2f216d !important;
    outline: none;
    transform: translateY(-1px);
}

.header-vendor-cta--pulse:hover,
.header-vendor-cta--pulse:focus-visible {
    animation-play-state: paused;
    box-shadow:
        0 12px 26px rgba(245, 195, 75, 0.38),
        0 0 0 4px rgba(245, 195, 75, 0.16);
}

.header-vendor-cta--pulse:hover::before,
.header-vendor-cta--pulse:hover::after,
.header-vendor-cta--pulse:focus-visible::before,
.header-vendor-cta--pulse:focus-visible::after {
    animation-play-state: paused;
    opacity: 0;
}

.header-vendor-cta__icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.42);
    border-radius: 8px;
    color: #443297;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.82rem;
    height: 1.75rem;
    justify-content: center;
    width: 1.75rem;
}

.header-vendor-cta__icon i {
    padding-right: 0 !important;
}

.header-vendor-cta__label {
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.header-vendor-cta__label-short {
    display: none;
}

.header-vendor-cta__arrow {
    flex-shrink: 0;
    font-size: 0.68rem;
    opacity: 0.85;
    padding-right: 0 !important;
    transition: transform 0.18s ease;
}

.header-vendor-cta:hover .header-vendor-cta__arrow,
.header-vendor-cta:focus-visible .header-vendor-cta__arrow {
    transform: translateX(2px);
}

/* Tablet / narrow desktop — shorter labels */
@media (max-width: 1279px) {
    .header-utility-nav__label--long {
        display: none;
    }

    .header-utility-nav__label--short {
        display: inline;
    }

    .header-vendor-cta__label-long {
        display: none;
    }

    .header-vendor-cta__label-short {
        display: inline;
    }
}

@media (max-width: 1199px) {
    header.header-nav.menu_style_home_one .widget_menu_home2.header-utility-nav {
        right: 8px;
    }
}

/* Compact — icon-first, labels hidden */
@media (max-width: 991px) {
    header.header-nav.menu_style_home_one .widget_menu_home2.header-utility-nav {
        padding: 3px;
        right: 4px;
    }

    .header-utility-nav__text,
    .header-vendor-cta__label,
    .header-vendor-cta__arrow {
        clip: rect(0, 0, 0, 0);
        border: 0;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        white-space: nowrap;
        width: 1px;
    }

    .header-utility-nav__link {
        padding: 0.42rem !important;
    }

    .header-vendor-cta {
        gap: 0;
        margin-left: 2px !important;
        min-width: 0;
        padding: 0.42rem !important;
    }

    .header-utility-nav__item--cta::before {
        height: 1.45rem;
    }
}

/* Mobile drawer — track order quick link */
.mobile-menu__track-item {
    list-style: none;
    margin: 0 0 0.55rem;
}

.stylehome1.mm-menu .mobile-menu__track-link,
.stylehome1.mm-menu a.mobile-menu__track-link.mm-listitem__text {
    align-items: center;
    background: linear-gradient(135deg, rgba(68, 50, 151, 0.07), rgba(68, 50, 151, 0.02));
    border: 1px solid rgba(68, 50, 151, 0.14);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04);
    color: #263244 !important;
    display: flex;
    font-size: 0.92rem;
    font-weight: 700;
    gap: 0.65rem;
    min-height: 50px;
    padding: 0.72rem 1rem !important;
    text-decoration: none !important;
    text-transform: none;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.stylehome1.mm-menu .mobile-menu__track-link:hover,
.stylehome1.mm-menu .mobile-menu__track-link:focus-visible,
.stylehome1.mm-menu a.mobile-menu__track-link.mm-listitem__text:hover,
.stylehome1.mm-menu a.mobile-menu__track-link.mm-listitem__text:focus-visible {
    background: linear-gradient(135deg, rgba(68, 50, 151, 0.12), rgba(68, 50, 151, 0.05));
    border-color: rgba(68, 50, 151, 0.22);
    color: #443297 !important;
    outline: none;
}

.stylehome1.mm-menu .mobile-menu__track-link i {
    align-items: center;
    background: rgba(245, 195, 75, 0.18);
    border-radius: 10px;
    color: #443297;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.82rem;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

/* Mobile drawer CTA card */
.mobile-menu__vendor-cta-item {
    list-style: none;
    margin: 0 0 0.55rem;
}

.mobile-menu__vendor-cta {
    align-items: center;
    background: linear-gradient(135deg, #443297 0%, #5b44b9 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(68, 50, 151, 0.18);
    color: #fff !important;
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 0.95rem;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mobile-menu__vendor-cta:hover,
.mobile-menu__vendor-cta:focus-visible {
    box-shadow: 0 16px 32px rgba(68, 50, 151, 0.24);
    color: #fff !important;
    outline: none;
    transform: translateY(-1px);
}

.mobile-menu__vendor-cta-icon {
    align-items: center;
    background: rgba(245, 195, 75, 0.16);
    border-radius: 12px;
    color: #f5c34b;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1rem;
    height: 2.5rem;
    justify-content: center;
    width: 2.5rem;
}

.mobile-menu__vendor-cta-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.mobile-menu__vendor-cta-copy strong {
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.25;
}

.mobile-menu__vendor-cta-copy span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.35;
}

.mobile-menu__vendor-cta-arrow {
    color: rgba(255, 255, 255, 0.82);
    flex-shrink: 0;
    font-size: 0.82rem;
}

.stylehome1.mm-menu .mobile-menu__vendor-cta-item,
.stylehome1.mm-menu .mobile-menu__track-item {
    background: transparent;
    border: 0;
    box-shadow: none;
    margin: 0.55rem 0 0.65rem;
    overflow: visible;
    padding: 0;
}

@media (prefers-reduced-motion: reduce) {
    .header-vendor-cta,
    .header-vendor-cta__arrow,
    .header-utility-nav__link,
    .mobile-menu__vendor-cta,
    .mobile-menu__track-link {
        transition: none;
    }

    .header-vendor-cta--pulse {
        animation: none;
    }

    .header-vendor-cta--pulse::before,
    .header-vendor-cta--pulse::after {
        animation: none;
        display: none;
    }

    .header-vendor-cta:hover,
    .mobile-menu__vendor-cta:hover {
        transform: none;
    }
}

/* Mobile menu — customer account panel */
.mobile-menu__account-panel-item {
    list-style: none;
    margin: 0.55rem 0 0.75rem;
    padding: 0;
}

.stylehome1.mm-menu .mobile-menu__account-panel-item {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.mobile-menu__account-panel {
    background: #fff;
    border: 1px solid #ececf3;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
    overflow: hidden;
    padding: 0.9rem;
}

.mobile-menu__account-panel-user {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.mobile-menu__account-panel-avatar {
    border: 2px solid #ececf3;
    border-radius: 50%;
    flex-shrink: 0;
    height: 44px;
    object-fit: cover;
    width: 44px;
}

.mobile-menu__account-panel-copy {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.mobile-menu__account-panel-copy strong {
    color: #101828;
    font-size: 0.92rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-menu__account-panel-copy span {
    color: #667085;
    font-size: 0.78rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-menu__account-panel-links {
    display: grid;
    gap: 0.45rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 0.85rem;
}

.mobile-menu__account-panel-links a {
    background: #f8fafc;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    color: #344054 !important;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.62rem 0.7rem;
    text-align: center;
    text-decoration: none;
}

.mobile-menu__account-panel-links a:hover,
.mobile-menu__account-panel-links a:focus-visible {
    background: #f4f1fb;
    border-color: rgba(68, 50, 151, 0.22);
    color: #443297 !important;
    outline: none;
}

.mobile-menu__account-panel-logout {
    align-items: center;
    background: #fef3f2;
    border: 1px solid #fecdca;
    border-radius: 12px;
    color: #b42318 !important;
    display: flex;
    font-size: 0.88rem;
    font-weight: 700;
    gap: 0.45rem;
    justify-content: center;
    min-height: 46px;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease;
    width: 100%;
}

.mobile-menu__account-panel-logout:hover,
.mobile-menu__account-panel-logout:focus-visible {
    background: #fde3e1;
    border-color: #fda29b;
    color: #912018 !important;
    outline: none;
}
