/* 自定义样式 */
.sidebar {
    min-height: 100vh;
    padding-top: 1rem;
}
.sidebar .nav-link {
    color: #333;
    padding: 0.75rem 1rem;
}
.sidebar .nav-link:hover {
    background-color: #e9ecef;
    color: #000;
}
.product-card img {
    object-fit: cover;
    height: 200px;
}
.promo-bar {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 0.5rem 0;
    font-weight: bold;
}
.search-nav {
    background-color: #fff;
    padding: 0.25rem 0;
}
.search-nav .nav-link {
    padding: 0.05rem 0.75rem;
    font-weight: bold;
    color:red;
}
.search-nav .nav-link.active {
    color: #e74c3c;
}
.search-info span {
    margin-right: 1rem;
    color: #666;
    font-size: 0.9rem;
}
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background-color: #fff;
    height: 64px;
    box-sizing: border-box;
}

.header-left .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 63px;
}
.mascot-img {
    height: 24px;
    margin-left: 8px;
}

.header-center {
    flex: 1;
    display: flex;
}

.search-container {
    position: relative;
    width: 450px;
    border: 1px solid #ccc;
    border-radius: 20px;
    overflow: hidden;
    margin-left: 113px;
    background-color: #fff;
}
.search-container input {
    width: 100%;
    padding: 10px 50px 10px 16px;
    border: none;
    outline: none;
    font-size: 14px;
    box-sizing: border-box;
}
.search-container button {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
    border: none;
    background-color: #c30114;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-container button svg {
    fill: #fff;
    width: 20px;
    height: 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.action-btn,
.cart-btn {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border: none;
    border-radius: 20px;
    background-color: #f5f5f5;
    font-size: 14px;
    cursor: pointer;
}
.cart-btn {
    background-color: #c30114;
    color: #fff;
}
.cart-btn svg {
    fill: #fff;
    width: 20px;
    height: 20px;
    margin-right: 6px;
}
.action-btn svg {
    fill: #25303b;
    width: 20px;
    height: 20px;
    margin-right: 6px;
}
aside {
    background-color: #ffffff;
    border: none !important;
}
.list-group-item {
    border: none;
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    margin-bottom: 4px;
    border-radius: 4px;
}
.list-group-item:hover {
    background-color: #f1f1f1;
}
hr {
    border-top: 1px solid #dee2e6;
}
/* Base style for pill-shaped links */
.sidebar .nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    background-color: #f2f2f2;
    border-radius: 24px;
    height: 35px;
    color: #333;
    text-decoration: none;
}
/* Plain style for the first three links */
.sidebar .nav-link.plain {
    background-color: transparent;
    border-radius: 0;
    margin-bottom: 0;
    height: auto;
    padding: 0.25rem 1rem;
}
/* Icon spacing */
.sidebar .nav-link .bi {
    font-size: 1.25rem;
    margin-right: 0.75rem;
}
/* Adjust spacing for plain links */
.sidebar .nav-link.plain .bi {
    margin-right: 2.5rem;
}
/* "NEW" badge */
.sidebar .nav-link .badge-new {
    margin-left: auto;
    font-size: 0.65rem;
    font-weight: bold;
    color: #fff;
    background-color: #dc3545;
    border-radius: 0.75rem;
    padding: 0.25em 0.5em;
}
/* Active / hovered state for pill links */
.sidebar .nav-link:not(.plain).active,
.sidebar .nav-link:not(.plain):hover {
    background-color: #e9ecef;
    color: #000;
}
/* Separator lines */
.sidebar hr {
    margin: 1rem 0;
    border-color: #ddd;
}
.product-card {
    border: none;
}
.banner-row img {
    width: 100%;
    height: auto;
    border-radius: .25rem;
}
.dropdown-toggle::after{
    display: none;
}
.banner-card{
    border: none;
}
@media (min-width: 1200px) {
    .my-container {
        max-width: 1200px;
        margin-top: 50px;
        padding: 5px;
    }
}