/*
 * M77 arayüz düzeltmeleri
 * - Profesyonel ve rol uyumlu üst menü
 * - Görünmez yatay kategori kaydırma çubuğu
 * - Yönetilebilir logo / uygulama bağlantılı footer
 */

.site-header {
    height: 72px;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid #e5ebe8;
    box-shadow: 0 2px 12px rgba(15, 23, 42, .025);
}

.header-inner {
    height: 72px;
    gap: 18px;
}

.site-logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    max-width: 220px;
    color: #08152d;
    font-size: 27px;
    font-weight: 780;
    line-height: 1;
    white-space: nowrap;
}

.site-logo img {
    display: block;
    width: auto;
    max-width: 210px;
    height: auto;
    max-height: 46px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    min-width: 0;
    height: auto;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.site-nav > a,
.site-nav-dropdown > summary {
    position: relative;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border: 0;
    border-radius: 11px;
    outline: 0;
    color: #142039;
    background: transparent;
    font-size: 13px;
    font-weight: 650;
    line-height: 1;
    letter-spacing: -.012em;
    white-space: nowrap;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease;
}

.site-nav > a {
    height: 42px;
}

.site-nav > a::after {
    display: none !important;
}

.site-nav > a:hover,
.site-nav > a:focus-visible,
.site-nav > a.active,
.site-nav-dropdown > summary:hover,
.site-nav-dropdown > summary:focus-visible,
.site-nav-dropdown.active > summary,
.site-nav-dropdown[open] > summary {
    color: #078a4a;
    background: #eaf8f0;
}

.site-nav .nav-ico {
    display: inline-flex;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    align-items: center;
    justify-content: center;
    color: currentColor;
    font-size: 15px;
    line-height: 1;
}

.site-nav-dropdown {
    position: relative;
    flex: 0 0 auto;
}

.site-nav-dropdown > summary {
    list-style: none;
}

.site-nav-dropdown > summary::-webkit-details-marker {
    display: none;
}

.site-nav-dropdown > summary::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-size: 10px;
    font-weight: 900;
    transition: transform .18s ease;
}

.site-nav-dropdown[open] > summary::after {
    transform: rotate(180deg);
}

.site-nav-submenu {
    position: absolute;
    z-index: 130;
    top: calc(100% + 8px);
    left: 0;
    display: grid;
    width: max-content;
    min-width: 218px;
    max-width: min(310px, calc(100vw - 24px));
    gap: 3px;
    padding: 8px;
    border: 1px solid #dfe8e3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .13);
}

.site-nav-dropdown:not([open]) > .site-nav-submenu {
    display: none;
}

.site-nav-dropdown[open] > .site-nav-submenu {
    display: grid;
}

.site-nav-submenu a {
    display: flex;
    min-height: 40px;
    align-items: center;
    gap: 10px;
    padding: 0 11px;
    border-radius: 9px;
    color: #24324a;
    font-size: 13px;
    font-weight: 560;
    line-height: 1.3;
}

.site-nav-submenu a i {
    width: 17px;
    color: #078a4a;
    text-align: center;
}

.site-nav-submenu a:hover,
.site-nav-submenu a:focus-visible {
    color: #066f3e;
    background: #eef9f3;
}

.header-actions {
    flex: 0 0 auto;
    gap: 9px;
}

.hm-header-icon,
.hm-header-bell {
    position: relative;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e1e8e4;
    border-radius: 12px;
    color: #132039;
    background: #fff;
    font-size: 17px;
}

.hm-header-icon:hover,
.hm-header-bell:hover {
    color: #078a4a;
    background: #edf9f2;
}

.hm-header-icon .nav-badge,
.hm-header-bell > span {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 17px;
    height: 17px;
    margin: 0;
    padding: 0 4px;
    border: 2px solid #fff;
    font-size: 8px;
}

.header-actions .btn {
    height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 650;
}

/* Kaydırma davranışı korunur, tarayıcının gri kaydırma çizgisi gösterilmez. */
.hm71-collection-tabs,
.hm71-dual-category-nav {
    -ms-overflow-style: none;
    scrollbar-width: none !important;
}

.hm71-collection-tabs::-webkit-scrollbar,
.hm71-dual-category-nav::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.hm75-footer-logo {
    display: inline-flex;
    max-width: 270px;
    align-items: center;
}

.hm75-footer-logo img {
    display: block;
    width: auto;
    max-width: 260px;
    height: auto;
    max-height: 62px;
    object-fit: contain;
}

.hm75-app-badge {
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.hm75-app-badge:hover,
.hm75-app-badge:focus-visible {
    border-color: #19bd6d;
    background: rgba(25, 189, 109, .11);
    transform: translateY(-1px);
}

.hm75-footer-col a:focus-visible,
.hm75-footer-actions a:focus-visible,
.hm75-socials a:focus-visible,
.hm75-app-badge:focus-visible {
    outline: 3px solid rgba(40, 211, 123, .32);
    outline-offset: 3px;
}

@media (max-width: 1260px) {
    .site-nav > a,
    .site-nav-dropdown > summary {
        padding-right: 9px;
        padding-left: 9px;
        font-size: 12px;
    }

    .header-actions .btn {
        padding-right: 12px;
        padding-left: 12px;
    }
}

@media (max-width: 1040px) {
    .site-nav {
        display: none !important;
    }

    .header-inner {
        justify-content: space-between;
    }
}

@media (max-width: 700px) {
    .site-header,
    .header-inner {
        height: 70px;
    }

    .site-logo {
        max-width: calc(100vw - 112px);
        font-size: 25px;
    }

    .site-logo img {
        max-width: min(210px, calc(100vw - 112px));
        max-height: 43px;
    }

    .header-actions {
        gap: 7px;
    }

    .header-actions > .btn {
        display: none !important;
    }

    .hm-header-icon,
    .hm-header-bell {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .hm71-collection-tabs {
        width: 100%;
        max-width: 100%;
        margin: 0 0 14px !important;
        padding: 0 0 2px !important;
        scroll-padding-inline: 0;
    }

    .hm71-collection-tabs a:first-child,
    .hm71-dual-category-nav a:first-child {
        margin-left: 0 !important;
    }

    .hm71-dual-category-nav {
        width: 100%;
        max-width: 100%;
        padding-bottom: 2px !important;
    }

    .hm75-footer-main {
        gap: 28px 18px;
    }

    .hm75-footer-logo img {
        max-width: min(250px, 78vw);
        max-height: 58px;
    }

    .hm75-apps {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .hm75-app-badge {
        min-width: 0;
        padding: 9px 10px;
    }

    .hm75-payment-brands {
        row-gap: 9px;
    }
}

@media (max-width: 420px) {
    .hm75-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-right: 15px;
        margin-left: 15px;
    }

    .hm75-footer-col h2 {
        margin-bottom: 24px;
        font-size: 15px;
    }

    .hm75-footer-col a {
        padding-top: 7px;
        padding-bottom: 7px;
        font-size: 12px;
    }

    .hm75-app-badge span {
        font-size: 11px;
    }

    .hm75-app-badge small {
        font-size: 8px;
    }
}

/* M78: satıcı ilan görünürlük rozetleri */
.hm78-listing-promotion {
    position: absolute;
    z-index: 4;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 26px;
    padding: 4px 9px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 999px;
    box-shadow: 0 5px 15px rgba(16,33,59,.14);
    color: #fff;
    background: #d97706;
    font-size: 11px;
    font-weight: 750;
    line-height: 1;
}

.hm78-listing-promotion.is-featured { background: #0b8f61; }
.hm78-listing-promotion.is-premium { background: #6d4bd1; }
.hm71-listing-card-media > .hm78-listing-promotion,
.hm71-dual-listing-media > .hm78-listing-promotion { top: 10px; left: 10px; }
.hm71-listing-card-media > .hm71-listing-category + .hm78-listing-promotion { top: 42px; }
.hm71-dual-listing-media > .hm71-dual-listing-pill + .hm78-listing-promotion { top: 42px; }
.hm78-detail-promotion{display:inline-flex;align-items:center;gap:5px;margin-left:9px;padding:5px 9px;border-radius:999px;background:#fff1db;color:#a75d00;font-size:11px;font-weight:750}.hm78-detail-promotion.is-featured{background:#e8f8f1;color:#087c56}.hm78-detail-promotion.is-premium{background:#f0ebff;color:#6242be}
