@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:wght@400;500;600;700;800&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700&display=swap');

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

body, button, input, select, textarea {
    font-family: "Roboto Flex", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.fa, .fas, .far, .fal, .fab, [class*=" fa-"], [class^="fa-"] {
    font-family: FontAwesome !important;
}

.material-icons {
    font-family: 'Material Icons' !important;
}

::-webkit-scrollbar {
    width: 6px;
    height: 8px;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #eb3941;
    transition: all 400ms ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #c62828;
}

::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, .05);
    border-radius: 10px;
}

body {
    background-color: #f7f7f7;
    color: #2d3748;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

button {
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

/* =========================================
   HEADER & NAVIGATION BAR (DESKTOP)
========================================= */
header.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header .top {
    max-width: 1420px;
    width: 95%;
    margin: 0 auto;
    height: 75px;
}

header nav.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    gap: 15px;
}

/* Mobile Toggle Buttons (Hidden by default on Desktop) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4.5px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
    background-color: #f1f5f9;
}

.mobile-menu-toggle .bar {
    width: 20px;
    height: 2px;
    background-color: #1e293b;
    border-radius: 2px;
    transition: all 0.25s ease;
}

.mobile-search-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.mobile-search-toggle:hover {
    background-color: #f1f5f9;
    color: #eb3941;
}

/* Left: Logo */
header nav .left-nav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

header nav .left-nav .logo {
    display: flex;
    align-items: center;
}

header nav .left-nav .logo a {
    display: flex;
    align-items: center;
}

header nav .left-nav .logo a img {
    height: 52px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease;
}

header nav .left-nav .logo a:hover img {
    opacity: 0.9;
}

/* Center: Desktop Navigation Menu */
header nav .center-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

header nav .center-nav .menu-main {
    max-width: 100%;
}

header nav .center-nav .menu-main ul.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    flex-wrap: nowrap;
}

header nav .center-nav .menu-main ul.nav-links li.link {
    position: relative;
    list-style: none;
    flex-shrink: 0;
}

header nav .center-nav .menu-main ul.nav-links li.link > a {
    display: flex;
    align-items: center;
    height: 75px;
    line-height: 75px;
    font-weight: 600;
    letter-spacing: 0.1px;
    font-size: 14px;
    padding: 0 11px;
    color: #334155;
    gap: 6px;
    white-space: nowrap;
    position: relative;
    transition: color 0.25s ease;
}

header nav .center-nav .menu-main ul.nav-links li.link > a i.fa {
    font-size: 14.5px;
    color: #64748b;
    margin-right: 2px;
    transition: color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

header nav .center-nav .menu-main ul.nav-links li.link > a i.fa-heart {
    color: #eb3941 !important;
}

header nav .center-nav .menu-main ul.nav-links li.link > a .nav-arrow {
    font-size: 12px;
    margin-left: 2px;
    margin-right: 0;
    color: #94a3b8;
    transition: transform 0.25s ease, color 0.2s ease;
    flex-shrink: 0;
}

header nav .center-nav .menu-main ul.nav-links li.link:hover > a {
    color: #eb3941;
}

header nav .center-nav .menu-main ul.nav-links li.link:hover > a i.fa {
    color: #eb3941;
}

header nav .center-nav .menu-main ul.nav-links li.link:hover > a .nav-arrow {
    transform: rotate(180deg);
    color: #eb3941;
}

/* Trang chủ active link (clean indicator) */
header nav .center-nav .menu-main ul.nav-links li.link.active > a {
    color: #eb3941;
    font-weight: 700;
}

header nav .center-nav .menu-main ul.nav-links li.link.active > a i.fa {
    color: #eb3941;
}

header nav .center-nav .menu-main ul.nav-links li.link.active > a::after {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 11px;
    right: 11px;
    height: 2.5px;
    background-color: #eb3941;
    border-radius: 4px;
}

/* Dropdown Sub-menu (Desktop Multi-Column Grid) */
header nav .center-nav .menu-main ul.nav-links li.link .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    width: 620px;
    max-width: calc(100vw - 30px);
    background-color: #ffffff;
    border: 1px solid #edf2f7;
    padding: 14px 16px;
    z-index: 1000;
    animation: fadeInDropdown 0.2s ease-in-out forwards;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px 8px;
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translate(-50%, 6px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

header nav .center-nav .menu-main ul.nav-links li.link:hover .sub-menu {
    display: grid;
}

/* Modifier: Thể loại (4 cột cân đối) */
header nav .center-nav .menu-main ul.nav-links li.link .sub-menu.sub-menu-the-loai {
    width: 560px;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px 8px;
}

/* Modifier: Album năm phát hành (5 cột x 3 hàng chuẩn đẹp) */
header nav .center-nav .menu-main ul.nav-links li.link .sub-menu.sub-menu-album {
    width: 380px;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px 6px;
    padding: 12px 14px;
}

header nav .center-nav .menu-main ul.nav-links li.link .sub-menu.sub-menu-album li.link-sub a {
    justify-content: center;
    text-align: center;
    font-weight: 600;
    padding: 7px 4px;
}

header nav .center-nav .menu-main ul.nav-links li.link .sub-menu li.link-sub {
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav .center-nav .menu-main ul.nav-links li.link .sub-menu li.link-sub a {
    display: flex;
    align-items: center;
    color: #334155;
    height: auto;
    line-height: 1.4;
    padding: 7px 10px;
    font-size: 13.5px;
    font-weight: 500;
    text-transform: capitalize;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

header nav .center-nav .menu-main ul.nav-links li.link .sub-menu li.link-sub a:hover {
    background-color: #fff1f2;
    color: #eb3941;
}

header nav .center-nav .menu-main ul.nav-links li.link .sub-menu li.link-sub a i.fa {
    font-size: 13px;
    width: 16px;
    text-align: center;
    color: #94a3b8;
}

header nav .center-nav .menu-main ul.nav-links li.link .sub-menu li.link-sub a:hover i.fa {
    color: #eb3941;
}

/* Right Nav: Search Input Form */
header nav .right-nav {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

header nav .right-nav .search-form-wrapper form {
    position: relative;
    display: flex;
    align-items: center;
}

header nav .right-nav .search-form-wrapper form input {
    width: 215px;
    height: 38px;
    background-color: #f8fafc;
    line-height: 38px;
    padding: 0 40px 0 18px;
    color: #1a202c;
    border-radius: 50px;
    border: 1.5px solid #e2e8f0;
    outline: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

header nav .right-nav .search-form-wrapper form input:focus {
    width: 245px;
    background-color: #fff;
    border-color: #eb3941;
    box-shadow: 0 0 0 3px rgba(235, 57, 65, 0.15);
}

header nav .right-nav .search-form-wrapper form .search-button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

header nav .right-nav .search-form-wrapper form .search-button svg {
    fill: #64748b;
    transition: fill 0.25s ease;
}

header nav .right-nav .search-form-wrapper form .search-button:hover svg {
    fill: #eb3941;
}

/* =========================================
   MOBILE DRAWER & RESPONSIVE NAVIGATION
========================================= */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 310px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 10001;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-nav-drawer.active {
    transform: translateX(0);
}

.mobile-nav-drawer .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.mobile-nav-drawer .drawer-header .drawer-logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
}

.mobile-nav-drawer .drawer-header .drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-nav-drawer .drawer-header .drawer-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

.mobile-nav-drawer .drawer-search {
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    background-color: #fafbfc;
    flex-shrink: 0;
}

.mobile-nav-drawer .drawer-search form {
    position: relative;
    width: 100%;
}

.mobile-nav-drawer .drawer-search form input {
    width: 100%;
    height: 40px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 0 40px 0 16px;
    font-size: 13.5px;
    outline: none;
    color: #1e293b;
    transition: border-color 0.2s ease;
}

.mobile-nav-drawer .drawer-search form input:focus {
    border-color: #eb3941;
}

.mobile-nav-drawer .drawer-search form .search-button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 4px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.mobile-nav-drawer .drawer-search form .search-button svg {
    fill: #64748b;
}

.mobile-nav-drawer .mobile-nav-links {
    list-style: none;
    padding: 10px 0 30px;
    margin: 0;
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-drawer .mobile-nav-links .m-link {
    border-bottom: 1px solid #f8fafc;
}

.mobile-nav-drawer .mobile-nav-links .m-link > a,
.mobile-nav-drawer .mobile-nav-links .m-link .m-link-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    user-select: none;
}

.mobile-nav-drawer .mobile-nav-links .m-link > a:hover,
.mobile-nav-drawer .mobile-nav-links .m-link .m-link-title:hover {
    background-color: #f8fafc;
    color: #eb3941;
}

.mobile-nav-drawer .mobile-nav-links .m-link > a i,
.mobile-nav-drawer .mobile-nav-links .m-link .m-link-title span i {
    width: 20px;
    margin-right: 10px;
    color: #64748b;
    font-size: 15px;
    text-align: center;
}

.mobile-nav-drawer .mobile-nav-links .m-link.active > a {
    color: #eb3941;
    background-color: #fff5f5;
    border-left: 3px solid #eb3941;
}

.mobile-nav-drawer .mobile-nav-links .m-link.active > a i {
    color: #eb3941;
}

.mobile-nav-drawer .mobile-nav-links .m-link .dropdown-arrow {
    font-size: 11px;
    color: #94a3b8;
    transition: transform 0.25s ease;
}

.mobile-nav-drawer .mobile-nav-links .m-link.open .dropdown-arrow {
    transform: rotate(180deg);
    color: #eb3941;
}

.mobile-nav-drawer .mobile-nav-links .m-link .m-sub-menu {
    display: none;
    list-style: none;
    padding: 4px 0;
    background-color: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.mobile-nav-drawer .mobile-nav-links .m-link.open .m-sub-menu {
    display: block;
}

.mobile-nav-drawer .mobile-nav-links .m-link .m-sub-menu li a {
    display: flex;
    align-items: center;
    padding: 10px 20px 10px 50px;
    font-size: 13.5px;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s ease;
}

.mobile-nav-drawer .mobile-nav-links .m-link .m-sub-menu li a:hover {
    color: #eb3941;
    padding-left: 54px;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =========================================
   SEARCH LIGHTBOX MODAL (MOBILE)
========================================= */
.search-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background-color: rgba(6, 12, 34, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.search-lightbox-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.lightbox-open {
    overflow: hidden !important;
}

/* Lightbox close button (top right) */
.search-lightbox-modal .search-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 12002;
    padding: 0;
    opacity: 0.85;
}

.search-lightbox-modal .search-lightbox-close:hover {
    opacity: 1;
    transform: scale(1.12);
}

.search-lightbox-modal .search-lightbox-inner {
    width: 100%;
    max-width: 580px;
    padding: 0 20px;
    margin-bottom: 8vh;
    transform: scale(0.95) translateY(-8px);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-lightbox-modal.active .search-lightbox-inner {
    transform: scale(1) translateY(0);
}

.search-lightbox-form-wrapper {
    position: relative;
    width: 100%;
}

.search-lightbox-form {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-lightbox-input {
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    padding: 0 54px 0 24px;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    outline: none;
    transition: all 0.25s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.search-lightbox-input::placeholder {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.search-lightbox-input:focus {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.65);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.25), 0 8px 32px rgba(0, 0, 0, 0.45);
}

.search-lightbox-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    border-radius: 50%;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.9;
}

.search-lightbox-button:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

/* Lightbox is hidden on desktop (>=992px) */
@media (min-width: 992px) {
    .search-lightbox-modal {
        display: none !important;
    }
}

/* =========================================
   RESPONSIVE BREAKPOINTS
========================================= */
@media (max-width: 1366px) {
    header .top {
        width: 96%;
        max-width: 100%;
    }
    header nav.nav-bar {
        gap: 12px;
    }
    header nav .left-nav .logo a img {
        height: 48px;
        max-width: 195px;
    }
    header nav .center-nav .menu-main ul.nav-links {
        gap: 3px;
    }
    header nav .center-nav .menu-main ul.nav-links li.link > a {
        padding: 0 8px;
        font-size: 13.5px;
        gap: 4px;
        white-space: nowrap;
    }
    header nav .right-nav .search-form-wrapper form input {
        width: 180px;
        padding: 0 36px 0 14px;
    }
    header nav .right-nav .search-form-wrapper form input:focus {
        width: 200px;
    }
}

@media (max-width: 1200px) {
    header .top {
        width: 97%;
    }
    header nav.nav-bar {
        gap: 8px;
    }
    header nav .left-nav .logo a img {
        height: 44px;
        max-width: 175px;
    }
    header nav .center-nav .menu-main ul.nav-links {
        gap: 2px;
    }
    header nav .center-nav .menu-main ul.nav-links li.link > a {
        padding: 0 6px;
        font-size: 12.5px;
        letter-spacing: 0;
        gap: 3.5px;
        white-space: nowrap;
    }
    header nav .center-nav .menu-main ul.nav-links li.link > a i.fa {
        font-size: 13px;
    }
    header nav .right-nav .search-form-wrapper form input {
        width: 155px;
        font-size: 12.5px;
        padding: 0 34px 0 12px;
    }
    header nav .right-nav .search-form-wrapper form input:focus {
        width: 175px;
    }

    header nav .center-nav .menu-main ul.nav-links li.link .sub-menu {
        width: 530px;
        gap: 3px 6px;
        padding: 10px 12px;
    }
    header nav .center-nav .menu-main ul.nav-links li.link .sub-menu.sub-menu-the-loai {
        width: 490px;
    }
    header nav .center-nav .menu-main ul.nav-links li.link .sub-menu.sub-menu-album {
        width: 340px;
    }
    header nav .center-nav .menu-main ul.nav-links li.link .sub-menu li.link-sub a {
        font-size: 12.5px;
        padding: 6px 8px;
    }
}

@media (max-width: 1080px) and (min-width: 992px) {
    header .top {
        width: 98%;
    }
    header nav.nav-bar {
        gap: 6px;
    }
    header nav .left-nav .logo a img {
        height: 40px;
        max-width: 155px;
    }
    header nav .center-nav .menu-main ul.nav-links {
        gap: 0;
    }
    header nav .center-nav .menu-main ul.nav-links li.link > a {
        padding: 0 4.5px;
        font-size: 11.5px;
        letter-spacing: 0;
        gap: 2.5px;
        white-space: nowrap;
    }
    header nav .center-nav .menu-main ul.nav-links li.link > a i.fa {
        font-size: 11.5px;
        margin-right: 1px;
    }
    header nav .center-nav .menu-main ul.nav-links li.link > a .nav-arrow {
        font-size: 10px;
        margin-left: 1px;
    }
    header nav .center-nav .menu-main ul.nav-links li.link .sub-menu {
        width: 480px;
        gap: 2px 4px;
        padding: 8px 10px;
    }
    header nav .center-nav .menu-main ul.nav-links li.link .sub-menu.sub-menu-the-loai {
        width: 440px;
    }
    header nav .center-nav .menu-main ul.nav-links li.link .sub-menu-album {
        width: 320px;
    }
    header nav .center-nav .menu-main ul.nav-links li.link .sub-menu li.link-sub a {
        font-size: 12px;
        padding: 5px 6px;
    }
    header nav .right-nav .search-form-wrapper form input {
        width: 130px;
        height: 35px;
        font-size: 12px;
        padding: 0 30px 0 10px;
    }
    header nav .right-nav .search-form-wrapper form input:focus {
        width: 145px;
    }
}

@media (max-width: 991px) {
    header.header {
        height: 64px;
    }
    header .top {
        height: 64px;
        width: 95%;
    }
    header nav.nav-bar {
        gap: 10px;
        position: relative;
    }

    /* Show Mobile Toggles */
    .mobile-menu-toggle {
        display: flex;
    }
    .mobile-search-toggle {
        display: flex;
    }

    /* Hide Desktop Center Nav on Mobile */
    header nav .center-nav {
        display: none !important;
    }

    /* Adjust Logo for Mobile */
    header nav .left-nav .logo a img {
        height: 42px;
        max-width: 180px;
    }

    /* Right Nav with Mobile Search Toggle */
    header nav .right-nav {
        position: relative;
    }

    header nav .right-nav .search-form-wrapper {
        display: none !important;
    }
}

@media (max-width: 480px) {
    header.header, header .top {
        height: 60px;
    }
    header nav .left-nav .logo a img {
        height: 36px;
        max-width: 150px;
    }
}

/* =========================================
   LIVE AJAX SEARCH AUTOCOMPLETE (POPUP)
   ========================================= */
.stp-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    background: rgba(18, 20, 29, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
    max-height: 380px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 12050;
    animation: stpSearchFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes stpSearchFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Lightbox container */
.search-lightbox-form-wrapper .stp-search-dropdown {
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 6px;
}

/* Desktop right nav header */
.search-form-wrapper .stp-search-dropdown {
    right: 0;
    width: 460px;
    max-width: 90vw;
}

/* Mobile drawer search */
.drawer-search .stp-search-dropdown {
    left: 0;
    right: 0;
    width: 100%;
}

/* Custom scrollbar matching original site */
.stp-search-dropdown::-webkit-scrollbar {
    width: 6px;
}
.stp-search-dropdown::-webkit-scrollbar-track {
    background: transparent;
}
.stp-search-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 10px;
}
.stp-search-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.65);
}

.stp-search-list {
    display: flex;
    flex-direction: column;
}

.stp-search-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 16px;
    color: #cbd5e1;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.stp-search-item:last-child {
    border-bottom: none;
}

.stp-search-item:hover,
.stp-search-item.is-selected {
    background: rgba(255, 255, 255, 0.11);
    color: #ffffff;
}

.stp-search-thumb {
    width: 38px;
    height: 38px;
    min-width: 38px;
    max-width: 38px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    background: #1e2230;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.stp-search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stp-search-title {
    font-size: 13.5px;
    line-height: 1.45;
    font-weight: 400;
    color: #cbd5e1;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.stp-search-item:hover .stp-search-title,
.stp-search-item.is-selected .stp-search-title {
    color: #ffffff;
}

.stp-search-title strong {
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.35);
}

.stp-search-empty,
.stp-search-loading {
    padding: 16px 20px;
    text-align: center;
    font-size: 13.5px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.stp-search-loading i {
    color: #eb3941;
}

.stp-search-view-all {
    display: block;
    padding: 10px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #ff6b72;
    background: rgba(235, 57, 65, 0.12);
    text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, color 0.2s ease;
}

.stp-search-view-all:hover {
    background: rgba(235, 57, 65, 0.22);
    color: #ffffff;
}

@media (max-width: 576px) {
    .search-form-wrapper .stp-search-dropdown {
        width: calc(100vw - 32px);
        right: -8px;
    }
    .stp-search-item {
        padding: 9px 12px;
        gap: 10px;
    }
    .stp-search-thumb {
        width: 34px;
        height: 34px;
        min-width: 34px;
        max-width: 34px;
    }
    .stp-search-title {
        font-size: 13px;
    }
}