.market-header {
    position: relative;
    z-index: 99;
    background: #fff;
    box-shadow: 0 18px 55px rgba(15, 23, 42, .07);
}

.market-header a {
    text-decoration: none;
}

.market-header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.market-topbar {
    background: linear-gradient(135deg, var(--birincil), var(--ikincil));
    color: #fff;
}

.market-topbar-inner {
    min-height: 48px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
}

.market-top-left,
.market-top-right,
.market-social {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.market-top-right {
    justify-content: flex-end;
}

.market-top-left a,
.market-top-right > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.94);
    font-size: 13px;
    font-weight: 700;
}

.market-top-center {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.18);
}

.market-social a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
}

.market-main {
    padding: 22px 0;
    background:
            radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--birincil) 11%, transparent), transparent 32%),
            radial-gradient(circle at 92% 0%, color-mix(in srgb, var(--ikincil) 11%, transparent), transparent 34%),
            #fff;
}

.market-main-inner {
    display: grid;
    grid-template-columns: 240px minmax(320px, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.market-logo {
    display: inline-flex;
    align-items: center;
}

.market-logo img {
    max-width: 220px;
    width: 100%;
    height: auto;
}

.market-search {
    height: 60px;
    display: grid;
    grid-template-columns: 170px 1fr 86px;
    align-items: center;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .11);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
    overflow: hidden;
}

.market-search-select {
    height: 100%;
    border-right: 1px solid rgba(15, 23, 42, .08);
}

.market-search select {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    padding: 0 18px;
    background: transparent;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.market-search-input {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
}

.market-search-input input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
}

.market-search-input input::placeholder {
    color: #94a3b8;
}

.market-search-input i {
    color: #94a3b8;
    font-size: 17px;
}

.market-search button {
    height: 48px;
    margin-right: 6px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--birincil), var(--ikincil));
    box-shadow: 0 14px 28px color-mix(in srgb, var(--birincil) 28%, transparent);
}

.market-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.market-account,
.market-cart {
    position: relative;
}

.market-action-btn {
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    cursor: pointer;
}

.market-action-btn span {
    position: relative;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #0f172a;
    background: color-mix(in srgb, var(--birincil) 14%, #fff);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
    transition: .22s ease;
}

.market-action-btn:hover span {
    color: #fff;
    background: linear-gradient(135deg, var(--birincil), var(--ikincil));
    transform: translateY(-2px);
}

.market-action-btn small {
    display: block;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.market-action-btn em {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    border: 2px solid #fff;
}

.market-dropdown,
.market-cart-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    display: none;
    min-width: 230px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 26px 80px rgba(15,23,42,.17);
    z-index: 150;
}

.market-account:hover .market-dropdown,
.market-cart:hover .market-cart-dropdown {
    display: block;
}

.market-dropdown a {
    display: flex;
    padding: 11px 13px;
    border-radius: 14px;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.market-dropdown a:hover {
    color: var(--birincil);
    background: color-mix(in srgb, var(--birincil) 10%, #fff);
}

.market-nav-area {
    padding-bottom: 14px;
    background: #fff;
    border-top: 1px solid rgba(15, 23, 42, .07);
    border-bottom: 1px solid rgba(15, 23, 42, .07);
}

.market-nav-inner {
    min-height: 72px;
    display: grid;
    grid-template-columns: 260px 1fr 230px;
    align-items: center;
    gap: 18px;
}

.market-category-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border-radius: 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--birincil), var(--ikincil));
    box-shadow: 0 15px 34px color-mix(in srgb, var(--birincil) 25%, transparent);
}

.market-nav > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.market-nav > ul > li {
    position: relative;
}

.market-nav > ul > li > a {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 14px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 900;
    transition: .2s ease;
}

.market-nav > ul > li > a:hover {
    color: var(--birincil);
    background: color-mix(in srgb, var(--birincil) 9%, #fff);
}

.market-nav > ul > li > a span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.market-nav .dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    display: none;
    min-width: 240px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 24px 70px rgba(15,23,42,.15);
    z-index: 130;
}

.market-nav li:hover > .dropdown {
    display: block;
}

.market-nav .dropdown a {
    display: flex;
    padding: 10px 12px;
    border-radius: 14px;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.market-nav .dropdown a:hover {
    color: var(--birincil);
    background: color-mix(in srgb, var(--birincil) 10%, #fff);
}

.market-support {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.market-support span {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--birincil);
    background: color-mix(in srgb, var(--birincil) 10%, #fff);
}

.market-support small {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.market-support strong {
    display: block;
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
}

.market-cart-dropdown {
    min-width: 380px;
    padding: 16px;
}

.market-cart-item {
    display: grid;
    grid-template-columns: 72px 1fr 28px;
    gap: 12px;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(15,23,42,.08);
}

.market-cart-item .cart-img img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 17px;
    background: #f8fafc;
}

.market-cart-item .cart-info h4 {
    margin: 0 0 5px;
    line-height: 1.25;
}

.market-cart-item .cart-info h4 a {
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
}

.market-cart-item .cart-info small {
    color: #64748b;
    font-size: 12px;
}

.market-cart-item .cart-info p {
    margin: 0;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
}

.market-cart-item .del-icon a {
    color: #ef4444;
}

.market-cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    color: #0f172a;
    font-weight: 900;
}

.market-cart-total strong {
    color: var(--birincil);
    font-size: 18px;
}

.market-cart-link a {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 17px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--birincil), var(--ikincil));
}

@media (max-width: 1199px) {
    .market-main-inner {
        grid-template-columns: 220px 1fr;
    }

    .market-search {
        grid-column: 1 / -1;
        order: 3;
    }

    .market-actions {
        justify-content: flex-end;
    }

    .market-nav-inner {
        grid-template-columns: 1fr;
    }

    .market-nav {
        display: none;
    }

    .market-support {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .market-topbar-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 10px 0;
    }

    .market-top-left,
    .market-top-right {
        justify-content: center;
    }

    .market-main-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .market-logo {
        justify-content: center;
    }

    .market-search {
        grid-template-columns: 1fr;
        height: auto;
        padding: 8px;
        border-radius: 24px;
    }

    .market-search-select {
        border-right: 0;
        border-bottom: 1px solid rgba(15,23,42,.08);
    }

    .market-search select,
    .market-search-input input {
        height: 48px;
    }

    .market-search button {
        width: 100%;
        height: 48px;
        margin: 6px 0 0;
    }

    .market-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .market-action-btn small {
        display: none;
    }

    .market-cart-dropdown {
        right: 50%;
        transform: translateX(50%);
        min-width: calc(100vw - 24px);
    }
}