:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --submenu-bg: #2c3e50;
}

.full-width-dropdown {
    position: static !important;
}

.full-width-dropdown .dropdown-menu {
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-top: 0 !important;
    background: var(--submenu-bg);
    border-radius: 0;
    border: none;
    padding: 2rem 0;
    transform: translateY(-20px);
    opacity: 0;
    display: flex;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

}

.full-width-dropdown:hover .dropdown-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
/* 二级菜单容器 */
.submenu-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}
/* 二级菜单列 */
.submenu-column {
    flex: 1 0 200px;
}

.submenu-link {
    color: #bdc3c7 !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s;
}

.submenu-link:hover {
    color: white !important;
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.1) !important;
}

.subactive {
    color: cornsilk;
    font-weight: bold;
}


@media (max-width: 992px) {
    .full-width-dropdown .dropdown-menu {
        position: static !important;
        width: 100% !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none !important;
        padding: 0.5rem 0;
    }

    .full-width-dropdown:hover .dropdown-menu {
        display: flex !important;
    }

    .submenu-column {
        flex: 1 0 100% !important;
        white-space: nowrap;
    }
}

.ext_price {
    color: red;
    font-weight: bold;
}

/* 推荐徽章样式 */
.recommend-badge {
    /* background: linear-gradient(135deg, #ff5e62, #ff9966); */
    background: linear-gradient(135deg, #ff0000, #df7b39);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 18px;
    min-width: 18px;
    font-size: 10px;
    color: white;
    border-radius: 9px;
    padding: 0 6px;
    margin-left: 1px;
    transform: translateY(-1px);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}
/* 推荐菜单高亮 */
.recommend-menu {
    /* border-left: 3px solid #ff9966; */
    border-left: 3px solid #ff9966;
    background: rgba(255, 153, 102, 0.1);
}