.page-header {
    position: sticky;
    z-index: 60;
    background: #fff;
    overflow-x: clip;
}

.header-sticky-part {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.page-header.is-sticky .header-sticky-part {
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.08);
}

#header_top .topbar-v2 {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    font-size: 14px;
}

#header_top .topbar-v2-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
}

#header_top .topbar-v2-list li {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

#header_top .topbar-v2-list li::before {
    content: "\2713";
    color: #16a34a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    margin-right: 8px;
}

@media (min-width: 768px) {
    #header_top .topbar-v2 {
        min-height: 48px;
        justify-content: center;
        text-align: center;
    }

    #header_top .topbar-v2-list {
        width: 100%;
    }
}

@media (max-width: 767px) {
    #header_top .topbar-v2 {
        justify-content: center;
    }

    #header_top .topbar-v2-list {
        width: auto;
        max-width: calc(100% - 32px);
        margin: 0 auto;
        justify-content: center;
    }

    #header_top .topbar-v2-list li {
        display: none;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #header_top .topbar-v2-list li:first-child {
        display: inline-flex;
        margin: 0 auto;
    }

    #header_top .topbar-v2-list.usp-ready li:first-child {
        display: none;
    }

    #header_top .topbar-v2-list.usp-ready li.is-active {
        display: inline-flex;
        margin: 0 auto;
    }
}

body.mobile-menu-open {
    overflow: hidden;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    z-index: 90;
}

.mobile-menu-overlay[hidden] {
    display: none !important;
}

.mobile-menu-panel {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(86vw, 360px);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
    z-index: 95;
    display: flex;
    flex-direction: column;
}

.mobile-menu-panel[hidden] {
    display: none !important;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 16px;
}

.mobile-menu-header strong {
    font-size: 1rem;
    color: #111827;
}

.mobile-menu-close {
    border: 0;
    background: transparent;
    font-size: 1.8rem;
    line-height: 1;
    color: #374151;
    cursor: pointer;
}

.mobile-menu-content {
    padding: 8px 12px 16px;
    overflow-y: auto;
}

.mobile-menu-section + .mobile-menu-section {
    margin-top: 14px;
}

.mobile-menu-section-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #6b7280;
    text-transform: uppercase;
    margin: 6px 4px 8px;
}

.mobile-menu-link {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    color: #111827;
    text-decoration: none;
    border: 1px solid transparent;
    font-weight: 500;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mobile-menu-link:hover {
    background: #f9fafb;
    border-color: #e5e7eb;
}

.mobile-menu-link.is-active {
    background: #fff7eb;
    border-color: #f3d1a0;
    color: #92400e;
}

.mobile-menu-category-link {
    font-weight: 400;
}

.mobile-menu-empty {
    display: block;
    color: #6b7280;
    font-size: 0.95rem;
    padding: 0 4px;
}

/* Desktop menu under the sticky header */
.desktop-quick-menu {
    display: none;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}

.desktop-quick-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
}

.desktop-quick-menu-link {
    display: inline-block;
    padding: 9px 10px;
    border-radius: 7px;
    text-decoration: none;
    color: #111827;
    font-weight: 600;
    font-size: 0.84rem;
    line-height: 1.15;
    white-space: nowrap;
}

.desktop-quick-menu-link:hover {
    background: #f9fafb;
}

.desktop-quick-menu-link.is-active {
    background: #fff7eb;
    color: #92400e;
}

@media (min-width: 1024px) {
    .desktop-quick-menu {
        display: block;
    }

    .mobile-menu-overlay,
    .mobile-menu-panel {
        display: none !important;
    }

    body.mobile-menu-open {
        overflow: auto;
    }
}
