.main-top,
.main-top.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100% !important;
    max-width: 1210px !important;
    margin: 0 auto;
    padding: 0 20px !important;
    box-sizing: border-box;
    min-height: 40px;
    background: none;
    border-bottom: 1px solid #eef3f9;
}

.main-top:before,
.main-top:after {
    content: none;
    display: none;
}

.main-top-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.main-top-left a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: #6f819a;
    transition: color .16s ease;
}

.main-top-left a:first-child {
    padding-left: 0;
}

.main-top-left a i {
    font-size: 13px;
    color: #a9bace;
    transition: color .16s ease;
}

.main-top-left a:hover,
.main-top-left a:hover i {
    color: #1aa5de;
}

.main-top-left .mt-top-cta {
    position: relative;
    font-weight: 700;
    color: #46566d;
}

.main-top-left .mt-top-cta:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 14px;
    margin-top: -7px;
    background: #e3ecf7;
}

.main-top-left .mt-top-cta i {
    color: #64ba7d;
}

.main-top-left .mt-top-cta:hover,
.main-top-left .mt-top-cta:hover i {
    color: #17233a;
}

.main-top ul {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-top ul li,
.main-top ul li.mTFloatRight {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    float: none;
    margin: 0;
    padding: 0 12px;
    list-style: none;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 40px;
    color: #6f819a;
}

.main-top ul li:last-child {
    padding-right: 0;
}

.main-top ul li i {
    font-size: 13px;
    color: #a9bace;
}

.main-top ul li a {
    color: inherit;
    transition: color .16s ease;
}

.main-top ul li a:hover {
    color: #1aa5de;
}

.main-header {
    position: relative;
    z-index: 120;
    background: #ffffff;
    border-bottom: 1px solid #e6edf6;
}

.main-header > .inner {
    display: flex;
    align-items: center;
    gap: 26px;
    width: 100%;
    max-width: 1210px;
    margin: 0 auto;
    padding: 14px 20px;
    box-sizing: border-box;
    height: auto;
    overflow: visible;
}

.main-header > .inner:before,
.main-header > .inner:after {
    content: none;
    display: none;
}

.main-header .logo {
    order: 1;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    height: auto;
}

.main-header .logo img {
    display: block;
    max-height: 46px;
    width: auto;
}

.main-header .logo .logo-mini {
    display: none;
}

.main-header form.search {
    order: 2;
    flex: 1 1 auto;
    position: relative;
    min-width: 0;
    margin: 0 !important;
    padding: 0;
    float: none;
    max-width: 640px;
}

.main-header form.search:before {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    font-size: 17px;
    color: #8da0b8;
    pointer-events: none;
}

.main-header .search-input {
    width: 100% !important;
    box-sizing: border-box;
    height: 48px;
    margin: 0;
    padding: 0 110px 0 46px;
    border: 1px solid #dde7f3;
    border-radius: 14px;
    background: #f7fafd;
    box-shadow: none;
    font-size: 14px;
    font-weight: 500;
    color: #17233a;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.main-header .search-input::placeholder {
    color: #9badc2;
    font-weight: 400;
}

.main-header .search-input:focus {
    outline: none;
    border-color: #9fd3ee;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(26, 165, 222, 0.10);
}

.main-header .search-submit {
    position: absolute;
    right: 6px;
    top: 6px;
    width: auto;
    height: 36px;
    padding: 0 18px;
    border: none;
    border-radius: 10px;
    background: #1aa5de;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    transition: background .18s ease;
}

.main-header .search-submit:hover {
    background: #1391c7;
}

.main-header .user-area {
    order: 3;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    float: none;
    margin: 0 0 0 auto;
    padding: 0;
    width: auto;
    text-align: left;
}

.main-header .user-area .upload-work {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 44px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid #dde7f3;
    border-radius: 12px;
    background: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: #46566d;
    white-space: nowrap;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.main-header .user-area .upload-work:before {
    font-size: 19px;
    line-height: 1;
    color: #64ba7d;
}

.main-header .user-area .upload-work:hover {
    border-color: #bfe2ca;
    background: #f6fcf7;
    color: #17233a;
}

.main-header .user-area .shopping-beg {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    border: 1px solid #dde7f3;
    border-radius: 12px;
    background: #ffffff;
    transition: border-color .18s ease, background .18s ease;
}

.main-header .user-area .shopping-beg:before {
    position: static;
    display: block;
    font-size: 20px;
    line-height: 1 !important;
    color: #46566d;
}

.main-header .user-area .shopping-beg:hover {
    border-color: #9fd3ee;
    background: #f5fbfe;
}

.main-header .user-area .shopping-beg:hover:before {
    color: #17233a;
}

.main-header .user-area .shopping-beg[data-number]:after {
    content: none;
    display: none;
}

.main-header .user-area .shopping-beg .shopping-beg-count {
    position: absolute;
    top: -6px;
    right: -6px;
    display: block;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: #e8663d;
    font-size: 11px;
    font-weight: 800;
    line-height: 16px;
    color: #ffffff;
    text-align: center;
    box-sizing: border-box;
}

.main-header .user-area .shopping-beg[data-number="0"] .shopping-beg-count,
.main-header .user-area .shopping-beg[data-number=""] .shopping-beg-count {
    display: none;
}

.main-header .user-area .sign-in {
    display: inline-flex;
    align-items: center;
    height: 44px;
    margin: 0;
    padding: 0 20px;
    border: none;
    border-radius: 12px;
    background: #1aa5de;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    white-space: nowrap;
    transition: background .18s ease;
}

.main-header .user-area .sign-in:hover {
    background: #1391c7;
    color: #ffffff;
}

.main-header .user-area .user {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.main-header .user-area .user-image {
    width: 44px;
    height: 44px;
    margin: 0;
    border: 1px solid #dde7f3;
    border-radius: 999px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.main-header .user-area .user-name {
    display: none;
}

.main-header .user-dropdown {
    left: auto;
    right: 0;
    min-width: 232px;
    padding: 8px;
    border: 1px solid #e6edf6;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(20, 40, 80, 0.12);
    transform: none !important;
}

.main-header .user:hover .user-dropdown {
    transform: translate3d(0, 10px, 0) !important;
}

.main-header .user-dropdown:after {
    left: auto;
    right: 16px;
}

.main-header .user-dropdown a {
    padding: 9px 12px;
    border-bottom: none;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #46566d;
}

.main-header .user-dropdown a:hover {
    background: #f4f8fd;
    color: #17233a;
}

.main-nav {
    position: relative;
    z-index: 110;
    background: #ffffff;
    border-bottom: 1px solid #e6edf6;
}

.main-nav > .inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1210px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: visible;
}

.main-nav > .inner:before,
.main-nav > .inner:after {
    content: none;
    display: none;
}

.mtmenu {
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    gap: 2px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: visible;
}

.mtmenu-item {
    position: static;
    flex: 0 0 auto;
    list-style: none;
}

.mtmenu-link {
    position: relative;
    display: flex;
    align-items: center;
    height: 54px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.005em;
    color: #46566d;
    white-space: nowrap;
    transition: color .18s ease;
}

.mtmenu-link:after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #1aa5de;
    opacity: 0;
    transform: scaleX(.4);
    transition: opacity .18s ease, transform .18s ease;
}

.mtmenu-item:hover .mtmenu-link,
.mtmenu-item:focus-within .mtmenu-link {
    color: #17233a;
}

.mtmenu-item:hover .mtmenu-link:after,
.mtmenu-item:focus-within .mtmenu-link:after {
    opacity: 1;
    transform: scaleX(1);
}

.mtmenu-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 130;
    padding-top: 1px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
}

.mtmenu-item:hover .mtmenu-panel,
.mtmenu-item:focus-within .mtmenu-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mtmenu-panel-inner {
    max-height: 72vh;
    overflow-y: auto;
    padding: 20px 32px 22px;
    border: 1px solid #e6edf6;
    border-top: none;
    border-radius: 0 0 20px 20px;
    background: #ffffff;
    box-shadow: 0 26px 50px rgba(20, 40, 80, 0.16);
}

.mtmenu-panel-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef3f9;
}

.mtmenu-panel-foot {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #eef3f9;
}

.mtmenu-panel-all {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #1aa5de;
    white-space: nowrap;
}

.mtmenu-panel-all:after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}

.mtmenu-panel-all:hover {
    color: #1176d7;
}

.mtmenu-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.mtmenu-chip {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border: 1px solid #e3ecf7;
    border-radius: 999px;
    background: #f7fafd;
    font-size: 12.5px;
    font-weight: 700;
    color: #5d718c;
    white-space: nowrap;
    transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.mtmenu-chip:hover {
    border-color: #9fd3ee;
    background: #ffffff;
    color: #1aa5de;
}

.mtmenu-urunler {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mtmenu-urunler li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mtmenu-urunler a {
    display: block;
    height: 100%;
    padding: 12px 12px 14px;
    border: 1px solid transparent;
    border-radius: 16px;
    text-align: center;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.mtmenu-urunler a:hover {
    border-color: #dbe9f7;
    background: #f8fbff;
    transform: translateY(-2px);
}

.mtmenu-urun-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 10px;
    border-radius: 12px;
    background: #f3f7fb;
    overflow: hidden;
}

.mtmenu-urun-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.mtmenu-urunler a:hover .mtmenu-urun-img img {
    transform: scale(1.05);
}

.mtmenu-urun-ad {
    display: block;
    font-size: 12.5px;
    line-height: 1.35;
    font-weight: 600;
    color: #46566d;
}

.mtmenu-urunler a:hover .mtmenu-urun-ad {
    color: #17233a;
}

.result-container {
    z-index: 115;
}

@media all and (max-width: 1170px) {
    .main-header > .inner,
    .main-nav > .inner,
    .main-top,
    .main-top.container {
        padding-left: 14px !important;
        padding-right: 14px !important;
        gap: 16px;
    }

    .main-header .user-area .upload-work span {
        display: none;
    }

    .main-header .user-area .upload-work {
        width: 44px;
        padding: 0;
        justify-content: center;
    }

    .mtmenu-link {
        padding: 0 12px;
        font-size: 13px;
    }

    .main-top-left a,
    .main-top ul li {
        padding-left: 9px;
        padding-right: 9px;
        font-size: 12px;
    }
}

@media (max-width: 900px) {
    .main-top {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0 4px;
    }

    .main-top ul li:nth-child(1) {
        display: none;
    }
}

@media (max-width: 768px) {
    .mtmenu {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 75px;
        top: auto;
        z-index: 99998;
        display: block;
        flex: none;
        max-height: 70vh;
        padding: 10px 12px 16px;
        border-radius: 20px 20px 0 0;
        background: #ffffff;
        box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.15);
        overflow-x: hidden;
        overflow-y: auto;
        transform: translateY(calc(100% + 80px));
        transition: transform .28s ease;
    }

    body.mtmenu-acik .mtmenu {
        transform: translateY(0);
    }

    .mtmenu:before {
        content: "";
        display: block;
        width: 44px;
        height: 4px;
        margin: 0 auto 12px;
        border-radius: 999px;
        background: #dde7f3;
    }

    .mtmenu-item {
        display: block;
        border-bottom: 1px solid #f1f5fa;
    }

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

    .mtmenu-link {
        height: auto;
        padding: 14px 6px;
        font-size: 15px;
        font-weight: 700;
        color: #17233a;
    }

    .mtmenu-link:after {
        content: none;
    }

    .mtmenu-panel {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        padding: 0 0 12px;
    }

    .mtmenu-panel-inner {
        max-height: none;
        overflow: visible;
        padding: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    .mtmenu-panel-head {
        display: block;
        margin-bottom: 14px;
        padding-bottom: 0;
        border-bottom: none;
    }

    .mtmenu-panel-foot {
        display: none;
    }

    .mtmenu-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .mtmenu-urunler {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}

@media all and (max-width: 760px) {
    .main-header > .inner {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 0;
    }

    .main-header .logo {
        order: 1;
    }

    .main-header .logo img {
        max-height: 38px;
    }

    .main-header .user-area {
        order: 2;
        margin-left: auto;
    }

    .main-header form.search {
        order: 3;
        flex: 1 1 100%;
        max-width: none;
    }

    .main-header .search-input {
        height: 44px;
        padding-right: 96px;
    }

    .main-top {
        display: none;
    }
}
