/* Bu dosya, vitrin şablonlarında her sayfaya satır içi (inline) basılan CSS'in dışarı alınmış halidir (sayfa HTML boyutu ve tarayıcı önbelleği için).
   Kaynak partial: resources/views/frontend/partials/_header.blade.php — içerik birebir aynıdır, değiştirirken sürüm parametresi (filemtime) otomatik yenilenir. */
.commerce-topbar { position: relative; z-index: 1001; min-height: 38px; border: 0; background: #132337; color: rgba(255,255,255,.82); }
.commerce-topbar > .container { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 38px; }
.commerce-topbar a { color: rgba(255,255,255,.82) !important; font-size: 11px; }
.commerce-topbar a:hover { color: #fff !important; }
.commerce-topbar-offer a { display: inline-flex; align-items: center; gap: 7px; }
.commerce-topbar-offer i { color: #ffb178; font-size: 13px; }
.commerce-topbar-offer strong { color: #fff; font-weight: 700; }
.commerce-topbar-offer b { padding: 3px 7px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #fff; font-size: 9px; letter-spacing: .04em; }
.commerce-topbar-message { position: relative; display: flex; align-items: center; justify-self: center; width: clamp(270px, 24vw, 340px); height: 38px; overflow: hidden; color: #fff !important; font-weight: 600; }
.commerce-message-item {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 7px;
    opacity: 0; filter: blur(3px); transform: translateY(10px);
    transition: opacity .42s ease, filter .42s ease, transform .42s cubic-bezier(.22,1,.36,1);
}
.commerce-message-item.is-active { opacity: 1; filter: blur(0); transform: translateY(0); }
.commerce-message-item.is-leaving { opacity: 0; filter: blur(3px); transform: translateY(-10px); }
.commerce-topbar-message i { color: #8fc0ee; font-size: 14px; flex: 0 0 auto; }
.commerce-message-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.commerce-topbar-links { justify-self: end; gap: 16px; }
.commerce-topbar-links .divider { height: 14px; margin: 0; border-left-color: rgba(255,255,255,.22); }
.commerce-topbar-links .dropdown > a { font-weight: 750; }
.commerce-topbar-links .commerce-topbar-language { position: relative; z-index: 1002; }
.commerce-topbar-links .commerce-topbar-seller { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid rgba(255,255,255,.45); color: #fff; font-weight: 750; line-height: 1.4; transition: background .18s ease, color .18s ease; }
.commerce-topbar-links .commerce-topbar-seller:hover,
.commerce-topbar-links .commerce-topbar-seller:hover i,
.commerce-topbar-links .commerce-topbar-seller:hover span { color: #173b63 !important; }
.commerce-topbar-links .commerce-topbar-seller:hover { background: #fff; }
.commerce-topbar-links .dropdown-box {
    min-width: 74px; padding: 7px; border: 1px solid #e2e7ee; border-radius: 9px;
    background: #fff; box-shadow: 0 12px 30px rgba(15,23,42,.16);
}
.commerce-topbar-links .commerce-topbar-language > .dropdown-box { z-index: 1003; pointer-events: auto; }
.commerce-topbar-links .dropdown-box a {
    display: block; padding: 7px 10px; border-radius: 6px; color: #253247 !important;
    text-align: center; font-size: 11px; font-weight: 700;
}
.commerce-topbar-links .dropdown-box a:hover,
.commerce-topbar-links .dropdown-box a.active { background: #eef4fa; color: #173b63 !important; }

.header-middle { padding: 0; border-bottom: 1px solid #edf0f3; background: #fff; }
.header-middle > .container { min-height: 80px; display: flex; align-items: center; gap: 20px; }
.header-middle .header-left { flex: 0 0 auto; margin-right: 0 !important; }
.header-middle .logo { margin-right: 0; }
.header-middle .logo img { width: 136px; height: auto; object-fit: contain; }
.commerce-header-search {
    flex: 1 1 560px; align-items: stretch; min-width: 280px; max-width: 720px; height: 46px; margin: 0 auto;
    overflow: hidden; border: 1px solid #d9dee7; border-radius: 12px; background: #fff;
    box-shadow: 0 2px 8px rgba(22,34,51,.04);
}
.commerce-header-search:focus-within { border-color: #173b63; box-shadow: 0 0 0 3px rgba(23,59,99,.10); }
.commerce-header-search .select-box {
    position: relative; display: flex; flex: 0 0 154px; height: 44px; margin: 0;
    border: 0 !important; border-right: 1px solid #e7eaee !important; background: #f8fafc;
}
.commerce-header-search .select-box::before {
    right: 10px; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; margin: 0; border-radius: 50%; background: #e9eff6;
    color: #52647a; font-size: 7px; transform: translateY(-50%); pointer-events: none;
}
.commerce-header-search select,
.commerce-header-search .form-control,
.commerce-header-search .btn-search {
    height: 44px !important; min-height: 44px !important; margin: 0 !important;
    border-top: 0 !important; border-right: 0 !important; border-bottom: 0 !important; border-left: 0 !important;
    border-radius: 0 !important; outline: 0 !important; box-shadow: none !important;
}
.commerce-header-search select { width: 100%; padding: 0 38px 0 14px; background-color: transparent; color: #536170; font-size: 12px; font-weight: 600; }
.commerce-header-search .form-control { flex: 1 1 auto; padding: 0 16px; color: #1f2937; font-size: 13px; }
.commerce-header-search .btn-search { flex: 0 0 52px; width: 52px; padding: 0; background: #173b63; color: #fff; }
.commerce-header-search .btn-search:hover { background: #102f51; color: #fff; }
.commerce-mobile-search,
.commerce-sticky-search { position: relative; }
.commerce-mobile-search { display: none; }
.commerce-header-search .search-suggest-box,
.commerce-mobile-search .search-suggest-box,
.commerce-sticky-search .search-suggest-box {
    top: calc(100% + 8px); width: 100%; border: 1px solid #e0e6ee; border-radius: 12px;
    background: #fff; box-shadow: 0 18px 46px rgba(15,23,42,.15); overflow: hidden;
}
.commerce-header-search .search-suggest-item,
.commerce-mobile-search .search-suggest-item,
.commerce-sticky-search .search-suggest-item { padding: 10px 12px; }
.commerce-header-search .search-suggest-more,
.commerce-mobile-search .search-suggest-more,
.commerce-sticky-search .search-suggest-more { background: #f4f7fa; color: #173b63; font-weight: 700; }
.header-middle .header-right { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; margin-left: 0 !important; }
.header-middle .header-right > .link,
.header-middle .header-right > .dropdown,
.header-middle .account-toggle {
    min-width: 52px; min-height: 48px; margin: 0 !important; padding: 6px 7px; border-radius: 10px;
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
}
.header-middle .header-right > .link:hover,
.header-middle .header-right > .dropdown:hover,
.header-middle .account-toggle:hover { color: #f26b2b; background: #fff4ee; transform: translateY(-1px); }
.header-middle .header-right i { font-size: 25px; }
.header-middle .header-right .wishlist-label,
.header-middle .header-right .compare-label,
.header-middle .header-right .cart-label,
.header-middle .header-right .account-toggle-label { margin-top: 4px; color: #475569; font-size: 10px; font-weight: 650; }
.account-toggle { margin-left: 0 !important; }
.account-toggle i { color: inherit; font-size: 25px !important; }
.header-middle .account-toggle { display: flex; flex-direction: row; align-items: center; gap: 8px; min-width: 92px; }
.header-middle .account-toggle .account-toggle-label,
.header-middle .commerce-cart .cart-label { display: flex !important; flex-direction: column; align-items: flex-start; margin: 0; line-height: 1.15; }
.header-middle .account-toggle strong,
.header-middle .commerce-cart strong { color: #172033; font-size: 11px; font-weight: 750; white-space: nowrap; }
.header-middle .account-toggle small,
.header-middle .commerce-cart small { margin-top: 2px; color: #8a93a1; font-size: 9px; font-weight: 500; white-space: nowrap; }
.header-middle .commerce-cart { min-width: auto !important; padding: 0 !important; background: transparent !important; transform: none !important; }
.header-middle .commerce-cart .cart-toggle {
    display: flex; flex-direction: row; align-items: center; gap: 8px; min-height: 46px;
    padding: 0 14px; border: 1px solid #d7e0ea; border-radius: 999px; background: #f4f7fb; color: #173b63;
}
.header-middle .commerce-cart .cart-toggle > i { color: #173b63; font-size: 22px; }
.header-middle .commerce-cart .cart-label strong { color: #173b63; }
.header-middle .commerce-cart .cart-label small { color: #748196; }
.header-middle .commerce-cart .cart-count { top: -9px; right: -9px; background: #e45135; }
.header-middle .commerce-cart:hover .cart-toggle { border-color: #b9c8d8; background: #eaf1f8; }
.commerce-mobile-language { position: relative; }
.commerce-mobile-language-toggle { display: flex; align-items: center; justify-content: center; gap: 4px; color: #173b63; }
.commerce-mobile-language-toggle > i { font-size: 16px !important; }
.commerce-mobile-language-toggle > strong { font-size: 11px; }
.commerce-mobile-language-toggle > span { font-size: 7px; }
.commerce-mobile-language > .dropdown-box {
    right: 0; left: auto; min-width: 72px; padding: 6px; border: 1px solid #e1e7ef;
    border-radius: 10px; background: #fff; box-shadow: 0 14px 34px rgba(15,23,42,.16);
}
.commerce-mobile-language > .dropdown-box a { display: block; padding: 8px; border-radius: 6px; color: #26364a; text-align: center; font-size: 11px; font-weight: 700; }
.commerce-mobile-language > .dropdown-box a.active,
.commerce-mobile-language > .dropdown-box a:hover { background: #eef4fa; color: #173b63; }
.header-middle .commerce-cart > .dropdown-box {
    top: calc(100% + 12px); right: 0; min-width: 360px; padding: 18px;
    border: 1px solid #e1e7ef; border-radius: 16px; background: #fff;
    box-shadow: 0 18px 48px rgba(15,23,42,.16); overflow: hidden;
}
.header-middle .commerce-cart > .dropdown-box::before { right: 30px; border-bottom-color: #fff; }
.header-middle .commerce-cart:focus-within > .dropdown-box {
    top: calc(100% + 12px); visibility: visible; opacity: 1; transform: translate3d(0,0,0);
}
.commerce-cart-panel-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 13px; border-bottom: 1px solid #edf0f4; }
.commerce-cart-panel-head > div { display: flex; align-items: baseline; gap: 7px; }
.commerce-cart-panel-head strong { color: #182235; font-size: 15px; }
.commerce-cart-panel-head small { color: #8b95a5; font-size: 10px; }
.commerce-cart-panel-head > a { display: inline-flex; align-items: center; gap: 4px; color: #315f8e; font-size: 10px; font-weight: 700; }
.commerce-cart-empty { display: flex; flex-direction: column; align-items: center; padding: 22px 6px 4px; text-align: center; }
.commerce-cart-empty-icon { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin-bottom: 13px; border-radius: 18px; background: #eef4fa; color: #315f8e; }
.commerce-cart-empty-icon i { font-size: 25px !important; }
.commerce-cart-empty > strong { color: #182235; font-size: 14px; }
.commerce-cart-empty > p { max-width: 250px; margin: 5px 0 15px; color: #7b8594; font-size: 11px; line-height: 1.55; }
.commerce-cart-discover { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 40px; border-radius: 9px; background: #315f8e; color: #fff !important; font-size: 11px; font-weight: 700; }
.commerce-cart-discover:hover { background: #244d76; color: #fff !important; }
.commerce-cart-assurances { display: flex; justify-content: center; gap: 18px; width: 100%; margin-top: 14px; color: #7d8795; font-size: 9px; }
.commerce-cart-assurances span { display: inline-flex; align-items: center; gap: 4px; }
.commerce-cart-assurances i { color: #4d8b6d; font-size: 11px !important; }
.commerce-cart .products { max-height: 310px; margin-top: 12px; padding-right: 4px; }
.commerce-cart .product-cart { padding: 12px 0; }
.commerce-cart .cart-total { margin-top: 6px; padding-top: 14px; border-top: 1px solid #edf0f4; }
.commerce-cart .cart-action .btn { min-height: 38px; border-radius: 9px; font-size: 10px; }
/* Mini sepet: ürün listesi kayar, özet ve aksiyonlar her zaman aynı yerde kalır. */
.header-middle .commerce-cart > .dropdown-box { display:flex; flex-direction:column; max-height:min(560px,calc(100vh - 112px)); }
.commerce-cart .commerce-cart-items { flex:1 1 auto; min-height:0; max-height:none; margin:10px -5px 0 0; padding:0 9px 0 0; overflow-y:auto; overscroll-behavior:contain; }
.commerce-cart .product.product-cart { display:grid; grid-template-columns:64px minmax(0,1fr); column-gap:12px; align-items:center; min-height:82px; margin:0; padding:12px 28px 12px 0; border-bottom:1px solid #edf1f5; }
.commerce-cart .product.product-cart:last-child { border-bottom:0; }
.commerce-cart .product-cart .product-media { grid-column:1; grid-row:1; width:64px; max-width:64px; height:64px; margin:0; }
.commerce-cart .product-cart .product-media img { width:64px; height:64px; border-radius:9px; object-fit:cover; }
.commerce-cart .product-cart .product-detail { grid-column:2; grid-row:1; min-width:0; padding:0; }
.commerce-cart .product-cart .product-name { display:-webkit-box; overflow:hidden; margin:0 0 7px; color:#172f4e; font-size:12px; font-weight:750; line-height:1.35; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.commerce-cart .product-cart .product-name:hover { color:#2169b3; }
.commerce-cart .product-cart .price-box { display:flex; align-items:center; gap:5px; font-size:11px; }
.commerce-cart .product-cart .product-quantity { margin:0; color:#8292a3; font-size:11px; }
.commerce-cart .product-cart .product-quantity::after { margin-left:3px; font-size:11px; }
.commerce-cart .product-cart .product-price { color:#2169b3; font-size:13px; font-weight:850; }
.commerce-cart .product-cart .btn-close { top:12px; right:0; display:grid; place-items:center; width:20px; height:20px; margin:0; padding:0; border-radius:50%; background:#fff; color:#52677d; box-shadow:0 2px 7px rgba(15,23,42,.18); }
.commerce-cart .product-cart .btn-close:hover { background:#eef6ff; color:#2169b3; }
.commerce-cart .commerce-cart-footer { flex:0 0 auto; padding-top:8px; background:#fff; }
.commerce-cart .cart-total { display:flex; align-items:center; justify-content:space-between; margin:0; padding:13px 0; border-top:1px solid #dfe8f0; color:#50657a; font-size:12px; }
.commerce-cart .cart-total .price { color:#102f54; font-size:16px; font-weight:850; }
.commerce-cart .cart-action { display:grid; grid-template-columns:1fr 1.2fr; gap:8px; }
.commerce-cart .cart-action .btn { display:flex; align-items:center; justify-content:center; min-width:0; margin:0; padding:11px 8px; border-radius:9px; font-size:11px; font-weight:800; }
.commerce-topbar-links .dropdown.commerce-ui-open > .dropdown-box,
.commerce-mobile-language.commerce-ui-open > .dropdown-box,
.header-middle .commerce-cart.commerce-ui-open > .dropdown-box {
    visibility: visible; opacity: 1; transform: translate3d(0,0,0);
}
.commerce-topbar-links .dropdown.commerce-ui-open > .dropdown-box { top: 100%; }
.commerce-mobile-language.commerce-ui-open > .dropdown-box { top: calc(100% + 8px); }
.header-middle .commerce-cart.commerce-ui-open > .dropdown-box { top: calc(100% + 12px); }

.header-bottom { min-height: 50px; border-bottom: 1px solid #e8ebef; background: #fff; }
.header-bottom .inner-wrap { min-height: 50px; }
.header-bottom .header-left { display: flex; align-items: stretch; min-width: 0; }
.header-bottom .category-dropdown { flex: 0 0 235px; margin-right: 20px; }
.header-bottom .category-toggle {
    min-height: 50px; padding: 0 18px; border: 0 !important; border-radius: 8px 8px 0 0;
    background: #fff; color: #173b63; font-size: 12px; font-weight: 750;
}
.header-bottom .category-toggle,
.header-bottom .category-toggle i,
.header-bottom .category-toggle span { color: #173b63 !important; }
.header-bottom .category-toggle:hover { background: #f4f7fa; color: #102f51; }
.header-bottom .category-dropdown.show > .category-toggle,
.header-bottom .category-dropdown.show > .category-toggle:hover,
.header-bottom .category-dropdown.show > .category-toggle:focus {
    background: #fff !important; color: #173b63 !important; box-shadow: inset 0 -2px 0 #173b63;
}
.header-bottom .category-dropdown.show > .category-toggle i,
.header-bottom .category-dropdown.show > .category-toggle span { color: #173b63 !important; }
.commerce-main-nav { display: flex; align-items: stretch; min-width: 0; }
.commerce-main-nav > .menu { display: flex; align-items: stretch; gap: 4px; }
.commerce-main-nav > .menu > li { display: flex; align-items: stretch; }
.commerce-main-nav > .menu > li > a { display: flex; align-items: center; padding: 0 14px; color: #334155; font-size: 12px; font-weight: 700; }
.commerce-main-nav > .menu > li:hover > a,
.commerce-main-nav > .menu > li.active > a { color: #f26b2b; }
.commerce-main-nav > .menu > li.active > a::after { content: ""; position: absolute; right: 14px; bottom: 0; left: 14px; height: 2px; background: #f26b2b; }
.commerce-main-nav > .menu > li.commerce-deals-link > a { color: #c64918; }
.commerce-main-nav > .menu > li.commerce-deals-link > a {
    align-self: center; height: 32px; margin-left: 4px; padding-inline: 13px;
    border-radius: 999px; background: #fff3ec;
}
.commerce-sticky-search,
.commerce-sticky-cart { display: none; }

.header-quicknav { border: 0; background: #173b63; }
.header-quicknav .container { min-height: 38px; }
.header-quicknav-links a,
.header-quicknav .quicknav-promo { color: rgba(255,255,255,.88); }
.header-quicknav-links a:hover,
.header-quicknav .quicknav-promo:hover { color: #fff; }

@media (min-width: 992px) {
    .category-dropdown[data-category-enhanced]:not(.show) > .dropdown-box {
        visibility: hidden; opacity: 0; pointer-events: none;
    }
    .category-dropdown[data-category-enhanced].show > .dropdown-box {
        visibility: visible; opacity: 1; transform: none; pointer-events: auto;
    }
    .category-dropdown[data-category-enhanced] .category-menu > li > .megamenu {
        min-width: 0;
        top: var(--panel-top, 0px);
        left: 100%;
        max-height: calc(100dvh - 24px);
        overflow-y: auto;
        overscroll-behavior: contain;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }
    .category-dropdown[data-category-enhanced] .category-menu > li.is-panel-open > .megamenu {
        visibility: visible; opacity: 1; pointer-events: auto;
        transform: translate3d(0, 0, 0);
    }
    .category-dropdown[data-category-enhanced] .category-menu a:focus-visible {
        outline: 2px solid #336699; outline-offset: -2px; border-radius: 4px;
    }
    .category-dropdown[data-category-enhanced] .category-menu .category-label {
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
        overflow: hidden; white-space: normal; overflow-wrap: anywhere;
        min-width: 0; flex: 1;
    }
    .category-dropdown[data-category-enhanced] .category-menu a:has(> .category-label) {
        display: flex; align-items: center; gap: 4px;
    }
    .header-bottom {
        transition: min-height .25s ease, box-shadow .25s ease, background-color .25s ease;
    }
    .header-bottom .inner-wrap,
    .header-bottom .category-toggle,
    .header-bottom .header-search,
    .header-bottom .header-right > a {
        transition: min-height .25s ease, height .25s ease, padding .25s ease, margin .25s ease, opacity .2s ease;
    }
    .header-bottom.fixed {
        background: rgba(255,255,255,.97);
        box-shadow: 0 8px 28px rgba(15,23,42,.1);
        backdrop-filter: blur(12px);
    }
    .header-bottom.fixed .inner-wrap { min-height: 52px; }
    .header-bottom.fixed .category-toggle { min-height: 52px; padding-top: 1.4rem; padding-bottom: 1.4rem; }
    .header-bottom.fixed .commerce-main-nav { display: none; }
    .header-bottom.fixed .header-left { width: 100%; align-items: center; gap: 16px; }
    .header-bottom.fixed .category-dropdown { flex-basis: 205px; margin-right: 0; }
    .header-bottom.fixed .commerce-sticky-search {
        display: flex; flex: 1; align-items: center; height: 38px; overflow: visible;
        border: 1px solid #d7dfe8; border-radius: 9px; background: #fff;
    }
    .header-bottom.fixed .commerce-sticky-search > i { margin-left: 13px; color: #748196; font-size: 15px; }
    .header-bottom.fixed .commerce-sticky-search input { flex: 1; height: 36px; padding: 0 11px; border: 0; outline: 0; font-size: 12px; }
    .header-bottom.fixed .commerce-sticky-search button { align-self: stretch; padding: 0 17px; border: 0; background: #173b63; color: #fff; font-size: 11px; font-weight: 700; }
    .header-bottom.fixed .commerce-sticky-cart {
        position: relative; display: flex; align-items: center; justify-content: center;
        width: 42px; height: 42px; border: 1px solid #d7dfe8; border-radius: 50%; color: #173b63;
    }
    .header-bottom.fixed .commerce-sticky-cart i { font-size: 20px; }
    .header-bottom.fixed .commerce-sticky-cart span {
        position: absolute; top: -5px; right: -3px; display: flex; align-items: center; justify-content: center;
        min-width: 17px; height: 17px; padding: 0 4px; border-radius: 10px; background: #e45135; color: #fff; font-size: 9px;
    }

    .category-menu > li > .megamenu {
        opacity: 0;
        transform: translate3d(-8px, 8px, 0);
        transform-origin: top left;
        transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
    }
    .category-menu > li:hover > .megamenu,
    .category-menu > li:focus-within > .megamenu,
    .category-menu > li.active > .megamenu {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
    .category-menu > li > a { transition: color .16s ease, background-color .16s ease, padding-left .16s ease; }
    .category-menu > li:hover > a,
    .category-menu > li:focus-within > a {
        padding-left: 1.35rem;
        background: #f4f8fc;
    }
}
@media (max-width: 1199px) {
    .header-middle > .container { gap: 14px; }
    .header-middle .logo img { width: 126px; }
    .commerce-header-search { flex-basis: 390px; }
    .commerce-header-search .select-box { flex-basis: 130px; }
    .header-middle .header-right > .link,
    .header-middle .header-right > .dropdown,
    .header-middle .account-toggle { min-width: 46px; padding-inline: 4px; }
    .header-middle .compare-label { display: none !important; }
    .header-middle .header-right > .compare { min-width: 38px; }
    .header-bottom .category-dropdown { flex-basis: 210px; margin-right: 10px; }
    .commerce-main-nav > .menu > li > a { padding-inline: 10px; }
    .header-quicknav .container { gap: 10px; }
    .header-quicknav-links { gap: 14px; }
    .header-quicknav-left a,
    .header-quicknav-links a { font-size: 11px; }
    .header-quicknav-right .quicknav-promo { padding-inline: 12px; font-size: 11px; }
}
@media (max-width: 991px) {
    .commerce-topbar { display: none; }
    .header-middle > .container { min-height: 76px; }
    .commerce-header-search { max-width: none; }
    .header-bottom { display: none; }
}
@media (max-width: 767px) {
    .header { position: sticky; top: 0; z-index: 1000; }
    .header-middle {
        position: relative; z-index: 1000;
        box-shadow: 0 5px 18px rgba(15,23,42,.06);
    }
    .header-middle > .container {
        flex-wrap: wrap; min-height: auto; padding-top: 10px; padding-bottom: 9px;
        transition: padding .22s ease;
    }
    .header-middle .header-left { flex: 1 1 auto; }
    .header-middle .mobile-menu-toggle {
        display: inline-flex; align-items: center; justify-content: center;
        width: 36px; height: 36px; margin-right: 7px; border: 1px solid #d7e0ea;
        border-radius: 10px; background: #f7f9fc; color: #173b63;
        font-size: 20px;
        transition: background-color .18s ease, border-color .18s ease;
    }
    .header-middle .mobile-menu-toggle:hover { border-color: #b9c8d8; background: #eef3f8; }
    .header-middle .logo img { width: 132px; transition: width .22s ease; }
    .header-middle .header-right { position: relative; z-index: 20; flex: 0 0 auto; }
    .header-middle .commerce-mobile-language { position: relative; z-index: 21; display: block !important; min-width: 48px !important; padding: 0 !important; }
    .header-middle .commerce-mobile-language-toggle { width: 44px; height: 40px; border: 1px solid #d7e0ea; border-radius: 10px; background: #fff; }
    .header-middle .commerce-mobile-language > .dropdown-box { z-index: 30; }
    .header-middle .commerce-mobile-search { position: relative; z-index: 1; }
    .header-middle .header-right > .wishlist,
    .header-middle .header-right > .compare,
    .header-middle .account-toggle { display: none !important; }
    .header-middle .commerce-cart .cart-toggle { min-height: 40px; padding: 0 12px; }
    .header-middle .commerce-cart .cart-count { top: -6px; right: -5px; }
    .header-middle .commerce-cart > .dropdown-box {
        position: fixed; top: 126px !important; right: 12px !important; left: 12px !important;
        width: auto; min-width: 0; max-width: none; max-height: calc(100dvh - 145px); overflow-y: auto;
        transform: translate3d(0,-8px,0);
    }
    .header-middle .commerce-cart.commerce-ui-open > .dropdown-box,
    .header-middle .commerce-cart.show > .dropdown-box { transform: translate3d(0,0,0); }
    .header-middle .commerce-cart > .dropdown-box::before { display: none; }
    .commerce-mobile-search {
        order: 3; display: flex; align-items: center; width: 100%; height: 42px; margin-top: 9px;
        border: 1px solid #d7dfe8; border-radius: 10px; background: #f7f9fc;
        overflow: hidden; transition: height .22s ease, margin .22s ease;
    }
    .commerce-mobile-search > i { margin-left: 13px; color: #66768a; font-size: 16px; }
    .commerce-mobile-search input { flex: 1; min-width: 0; height: 40px; padding: 0 10px; border: 0; outline: 0; background: transparent; font-size: 12px; }
    .commerce-mobile-search button {
        display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px;
        width: 38px; height: 38px; margin-right: 2px; border: 0; border-radius: 8px;
        background: #173b63; color: #fff;
    }
    .commerce-mobile-search button:hover { background: #102f51; color: #fff; }
    .commerce-mobile-search button i { font-size: 14px; }
    .header.commerce-mobile-compact .header-middle > .container { padding-top: 6px; padding-bottom: 6px; }
    .header.commerce-mobile-compact .header-middle .logo img { width: 122px; }
    .header.commerce-mobile-compact .commerce-mobile-search { height: 38px; margin-top: 6px; }
    .header.commerce-mobile-compact .commerce-mobile-search input { height: 36px; }
    .header.commerce-mobile-compact .commerce-mobile-search button { width: 34px; height: 34px; flex-basis: 34px; }
}
/* Dokunmatik ekran: tema `.dropdown:hover .dropdown-box` ve sepette `:focus-within` ile açıyor; parmak kalktıktan sonra :hover/:focus
   öğede takılı kaldığı için JS sınıfı (commerce-ui-open) kaldırılsa bile dil ve sepet menüsü kapanmıyordu. Telefonda açık/kapalı durumu
   yalnız commerce-ui-open sınıfı belirler. */
@media (max-width: 767.98px), (hover: none) {
    .header-middle .commerce-mobile-language:not(.commerce-ui-open) > .dropdown-box,
    .header-middle .commerce-cart:not(.commerce-ui-open) > .dropdown-box {
        visibility: hidden; opacity: 0; pointer-events: none;
    }
    .header-middle .commerce-mobile-language:not(.commerce-ui-open):after,
    .header-middle .commerce-cart:not(.commerce-ui-open):after { visibility: hidden; opacity: 0; }
    /* Dokunulan dil/sepet düğmesinin altında turuncumsu (#fff4ee) bir kutu kalıyordu: masaüstü :hover boyaması (arka plan + yukarı kayma)
       dokunmatikte takılı kalıyor. Telefonda bu boyama kapatılır; tarayıcının kendi dokunma vurgusu da sıfırlanır. */
    .header-middle .header-right > .commerce-mobile-language:hover,
    .header-middle .header-right > .commerce-cart:hover { background: transparent !important; color: inherit; transform: none !important; }
    .header-middle .header-right a, .header-middle .mobile-menu-toggle, .commerce-mobile-search button { -webkit-tap-highlight-color: transparent; }
}
/* Dar telefonlar (≤575px): menü + logo + dil + sepet tek satıra sığmıyordu; sepet etiketi ("Sepetim 0 ürün") gizlenip yalnız
   ikon + sayı rozeti kalır, böylece üst şerit 3 satıra bölünmez ve logo sola yaslanır. */
@media (max-width: 575.98px) {
    .header-middle > .container { gap: 8px; }
    .header-middle .header-left { flex: 1 1 0; min-width: 0; justify-content: flex-start; }
    .header-middle .logo img { width: 118px; }
    .header.commerce-mobile-compact .header-middle .logo img { width: 110px; }
    .header-middle .header-right { gap: 6px; }
    .header-middle .commerce-cart .cart-label { display: none !important; }
    .header-middle .commerce-cart .cart-toggle { min-width: 44px; padding: 0; justify-content: center; }
    .header-middle .commerce-mobile-language { min-width: 44px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .commerce-message-item { transition: none; }
    .header-bottom,
    .header-bottom *,
    .category-menu > li > .megamenu { transition-duration: .01ms !important; }
}
