/** paddingleri sıfırla **/
    .page-wrapper:has(.tf-jacq-section) {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}
    /**
 * Aynı sayfada ikinci ve sonraki TF Jacq elementleri üstten 5px boşluk alır.
 * Böylece 1. elementin ürünleri ile 2. elementin bannerları arasında gap 5px olur.
 */
.tf-jacq-section--stacked {
    margin-top: var(--tfj-gap);
}
        .tf-jacq-section,
        .tf-jacq-section * {
            box-sizing: border-box;
        }
        .tf-jacq-section {
            --tfj-text: #111;
            --tfj-soft: #f7f4ef;
            --tfj-gap: 5px;
            width: 100vw;
            margin-left: calc(50% - 50vw);
            margin-right: calc(50% - 50vw);
            color: var(--tfj-text);
            background: #fff;
            font-family: inherit;
        }
        .tf-jacq-section a {
            color: inherit;
            text-decoration: none;
        }
        /**
         * Each banner is grouped with its own products.
         * Desktop split: two groups side by side -> banners in one row,
         * product grids in the next (four cards across in total).
         * Mobile split: groups stack -> banner 1 / its products /
         * banner 2 / its products. Gaps between all sections: 5px.
         */
        .tf-jacq-layout {
            display: grid;
            grid-template-columns: 1fr;
            gap: var(--tfj-gap);
            width: 100%;
            background: #fff;
        }
        .tf-jacq-layout--split {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        .tf-jacq-group {
            min-width: 0;
        }
        .tf-jacq-banner {
            position: relative;
            display: block;
            overflow: hidden;
            background: #f5f2ed;
            color: #fff;
            text-decoration: none;
        }
        .tf-jacq-layout--split .tf-jacq-banner {
            aspect-ratio: 1 / 1;
        }
        .tf-jacq-layout--full .tf-jacq-banner {
            aspect-ratio: 16 / 7;
        }
        .tf-jacq-banner__visual {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .tf-jacq-banner__visual--mobile {
            display: none;
        }

        .tf-jacq-banner__media,
        .tf-jacq-banner__placeholder {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            object-position: center center;
            transition: transform 900ms ease;
        }
        .tf-jacq-banner:hover .tf-jacq-banner__media {
            transform: scale(1.025);
        }
        .tf-jacq-banner__placeholder {
            background: #f2eee7;
        }
        /**
         * Banner yazıları sola yaslı.
         */
        .tf-jacq-banner__title {
            position: absolute;
            left: 24px;
            right: 24px;
            bottom: 24px;
            transform: none;
            z-index: 2;
            color: #fff;
            font-size: clamp(16px, 2vw, 26px);
            line-height: 1.05;
            font-weight: 400;
            letter-spacing: .02em;
            text-align: left;
            text-shadow: 0 1px 18px rgba(0, 0, 0, .24);
            white-space: normal;
        }
        /**
         * Two products per banner in split mode; four in full mode.
         * Together, split groups still form a full-width 4-column row.
         */
        .tf-jacq-products {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: var(--tfj-gap);
            margin-top: var(--tfj-gap);
            background: #fff;
            border: 0;
        }
        .tf-jacq-products--full {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }
        .tf-jacq-product {
            min-width: 0;
            background: #fff;
        }
        .tf-jacq-product__visual {
            position: relative;
            aspect-ratio: 3 / 4;
            overflow: hidden;
            background: var(--tfj-soft);
        }
        .tf-jacq-product__imageLink {
            position: absolute;
            inset: 0;
            display: block;
            z-index: 1;
        }
        .tf-jacq-product__image {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            opacity: 0;
            transform: scale(1.01);
            transition:
                opacity 260ms ease,
                transform 700ms ease;
        }
        .tf-jacq-product__image.is-active {
            opacity: 1;
            transform: scale(1);
        }
        /**
         * Desktop'ta ürün bilgisi sadece hover'da görünür.
         */
        .tf-jacq-product__overlay {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 3;
            min-height: 92px;
            padding: 13px 14px 14px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 14px;
            color: var(--tfj-text);
            background: linear-gradient(
                to top,
                rgba(255, 255, 255, .95),
                rgba(255, 255, 255, .78),
                rgba(255, 255, 255, 0)
            );
            opacity: 0;
            transform: translateY(8px);
            pointer-events: none;
            transition:
                opacity 220ms ease,
                transform 220ms ease;
        }
        .tf-jacq-product:hover .tf-jacq-product__overlay,
        .tf-jacq-product:focus-within .tf-jacq-product__overlay {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }
        .tf-jacq-product__topline,
        .tf-jacq-product__bottomline {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            width: 100%;
        }
        .tf-jacq-product__badge {
            font-size: 11px;
            line-height: 1;
            padding: 6px 8px;
            border: 1px solid rgba(0, 0, 0, .18);
            border-radius: 999px;
            background: rgba(255, 255, 255, .78);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            white-space: nowrap;
        }
        .tf-jacq-product__swatches {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 5px;
            margin-left: auto;
        }
        .tf-jacq-product__swatch {
            width: 11px;
            height: 11px;
            display: inline-block;
            border-radius: 999px;
            background: var(--swatch);
            border: 1px solid rgba(0, 0, 0, .12);
        }
        .tf-jacq-product__swatch.is-bordered {
            border-color: rgba(0, 0, 0, .34);
        }
        .tf-jacq-product__swatchMore {
            font-size: 10px;
            line-height: 1;
            opacity: .7;
        }
        .tf-jacq-product__name,
        .tf-jacq-product__price {
            font-size: 13px;
            line-height: 1.2;
            font-weight: 400;
            letter-spacing: .02em;
        }
        .tf-jacq-product__name {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .tf-jacq-product__price {
            flex: 0 0 auto;
            white-space: nowrap;
            text-align: right;
        }
        .tf-jacq-product__price del {
            opacity: .48;
            margin-right: 5px;
        }
        .tf-jacq-product__price ins {
            text-decoration: none;
        }
        /**
 * Görsel değiştirme okları
 * Sol ve sağ okun kenara mesafesi optik olarak eşitlenir.
 */
.tf-jacq-product__arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 5;
    width: 56px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #111;
    cursor: pointer;
    opacity: 0;
    transition: opacity 200ms ease;
    padding: 0;
    /**
     * İçerideki ‹ › karakterlerini görünmez yapıyoruz.
     * Oku CSS çizimiyle üretiyoruz.
     */
    font-size: 0;
    line-height: 0;
}
.tf-jacq-product__arrow--prev {
    left: 0;
}
.tf-jacq-product__arrow--next {
    right: 0;
}
.tf-jacq-product__arrow::before {
    content: "";
    width: 9px;
    height: 9px;
    display: block;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
}
.tf-jacq-product__arrow--prev::before {
    transform: rotate(-135deg);
}
.tf-jacq-product__arrow--next::before {
    transform: rotate(45deg);
}
.tf-jacq-product:hover .tf-jacq-product__arrow,
.tf-jacq-product:focus-within .tf-jacq-product__arrow {
    opacity: 1;
}
        @media (max-width: 1024px) {
            .tf-jacq-product__name,
            .tf-jacq-product__price {
                font-size: 12px;
            }
        }
        @media (max-width: 849px) {
            /* Mobile split must always be: B1 -> two products -> B2 -> two products. */
            .tf-jacq-layout--split {
                grid-template-columns: 1fr;
                row-gap: var(--tfj-gap);
            }
            .tf-jacq-layout--split .tf-jacq-banner {
                aspect-ratio: var(--tfj-mobile-split-ratio, 1 / 1);
            }
            .tf-jacq-layout--full .tf-jacq-banner {
                aspect-ratio: var(--tfj-mobile-full-ratio, 4 / 5);
            }
            .tf-jacq-banner__visual--desktop {
                display: none;
            }

            .tf-jacq-banner__visual--mobile {
                display: block;
            }

            .tf-jacq-banner__media {
                object-position: var(--tfj-banner-mobile-focus, center center);
            }

            .tf-jacq-banner__title {
                left: 16px;
                right: 16px;
                bottom: 18px;
                text-align: left;
            }
            .tf-jacq-products--full {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            .tf-jacq-section--mobile-info .tf-jacq-product__overlay {
                opacity: 1;
                transform: none;
                min-height: 76px;
                padding: 10px;
                pointer-events: auto;
            }
            .tf-jacq-product__topline {
                gap: 8px;
            }
            .tf-jacq-product__bottomline {
                align-items: flex-start;
                flex-direction: column;
                gap: 3px;
            }
            .tf-jacq-product__name,
            .tf-jacq-product__price {
                font-size: 11px;
                width: 100%;
                text-align: left;
            }
            .tf-jacq-product__arrow {
        opacity: 1;
        width: 42px;
        height: 100%;
    }
    .tf-jacq-product__arrow::before {
        width: 8px;
        height: 8px;
    }
    .tf-jacq-product__arrow--prev {
        left: 0;
    }
    .tf-jacq-product__arrow--next {
        right: 0;
    }
        }

/* AJAX-rendered sections retain the same spacing as adjacent UX Builder sections. */
.tfj-live-preview + .tfj-live-preview { margin-top: 5px; }
.tfj-live-preview .tf-jacq-section--stacked { margin-top: 0; }
.tfj-live-preview__status { padding: 20px; font: 13px/1.4 Arial, sans-serif; color: #666; background:#f8f7f6; }
.tfj-live-preview__status[hidden] { display: none !important; }
