/* Theme Studio — Mağazalarımız (home.stores) */
.tf-stores .sect-heading-v2 .s-title,
.tf-stores .tf-stores__title {
    color: var(--tf-stores-title-color, inherit) !important;
}

.tf-stores .sect-heading-v2 .s-subtitle,
.tf-stores .tf-stores__subtitle {
    color: var(--tf-stores-subtitle-color, inherit) !important;
}

.tf-stores .wg-store .store_name,
.tf-stores .wg-store .store_place {
    color: var(--tf-stores-name-color, inherit) !important;
}

.tf-stores--tabs .tf-stores-tabs__tab,
.tf-stores--tabs .tf-stores-tabs__tab span {
    color: var(--tf-stores-name-color, var(--tf-stores-title-color, var(--text-2))) !important;
}

.tf-stores .wg-store .list-contact_infor,
.tf-stores .wg-store .list-contact_infor li,
.tf-stores .wg-store .list-contact_infor > li > span[data-tf-field] {
    color: var(--tf-stores-info-color, inherit) !important;
}

.tf-stores .list-contact_infor li {
    gap: 10px;
}

.tf-stores .tf-stores-info-icon,
.tf-stores .wg-store .list-contact_infor .tf-stores-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    color: var(--tf-stores-icon-color, inherit) !important;
    font-size: var(--tf-stores-icon-size, 20px);
}

.tf-stores .tf-stores-info-icon .bi,
.tf-stores .wg-store .list-contact_infor .tf-stores-info-icon .bi {
    font-size: 1em;
    color: inherit !important;
}

.tf-stores .wg-store a.tf-btn.type-2 {
    background-color: var(--tf-stores-btn-bg, var(--main, #1a1a18)) !important;
    color: var(--tf-stores-btn-text, #fff) !important;
    border-color: var(--tf-stores-btn-bg, var(--main, #1a1a18)) !important;
    height: 36px;
    min-height: 36px;
    padding: 0 14px;
    gap: 6px;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1;
    flex-shrink: 0;
}

.tf-stores .wg-store a.tf-btn.type-2 .bi,
.tf-stores .wg-store a.tf-btn.type-2 i {
    color: inherit !important;
    flex-shrink: 0;
    font-size: 14px;
}

.tf-stores .wg-store a.tf-btn.type-2 span {
    white-space: nowrap;
}

@media (min-width: 1200px) {
    .tf-stores .wg-store a.tf-btn.type-2 {
        height: 44px;
        min-height: 44px;
        padding: 0 20px;
        gap: 8px;
        font-size: 13px;
    }

    .tf-stores .wg-store a.tf-btn.type-2 .bi,
    .tf-stores .wg-store a.tf-btn.type-2 i {
        font-size: 16px;
    }
}

/* Fixed media frame — image never drives layout size */
.tf-stores .wg-store .store-image {
    position: relative;
    overflow: hidden;
    min-height: 0;
    aspect-ratio: 720 / 514;
}

.tf-stores .wg-store .store-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-height: 0 !important;
}

/* Zig-zag: odd = image left, even = image right */
@media (min-width: 768px) {
    .tf-stores .grid-list_store > .wg-store {
        display: flex !important;
        flex-direction: row;
        align-items: stretch;
    }

    .tf-stores .grid-list_store > .wg-store > * {
        width: 50%;
    }

    .tf-stores .grid-list_store > .wg-store .store-image {
        aspect-ratio: auto;
        align-self: stretch;
        min-height: 100%;
    }

    .tf-stores .grid-list_store > .wg-store:nth-child(odd) .store-image {
        order: 0;
        border-radius: 8px 0 0 8px;
    }

    .tf-stores .grid-list_store > .wg-store:nth-child(odd) .store-content {
        order: 1;
        border-radius: 0 8px 8px 0;
        border-left-width: 0;
        border-right-width: 1px;
    }

    .tf-stores .grid-list_store > .wg-store:nth-child(even) {
        flex-direction: row-reverse;
    }

    .tf-stores .grid-list_store > .wg-store:nth-child(even) .store-image {
        order: 0;
        border-radius: 0 8px 8px 0;
    }

    .tf-stores .grid-list_store > .wg-store:nth-child(even) .store-content {
        order: 1;
        border-radius: 8px 0 0 8px;
        border-left-width: 1px;
        border-right-width: 0;
    }
}

/* Style 2 — city tabs, one store card */
.tf-stores-tabs {
    display: grid;
    grid-template-columns: repeat(var(--tf-stores-tab-count, 3), minmax(0, 1fr));
    column-gap: 32px;
    position: relative;
}

.tf-stores-tabs__item {
    display: contents;
}

.tf-stores-tabs__radio {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tf-stores-tabs__tab {
    grid-row: 1;
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0 0 13px;
    text-align: center;
    cursor: pointer;
    color: var(--tf-stores-name-color, var(--tf-stores-title-color, var(--text-2)));
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    font: inherit;
    opacity: 0.55;
}

.tf-stores-tabs__tab span {
    display: inline-block;
    min-width: 2ch;
    min-height: 1em;
}

.tf-stores-tabs__radio:checked + .tf-stores-tabs__tab {
    color: var(--tf-stores-name-color, var(--tf-stores-title-color, inherit));
    border-bottom-color: var(--tf-stores-name-color, var(--tf-stores-title-color, var(--black)));
    opacity: 1;
}

.tf-stores-tabs::after {
    content: "";
    grid-row: 1;
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--line-5, #e8e8e4);
    align-self: end;
    pointer-events: none;
    z-index: 0;
}

.tf-stores-tabs__panel {
    display: none;
    grid-row: 2;
    grid-column: 1 / -1;
    margin-top: 28px;
}

.tf-stores-tabs__radio:checked ~ .tf-stores-tabs__panel {
    display: block;
}

.tf-stores--tabs .wg-store .store-image {
    aspect-ratio: 960 / 700;
}

@media (min-width: 768px) {
    .tf-stores--tabs .wg-store .store-image {
        aspect-ratio: auto;
        align-self: stretch;
        min-height: 100%;
    }
}

@media (min-width: 1440px) {
    .tf-stores-tabs {
        column-gap: 64px;
    }

    .tf-stores-tabs__tab {
        padding-bottom: 23px;
    }

    .tf-stores-tabs__panel {
        margin-top: 40px;
    }
}
