/* Theme Studio — Breadcrumb stilleri (structural.breadcrumb, category.heading) */

/* PDP / kampanyalar: section-layout bleed slot overflow stilleri kesmesin */
.tf-section[data-tf-type="structural.breadcrumb"],
.tf-section[data-tf-type="structural.breadcrumb"] > .tf-section__row > .tf-section__slot.is-filled,
.tf-section[data-tf-type="structural.breadcrumb"] > .tf-section__row.tf-section__row--bleed.tf-section__row--single > .tf-section__slot.is-filled,
.tf-section[data-tf-type="structural.row"] > .tf-section__row > .tf-section__slot.is-filled:has(> .tf-section[data-tf-type="structural.breadcrumb"]),
.tf-section[data-tf-type="structural.row"] > .tf-section__inner > .tf-section__row > .tf-section__slot.is-filled:has(> .tf-section[data-tf-type="structural.breadcrumb"]) {
    overflow: visible !important;
}

.tf-product-bc-wrap {
    background: transparent;
}

.tf-product-bc {
    --tf-bc-ink: var(--text, #606060);
    --tf-bc-muted: var(--text-2, #999999);
    --tf-bc-current: var(--black, #111111);
    --tf-bc-line: var(--line-6, #e5e5e5);
    --tf-bc-fill: var(--bg-4, #262219);
    --tf-bc-soft: var(--bg, #f2efe8);
    --tf-bc-chip: var(--white, #ffffff);
    display: block;
    width: 100%;
}

.tf-product-bc__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tf-product-bc__item,
.tf-product-bc__sep {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Nordia .tf-page-heading .breadcrumb li { display:flex } ile çakışmayı kır */
.tf-page-heading.tf-product-bc-wrap .tf-product-bc__item,
.tf-page-heading.tf-product-bc-wrap .tf-product-bc__sep,
.tf-page-heading .tf-product-bc__item,
.tf-page-heading .tf-product-bc__sep {
    display: inline-flex;
}

.tf-product-bc--classic .tf-product-bc__list {
    display: inline-flex;
    gap: 4px;
    margin-bottom: 0;
}

.tf-product-bc--classic .tf-product-bc__item {
    font-weight: 500;
}

.tf-product-bc a {
    color: inherit;
    text-decoration: none;
}

.tf-product-bc__link,
.tf-product-bc__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    line-height: 1.3;
    white-space: nowrap;
}

.tf-product-bc__link:hover {
    opacity: .72;
}

.tf-product-bc__item {
    color: var(--tf-bc-ink);
}

.tf-product-bc__item.is-current {
    color: var(--tf-bc-current);
}

/* Ayırıcılar metin rengi/boyutunu miras alır (inspector typography) */
.tf-product-bc__sep {
    color: inherit;
    font-size: 1em;
    font-weight: inherit;
    line-height: 1;
    pointer-events: none;
}

.tf-product-bc__sep i {
    display: inline-flex;
    align-items: center;
    color: inherit;
    font-size: 1em;
    line-height: 1;
}

.tf-product-bc__link i,
.tf-product-bc__label i,
.tf-product-bc__home-icon {
    color: inherit !important;
    font-size: 1em !important;
    line-height: 1;
}

/* ── Slash + ikon ─────────────────────────────────────────── */
.tf-product-bc--slash .tf-product-bc__list,
.tf-page-heading .tf-product-bc--slash .tf-product-bc__list {
    gap: 10px;
}

.tf-product-bc--slash .tf-product-bc__sep {
    font-weight: 300;
}

.tf-product-bc--slash .tf-product-bc__item.is-current .tf-product-bc__label {
    font-weight: 600;
}

/* ── Çerçeveli satır ──────────────────────────────────────── */
.tf-product-bc--bar .tf-product-bc__list,
.tf-page-heading .tf-product-bc--bar .tf-product-bc__list,
.tf-page-heading.tf-product-bc-wrap .tf-product-bc--bar .tf-product-bc__list {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    max-width: 100%;
    padding: 12px 18px 14px 16px;
    margin-bottom: 0;
    background: var(--tf-bc-chip);
    border: 1px solid var(--tf-bc-line);
    border-left: 2px solid var(--tf-bc-fill);
    border-radius: 10px;
}

.tf-product-bc--bar .tf-product-bc__sep,
.tf-product-bc--bar .tf-product-bc__sep i {
    font-size: 1em;
}

.tf-product-bc--bar .tf-product-bc__label {
    position: relative;
    letter-spacing: .04em;
}

.tf-product-bc--bar .tf-product-bc__item.is-current .tf-product-bc__label {
    font-weight: 600;
}

.tf-product-bc--bar .tf-product-bc__item.is-current .tf-product-bc__label::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 1.5px;
    background: var(--tf-bc-fill);
    border-radius: 1px;
}

.tf-product-bc--bar .tf-product-bc__link:hover {
    opacity: 1;
}

.tf-product-bc--bar .tf-product-bc__item:not(.is-current) .tf-product-bc__link:hover .tf-product-bc__label {
    color: var(--tf-bc-current);
}

/* ── Yol haritası ─────────────────────────────────────────── */
.tf-product-bc--path .tf-product-bc__list,
.tf-page-heading .tf-product-bc--path .tf-product-bc__list {
    gap: 4px;
}

.tf-product-bc--path .tf-product-bc__item,
.tf-page-heading .tf-product-bc--path .tf-product-bc__item,
.tf-page-heading.tf-product-bc-wrap .tf-product-bc--path .tf-product-bc__item {
    display: inline-flex;
    min-height: 36px;
    padding: 8px 22px 8px 20px;
    background: var(--bg-2, #f5f5f5);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%);
    transition: background-color .2s ease, color .2s ease;
}

.tf-product-bc--path .tf-product-bc__item.is-home {
    padding-left: 16px;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
    border-radius: 8px 0 0 8px;
}

.tf-product-bc--path .tf-product-bc__item.is-current,
.tf-page-heading .tf-product-bc--path .tf-product-bc__item.is-current {
    background: var(--tf-bc-fill);
    color: var(--white, #fff);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 10px 50%);
    border-radius: 0 8px 8px 0;
    padding-right: 16px;
}

.tf-product-bc--path .tf-product-bc__item:not(.is-current):hover {
    background: var(--main_300, #e5e5e5);
}

@media (max-width: 767px) {
    .tf-product-bc {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .tf-product-bc__list {
        flex-wrap: nowrap;
        width: max-content;
        max-width: 100%;
        min-width: 100%;
    }

    .tf-product-bc--classic .tf-product-bc__list {
        flex-wrap: nowrap;
    }

    .tf-product-bc__item.is-current .tf-product-bc__label {
        max-width: min(60vw, 240px);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tf-product-bc--bar .tf-product-bc__list,
    .tf-product-bc--path .tf-product-bc__list {
        width: max-content;
        min-width: 100%;
    }

    .tf-product-bc--path .tf-product-bc__item {
        flex: 0 0 auto;
        justify-content: center;
    }
}
