/* Section responsive visibility (storefront + preview) ------------------- */
/* Keep selectors at least as specific as section layout display:!important overrides. */
@media (max-width: 767.98px) {
    .tf-hide-mobile,
    .tf-section.tf-hide-mobile,
    .tf-section__slot .tf-section.tf-hide-mobile,
    .tf-section__slot > .tf-section.tf-hide-mobile { display: none !important; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .tf-hide-tablet,
    .tf-section.tf-hide-tablet,
    .tf-section__slot .tf-section.tf-hide-tablet,
    .tf-section__slot > .tf-section.tf-hide-tablet { display: none !important; }
}
@media (min-width: 992px) {
    .tf-hide-desktop,
    .tf-section.tf-hide-desktop,
    .tf-section__slot .tf-section.tf-hide-desktop,
    .tf-section__slot > .tf-section.tf-hide-desktop { display: none !important; }
}

/* Preview device toggle (data-device) — mirrors @media rules above */
html[data-device="mobile"] .tf-hide-mobile,
html[data-device="mobile"] .tf-section.tf-hide-mobile,
html[data-device="mobile"] .tf-section__slot .tf-section.tf-hide-mobile,
html[data-device="tablet"] .tf-hide-tablet,
html[data-device="tablet"] .tf-section.tf-hide-tablet,
html[data-device="tablet"] .tf-section__slot .tf-section.tf-hide-tablet,
html[data-device="desktop"] .tf-hide-desktop,
html[data-device="desktop"] .tf-section.tf-hide-desktop,
html[data-device="desktop"] .tf-section__slot .tf-section.tf-hide-desktop,
body[data-device="mobile"] .tf-hide-mobile,
body[data-device="mobile"] .tf-section.tf-hide-mobile,
body[data-device="mobile"] .tf-section__slot .tf-section.tf-hide-mobile,
body[data-device="tablet"] .tf-hide-tablet,
body[data-device="tablet"] .tf-section.tf-hide-tablet,
body[data-device="tablet"] .tf-section__slot .tf-section.tf-hide-tablet,
body[data-device="desktop"] .tf-hide-desktop,
body[data-device="desktop"] .tf-section.tf-hide-desktop,
body[data-device="desktop"] .tf-section__slot .tf-section.tf-hide-desktop { display: none !important; }

.tf-section[data-tf-type="layout.header"],
.tf-section[data-tf-type="layout.footer"],
.tf-section[data-tf-type="layout.topbar"],
.tf-section[data-tf-type="layout.announcement_bar"] {
    padding: 0 !important;
    margin: 0 !important;
}

/* Row chrome spacing — Boşluk sliders (--tf-row-* set inline by StyleCompiler / live preview). */
.tf-section[data-tf-type="structural.row"] {
    margin-top: var(--tf-row-mt, 0) !important;
    margin-bottom: var(--tf-row-mb, 0) !important;
    padding-top: var(--tf-row-pt, 0) !important;
    padding-bottom: var(--tf-row-pb, 0) !important;
    padding-inline: 0 !important;
    margin-inline: 0 !important;
}

/* Header/footer zone: layout shells stay flush; Bölüm rows keep Boşluk sliders. */
.tf-zone--header > .tf-section:not([data-tf-type="structural.row"]),
.tf-zone--footer > .tf-section:not([data-tf-type="structural.row"]) {
    margin: 0 !important;
    padding: 0 !important;
}

.tf-zone--header > .tf-section[data-tf-type="structural.row"],
.tf-zone--footer > .tf-section[data-tf-type="structural.row"] {
    margin-top: var(--tf-row-mt, 0) !important;
    margin-bottom: var(--tf-row-mb, 0) !important;
    padding-top: var(--tf-row-pt, 0) !important;
    padding-bottom: var(--tf-row-pb, 0) !important;
    padding-inline: 0 !important;
    margin-inline: 0 !important;
}

html[data-tf-preview] .tf-zone--header > .tf-section + .tf-section:not([data-tf-type="structural.row"]),
body.tf-editable .tf-zone--header > .tf-section + .tf-section:not([data-tf-type="structural.row"]) {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.tf-section__inner {
    width: 100%;
    min-width: 0;
    max-width: 1470px;
    margin-inline: auto;
    box-sizing: border-box;
}

/* Shared gutters for theme container variants — widths set below to match styles.css */
.tf-section__inner.container,
.tf-section__inner.container-2,
.tf-section__inner.container-3,
.tf-section__inner.container-4,
.tf-section__inner.container-5,
.tf-section__inner.container-full {
    width: 100% !important;
    margin-inline: auto;
    padding-inline: var(--tf-section-space-x, clamp(16px, 3vw, 24px));
    box-sizing: border-box;
}

/* Inner container owns horizontal gutters — keeps inserted sections aligned with the page grid */
.tf-zone--body > .tf-section:has(> .tf-section__inner) {
    padding-inline: 0;
}

/* product.main owns its Bootstrap/theme container (no tf-section__inner) */
.tf-zone--body > .tf-section[data-tf-type="product.main"] {
    padding-inline: 0;
}

/* Page-heading / bleed rows are full-bleed; section space-x must not inset their background */
.tf-zone--body > .tf-section:has(.tf-page-heading),
.tf-zone--body > .tf-section:has(.tf-page-heading_account),
.tf-zone--body > .tf-section:has(> .tf-section__row--bleed) {
    padding-inline: 0;
}

.tf-section--width-container > .tf-section__inner {
    padding-inline: var(--tf-section-space-x, clamp(16px, 3vw, 24px));
}

.tf-section--width-full > .tf-section__inner,
.tf-section--width-full > .tf-section__inner.container,
.tf-section--width-full > .tf-section__inner.container-2,
.tf-section--width-full > .tf-section__inner.container-3,
.tf-section--width-full > .tf-section__inner.container-4,
.tf-section--width-full > .tf-section__inner.container-5,
.tf-section--width-full > .tf-section__inner.container-full {
    max-width: none;
    width: 100% !important;
    margin-inline: 0;
    padding-inline: 0;
}

.tf-section--width-container .tf-section__inner,
.tf-section--width-container :is(
    .tf-announcement, .tf-header__inner, .tf-features, .tf-features-section, .tf-products, .tf-categories,
    .tf-testimonials, .tf-newsletter__inner, .tf-footer__grid, .tf-footer__bottom,
    .tf-search-page, .tf-brands, .section-filter-brand, .tf-brand-detail,
    .tf-faq, .tf-blog-list, .tf-blog-detail, .tf-about, .tf-tabs,
    .tf-cart, .tf-checkout, .tf-order-summary, .tf-category-shop, .tf-category-products, .tf-product-listing,
    .tf-campaigns-page
) {
    max-width: 1470px;
    margin-inline: auto;
}

/* Match Nordia styles.css container widths (must come after width-container so variants win) */
.tf-section__inner.container { max-width: 1470px; }
.tf-section__inner.container-2 { max-width: 1774px; }
.tf-section__inner.container-3 { max-width: 1790px; }
.tf-section__inner.container-4 { max-width: 1662px; }
.tf-section__inner.container-5 { max-width: 1822px; }
.tf-section__inner.container-full { max-width: 1920px; }

.tf-section--width-full .tf-section__inner,
.tf-section--width-full :is(
    .tf-announcement, .tf-header__inner, .tf-features, .tf-features-section, .tf-products, .tf-categories,
    .tf-testimonials, .tf-newsletter__inner, .tf-footer__grid, .tf-footer__bottom,
    .tf-search-page, .tf-brands, .section-filter-brand, .tf-brand-detail,
    .tf-faq, .tf-blog-list, .tf-blog-detail, .tf-about, .tf-tabs,
    .tf-cart, .tf-checkout, .tf-order-summary, .tf-category-shop, .tf-category-products, .tf-product-listing,
    .tf-campaigns-page
) {
    max-width: none;
    margin-inline: 0;
}

.tf-section--width-fluid .tf-section__inner,
.tf-section--width-fluid > .tf-section__inner.container,
.tf-section--width-fluid > .tf-section__inner.container-2,
.tf-section--width-fluid > .tf-section__inner.container-3,
.tf-section--width-fluid > .tf-section__inner.container-4,
.tf-section--width-fluid > .tf-section__inner.container-5,
.tf-section--width-fluid > .tf-section__inner.container-full {
    max-width: none;
    width: 100% !important;
    margin-inline: 0;
    padding-inline: clamp(16px, 4vw, 32px);
}

.tf-section--width-fluid :is(
    .tf-announcement, .tf-header__inner, .tf-features, .tf-features-section, .tf-products, .tf-categories,
    .tf-testimonials, .tf-newsletter__inner, .tf-footer__grid, .tf-footer__bottom,
    .tf-search-page, .tf-brands, .section-filter-brand, .tf-brand-detail,
    .tf-faq, .tf-blog-list, .tf-blog-detail, .tf-about, .tf-tabs,
    .tf-cart, .tf-checkout, .tf-order-summary, .tf-category-shop, .tf-category-products, .tf-product-listing,
    .tf-campaigns-page
) {
    max-width: none;
    width: 100%;
    margin-inline: 0;
}

/* Brands + brand detail: own width shell (INNER_CONTAINER — no Studio tf-section__inner).
   Must beat theme-studio-shell.css `.tf-zone--body .container { width:1470px !important }`. */
.tf-section[data-tf-type="brands.index"] .section-filter-brand,
.tf-section[data-tf-type="brands.index"] .tf-brands,
.tf-section[data-tf-type="manufacturer.detail"] .tf-brand-detail {
    display: block;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.tf-section[data-tf-type="brands.index"].tf-section--width-container .tf-brands__width,
.tf-section[data-tf-type="brands.index"].tf-section--width-container .section-filter-brand > .container,
.tf-section[data-tf-type="manufacturer.detail"].tf-section--width-container .tf-brand-detail__width,
.tf-section[data-tf-type="manufacturer.detail"].tf-section--width-container .tf-brand-detail > .container {
    width: 1470px !important;
    max-width: min(1470px, 100%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
}

.tf-section[data-tf-type="brands.index"].tf-section--width-fluid .tf-brands__width,
.tf-section[data-tf-type="brands.index"].tf-section--width-fluid .section-filter-brand > .container,
.tf-section[data-tf-type="manufacturer.detail"].tf-section--width-fluid .tf-brand-detail__width,
.tf-section[data-tf-type="manufacturer.detail"].tf-section--width-fluid .tf-brand-detail > .container {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: clamp(16px, 4vw, 32px) !important;
    padding-right: clamp(16px, 4vw, 32px) !important;
    box-sizing: border-box !important;
}

.tf-section[data-tf-type="brands.index"].tf-section--width-full .tf-brands__width,
.tf-section[data-tf-type="brands.index"].tf-section--width-full .section-filter-brand > .container,
.tf-section[data-tf-type="manufacturer.detail"].tf-section--width-full .tf-brand-detail__width,
.tf-section[data-tf-type="manufacturer.detail"].tf-section--width-full .tf-brand-detail > .container {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

.tf-section[data-tf-type="structural.row"].tf-section--width-container:has(.tf-features-section) > .tf-section__inner,
.tf-section[data-tf-type="structural.row"].tf-section--width-fluid:has(.tf-features-section) > .tf-section__inner,
.tf-section[data-tf-type="structural.row"].tf-section--width-full:has(.tf-features-section) > .tf-section__inner {
    max-width: none;
    width: 100%;
    margin-inline: 0;
    padding-inline: 0;
}

.tf-section[data-tf-type="structural.row"].tf-section--width-container .tf-icon-box-width,
.tf-section[data-tf-type="home.icon_box"].tf-section--width-container .tf-icon-box-width {
    width: 1470px !important;
    max-width: min(1470px, 100%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
}

.tf-section[data-tf-type="structural.row"].tf-section--width-fluid .tf-icon-box-width,
.tf-section[data-tf-type="home.icon_box"].tf-section--width-fluid .tf-icon-box-width {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: clamp(16px, 4vw, 32px) !important;
    padding-right: clamp(16px, 4vw, 32px) !important;
    box-sizing: border-box !important;
}

.tf-section[data-tf-type="structural.row"].tf-section--width-full .tf-icon-box-width,
.tf-section[data-tf-type="home.icon_box"].tf-section--width-full .tf-icon-box-width {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* Editor chrome: don't inset full-bleed icon-box rows */
body.tf-editable .tf-section[data-tf-type="structural.row"].tf-section--width-full:has(.tf-features-section) > .tf-section__inner > .tf-section__row:not(.tf-section__row--bleed),
body.tf-editable .tf-section[data-tf-type="structural.row"].tf-section--width-full:has(.tf-features-section) > .tf-section__row:not(.tf-section__row--bleed) {
    padding-left: 0;
    padding-right: 0;
}

/* Newsletter (Nordia) provides its own tf-section__inner so every style uses
   the same container / fluid / full-width contract as the other sections. */
.tf-section[data-tf-type="home.newsletter"] > .tf-newsletter-width-shell {
    width: 100%;
    box-sizing: border-box;
}

.tf-section[data-tf-type="cms.faq"] .tf-faq {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

/* Image gallery owns the standard width shell as well. Keeping it on the
   gallery root makes Full truly edge-to-edge and avoids a nested container. */
.tf-section[data-tf-type="home.image_gallery"] > .tf-image-gallery-width-shell {
    width: 100%;
    box-sizing: border-box;
}

.tf-section__row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
    --bs-gutter-y: 0;
    box-sizing: border-box;
}

@media (max-width: 767.98px) {
    .tf-section__row.tf-row--reverse-mobile {
        flex-wrap: wrap-reverse;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .tf-section__row.tf-row--reverse-tablet {
        flex-direction: row-reverse;
    }
}

html[data-device="mobile"] .tf-section__row.tf-row--reverse-mobile,
body[data-device="mobile"] .tf-section__row.tf-row--reverse-mobile {
    flex-wrap: wrap-reverse;
}

html[data-device="tablet"] .tf-section__row.tf-row--reverse-tablet,
body[data-device="tablet"] .tf-section__row.tf-row--reverse-tablet {
    flex-direction: row-reverse;
}

.tf-section__row > .tf-section__slot {
    box-sizing: border-box;
    min-width: 0;
    flex-shrink: 0;
}

.tf-section__row > .tf-section__slot {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .tf-section__row--layout-2-equal > .tf-section__slot {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
    }
    .tf-section__row--layout-3-equal > .tf-section__slot {
        flex: 0 0 33.33333333%;
        width: 33.33333333%;
        max-width: 33.33333333%;
    }
    .tf-section__row--layout-4-equal > .tf-section__slot {
        flex: 0 0 25%;
        width: 25%;
        max-width: 25%;
    }
    .tf-section__row--layout-6-equal > .tf-section__slot {
        flex: 0 0 16.66666667%;
        width: 16.66666667%;
        max-width: 16.66666667%;
    }
    .tf-section__row--layout-2-3-1-3 > .tf-section__slot:nth-child(1) {
        flex: 0 0 66.66666667%;
        width: 66.66666667%;
        max-width: 66.66666667%;
    }
    .tf-section__row--layout-2-3-1-3 > .tf-section__slot:nth-child(2) {
        flex: 0 0 33.33333333%;
        width: 33.33333333%;
        max-width: 33.33333333%;
    }
    .tf-section__row--layout-1-3-2-3 > .tf-section__slot:nth-child(1) {
        flex: 0 0 33.33333333%;
        width: 33.33333333%;
        max-width: 33.33333333%;
    }
    .tf-section__row--layout-1-3-2-3 > .tf-section__slot:nth-child(2) {
        flex: 0 0 66.66666667%;
        width: 66.66666667%;
        max-width: 66.66666667%;
    }
    .tf-section__row--layout-1-4-3-4 > .tf-section__slot:nth-child(1) {
        flex: 0 0 25%;
        width: 25%;
        max-width: 25%;
    }
    .tf-section__row--layout-1-4-3-4 > .tf-section__slot:nth-child(2) {
        flex: 0 0 75%;
        width: 75%;
        max-width: 75%;
    }
    .tf-section__row--layout-3-4-1-4 > .tf-section__slot:nth-child(1) {
        flex: 0 0 75%;
        width: 75%;
        max-width: 75%;
    }
    .tf-section__row--layout-3-4-1-4 > .tf-section__slot:nth-child(2) {
        flex: 0 0 25%;
        width: 25%;
        max-width: 25%;
    }
    .tf-section__row--layout-triple-center > .tf-section__slot:nth-child(1),
    .tf-section__row--layout-triple-center > .tf-section__slot:nth-child(3) {
        flex: 0 0 25%;
        width: 25%;
        max-width: 25%;
    }
    .tf-section__row--layout-triple-center > .tf-section__slot:nth-child(2) {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
    }
    .tf-section__row--layout-1-4-1-4-1-2 > .tf-section__slot:nth-child(1),
    .tf-section__row--layout-1-4-1-4-1-2 > .tf-section__slot:nth-child(2) {
        flex: 0 0 25%;
        width: 25%;
        max-width: 25%;
    }
    .tf-section__row--layout-1-4-1-4-1-2 > .tf-section__slot:nth-child(3) {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
    }
    .tf-section__row--layout-1-2-1-4-1-4 > .tf-section__slot:nth-child(1) {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
    }
    .tf-section__row--layout-1-2-1-4-1-4 > .tf-section__slot:nth-child(2),
    .tf-section__row--layout-1-2-1-4-1-4 > .tf-section__slot:nth-child(3) {
        flex: 0 0 25%;
        width: 25%;
        max-width: 25%;
    }
}

/* 1-col: zero Themesflat .row gutters (!important beats theme-layer .row) */
.tf-section__row.tf-section__row--single {
    --bs-gutter-x: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.tf-section__row.tf-section__row--single > .tf-section__slot {
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

/* Full-bleed sections wrapped for editor chrome — keep edge-to-edge storefront */
.tf-section__row.tf-section__row--bleed {
    --bs-gutter-x: 0;
    width: 100%;
    max-width: none;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.tf-section__row.tf-section__row--bleed > .tf-section__slot {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.tf-section__row.tf-section__row--bleed.tf-section__row--single > .tf-section__slot.is-filled {
    overflow: hidden;
    max-width: 100%;
    width: 100%;
}
.tf-section[data-tf-type="home.banner_showcase"] > .tf-section__row.tf-section__row--bleed.tf-section__row--single > .tf-section__slot.is-filled,
.tf-section[data-tf-type="home.banner_showcase"] > .tf-section__inner > .tf-section__row.tf-section__row--bleed.tf-section__row--single > .tf-section__slot.is-filled,
.tf-section[data-tf-type="home.hero_banner"] > .tf-section__row.tf-section__row--bleed.tf-section__row--single > .tf-section__slot.is-filled,
.tf-section[data-tf-type="home.hero_banner"] > .tf-section__inner > .tf-section__row.tf-section__row--bleed.tf-section__row--single > .tf-section__slot.is-filled,
.tf-section[data-tf-type="home.sticky_banner"] > .tf-section__row.tf-section__row--bleed.tf-section__row--single > .tf-section__slot.is-filled,
.tf-section[data-tf-type="home.sticky_banner"] > .tf-section__inner > .tf-section__row.tf-section__row--bleed.tf-section__row--single > .tf-section__slot.is-filled {
    overflow: visible;
}
/* Full-bleed section roots stretch; Themesflat containers keep their own width */
.tf-section__row.tf-section__row--bleed.tf-section__row--single > .tf-section__slot.is-filled > *:not(
    .container,
    .container-2,
    .container-3,
    .container-4,
    .container-5,
    .container-full,
    .tf-section__inner
) {
    width: 100%;
    max-width: none;
}

/* Nested Themesflat containers keep their grid inside bleed wrappers */
.tf-section__row.tf-section__row--bleed > .tf-section__slot.is-filled :is(.container) {
    width: 1470px;
    max-width: min(1470px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}
.tf-section__row.tf-section__row--bleed > .tf-section__slot.is-filled :is(.container-2) {
    width: 1774px;
    max-width: min(1774px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}
.tf-section__row.tf-section__row--bleed > .tf-section__slot.is-filled :is(.container-3) {
    width: 1790px;
    max-width: min(1790px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}
.tf-section__row.tf-section__row--bleed > .tf-section__slot.is-filled :is(.container-4) {
    width: 1662px;
    max-width: min(1662px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}
.tf-section__row.tf-section__row--bleed > .tf-section__slot.is-filled :is(.container-5) {
    width: 1822px;
    max-width: min(1822px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}
.tf-section__row.tf-section__row--bleed > .tf-section__slot.is-filled :is(.container-full) {
    width: 1920px;
    max-width: min(1920px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}



body.tf-editable .tf-zone--body > .tf-section > .tf-section__inner > .tf-section__row:not(.tf-section__row--bleed),
body.tf-editable .tf-zone--body > .tf-section > .tf-section__row:not(.tf-section__row--bleed) {
    padding: 12px;
    box-sizing: border-box;
    align-items: stretch;
}

body.tf-editable .tf-zone--body > .tf-section > .tf-section__inner > .tf-section__row.tf-section__row--bleed,
body.tf-editable .tf-zone--body > .tf-section > .tf-section__row.tf-section__row--bleed {
    padding: 0 !important;
    box-sizing: border-box;
    align-items: stretch;
}

body.tf-editable .tf-section__row > .tf-section__slot.is-filled {
    margin: 0;
    align-self: stretch;
    min-width: 0;
    min-height: 48px;
    box-sizing: border-box;
}

body.tf-editable .tf-section__row.tf-section__row--single > .tf-section__slot.is-filled {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
}

body.tf-editable .tf-section__row > .tf-section__slot.is-filled > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

body.tf-editable .tf-section__row > .tf-section__slot.is-filled.tf-slot--align-h-center > :not(.tf-section__slot-add):not(.tf-slot-pick-wrap),
body.tf-editable .tf-section__inner > .tf-section__slot.is-filled.tf-slot--align-h-center > :not(.tf-section__slot-add):not(.tf-slot-pick-wrap) {
    width: auto !important;
    max-width: 100% !important;
    align-self: center !important;
}

body.tf-editable .tf-section__row > .tf-section__slot.is-filled.tf-slot--align-h-right > :not(.tf-section__slot-add):not(.tf-slot-pick-wrap),
body.tf-editable .tf-section__inner > .tf-section__slot.is-filled.tf-slot--align-h-right > :not(.tf-section__slot-add):not(.tf-slot-pick-wrap) {
    width: auto !important;
    max-width: 100% !important;
    align-self: flex-end !important;
}

body.tf-editable .tf-section__row > .tf-section__slot.is-filled.tf-slot--align-h-left > :not(.tf-section__slot-add):not(.tf-slot-pick-wrap),
body.tf-editable .tf-section__inner > .tf-section__slot.is-filled.tf-slot--align-h-left > :not(.tf-section__slot-add):not(.tf-slot-pick-wrap) {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
}

/* Bleed sections: still allow 100% width children in the editor ring */
body.tf-editable .tf-section__row.tf-section__row--bleed.tf-section__row--single > .tf-section__slot.is-filled > * {
    max-width: 100%;
}

.tf-section__row > .tf-section__slot.is-filled {
    overflow: hidden;
}

/* GSAP / split / swiper sections manage their own overflow */
.tf-section[data-tf-type="home.banner_showcase"] > .tf-section__row > .tf-section__slot.is-filled,
.tf-section[data-tf-type="home.banner_showcase"] > .tf-section__inner > .tf-section__row > .tf-section__slot.is-filled,
.tf-section[data-tf-type="home.sticky_banner"] > .tf-section__row > .tf-section__slot.is-filled,
.tf-section[data-tf-type="home.sticky_banner"] > .tf-section__inner > .tf-section__row > .tf-section__slot.is-filled,
.tf-section__slot.is-filled:has(> .tf-section[data-tf-type="home.sticky_banner"]),
.tf-section[data-tf-type="home.testimonials"] > .tf-section__row > .tf-section__slot.is-filled,
.tf-section[data-tf-type="home.hero_banner"] > .tf-section__row > .tf-section__slot.is-filled,
.tf-section[data-tf-type="home.hero_banner"] > .tf-section__inner > .tf-section__row > .tf-section__slot.is-filled,
.tf-section[data-tf-type="home.product_tabs"] > .tf-section__inner > .tf-section__row > .tf-section__slot.is-filled {
    overflow: visible;
}

.tf-section__row > .tf-section__slot.is-filled > * {
    max-width: 100%;
    min-width: 0;
}

.tf-section[data-tf-type="home.banner_showcase"] > .tf-section__row > .tf-section__slot.is-filled > *,
.tf-section[data-tf-type="home.banner_showcase"] > .tf-section__inner > .tf-section__row > .tf-section__slot.is-filled > * {
    max-width: none;
    min-width: 0;
}

/* Grid slot cells (editor + storefront) */
.tf-section__slot {
    min-width: 0;
    min-height: 0;
}

.tf-section__slot.is-filled {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.tf-section__row > .tf-section__slot.is-filled {
    align-self: stretch;
}

.tf-section__slot.is-filled.tf-slot--align-h-left {
    align-items: flex-start;
    text-align: left;
}
.tf-section__slot.is-filled.tf-slot--align-h-center {
    align-items: center;
    text-align: center;
}
.tf-section__slot.is-filled.tf-slot--align-h-right {
    align-items: flex-end;
    text-align: right;
}

.tf-section__slot.is-filled.tf-slot--align-v-top { justify-content: flex-start; }
.tf-section__slot.is-filled.tf-slot--align-v-center { justify-content: center; }
.tf-section__slot.is-filled.tf-slot--align-v-bottom { justify-content: flex-end; }
.tf-section__slot.is-filled.tf-slot--align-v-stretch { justify-content: flex-start; }

.tf-section__slot.is-filled.tf-slot--align-v-center > .tf-section[data-tf-slot-section],
.tf-section__slot.is-filled.tf-slot--align-v-center > .tf-section.tf-section--slot-embedded {
    margin-block: auto;
    flex: 0 0 auto;
}

.tf-section__slot.is-filled.tf-slot--align-v-bottom > .tf-section[data-tf-slot-section],
.tf-section__slot.is-filled.tf-slot--align-v-bottom > .tf-section.tf-section--slot-embedded {
    margin-top: auto;
    margin-bottom: 0;
    flex: 0 0 auto;
}

.tf-section__slot.is-filled.tf-slot--align-v-top > .tf-section[data-tf-slot-section],
.tf-section__slot.is-filled.tf-slot--align-v-top > .tf-section.tf-section--slot-embedded {
    margin-block: 0;
}

.tf-section__slot.is-filled.tf-slot--align-v-stretch > .tf-section[data-tf-slot-section],
.tf-section__slot.is-filled.tf-slot--align-v-stretch > .tf-section.tf-section--slot-embedded,
.tf-section__slot.is-filled.tf-slot--align-v-stretch > :not(.tf-section__slot-add):not(.tf-slot-pick-wrap) {
    flex: 1 1 auto;
    margin-block: 0;
}

body.tf-editable .tf-section__slot.is-filled {
    gap: var(--tf-slot-gap, 8px);
}

/* Multi-col rows: equal-height columns so vertical align has free space */
.tf-section__row:not(.tf-section__row--single) {
    align-items: stretch !important;
}

.tf-section__row:not(.tf-section__row--single) > .tf-section__slot {
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    min-height: 0;
}

.tf-section__row:not(.tf-section__row--single) > .tf-section__slot.is-filled {
    /* Stretched slot height comes from the row; justify-content can then move content */
    justify-content: flex-start;
}

.tf-section__row > .tf-section__slot.is-filled,
.tf-section__inner > .tf-section__slot.is-filled {
    overflow: hidden;
}

/* Keep "+ Element ekle" visible under filled columns in the editor */
body.tf-editable .tf-section__row > .tf-section__slot.is-filled,
body.tf-editable .tf-section__inner > .tf-section__slot.is-filled {
    overflow: visible;
}

.tf-section__row > .tf-section__slot.is-filled > *,
.tf-section__inner > .tf-section__slot.is-filled > * {
    max-width: 100%;
    min-width: 0;
}

/* Embedded sections inside grid slots */
.tf-section__slot.is-filled > .tf-section[data-tf-slot-section],
.tf-section__slot.is-filled > .tf-section.tf-section--slot-embedded {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    min-width: 0;
    max-width: 100%;
    height: auto;
    min-height: auto;
    align-self: stretch;
}

.tf-section__slot .tf-section[data-tf-type="home.campaign_banner"],
.tf-section__slot .tf-section[data-tf-type="home.campaign_banner"].tf-section--slot-embedded {
    height: auto;
    min-height: var(--tf-campaign-height, 280px);
    flex: 0 0 auto;
    align-self: stretch;
    max-width: 100%;
    overflow: visible;
    position: relative;
    z-index: 0;
}

.tf-section__slot:has(> .tf-section[data-tf-type="home.campaign_banner"]),
.tf-section__slot:has(.tf-section[data-tf-type="home.campaign_banner"]) {
    overflow: visible;
    height: auto;
    min-height: 0;
    position: relative;
    z-index: 0;
}

.tf-section__slot:has(> .tf-section[data-tf-type="home.rich_text"]),
.tf-section__slot .tf-section[data-tf-type="home.rich_text"],
.tf-section__slot .tf-section[data-tf-type="home.rich_text"].tf-section--slot-embedded {
    height: auto !important;
    min-height: 0;
    overflow: visible;
    position: relative;
    z-index: 0;
    align-self: flex-start;
}

.tf-section[data-tf-type="home.marquee"],
.tf-section__slot .tf-section[data-tf-type="home.marquee"] {
    max-width: 100%;
    min-width: 0;
    overflow: hidden !important;
}

body.tf-editable .tf-section[data-tf-type="home.marquee"],
body.tf-editable .tf-section[data-tf-type="home.marquee"] .infiniteSlide-text-icon,
body.tf-editable .tf-section[data-tf-type="home.marquee"] .infiniteslide_wrap,
body.tf-editable .tf-section[data-tf-type="home.marquee"] .infiniteSlide,
body.tf-editable .tf-section[data-tf-type="home.marquee"] .infiniteSlide-item {
    pointer-events: auto;
}
body.tf-editable .tf-section[data-tf-type="home.marquee"] .infiniteslide_wrap {
    padding-bottom: 0;
    margin-bottom: 0;
}

.tf-section__slot.is-filled.tf-slot--align-h-left > .tf-section[data-tf-slot-section],
.tf-section__slot.is-filled.tf-slot--align-h-left > .tf-section.tf-section--slot-embedded,
.tf-section__slot.is-filled:not([class*="tf-slot--align-h-"]) > .tf-section[data-tf-slot-section],
.tf-section__slot.is-filled:not([class*="tf-slot--align-h-"]) > .tf-section.tf-section--slot-embedded {
    width: 100%;
    align-self: stretch;
}

.tf-section__slot.is-filled.tf-slot--align-h-center > .tf-section[data-tf-slot-section],
.tf-section__slot.is-filled.tf-slot--align-h-center > .tf-section.tf-section--slot-embedded {
    width: auto;
    align-self: center;
}

.tf-section__slot.is-filled.tf-slot--align-h-right > .tf-section[data-tf-slot-section],
.tf-section__slot.is-filled.tf-slot--align-h-right > .tf-section.tf-section--slot-embedded {
    width: auto;
    align-self: flex-end;
}

.tf-section__slot.is-filled > .tf-section[data-tf-slot-section] > .tf-section__inner,
.tf-section__slot.is-filled > .tf-section.tf-section--slot-embedded > .tf-section__inner {
    max-width: none;
    width: 100%;
    margin-inline: 0;
    padding-inline: 0;
}

.tf-section__slot .tf-section[data-tf-slot-section].tf-section--width-full,
.tf-section__slot .tf-section[data-tf-slot-section].tf-section--width-fluid,
.tf-section__slot .tf-section[data-tf-slot-section].tf-section--width-container {
    max-width: 100%;
    margin-inline: 0;
}



[data-tf-preview] .tf-section__slot.is-empty,
body.tf-editable .tf-section__row > .tf-section__slot.is-empty {
    position: relative;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    padding: 0;
}

.tf-section__row--single > .tf-section__slot.is-empty {
    flex-grow: 0;
    align-self: auto;
    height: auto;
}

[data-tf-preview] .tf-section__slot.is-empty:not([style*="background"]):not([data-tf-slot-has-bg="true"]) {
    border: 1px dashed rgba(109, 40, 217, 0.55);
    border-radius: 6px;
    background: rgba(109, 40, 217, 0.06);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

[data-tf-preview] .tf-section__slot.is-empty:not(:has(.tf-section__slot-add)) {
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-tf-preview] .tf-section__slot.is-empty:not(:has(.tf-section__slot-add))::before {
    content: attr(data-tf-slot-label);
    font-size: 12px;
    font-weight: 600;
    color: rgba(109, 40, 217, 0.75);
    pointer-events: none;
}

[data-tf-preview] .tf-section__slot-add {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: inherit;
    background: transparent;
    color: rgba(109, 40, 217, 0.9);
    font: inherit;
    cursor: pointer;
    transition: color 0.15s ease;
}

[data-tf-preview] .tf-section__slot.is-filled > .tf-section__slot-add--append {
    position: relative;
    inset: auto;
    flex: 0 0 auto;
    align-self: center;
    flex-direction: row;
    gap: 6px;
    width: auto;
    height: 30px;
    min-height: 30px;
    padding: 0 12px 0 8px;
    margin-top: 0;
    border: 1px dashed rgba(109, 40, 217, 0.4);
    border-radius: 999px;
    background: rgba(109, 40, 217, 0.05);
}

/* Keep add button in flex flow so «Öğeler arası» (gap) is visible */
body.tf-editable .tf-section__slot.is-filled:has(> .tf-section__slot-add--append) {
    position: relative;
    padding-bottom: 0;
    overflow-x: clip;
    overflow-y: visible;
}

/* Classic sticky banner: clip on the slot kills position:sticky — keep fully visible */
body.tf-editable .tf-section[data-tf-type="home.sticky_banner"] > .tf-section__row > .tf-section__slot.is-filled:has(> .tf-section__slot-add--append),
body.tf-editable .tf-section[data-tf-type="home.sticky_banner"] > .tf-section__inner > .tf-section__row > .tf-section__slot.is-filled:has(> .tf-section__slot-add--append) {
    overflow: visible !important;
}

body.tf-editable [data-tf-preview] .tf-section__slot.is-filled > .tf-section__slot-add--append,
body.tf-editable .tf-section__slot.is-filled > .tf-section__slot-add--append {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 0;
    z-index: 6;
}

[data-tf-preview] .tf-section__slot.is-filled > .tf-section__slot-add--append:hover {
    border-color: rgba(109, 40, 217, 0.75);
    background: rgba(109, 40, 217, 0.1);
    color: rgb(109, 40, 217);
}

[data-tf-preview] .tf-section__slot.is-filled > .tf-section__slot-add--append .tf-section__slot-add__icon {
    width: 20px;
    height: 20px;
    font-size: 11px;
    background: rgba(109, 40, 217, 0.12);
}

[data-tf-preview] .tf-section__slot.is-filled > .tf-section__slot-add--append .tf-section__slot-add__label {
    display: inline;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

[data-tf-preview] .tf-section__slot.is-empty:not([style*="background"]):not([data-tf-slot-has-bg="true"]):hover {
    background: rgba(109, 40, 217, 0.1);
    border-color: rgba(109, 40, 217, 0.75);
}

[data-tf-preview] .tf-section__slot-add__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(109, 40, 217, 0.12);
    font-size: 18px;
    line-height: 1;
}

[data-tf-preview] .tf-section__slot-add__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Slot selection outline is owned by _editor.css (equal row↔col ring). */

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery {
    margin-top: var(--tf-image-mt, 0);
    margin-bottom: var(--tf-image-mb, 0);
}

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery__grid {
    display: grid;
    gap: var(--tf-image-gap, 12px);
    grid-template-columns: repeat(var(--tf-image-cols-desktop, 3), minmax(0, 1fr));
}

@media (max-width: 1199.98px) {
    .tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery__grid {
        grid-template-columns: repeat(var(--tf-image-cols-tablet, 2), minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery__grid {
        grid-template-columns: repeat(var(--tf-image-cols-mobile, 1), minmax(0, 1fr));
    }
}

/* Theme Studio device toggle (iframe width may not match real breakpoints) */
html[data-device="desktop"] .tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery__grid,
body[data-device="desktop"] .tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery__grid {
    grid-template-columns: repeat(var(--tf-image-cols-desktop, 3), minmax(0, 1fr));
}

html[data-device="tablet"] .tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery__grid,
body[data-device="tablet"] .tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery__grid {
    grid-template-columns: repeat(var(--tf-image-cols-tablet, 2), minmax(0, 1fr));
}

html[data-device="mobile"] .tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery__grid,
body[data-device="mobile"] .tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery__grid {
    grid-template-columns: repeat(var(--tf-image-cols-mobile, 1), minmax(0, 1fr));
}

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__grid {
    --_mosaic-cols: var(--tf-image-cols-desktop, 3);
    --_mosaic-span-a: var(--tf-mosaic-span-a, 2);
    --_mosaic-span-b: var(--tf-mosaic-span-b, 2);
    --_mosaic-span-row: var(--tf-mosaic-span-row, 2);
    grid-template-columns: repeat(var(--_mosaic-cols), minmax(0, 1fr));
    grid-auto-rows: minmax(140px, 18vw);
    grid-auto-flow: dense;
    align-items: stretch;
}

/* Bento pattern: featured tile + remaining columns, repeating every 4 items */
.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-width: 0;
    min-height: 0;
    height: 100%;
}

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__item:nth-child(4n + 1) {
    grid-column: span var(--_mosaic-span-a, 2);
    grid-row: span var(--_mosaic-span-row, 2);
}

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__item:nth-child(4n + 2) {
    grid-column: span var(--_mosaic-span-b, 2);
    grid-row: span 1;
}

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__item:nth-child(4n + 3),
.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__item:nth-child(4n + 4) {
    grid-column: span 1;
    grid-row: span 1;
}

/* Manual mosaic size overrides (Normal / Uzun / Geniş / Büyük) */
.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__item[data-tf-mosaic-size="normal"] {
    grid-column: span 1;
    grid-row: span 1;
}

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__item[data-tf-mosaic-size="tall"] {
    grid-column: span 1;
    grid-row: span var(--_mosaic-span-row, 2);
}

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__item[data-tf-mosaic-size="wide"] {
    grid-column: span var(--_mosaic-span-a, 2);
    grid-row: span 1;
}

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__item[data-tf-mosaic-size="large"] {
    grid-column: span var(--_mosaic-span-a, 2);
    grid-row: span var(--_mosaic-span-row, 2);
}

@media (max-width: 1199.98px) {
    .tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__grid {
        --_mosaic-cols: var(--tf-image-cols-tablet, 2);
        --_mosaic-span-a: var(--tf-mosaic-span-a-tablet, 1);
        --_mosaic-span-b: var(--tf-mosaic-span-b-tablet, 1);
        --_mosaic-span-row: var(--tf-mosaic-span-row-tablet, 2);
        grid-template-columns: repeat(var(--_mosaic-cols), minmax(0, 1fr));
        grid-auto-rows: minmax(120px, 28vw);
    }
}

@media (max-width: 767.98px) {
    .tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__grid {
        --_mosaic-cols: var(--tf-image-cols-mobile, 1);
        --_mosaic-span-a: var(--tf-mosaic-span-a-mobile, 1);
        --_mosaic-span-b: var(--tf-mosaic-span-b-mobile, 1);
        --_mosaic-span-row: var(--tf-mosaic-span-row-mobile, 1);
        grid-template-columns: repeat(var(--_mosaic-cols), minmax(0, 1fr));
        grid-auto-rows: minmax(110px, 36vw);
    }
}

html[data-device="desktop"] .tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__grid,
body[data-device="desktop"] .tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__grid {
    --_mosaic-cols: var(--tf-image-cols-desktop, 3);
    --_mosaic-span-a: var(--tf-mosaic-span-a, 2);
    --_mosaic-span-b: var(--tf-mosaic-span-b, 2);
    --_mosaic-span-row: var(--tf-mosaic-span-row, 2);
    grid-template-columns: repeat(var(--_mosaic-cols), minmax(0, 1fr));
    grid-auto-rows: minmax(140px, 18vw);
}

html[data-device="tablet"] .tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__grid,
body[data-device="tablet"] .tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__grid {
    --_mosaic-cols: var(--tf-image-cols-tablet, 2);
    --_mosaic-span-a: var(--tf-mosaic-span-a-tablet, 1);
    --_mosaic-span-b: var(--tf-mosaic-span-b-tablet, 1);
    --_mosaic-span-row: var(--tf-mosaic-span-row-tablet, 2);
    grid-template-columns: repeat(var(--_mosaic-cols), minmax(0, 1fr));
    grid-auto-rows: minmax(120px, 28vw);
}

html[data-device="mobile"] .tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__grid,
body[data-device="mobile"] .tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__grid {
    --_mosaic-cols: var(--tf-image-cols-mobile, 1);
    --_mosaic-span-a: var(--tf-mosaic-span-a-mobile, 1);
    --_mosaic-span-b: var(--tf-mosaic-span-b-mobile, 1);
    --_mosaic-span-row: var(--tf-mosaic-span-row-mobile, 1);
    grid-template-columns: repeat(var(--_mosaic-cols), minmax(0, 1fr));
    grid-auto-rows: minmax(110px, 36vw);
}

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery__figure {
    margin: 0;
    height: 100%;
}

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__figure {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: 100%;
}

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery__link {
    display: block;
    max-width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__figure > .tf-image-gallery__link,
.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__figure > .tf-image-gallery__media,
.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__figure > .tf-image-gallery__ph {
    position: relative;
    flex: 1 1 auto;
    align-self: stretch;
    width: 100%;
    min-height: 0;
    height: auto;
}

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery__media,
.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery__ph {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: var(--tf-image-aspect, 4 / 3);
    min-height: 0;
    border-radius: var(--tf-image-radius, 8px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__media,
.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__ph {
    width: 100% !important;
    max-width: none;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    background-size: cover !important;
    background-position: center !important;
}

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__figure > .tf-image-gallery__media,
.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__figure > .tf-image-gallery__ph {
    flex: 1 1 auto;
    align-self: stretch;
    height: auto !important;
}

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__link .tf-image-gallery__media,
.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery--mosaic .tf-image-gallery__link .tf-image-gallery__ph {
    position: absolute;
    inset: 0;
    height: 100% !important;
}

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery__ph {
    background: var(--tf-color-surfaceAlt, #f4f4f5);
}

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery__caption {
    margin-top: 12px;
    flex-shrink: 0;
    font-family: var(--tf-image-caption-font, inherit);
    font-size: var(--tf-image-caption-size, 13px);
    font-weight: var(--tf-image-caption-weight, 400);
    line-height: 1.35;
    color: var(--tf-image-caption-color, var(--tf-color-text-2, #6b7280));
    text-align: center;
}

.tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery--slider .tf-image-gallery__link {
    height: auto;
}

.tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery__marquee {
    --_tf-image-marquee-cols: var(--tf-image-cols-desktop, 3);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    container-type: inline-size;
}

.tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery__marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: tf-image-gallery-marquee var(--tf-image-marquee-duration, 36s) linear infinite;
}

.tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery__marquee-group {
    display: flex;
    flex: 0 0 auto;
    gap: var(--tf-image-gap, 12px);
    padding-right: var(--tf-image-gap, 12px);
}

.tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery__marquee .tf-image-gallery__item {
    flex: 0 0 auto;
    width: max(
        140px,
        calc(
            (100cqw - (var(--_tf-image-marquee-cols) - 1) * var(--tf-image-gap, 12px))
            / var(--_tf-image-marquee-cols)
        )
    );
    min-width: 0;
}

.tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery--marquee .tf-image-gallery__figure,
.tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery--marquee .tf-image-gallery__link {
    height: auto;
}

.tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery__marquee:hover .tf-image-gallery__marquee-track {
    animation-play-state: paused;
}

@keyframes tf-image-gallery-marquee {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 1199.98px) {
    .tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery__marquee {
        --_tf-image-marquee-cols: var(--tf-image-cols-tablet, 2);
    }
}

@media (max-width: 767.98px) {
    .tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery__marquee {
        --_tf-image-marquee-cols: var(--tf-image-cols-mobile, 1);
    }
}

html[data-device="desktop"] .tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery__marquee,
body[data-device="desktop"] .tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery__marquee {
    --_tf-image-marquee-cols: var(--tf-image-cols-desktop, 3);
}

html[data-device="tablet"] .tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery__marquee,
body[data-device="tablet"] .tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery__marquee {
    --_tf-image-marquee-cols: var(--tf-image-cols-tablet, 2);
}

html[data-device="mobile"] .tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery__marquee,
body[data-device="mobile"] .tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery__marquee {
    --_tf-image-marquee-cols: var(--tf-image-cols-mobile, 1);
}

@media (prefers-reduced-motion: reduce) {
    .tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery__marquee-track {
        animation-play-state: paused;
    }
}

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery__slider {
    position: relative;
}

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery__nav--prev { left: 0; }
.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery__nav--next { right: 0; }

.tf-section:is([data-tf-type="home.image_gallery"], [data-tf-type="home.hero_banner"]) .tf-image-gallery__swiper .tf-sw-pagination {
    margin-top: 14px;
}

.tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery__pagination {
    position: static;
    width: fit-content;
    min-height: 22px;
    margin: 14px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 0;
}

.tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery__pagination .swiper-pagination-bullet {
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    margin: 0 !important;
    border: 0;
    border-radius: 999px;
    background: currentColor;
    color: var(--tf-color-text, #1a1a18);
    opacity: 0.22;
    transition: width 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery__pagination .swiper-pagination-bullet-active {
    width: 22px;
    opacity: 0.9;
}

.tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery__pagination .swiper-pagination-bullet:hover {
    opacity: 0.65;
}

.tf-section[data-tf-type="home.image_gallery"] .tf-image-gallery__pagination.swiper-pagination-lock {
    display: none;
}

.tf-banner-gallery__frame {
    position: relative;
    display: block;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--tf-image-radius, 8px);
    container-type: inline-size;
    container-name: tf-banner-card;
}

.tf-image-gallery--mosaic .tf-banner-gallery__frame {
    position: relative;
    flex: 1 1 auto;
    align-self: stretch;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
}

.tf-image-gallery--mosaic .tf-image-gallery__figure > .tf-banner-gallery__frame {
    flex: 1 1 auto;
    min-height: 0;
}

.tf-image-gallery--mosaic .tf-banner-gallery__frame .tf-image-gallery__link,
.tf-image-gallery--mosaic .tf-banner-gallery__frame .tf-image-gallery__media,
.tf-image-gallery--mosaic .tf-banner-gallery__frame .tf-image-gallery__ph {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.tf-image-gallery--mosaic .tf-banner-gallery__frame .tf-image-gallery__link .tf-image-gallery__media,
.tf-image-gallery--mosaic .tf-banner-gallery__frame .tf-image-gallery__link .tf-image-gallery__ph {
    position: absolute;
    inset: 0;
}

.tf-image-gallery--mosaic .tf-banner-gallery__content {
    z-index: 2;
}

.tf-banner-gallery__content {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: min(720px, calc(100% - 24px));
    max-width: calc(100% - 24px);
    max-height: calc(100% - 20px);
    padding: 0 12px;
    text-align: center;
    pointer-events: none;
    box-sizing: border-box;
    overflow: hidden;
}

.tf-banner-gallery__content > * {
    pointer-events: auto;
    align-self: stretch;
    min-width: 0;
    max-width: 100%;
}

.tf-banner-gallery__title {
    margin: 0;
    color: var(--tf-banner-title-color, #fff);
    font-size: clamp(16px, 6.5cqi, var(--tf-title-font-size, var(--tf-banner-title-size, 48px)));
    font-weight: var(--tf-banner-title-weight, 700);
    line-height: 1.15;
    letter-spacing: -0.02em;
    width: 100%;
    overflow: hidden;
}

.tf-banner-gallery__title > span,
.tf-banner-gallery__title [data-tf-field="title"] {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
    font-size: clamp(16px, 6.5cqi, var(--tf-title-font-size, var(--tf-banner-title-size, 48px))) !important;
}

.tf-banner-gallery__subtitle {
    margin: 0;
    color: var(--tf-banner-subtitle-color, #fff);
    font-size: clamp(10px, 3.2cqi, var(--tf-subtitle-font-size, var(--tf-banner-subtitle-size, 13px)));
    font-weight: var(--tf-banner-subtitle-weight, 500);
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: 100%;
    overflow: hidden;
}

.tf-banner-gallery__subtitle > span,
.tf-banner-gallery__subtitle [data-tf-field="subtitle"] {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
    font-size: clamp(10px, 3.2cqi, var(--tf-subtitle-font-size, var(--tf-banner-subtitle-size, 13px))) !important;
}

.tf-banner-gallery__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin-top: 6px;
    max-width: 100%;
    width: auto;
    min-width: 0;
    padding: clamp(8px, 2.5cqi, 12px) clamp(14px, 6cqi, 28px);
    border-radius: var(--tf-banner-btn-radius, 48px);
    background: var(--tf-banner-btn-bg, #fff);
    color: var(--tf-banner-btn-color, #111);
    font-family: var(--tf-banner-btn-font, inherit);
    font-size: clamp(11px, 3.5cqi, var(--tf-button-text-font-size, var(--tf-banner-btn-size, 13px))) !important;
    font-weight: var(--tf-banner-btn-weight, 600);
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.tf-banner-gallery__btn:hover {
    opacity: 0.92;
    color: var(--tf-banner-btn-color, #111);
}

.tf-banner-gallery__btn span,
.tf-banner-gallery__btn [data-tf-field="button_text"] {
    color: inherit;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: inherit !important;
}

.tf-banner-gallery__content[data-tf-banner-btn-pos="bottom-center"],
.tf-banner-gallery__content:not([data-tf-banner-btn-pos]) {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 12%;
    transform: translateX(-50%);
    align-items: center;
    text-align: center;
}

.tf-banner-gallery__content[data-tf-banner-btn-pos="bottom-left"] {
    left: clamp(12px, 4cqi, 24px);
    right: auto;
    top: auto;
    bottom: 12%;
    transform: none;
    align-items: flex-start;
    text-align: left;
}

.tf-banner-gallery__content[data-tf-banner-btn-pos="bottom-right"] {
    left: auto;
    right: clamp(12px, 4cqi, 24px);
    top: auto;
    bottom: 12%;
    transform: none;
    align-items: flex-end;
    text-align: right;
}

.tf-banner-gallery__content[data-tf-banner-btn-pos="center"] {
    left: 50%;
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    align-items: center;
    text-align: center;
}

.tf-banner-gallery__content[data-tf-banner-btn-pos="middle-left"] {
    left: clamp(12px, 4cqi, 24px);
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    align-items: flex-start;
    text-align: left;
}

.tf-banner-gallery__content[data-tf-banner-btn-pos="middle-right"] {
    left: auto;
    right: clamp(12px, 4cqi, 24px);
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    align-items: flex-end;
    text-align: right;
}

.tf-banner-gallery__content[data-tf-banner-btn-pos="top-center"] {
    left: 50%;
    right: auto;
    top: clamp(12px, 4cqi, 24px);
    bottom: auto;
    transform: translateX(-50%);
    align-items: center;
    text-align: center;
}

.tf-banner-gallery__content[data-tf-banner-btn-pos="top-left"] {
    left: clamp(12px, 4cqi, 24px);
    right: auto;
    top: clamp(12px, 4cqi, 24px);
    bottom: auto;
    transform: none;
    align-items: flex-start;
    text-align: left;
}

.tf-banner-gallery__content[data-tf-banner-btn-pos="top-right"] {
    left: auto;
    right: clamp(12px, 4cqi, 24px);
    top: clamp(12px, 4cqi, 24px);
    bottom: auto;
    transform: none;
    align-items: flex-end;
    text-align: right;
}

.tf-banner-gallery__content[data-tf-banner-btn-pos="bottom-left"] .tf-banner-gallery__btn,
.tf-banner-gallery__content[data-tf-banner-btn-pos="top-left"] .tf-banner-gallery__btn,
.tf-banner-gallery__content[data-tf-banner-btn-pos="middle-left"] .tf-banner-gallery__btn {
    align-self: flex-start;
}

.tf-banner-gallery__content[data-tf-banner-btn-pos="bottom-right"] .tf-banner-gallery__btn,
.tf-banner-gallery__content[data-tf-banner-btn-pos="top-right"] .tf-banner-gallery__btn,
.tf-banner-gallery__content[data-tf-banner-btn-pos="middle-right"] .tf-banner-gallery__btn {
    align-self: flex-end;
}

.tf-image-gallery--grid .tf-banner-gallery__content,
.tf-image-gallery--mosaic .tf-banner-gallery__content,
.tf-image-gallery--slider .tf-banner-gallery__content {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    gap: clamp(4px, 2cqi, 10px);
}

@container tf-banner-card (max-width: 520px) {
    .tf-banner-gallery__title,
    .tf-banner-gallery__title > span,
    .tf-banner-gallery__title [data-tf-field="title"] {
        font-size: min(var(--tf-title-font-size, var(--tf-banner-title-size, 48px)), 28px) !important;
        white-space: normal;
        text-overflow: unset;
        overflow-wrap: anywhere;
        line-height: 1.2;
    }

    .tf-banner-gallery__subtitle,
    .tf-banner-gallery__subtitle > span,
    .tf-banner-gallery__subtitle [data-tf-field="subtitle"] {
        font-size: min(var(--tf-subtitle-font-size, var(--tf-banner-subtitle-size, 13px)), 12px) !important;
        white-space: normal;
        text-overflow: unset;
        overflow-wrap: anywhere;
    }

    .tf-banner-gallery__btn {
        font-size: min(var(--tf-button-text-font-size, var(--tf-banner-btn-size, 13px)), 12px) !important;
    }
}

@container tf-banner-card (max-width: 420px) {
    .tf-banner-gallery__content[data-tf-banner-btn-pos="bottom-center"],
    .tf-banner-gallery__content:not([data-tf-banner-btn-pos]),
    .tf-banner-gallery__content[data-tf-banner-btn-pos="bottom-left"],
    .tf-banner-gallery__content[data-tf-banner-btn-pos="bottom-right"] {
        bottom: 8%;
    }

    .tf-banner-gallery__title,
    .tf-banner-gallery__title > span,
    .tf-banner-gallery__title [data-tf-field="title"] {
        font-size: min(var(--tf-title-font-size, var(--tf-banner-title-size, 48px)), 24px) !important;
    }
}

@media (max-width: 767.98px) {
    .tf-banner-gallery__content[data-tf-banner-btn-pos="bottom-center"],
    .tf-banner-gallery__content:not([data-tf-banner-btn-pos]),
    .tf-banner-gallery__content[data-tf-banner-btn-pos="bottom-left"],
    .tf-banner-gallery__content[data-tf-banner-btn-pos="bottom-right"] {
        bottom: 10%;
    }

    .tf-banner-gallery__title,
    .tf-banner-gallery__title > span,
    .tf-banner-gallery__title [data-tf-field="title"] {
        font-size: min(var(--tf-title-font-size, var(--tf-banner-title-size, 48px)), 28px) !important;
        white-space: normal;
        text-overflow: unset;
        overflow-wrap: anywhere;
        line-height: 1.2;
    }

    .tf-banner-gallery__subtitle,
    .tf-banner-gallery__subtitle > span,
    .tf-banner-gallery__subtitle [data-tf-field="subtitle"] {
        font-size: min(var(--tf-subtitle-font-size, var(--tf-banner-subtitle-size, 13px)), 12px) !important;
        white-space: normal;
        text-overflow: unset;
        overflow-wrap: anywhere;
    }

    .tf-banner-gallery__btn {
        font-size: min(var(--tf-button-text-font-size, var(--tf-banner-btn-size, 13px)), 12px) !important;
    }
}

html[data-device="tablet"] .tf-banner-gallery__title,
html[data-device="tablet"] .tf-banner-gallery__title > span,
html[data-device="tablet"] .tf-banner-gallery__title [data-tf-field="title"],
body[data-device="tablet"] .tf-banner-gallery__title,
body[data-device="tablet"] .tf-banner-gallery__title > span,
body[data-device="tablet"] .tf-banner-gallery__title [data-tf-field="title"] {
    font-size: min(var(--tf-title-font-size, var(--tf-banner-title-size, 48px)), 36px) !important;
}

html[data-device="mobile"] .tf-banner-gallery__title,
html[data-device="mobile"] .tf-banner-gallery__title > span,
html[data-device="mobile"] .tf-banner-gallery__title [data-tf-field="title"],
body[data-device="mobile"] .tf-banner-gallery__title,
body[data-device="mobile"] .tf-banner-gallery__title > span,
body[data-device="mobile"] .tf-banner-gallery__title [data-tf-field="title"] {
    font-size: min(var(--tf-title-font-size, var(--tf-banner-title-size, 48px)), 26px) !important;
    white-space: normal;
    text-overflow: unset;
    overflow-wrap: anywhere;
    line-height: 1.2;
}

html[data-device="mobile"] .tf-banner-gallery__subtitle,
html[data-device="mobile"] .tf-banner-gallery__subtitle > span,
html[data-device="mobile"] .tf-banner-gallery__subtitle [data-tf-field="subtitle"],
body[data-device="mobile"] .tf-banner-gallery__subtitle,
body[data-device="mobile"] .tf-banner-gallery__subtitle > span,
body[data-device="mobile"] .tf-banner-gallery__subtitle [data-tf-field="subtitle"] {
    font-size: min(var(--tf-subtitle-font-size, var(--tf-banner-subtitle-size, 13px)), 12px) !important;
    white-space: normal;
    text-overflow: unset;
    overflow-wrap: anywhere;
}

html[data-device="mobile"] .tf-banner-gallery__btn,
body[data-device="mobile"] .tf-banner-gallery__btn {
    font-size: min(var(--tf-button-text-font-size, var(--tf-banner-btn-size, 13px)), 12px) !important;
}

.tf-section[data-tf-type="home.hero_banner"] .tf-banner-gallery--cover {
    margin: 0;
    width: 100%;
}

.tf-section[data-tf-type="home.hero_banner"] .tf-banner-gallery--cover .tf-section__inner,
.tf-section[data-tf-type="home.hero_banner"] .tf-banner-gallery--cover .tf-image-gallery__slider,
.tf-section[data-tf-type="home.hero_banner"] .tf-banner-gallery--cover .tf-image-gallery__swiper,
.tf-section[data-tf-type="home.hero_banner"] .tf-banner-gallery--cover .swiper-wrapper {
    width: 100%;
    max-width: none;
}

.tf-section[data-tf-type="home.hero_banner"] .tf-banner-gallery--cover .tf-image-gallery__slider {
    padding-inline: 0;
}

.tf-section[data-tf-type="home.hero_banner"] .tf-banner-gallery--cover .swiper-slide,
.tf-section[data-tf-type="home.hero_banner"] .tf-banner-gallery--cover .tf-image-gallery__item,
.tf-section[data-tf-type="home.hero_banner"] .tf-banner-gallery--cover .tf-image-gallery__figure,
.tf-section[data-tf-type="home.hero_banner"] .tf-banner-gallery--cover .tf-banner-gallery__frame {
    width: 100% !important;
    max-width: none;
}

.tf-section[data-tf-type="home.hero_banner"] .tf-banner-gallery--cover .tf-banner-gallery__frame,
.tf-section[data-tf-type="home.hero_banner"] .tf-banner-gallery--cover .tf-image-gallery__media,
.tf-section[data-tf-type="home.hero_banner"] .tf-banner-gallery--cover .tf-image-gallery__ph {
    height: 80vh;
    min-height: 80vh;
    aspect-ratio: auto !important;
    border-radius: 0;
}

.tf-section[data-tf-type="home.hero_banner"] .tf-banner-gallery--cover .tf-image-gallery__nav--prev { left: 16px; }
.tf-section[data-tf-type="home.hero_banner"] .tf-banner-gallery--cover .tf-image-gallery__nav--next { right: 16px; }

.tf-section[data-tf-type="home.hero_banner"] .tf-banner-gallery--cover .tf-image-gallery__swiper .tf-sw-pagination {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.tf-section[data-tf-type="home.hero_banner"] .tf-sw-pagination .swiper-pagination-bullet {
    background: rgba(0, 0, 0, 0.28);
    opacity: 1;
}

.tf-section[data-tf-type="home.hero_banner"] .tf-sw-pagination .swiper-pagination-bullet-active {
    background: #111111;
    opacity: 1;
}

/* Button element -------------------------------------------------------- */
.tf-button-element {
    display: flex;
    width: 100%;
    align-items: center;
    --tf-btn-el-bg: #3E1A05;
    --tf-btn-el-fg: #F2EFE8;
}

.tf-button-element__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 24px;
    border: 0;
    border-radius: var(--tf-btn-el-radius, 8px);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.2;
    color: var(--tf-button-text-color, var(--tf-btn-el-fg, #F2EFE8));
    background: var(--tf-button-text-background, var(--tf-btn-el-bg, #3E1A05));
    transition: opacity .15s ease, transform .15s ease;
}

.tf-button-element__btn:hover {
    opacity: .92;
}

.tf-button-element--full .tf-button-element__btn {
    width: 100%;
}

.tf-button-element__icon {
    font-size: 1em;
    line-height: 1;
    flex: 0 0 auto;
    color: inherit;
}

.tf-button-element__btn--outline {
    background: transparent !important;
    border: 1.5px solid var(--tf-button-text-background, var(--tf-btn-el-bg, #3E1A05)) !important;
}

.tf-button-element__btn--link {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    min-height: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tf-button-element[data-style="button_2"] .tf-button-element__btn:not(.tf-button-element__btn--link) {
    border-radius: 999px !important;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .78em;
    padding: 14px 28px;
    min-height: 48px;
}

.tf-button-element[data-style="button_5"] .tf-button-element__btn:not(.tf-button-element__btn--link) {
    border-radius: 999px !important;
    min-height: 48px;
    padding: 6px 8px 6px 22px;
    gap: 14px;
}

.tf-button-element[data-style="button_5"] .tf-button-element__btn[data-icon-position="left"]:not(.tf-button-element__btn--link) {
    padding: 6px 22px 6px 8px;
}

.tf-button-element[data-style="button_5"] .tf-button-element__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .16);
    transition: transform .2s ease;
}

.tf-button-element[data-style="button_5"] .tf-button-element__btn--outline .tf-button-element__icon {
    background: color-mix(in srgb, var(--tf-button-text-background, var(--tf-btn-el-bg, #3E1A05)) 12%, transparent);
}

.tf-button-element[data-style="button_5"] .tf-button-element__btn:hover {
    opacity: 1;
}

.tf-button-element[data-style="button_5"] .tf-button-element__btn:hover .tf-button-element__icon {
    transform: translateX(3px);
}

.tf-button-element[data-style="button_5"] .tf-button-element__btn[data-icon-position="left"]:hover .tf-button-element__icon {
    transform: translateX(-3px);
}

/* Heading / Başlık ------------------------------------------------------ */
.tf-heading-element {
    width: 100%;
    display: block;
}

.tf-heading-element__text {
    margin: 0;
    line-height: 1.25;
    word-break: break-word;
}

.tf-heading-element[data-tag="h1"] .tf-heading-element__text {
    font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
    font-weight: 700;
}

.tf-heading-element[data-tag="h2"] .tf-heading-element__text {
    font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.85rem);
    font-weight: 600;
}

.tf-heading-element[data-tag="h3"] .tf-heading-element__text {
    font-size: clamp(1.2rem, 1.05rem + 0.55vw, 1.5rem);
    font-weight: 600;
}

.tf-heading-element[data-tag="h4"] .tf-heading-element__text {
    font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
    font-weight: 600;
}

.tf-heading-element[data-tag="h5"] .tf-heading-element__text {
    font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.1rem);
    font-weight: 600;
}

.tf-heading-element[data-tag="h6"] .tf-heading-element__text {
    font-size: clamp(0.85rem, 0.82rem + 0.12vw, 0.95rem);
    font-weight: 600;
}

.tf-heading-element[data-style="outline"] .tf-heading-element__text {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1.5px currentColor;
}

.tf-heading-element[data-style="caps"] .tf-heading-element__text {
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tf-heading-element[data-style="italic"] .tf-heading-element__text {
    font-style: italic;
    font-weight: 500;
}

.tf-heading-element[data-style="shadow"] .tf-heading-element__text {
    text-shadow: 0 2px 14px color-mix(in srgb, currentColor 30%, transparent);
}

/* Divider / Çizgi ------------------------------------------------------- */
.tf-divider-element {
    width: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.tf-divider-element__inner {
    display: flex;
    align-items: center;
    width: var(--tf-divider-width, 100%);
    max-width: 100%;
}

.tf-divider-element__line {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 1;
    height: 0;
    background: transparent;
    border-top: var(--tf-divider-thickness, 1px) solid var(--tf-divider-color, #1a1a18);
    box-sizing: border-box;
}

.tf-divider-element__line--dashed,
.tf-divider-element[data-line="dashed"] .tf-divider-element__line {
    border-top-style: dashed;
}

.tf-divider-element__line--dotted,
.tf-divider-element[data-line="dotted"] .tf-divider-element__line {
    border-top-style: dotted;
}

.tf-divider-element--icon .tf-divider-element__inner {
    gap: 12px;
}

.tf-divider-element--icon .tf-divider-element__line {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
}

.tf-divider-element__icon {
    flex: 0 0 auto;
    line-height: 1;
    color: var(--tf-icon-color, var(--tf-divider-color, #1a1a18));
    font-size: var(--tf-icon-size, 14px);
}

.tf-divider-element--fade .tf-divider-element__line {
    height: var(--tf-divider-thickness, 1px);
    border: 0;
    border-top-width: 0;
    background: linear-gradient(
        to right,
        transparent,
        var(--tf-divider-color, #1a1a18),
        transparent
    );
}

.tf-divider-element--dots .tf-divider-element__line {
    height: var(--tf-divider-thickness, 4px);
    border: 0;
    border-top-width: 0;
    background-color: transparent;
    background-image: radial-gradient(
        circle closest-side,
        var(--tf-divider-color, #1a1a18) 99%,
        transparent 100%
    );
    background-size: calc(var(--tf-divider-thickness, 4px) * 2.4) 100%;
    background-repeat: repeat-x;
    background-position: center;
}

/* Image Box / Resim Kutusu --------------------------------------------- */
.tf-section[data-tf-type="home.image_box"],
.tf-section__slot .tf-section[data-tf-type="home.image_box"],
.tf-section__slot .tf-section[data-tf-type="home.image_box"].tf-section--slot-embedded {
    height: auto !important;
    min-height: 0;
    flex: 0 0 auto !important;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    align-self: flex-start !important;
    box-sizing: border-box;
}

.tf-section[data-tf-type="home.image_box"] .tf-image-box,
.tf-image-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    margin: 0;
    padding: 4px;
}

.tf-section[data-tf-type="home.image_box"] .tf-image-box[data-align="center"],
.tf-image-box[data-align="center"] {
    align-items: center;
}

.tf-section[data-tf-type="home.image_box"] .tf-image-box[data-align="right"],
.tf-image-box[data-align="right"] {
    align-items: flex-end;
}

.tf-section[data-tf-type="home.image_box"] .tf-image-box[data-align="left"],
.tf-image-box[data-align="left"] {
    align-items: flex-start;
}

.tf-image-box__stack {
    display: flex;
    flex-direction: column;
    width: var(--tf-ibox-width, 100%);
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.tf-image-box__media {
    position: relative;
    overflow: hidden;
    border-radius: var(--tf-ibox-radius, 12px);
    width: 100%;
    height: var(--tf-ibox-height, auto);
    flex: 0 0 auto;
    line-height: 0;
    margin: 0;
}

.tf-image-box__link {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
    text-decoration: none;
    color: inherit;
    margin: 0;
}

.tf-image-box__img,
.tf-image-box .tf-input-image {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: 100%;
    border-radius: var(--tf-ibox-radius, 12px) !important;
    object-fit: cover;
    margin: 0;
    border: 0;
    vertical-align: top;
}

.tf-image-box[data-width-mode="original"] .tf-image-box__stack,
.tf-image-box[data-width-mode="original"] .tf-image-box__media,
.tf-image-box[data-width-mode="original"] .tf-image-box__link {
    width: fit-content;
    max-width: 100%;
    height: auto;
}

.tf-image-box[data-width-mode="original"] .tf-image-box__img,
.tf-image-box[data-width-mode="original"] .tf-input-image {
    width: auto !important;
    max-width: 100%;
    height: auto !important;
}

.tf-image-box__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    min-height: 160px;
    border: 1px dashed #cfcfc8;
    background: linear-gradient(135deg, #f7f7f4 0%, #eeeeea 50%, #f4f4f0 100%);
    color: #8a8a82;
    font-size: 13px;
    font-weight: 600;
    border-radius: inherit;
    line-height: 1.3;
}

.tf-image-box__placeholder .bi {
    font-size: 28px;
    color: #b0b0a8;
}

.tf-image-box__body {
    padding: 16px 4px 4px;
    text-align: left;
    flex: 1;
    line-height: normal;
}

.tf-image-box[data-align="center"] .tf-image-box__body {
    text-align: center;
}

.tf-image-box[data-align="right"] .tf-image-box__body {
    text-align: right;
}

.tf-image-box__title {
    margin: 0 0 8px;
    font-size: var(--tf-ibox-title-size, 18px);
    font-weight: 600;
    color: var(--tf-ibox-title-color, #1a1a18);
    line-height: 1.3;
}

.tf-image-box__title span {
    color: inherit;
    font-size: inherit;
}

.tf-image-box__desc {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--tf-ibox-desc-color, #666666);
}

.tf-image-box__desc p {
    margin: 0;
    color: inherit;
}

.tf-image-box__btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--tf-ibox-btn-bg, #1a1a18);
    color: var(--tf-ibox-btn-color, #ffffff);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
    line-height: 1.2;
}

.tf-image-box__btn:hover {
    opacity: 0.88;
    color: var(--tf-ibox-btn-color, #ffffff);
}

.tf-image-box__btn span {
    color: inherit;
}

/* Video / VideoSection -------------------------------------------------- */
.tf-section[data-tf-type="home.video_block"],
.tf-section__slot .tf-section[data-tf-type="home.video_block"],
.tf-section__slot .tf-section[data-tf-type="home.video_block"].tf-section--slot-embedded {
    height: auto !important;
    min-height: 0;
    flex: 0 0 auto !important;
    max-width: 100%;
    width: 100%;
    overflow: visible;
    align-self: stretch !important;
}

.tf-section[data-tf-type="home.video_block"] .tf-video-block,
.tf-video-block {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-block: 8px;
}

.tf-video-block--single,
.tf-video-block--style-video_1 {
    max-width: min(1200px, 100%);
    width: 100%;
    margin-inline: auto;
}

.tf-video-block--style-video_1 .tf-video-block__frame,
.tf-video-block--single.tf-video-block--style-video_1 .tf-video-block__frame {
    aspect-ratio: var(--tf-video-aspect, 21 / 9);
    max-height: 400px;
}

.tf-video-block__item {
    width: 100%;
    min-width: 0;
}

.tf-video-block__grid {
    display: grid;
    gap: var(--tf-video-gap, 16px);
    width: 100%;
}

.tf-video-block--single .tf-video-block__grid {
    grid-template-columns: minmax(0, 1fr);
}

.tf-video-block--grid .tf-video-block__grid {
    grid-template-columns: repeat(var(--tf-video-cols-desktop, 2), minmax(0, 1fr));
}

.tf-video-block__shorts {
    position: relative;
    width: 100%;
}

.tf-video-block__shorts .tf-video-block__swiper {
    width: 100%;
    overflow: hidden;
}

.tf-video-block__shorts .swiper-slide {
    height: auto;
}

.tf-video-block__shorts .tf-video-block__item {
    width: 100%;
}

.tf-video-block__nav {
    position: absolute;
    top: 42%;
    z-index: 3;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    color: #111827;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.14);
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, opacity .15s ease;
}

.tf-video-block__nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

.tf-video-block__nav .bi {
    font-size: 18px;
    line-height: 1;
}

.tf-video-block__nav--prev {
    left: 8px;
}

.tf-video-block__nav--next {
    right: 8px;
}

.tf-video-block__shorts.is-nav-locked .tf-video-block__nav,
.tf-video-block__shorts .swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.tf-video-block__spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: var(--tf-video-gap, 16px);
    width: 100%;
    align-items: start;
}

.tf-video-block__side {
    display: grid;
    grid-template-columns: repeat(var(--tf-video-cols-desktop, 2), minmax(0, 1fr));
    gap: var(--tf-video-gap, 16px);
}

.tf-video-block__side-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 120px;
    padding: 16px;
    border: 1px dashed #d1d5db;
    border-radius: var(--tf-video-radius, 12px);
    color: #9ca3af;
    font-size: 13px;
    font-weight: 600;
}

.tf-video-block__figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.tf-video-block__frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: normal;
    aspect-ratio: var(--tf-video-aspect, 16 / 9);
    border-radius: var(--tf-video-radius, 12px);
    background:
        var(--tf-video-poster, none) center / cover no-repeat,
        #111827;
}

.tf-video-block--shorts .tf-video-block__frame {
    aspect-ratio: var(--tf-video-aspect, 9 / 16);
}

.tf-video-block__media,
.tf-video-block__embed {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: inherit;
    object-fit: cover;
    background: #000;
}

.tf-video-block__poster {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.tf-video-block__embed[data-tf-video-deferred="1"]:not(.is-ready) {
    opacity: 0;
    pointer-events: none;
}

.tf-video-block__frame.is-playing .tf-video-block__poster {
    display: none;
}

.tf-video-block__frame.is-playing .tf-video-block__embed {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.tf-video-block__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    border-radius: inherit;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.tf-video-block__placeholder .bi {
    font-size: 28px;
    color: #d1d5db;
}

.tf-video-block__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    color: var(--tf-video-icon-color, #fff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, opacity .2s ease;
}

.tf-video-block__play .bi {
    font-size: 28px;
    margin-left: 2px;
    color: inherit;
}

.tf-video-block__play:hover {
    transform: translate(-50%, -50%) scale(1.06);
    background: rgba(0, 0, 0, 0.6);
}

.tf-video-block__frame.is-playing .tf-video-block__play {
    opacity: 0;
    pointer-events: none;
}

.tf-video-block[data-tf-video-play-icon="0"] .tf-video-block__play {
    display: none;
}

.tf-video-block__caption {
    margin: 0;
    font-family: var(--tf-video-caption-font, inherit);
    font-size: var(--tf-video-caption-size, 14px);
    font-weight: var(--tf-video-caption-weight, 500);
    line-height: 1.4;
    color: var(--tf-video-caption-color, var(--tf-color-text-2, #6b7280));
    text-align: center;
}

.tf-video-block__caption [data-tf-field="title"],
.tf-video-block__caption [data-tf-editable="title"] {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: inherit;
}

@media (max-width: 991.98px) {
    .tf-video-block__spotlight {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767.98px) {
    .tf-video-block--single,
    .tf-video-block--style-video_1 {
        max-width: 100%;
    }

    .tf-video-block--grid .tf-video-block__grid {
        grid-template-columns: repeat(var(--tf-video-cols-mobile, 1), minmax(0, 1fr));
    }

    .tf-video-block__side {
        grid-template-columns: repeat(var(--tf-video-cols-mobile, 1), minmax(0, 1fr));
    }

    .tf-video-block__nav {
        width: 34px;
        height: 34px;
    }

    .tf-video-block__nav--prev {
        left: 4px;
    }

    .tf-video-block__nav--next {
        right: 4px;
    }
}

/* Spacer / Boşluk ------------------------------------------------------- */
.tf-spacer {
    position: relative;
    width: 100%;
    display: block;
}

.tf-spacer--editing {
    border: 1px dashed rgba(109, 40, 217, 0.35);
    border-radius: 6px;
    background:
        repeating-linear-gradient(
            -45deg,
            rgba(109, 40, 217, 0.04),
            rgba(109, 40, 217, 0.04) 8px,
            transparent 8px,
            transparent 16px
        );
}

.tf-spacer__label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(109, 40, 217, 0.75);
    pointer-events: none;
    user-select: none;
}

/* Map / Harita ---------------------------------------------------------- */
.tf-section[data-tf-type="home.map"],
.tf-section__slot .tf-section[data-tf-type="home.map"],
.tf-section__slot .tf-section[data-tf-type="home.map"].tf-section--slot-embedded {
    height: auto !important;
    min-height: 0;
    flex: 0 0 auto !important;
    max-width: 100%;
    width: 100%;
    overflow: visible;
    isolation: isolate;
    align-self: center !important;
}

.tf-section__slot:has(> .tf-section[data-tf-type="home.map"]),
.tf-section__slot:has(.tf-section[data-tf-type="home.map"]) {
    overflow: visible !important;
    height: auto;
    min-height: 0;
    justify-content: center;
}

.tf-section[data-tf-type="home.map"] .tf-map,
.tf-map {
    width: 100%;
    display: block;
    padding-block: 24px;
    box-sizing: border-box;
}

.tf-section[data-tf-type="home.map"] .tf-map--title-hidden .tf-map__frame,
.tf-map--title-hidden .tf-map__frame,
.tf-section[data-tf-type="home.map"] .tf-map--title-hidden .tf-map__iframe,
.tf-map--title-hidden .tf-map__iframe,
.tf-section[data-tf-type="home.map"] .tf-map--title-hidden .tf-map__placeholder,
.tf-map--title-hidden .tf-map__placeholder {
    height: calc(var(--tf-map-height, 480px) + var(--tf-map-title-offset, 56px));
    min-height: calc(var(--tf-map-height, 480px) + var(--tf-map-title-offset, 56px));
}

.tf-section[data-tf-type="home.map"] .tf-map__title-wrap,
.tf-map__title-wrap {
    margin-bottom: 0;
}

.tf-section[data-tf-type="home.map"] .tf-map__title,
.tf-map__title {
    margin: 0 0 24px;
    color: var(--tf-map-title-color, inherit);
}

.tf-section[data-tf-type="home.map"] .tf-map__title h5,
.tf-map__title h5 {
    margin: 0;
    color: inherit;
    font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.5rem);
    font-weight: 600;
    line-height: 1.3;
}

.tf-section[data-tf-type="home.map"] .tf-map__frame-wrap,
.tf-map__frame-wrap {
    display: block;
    width: 100%;
}

.tf-section[data-tf-type="home.map"] .tf-map__frame,
.tf-map__frame {
    position: relative;
    display: block;
    width: 100%;
    height: var(--tf-map-height, 480px);
    min-height: var(--tf-map-height, 480px);
    line-height: 0;
    overflow: hidden;
    border-radius: var(--tf-map-radius, 0);
    flex-shrink: 0;
}

.tf-section[data-tf-type="home.map"] .tf-map__iframe,
.tf-map__iframe {
    display: block;
    width: 100%;
    height: var(--tf-map-height, 480px);
    min-height: var(--tf-map-height, 480px);
    border: 0;
}

.tf-section[data-tf-type="home.map"] .tf-map__placeholder,
.tf-map__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: var(--tf-map-height, 480px);
    min-height: var(--tf-map-height, 480px);
    background:
        linear-gradient(135deg, #eef2ff 0%, #e2e8f0 50%, #ecfdf5 100%);
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.tf-section[data-tf-type="home.map"] .tf-map__placeholder .bi,
.tf-map__placeholder .bi {
    font-size: 28px;
    color: #94a3b8;
}

.tf-section[data-tf-type="home.map"] .tf-map__directions,
.tf-map__directions {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    background: #fff;
    color: #1a1a18;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

.tf-section[data-tf-type="home.map"] .tf-map__directions .bi,
.tf-map__directions .bi {
    color: #2a75f3;
}

/* FAQ (SSS) — consume section CSS vars on storefront (default / studio themes) */
.tf-section[data-tf-type="cms.faq"] [data-tf-region="background"] {
    background-color: var(--tf-background);
    background-image: var(--tf-gradient, none);
}

.tf-section[data-tf-type="cms.faq"] .tf-faq-items .accordion-action,
.tf-section[data-tf-type="cms.faq"] .tf-faq-items details summary,
.tf-section[data-tf-type="cms.faq"] .tf-faq-items .tf-acc-item summary,
.tf-section[data-tf-type="cms.faq"] .tf-faq-items [data-tf-field="question"],
.tf-section[data-tf-type="cms.faq"] .tf-faq-items [data-tf-field="q"] {
    color: var(--tf-faq-question);
    font-size: var(--tf-faq-question-size);
    font-weight: var(--tf-faq-question-weight);
    font-family: var(--tf-faq-question-font);
}

.tf-section[data-tf-type="cms.faq"] .tf-faq-items [data-tf-field="answer"],
.tf-section[data-tf-type="cms.faq"] .tf-faq-items [data-tf-field="a"],
.tf-section[data-tf-type="cms.faq"] .tf-faq-items .tf-acc-item__body,
.tf-section[data-tf-type="cms.faq"] .tf-faq-items .accordion-content {
    color: var(--tf-faq-answer);
    font-size: var(--tf-faq-answer-size);
    font-weight: var(--tf-faq-answer-weight);
    font-family: var(--tf-faq-answer-font);
}

.tf-section[data-tf-type="cms.faq"] .tf-faq-items .accordion-item-4:has(.accordion-action:not(.collapsed)) .accordion-action,
.tf-section[data-tf-type="cms.faq"] .tf-faq-items .accordion-item-4:has(.accordion-action:not(.collapsed)) .accordion-action .text,
.tf-section[data-tf-type="cms.faq"] .tf-faq-items .accordion-item-4:has(.accordion-action:not(.collapsed)) .accordion-action .ic-ar,
.tf-section[data-tf-type="cms.faq"] .tf-faq-items .accordion-item-4:has(.accordion-action:not(.collapsed)) [data-tf-field="question"],
.tf-section[data-tf-type="cms.faq"] .tf-faq-items .accordion-item-4:has(.accordion-action:not(.collapsed)) [data-tf-field="q"],
.tf-section[data-tf-type="cms.faq"] .tf-faq-items .accordion-item-4:has(.accordion-action:not(.collapsed)) .accordion-content,
.tf-section[data-tf-type="cms.faq"] .tf-faq-items .accordion-item-4:has(.accordion-action:not(.collapsed)) [data-tf-field="answer"],
.tf-section[data-tf-type="cms.faq"] .tf-faq-items .accordion-item-4:has(.accordion-action:not(.collapsed)) [data-tf-field="a"] {
    color: #fff;
}

/* Product detail tabs — title / content typography */
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-action,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-action .tf-tab-title,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-action [data-tf-field="title"],
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs .tf-btn-tab,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs .tf-btn-tab [data-tf-field="title"],
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-desc-open .tf-btn-tab,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-desc-open .tf-btn-tab [data-tf-field="title"] {
    color: var(--tf-title-color);
    font-size: var(--tf-title-font-size);
    font-weight: var(--tf-title-font-weight);
    font-family: var(--tf-title-font-family);
}

.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-content,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-content .tf-pd__desc,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-content .tf-pd-features,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-content .cl-text-5,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-content .product-desc_benefit,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-content .product-desc_benefit .title,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-accordion .accordion-content .product-desc_benefit .desc,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs .tab-pane,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs .tab-pane .tf-pd__desc,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs .tab-pane .tf-pd-features,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs .tab-pane .cl-text-5,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs .tab-pane [data-tf-field="content"],
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs .tab-pane .product-desc_benefit,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs .tab-pane .product-desc_benefit .title,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-tabs .tab-pane .product-desc_benefit .desc,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-desc-open .tab-pane,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-desc-open .tab-pane .tf-pd__desc,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-desc-open .tab-pane .cl-text-5,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-desc-open .tab-pane [data-tf-field="content"],
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-desc-open .tab-pane .product-desc_benefit,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-desc-open .tab-pane .product-desc_benefit .title,
.tf-section[data-tf-type="product.detail_tabs"] .tf-product-desc-open .tab-pane .product-desc_benefit .desc {
    color: var(--tf-answer-color);
    font-size: var(--tf-answer-font-size);
    font-weight: var(--tf-answer-font-weight);
    font-family: var(--tf-answer-font-family);
}
