.gold-header {
    background: #fff;
    border-bottom: 1px solid #edf0f2;
    box-shadow: none;
}

.gold-header .header-top {
    display: block;
    min-height: 26px;
    border-bottom: 1px solid #edf0f2;
    background: #fff;
    font-size: 12px;
    line-height: 1;
}

.gold-header .header-top .container {
    min-height: 26px;
    max-width: 1060px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding-left: 0;
    padding-right: 0;
}

.gold-header .header-top .header-left {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 0;
}

.gold-header .header-top .header-left a,
.gold-header .header-top .mobiluyelik a,
.gold-header .header-top .top-menu a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0f172a !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.gold-header .header-top .header-left a:hover,
.gold-header .header-top .mobiluyelik a:hover,
.gold-header .header-top .top-menu a:hover {
    color: #0062a4 !important;
}

.gold-header .header-top .header-left i,
.gold-header .header-top .mobiluyelik i,
.gold-header .header-top .top-menu i {
    font-size: 13px;
    line-height: 1;
}

.gold-header .header-top .mobiluyelik {
    display: none;
}

.gold-header .header-top .header-right {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.gold-header .header-top .top-menu,
.gold-header .header-top .top-menu > li,
.gold-header .header-top .top-menu ul {
    display: flex !important;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gold-header .header-top .top-menu > li > a {
    display: none;
}

.gold-header .header-top .top-menu li {
    margin: 0;
    padding: 0;
}

.gold-header .header-top .top-menu:before,
.gold-header .header-top .top-menu:after {
    display: none;
}

.gold-header .header-middle {
    min-height: 82px;
    border-bottom: 1px solid #e7e9ec;
    margin-bottom: 0;
}

.gold-header .container {
    width: 100%;
    max-width: 960px;
}

.gold-header .header-middle .container {
    min-height: 82px;
    display: grid;
    grid-template-columns: 170px 390px minmax(250px, 1fr);
    align-items: center;
    column-gap: 28px;
    padding-left: 0;
    padding-right: 0;
}

.gold-header .header-left,
.gold-header .header-center,
.gold-header .header-right {
    display: flex;
    align-items: center;
    min-width: 0;
}

.gold-header .mobile-menu-toggler {
    display: none;
}

.gold-header .logo {
    margin: 0;
    display: inline-flex;
    align-items: center;
    height: 52px;
    min-width: 136px;
}

.gold-header .logo img {
    width: auto;
    max-width: 136px;
    max-height: 48px;
    object-fit: contain;
    display: block;
}

.gold-header .header-center {
    justify-self: start;
    justify-content: flex-start;
    width: 390px;
    max-width: 390px;
}

.gold-header .header-search,
.gold-header .header-search form,
.gold-header .header-search-wrapper {
    width: 390px !important;
    max-width: 390px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.gold-header .header-middle .header-left {
    justify-content: flex-start;
}

.gold-header .header-middle .header-left .logo {
    margin-left: 0;
    margin-right: 0;
    transform: none;
}

.gold-header .header-right {
    justify-self: end;
    justify-content: flex-end;
}

.gold-header .header-search-wrapper {
    height: 44px;
    border: 1px solid #dfe2e7;
    border-radius: 22px;
    background: #f7f8fa;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

/* Molla extended search CSS assumes [input][button]; keep input from width:100% eating the row */
.gold-header .header-search-extended .form-control {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    height: 42px;
    margin: 0 !important;
    padding: 0 10px 0 14px;
    border: 0;
    background: transparent;
    color: #111827;
    font-size: 13px;
    border-radius: 21px 0 0 21px !important;
}

.gold-header .header-search-extended .form-control::placeholder {
    color: #111827;
    opacity: 1;
}

.gold-header .header-search-extended .btn.btn-primary.gold-header-search-submit {
    flex: 0 0 auto !important;
    max-width: none !important;
    min-width: 48px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 0 21px 21px 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1 !important;
    color: var(--core-brand-text-on-dark, #fff) !important;
    background-color: var(--core-brand-primary, #1c2944) !important;
}

.gold-header .header-search-extended .btn.btn-primary.gold-header-search-submit:hover,
.gold-header .header-search-extended .btn.btn-primary.gold-header-search-submit:focus {
    color: var(--core-brand-text-on-dark, #fff) !important;
    background-color: var(--core-brand-primary-hover, #2a3d63) !important;
    opacity: 1 !important;
}

.gold-header .header-search-extended .btn.btn-primary.gold-header-search-submit .gold-header-search-submit-text {
    white-space: nowrap;
}

/* Anasayfa mobil: parça bulucu ile slider arasında ürün arama (header’daki çubukla aynı) */
.gold-mobile-home-search {
    width: 100%;
    max-width: 100%;
}

/* Flex doğrudan formda: Bootstrap .form-control (display:block; width:100%) tek satırı bozmasın */
.gold-mobile-home-search-form {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid #dfe2e7;
    border-radius: 22px;
    background: #f7f8fa;
    overflow: hidden;
    box-sizing: border-box;
}

.gold-mobile-home-search-form > .form-control {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    height: 42px;
    margin: 0 !important;
    padding: 0 10px 0 14px;
    border: 0;
    background: transparent;
    color: #111827;
    font-size: 13px;
    border-radius: 21px 0 0 21px !important;
    box-shadow: none !important;
    align-self: center;
    -webkit-appearance: none;
    appearance: none;
}

.gold-mobile-home-search-form > .form-control::placeholder {
    color: #111827;
    opacity: 1;
}

.gold-mobile-home-search-form > .btn.btn-primary.gold-header-search-submit {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    max-width: none !important;
    min-width: 48px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 0 21px 21px 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1 !important;
    color: var(--core-brand-text-on-dark, #fff) !important;
    background-color: var(--core-brand-primary, #1c2944) !important;
    align-self: center;
}

.gold-mobile-home-search-form > .btn.btn-primary.gold-header-search-submit:hover,
.gold-mobile-home-search-form > .btn.btn-primary.gold-header-search-submit:focus {
    color: var(--core-brand-text-on-dark, #fff) !important;
    background-color: var(--core-brand-primary-hover, #2a3d63) !important;
    opacity: 1 !important;
}

.gold-mobile-home-search-form > .btn.btn-primary.gold-header-search-submit .gold-header-search-submit-text {
    white-space: nowrap;
}

.gold-header .header-right {
    justify-self: end;
    justify-content: flex-end;
    gap: 8px;
    align-self: center;
}

.gold-header .compare-dropdown,
.gold-header .wishlist {
    display: none;
}

.gold-account-action a,
.gold-header .cart-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #111827 !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
}

.gold-action-icon,
.gold-header .cart-dropdown .icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f4f5f7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    position: relative;
}

.gold-action-icon i,
.gold-header .cart-dropdown .icon i {
    font-size: 20px;
}

.gold-header .cart-dropdown {
    padding-left: 0;
    margin: 0;
    display: inline-flex !important;
    align-items: center !important;
}

.gold-header .cart-dropdown > a {
    min-height: 42px;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    width: auto !important;
    text-align: left !important;
}

.gold-header .cart-dropdown p {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    color: #111827;
    font-size: 12px;
    font-weight: 600;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.gold-header .cart-dropdown .cart-count {
    min-width: 14px;
    height: 14px;
    top: -1px;
    right: -2px;
    background: #0062a4 !important;
    color: #fff;
    font-size: 9px;
    line-height: 14px;
}

.gold-language-pill {
    min-width: 90px;
    height: 41px;
    border-radius: 13px 0 13px 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 12px;
    background: #0062a4;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: none;
    white-space: nowrap;
}

.gold-language-pill i {
    font-size: 13px;
    line-height: 1;
}

.gold-language-pill:hover,
.gold-language-pill:focus {
    color: #fff !important;
    background: #004a7a;
}

.gold-header .header-bottom {
    min-height: 48px;
    border-bottom: 1px solid #e7e9ec;
    background: #fff;
}

.gold-header .header-bottom .container {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}

.gold-header .header-bottom .header-left,
.gold-header .header-bottom .tamekranmenu {
    display: none;
}

.gold-brand-nav {
    width: 100%;
}

.gold-brand-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}

.gold-brand-nav li {
    display: flex;
    align-items: center;
}

/* Her kategori linki arasında | ayırıcı (önceki gap yerine) */
.gold-brand-nav li + li::before {
    content: '|';
    color: #cbd5e1;
    font-weight: 300;
    font-size: 12px;
    line-height: 1;
    margin: 0 14px;
    flex-shrink: 0;
    pointer-events: none;
}

.gold-brand-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    color: #111827 !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

.gold-brand-nav a:hover,
.gold-brand-nav a:focus {
    color: #0062a4 !important;
}

.gold-more-link {
    letter-spacing: 2px;
}

@media (max-width: 991px) {
    .gold-header .container {
        max-width: none;
        padding-left: 30px;
        padding-right: 30px;
    }

    .gold-header .header-top {
        display: none;
    }

    /* Tema şablonu (header-intro-clearance) sol alana ~%25 max-width veriyor; grid ile
       mobilde taşma/kırpma yapıyor. Flex + max-width sıfırlama ile sağdaki Garajım taşmasın. */
    .gold-header.header-intro-clearance .header-middle .header-left,
    .gold-header.header-intro-clearance .header-middle .header-center {
        flex: initial;
        max-width: none;
        width: auto;
        margin: 0;
    }

    .gold-header .header-middle .container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        column-gap: 10px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .gold-header .mobile-menu-toggler {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .gold-header .header-middle .header-left {
        flex: 1 1 auto;
        min-width: 0;
        gap: 10px;
    }

    .gold-header .header-middle .header-left .logo {
        min-width: 0;
        flex-shrink: 1;
    }

    .gold-header .header-center {
        display: none;
    }

    .gold-header .header-middle .header-right {
        flex: 0 0 auto;
        display: flex !important;
        align-items: center;
        gap: 6px;
        min-width: 0;
    }

    .gold-account-action span:not(.gold-action-icon),
    .gold-header .cart-dropdown p {
        display: none;
    }

    .gold-header .header-middle .header-right .gold-language-pill {
        display: inline-flex !important;
        flex-shrink: 0;
    }

    .gold-language-pill {
        min-width: 0;
        height: 38px;
        padding: 0 10px;
        font-size: 11px;
        border-radius: 11px 0 11px 11px;
    }

    .gold-header .logo img {
        max-width: 128px;
    }

    .gold-brand-nav ul {
        justify-content: flex-start;
        gap: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .gold-brand-nav li + li::before {
        margin: 0 10px;
    }

    .gold-brand-nav ul::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 575px) {
    .gold-header .container,
    .gold-header .header-middle .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .gold-header .header-middle,
    .gold-header .header-middle .container {
        min-height: 62px;
    }

    .gold-action-icon,
    .gold-header .cart-dropdown .icon {
        width: 34px;
        height: 34px;
    }

    .gold-language-pill {
        height: 34px;
        padding: 0 8px;
        font-size: 10px;
        gap: 4px;
    }

    .gold-language-pill i {
        font-size: 12px;
    }

    .gold-header .logo img {
        max-width: 116px;
        max-height: 42px;
    }
}
