* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    padding: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.sub-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1120px;
    padding: 0 30px;
}

.logo {
    width: 136px;
    height: 23px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 72px;
}

.nav-button {
    width: 72px;
    height: 24px;
    line-height: 24px;
    border-radius: 12px;
    background: transparent;
    font-family: Microsoft YaHei UI;
    color: #1D1D1F;
    font-weight: 400;
    font-size: 12px;
    font-style: normal;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-button.active {
    background: linear-gradient(135deg, #a802f2 0%, #fe00c1 40%, #ffa100 60%, #fe019f 100%);
    color: white;
    font-weight: 500;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: flex;
    flex-direction: row;
    gap: 30px;
    position: fixed;
    top: 48px;
    left: 0;
    width: 100vw;
    height: 262px;
    background-color: #F9F9FA;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 15px;
    padding-top: 40px;
    border-radius: 8px;
    z-index: 100;
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-content.show {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.navbar .product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 200px;
    cursor: pointer;
}

.navbar .product-image {
    width: 156px;
    height: 156px;
    background-color: #f0f0f0;
    margin-bottom: 8px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.navbar .product-name {
    font-family: Microsoft YaHei UI;
    color: #000000;
    font-weight: 400;
    font-size: 14px;
    font-style: normal;
}

.navbar .nav-button:hover {
    transform: scale(1.05);
}

.navbar .nav-button:active {
    transform: scale(0.95);
}