/**
 * Bazaarcan — yenistil üzerine ince kabuk katmanı.
 * -hasancancap
 */

/* Wide boxed layout — SellerRunning tarzı — hasancancap */
.bz-box {
    width: 100%;
    max-width: 1140px;
    margin-inline: auto;
    padding-inline: 24px;
}

body.bz-topnav-layout {
    --bz-topnav-h: 62px;
    background: #f4f7f6;
}

body.bz-topnav-layout .bz-page {
    min-height: calc(100vh - var(--bz-topnav-h));
    display: flex;
    flex-direction: column;
}

body.bz-topnav-layout .content.bz-box {
    flex: 1;
    max-width: 1140px;
    width: 100%;
    margin-inline: auto;
    padding: 24px 24px 32px;
}

body.bz-topnav-layout .content {
    max-width: none;
}

body.bz-topnav-layout .f.bz-box {
    max-width: 1140px;
    width: 100%;
    margin-bottom: 0;
    padding-bottom: 28px;
}

/* Üst bar: sol menü | ortada logo | sağ araçlar — hasancancap */
.bz-topnav {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(20, 20, 40, 0.04);
    z-index: 1030;
}

.bz-topnav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 62px;
    position: relative;
}

.bz-topnav-left {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    z-index: 2;
}

.bz-topnav-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.bz-topnav-center .bz-logo {
    pointer-events: auto;
}

.bz-topnav-right {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
    z-index: 2;
}

.bz-topnav-toggler {
    border-color: var(--line);
    padding: 0.3rem 0.5rem;
    display: inline-flex;
}

.bz-topnav-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Masaüstü menü — varsayılan görünür, sadece mobilde gizle — hasancancap */
.bz-topnav-nav--desktop {
    display: flex;
    flex-wrap: wrap;
}

.bz-topnav-toggler {
    display: none;
}

@media (max-width: 767.98px) {
    .bz-topnav-nav--desktop {
        display: none !important;
    }

    .bz-topnav-toggler {
        display: inline-flex !important;
    }
}

.bz-tnav-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bz-tnav-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0.4rem 0.55rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    color: #2f3747 !important;
    -webkit-text-fill-color: #2f3747;
    text-decoration: none !important;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 1 !important;
    visibility: visible !important;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.bz-tnav-link i {
    font-size: 0.95rem;
    color: #8b95a8 !important;
    margin-top: 1px;
}

.bz-tnav-link:hover,
.bz-tnav-link:focus {
    color: #16161a !important;
    background: rgba(16, 185, 129, 0.08);
}

.bz-tnav-link.is-active {
    color: #059669 !important;
    font-weight: 700;
}

.bz-tnav-link.is-active i {
    color: #059669 !important;
}

/* Eski nav-link kuralları — geriye dönük */
.bz-topnav-nav .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 0.45rem 0.7rem;
    font-size: 0.94rem;
    font-weight: 600;
    color: #3d4658 !important;
    text-decoration: none;
    border-radius: 8px;
    white-space: nowrap;
}

.bz-topnav-nav .nav-link i {
    font-size: 0.95rem;
    color: #8b95a8;
    margin-top: 1px;
}

.bz-topnav-nav .nav-link:hover,
.bz-topnav-nav .nav-link:focus {
    color: var(--ink) !important;
    background: rgba(16, 185, 129, 0.06);
}

.bz-topnav-nav .nav-link.active {
    color: var(--em-deep) !important;
    font-weight: 700;
}

.bz-topnav-nav .nav-link.active i {
    color: var(--em-deep);
}

.bz-topnav-search--desktop {
    display: none;
}

@media (min-width: 768px) {
    .bz-topnav-search--desktop {
        display: block;
    }
}

.bz-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
}

.bz-logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 55%, #6366f1 100%);
    box-shadow: 0 6px 18px -6px rgba(124, 58, 237, 0.55);
}

.bz-logo-mark i {
    font-size: 1.05rem;
}

.bz-logo-text {
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.bz-topnav-search {
    width: min(240px, 34vw);
    flex-shrink: 0;
}

.bz-search-group {
    position: relative;
}

.bz-search-group i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-mute);
    font-size: 1rem;
    pointer-events: none;
}

.bz-search-group .form-control {
    height: 38px;
    border: 1px solid #e8ebf0;
    background: #f3f5f8;
    border-radius: 999px;
    padding: 0 1rem 0 2.35rem;
    font: inherit;
    font-size: 0.84rem;
    color: var(--ink);
    box-shadow: none;
}

.bz-search-group .form-control:focus {
    border-color: #c9d2e3;
    background: #fff;
    box-shadow: none;
}

.bz-topnav-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.bz-lang-flag {
    font-size: 1.15rem;
    line-height: 1;
}

.bz-avatar {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--ink);
}

.bz-avatar::after {
    display: none;
}

.bz-avatar-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #94a3b8, #64748b);
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--line);
}

.bz-notify-dot {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ef4444;
    border: 2px solid #fff;
}

.bz-icon-tool {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    padding: 0;
    cursor: pointer;
}

.bz-topnav-tools .dropdown-menu {
    border-color: var(--line);
    border-radius: 14px;
    box-shadow: 0 24px 60px -24px rgba(20, 20, 40, 0.35);
    padding: 8px;
    min-width: 220px;
}

.bz-topnav-tools .dropdown-item {
    border-radius: 9px;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bz-topnav-tools .dropdown-item i {
    color: var(--em-deep);
}

.bz-topnav-mobile {
    border-top: 1px solid var(--line-2);
    background: #fff;
    padding: 10px 0 14px;
}

.bz-topnav-nav--stack {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-bottom: 12px;
}

.bz-topnav-nav--stack .bz-tnav-link {
    width: 100%;
    justify-content: space-between;
    color: #3d4658 !important;
}

.bz-topnav-nav--stack .nav-link {
    width: 100%;
    justify-content: space-between;
    color: #3d4658 !important;
}

@media (max-width: 767.98px) {
    body.bz-topnav-layout {
        --bz-topnav-h: 58px;
    }

    .bz-logo-text {
        font-size: 1.05rem;
    }

    .bz-topnav-search {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .bz-box {
        padding-inline: 16px;
    }

    body.bz-topnav-layout .content.bz-box {
        padding-inline: 16px;
    }

    .bz-topnav-search {
        width: 100%;
    }
}

/* Eski CSS önbelleği + JS gecikmesinde içerik kaybolmasın — hasancancap */
body:not(.bz-js) [data-reveal],
[data-reveal].in {
    opacity: 1 !important;
    transform: none !important;
}

.bz-empty-card {
    text-align: center;
    padding: 48px 24px;
}

.bz-empty-card i {
    font-size: 2.4rem;
    color: var(--em-deep);
    margin-bottom: 12px;
    display: block;
}

.bz-empty-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}

.bz-empty-card p {
    color: var(--ink-soft);
    font-size: 0.92rem;
    margin: 0;
    max-width: 420px;
    margin-inline: auto;
}

.bz-mp-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bz-mp-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    color: var(--ink-soft);
}

.bz-mp-chip strong {
    color: var(--ink);
    font-weight: 800;
}

.bz-stores-regions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 1180px) {
    .bz-stores-regions {
        grid-template-columns: 1fr;
    }
}

.bz-region-card h3 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
}

.bz-plan-grid .card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bz-plan-grid .card .btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}
