@media (min-width: 993px) {
    .top-bar {
        padding: 3px 0;
    }

    .top-bar .navbar-nav {
        padding: 0;
    }

    .top-bar-desktop-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(340px, 420px) minmax(0, 1fr);
        align-items: center;
        column-gap: 24px;
        min-height: 54px;
    }

    .top-bar-desktop-layout .col-left,
    .top-bar-desktop-layout .col-center,
    .top-bar-desktop-layout .col-right {
        min-width: 0;
    }

    .top-bar-desktop-layout .col-left {
        justify-self: start;
    }

    .top-bar-desktop-layout .col-left .navbar-nav {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        margin: 0;
        padding: 0;
        white-space: nowrap;
    }

    .top-bar-desktop-layout .col-left .navbar-nav .nav-item {
        float: none;
        margin-right: 18px;
    }

    .top-bar-desktop-layout .col-left .navbar-nav .nav-item:last-child {
        margin-right: 0;
    }

    .top-bar-desktop-layout .col-center {
        width: 100%;
        max-width: 420px;
        justify-self: center;
    }

    .top-bar-desktop-layout .col-right {
        width: auto;
        justify-self: end;
    }

    .top-bar-desktop-layout .top-search-bar {
        width: 100%;
        float: none;
        display: block;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.62) !important;
        border-radius: 999px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(243, 246, 251, 0.42));
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.54);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .top-bar-desktop-layout .top-search-bar::before {
        content: "";
        position: absolute;
        inset: 1px;
        border-radius: inherit;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
        pointer-events: none;
    }

    .top-bar-desktop-layout .top-search-bar form {
        position: relative;
        z-index: 1;
    }

    .top-bar-desktop-layout .top-search-bar:focus-within {
        border-color: rgba(255, 255, 255, 0.82) !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(244, 248, 252, 0.56));
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08), 0 0 0 3px rgba(255, 255, 255, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.66);
    }

    .top-bar-desktop-layout .top-search-bar .input-search {
        background-color: transparent;
        height: 44px;
        padding: 8px 58px 8px 20px;
        border-radius: 999px;
        font-size: 13px;
        line-height: 22px;
        color: #505864;
        transition: color 0.2s ease;
    }

    .top-bar-desktop-layout .top-search-bar .input-search::placeholder {
        color: #7f8896;
        transition: color 0.2s ease;
    }

    .top-bar-desktop-layout .top-search-bar .input-search:focus {
        color: #394250;
    }

    .top-bar-desktop-layout .top-search-bar .input-search:focus::placeholder {
        color: #98a1ad;
    }

    .top-bar-desktop-layout .top-search-bar .btn-search {
        top: 4px;
        right: 4px;
        width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.18)) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64), 0 3px 8px rgba(15, 23, 42, 0.06);
        font-size: 16px;
        line-height: 22px;
        transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    }

    .top-bar-desktop-layout .top-search-bar .search-results-ajax {
        top: 46px;
    }

    .top-bar-desktop-layout .top-search-bar .btn-search i {
        color: #5e6774 !important;
    }

    .top-bar-desktop-layout .top-search-bar:focus-within .btn-search {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.26)) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 5px 12px rgba(15, 23, 42, 0.08);
        transform: translateY(-1px);
    }

    .top-bar-desktop-layout .top-bar-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 12px;
        margin: 0;
        padding: 0;
        float: none;
        white-space: nowrap;
    }

    .top-bar-desktop-layout .top-bar-actions .nav-item {
        display: inline-flex;
        align-items: center;
        float: none;
        min-height: 44px;
        margin-right: 0;
        padding-right: 0;
    }

    .top-bar-desktop-layout .top-bar-actions .nav-link,
    .top-bar-desktop-layout .top-bar-actions .button-link,
    .top-bar-desktop-layout .top-bar-actions .auth-sep {
        display: inline-flex;
        align-items: center;
        padding: 0;
        font-size: 13px;
        line-height: 1;
        white-space: nowrap;
    }

    .top-bar-desktop-layout .top-bar-actions .nav-item-auth {
        display: inline-flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    .top-bar-desktop-layout .top-bar-actions .top-bar-icon-link > a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .top-bar-desktop-layout .top-bar-actions .li-main-nav-right a i {
        float: none;
        margin-right: 0;
        font-size: 1rem;
    }

    .top-bar-desktop-layout .top-bar-actions .label-nav-icon {
        top: 0;
    }

    .top-bar-desktop-layout .top-bar-actions .auth-sep {
        margin: 0 6px;
    }

    .top-bar-desktop-layout .top-bar-actions .btn-modal-location {
        max-width: 150px;
    }

    .top-bar-desktop-layout .nav-item-cart a .notification {
        top: -8px;
        left: 10px;
    }

    .nav-main-desktop-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 28px;
        min-height: 64px;
        width: fit-content;
        max-width: 100%;
        margin: 0 auto;
    }

    .nav-main-logo {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        padding: 5px 0;
    }

    .nav-main-logo a {
        display: inline-flex;
        align-items: center;
    }

    .nav-main-logo img {
        display: block;
        max-height: 48px;
        width: auto;
        object-fit: contain;
    }

    .nav-main .navbar ul .nav-item .nav-link {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .nav-main-menu-shell {
        flex: 0 1 auto;
        min-width: 0;
        position: relative;
        width: fit-content;
        max-width: 100%;
        overflow: visible;
    }

    .nav-main-menu-shell .mega-menu {
        flex: 0 1 auto;
        min-width: 0;
        max-width: 100%;
    }

    [dir="rtl"] .top-bar-desktop-layout .col-left {
        justify-self: end;
    }

    [dir="rtl"] .top-bar-desktop-layout .col-right {
        justify-self: start;
    }

    [dir="rtl"] .top-bar-desktop-layout .col-left .navbar-nav .nav-item {
        margin-right: 0;
        margin-left: 18px;
    }

    [dir="rtl"] .top-bar-desktop-layout .col-left .navbar-nav .nav-item:last-child {
        margin-left: 0;
    }

    [dir="rtl"] .top-bar-desktop-layout .top-bar-actions {
        justify-content: flex-start;
    }

    [dir="rtl"] .top-bar-desktop-layout .nav-item-cart a .notification {
        left: auto;
        right: 10px;
    }

    [dir="rtl"] .nav-main-desktop-bar {
        flex-direction: row-reverse;
    }
}
