/*
Theme Name:   Taşar Kuyumculuk
Theme URI:    https://tasarkuyumculuk.com
Description:  Taşar Kuyumculuk için hazırlanmış Astra alt teması. Altın, siyah ve beyaz esaslı lüks kuyumcu tasarımı; canlı altın fiyatlandırma eklentisi ile uyumludur.
Author:       A-Tekno Yazılım Departmanı
Author URI:   https://a-tekno.com
Template:     astra
Version:      1.5.1
Text Domain:  tasar-kuyumcu
*/

/* ============================================================
   1. TASARIM SİSTEMİ
   Marka altını logodan örneklendi: #CBA250
   ============================================================ */

:root {
    /* Marka renkleri */
    --tk-gold: #CBA250;
    --tk-gold-light: #E0C07A;
    --tk-gold-pale: #F2E6CC;
    --tk-gold-dark: #A8823A;

    /* Sıcak siyah — saf #000 altının yanında ucuz durur */
    --tk-black: #14110E;
    --tk-charcoal: #2A2622;
    --tk-slate: #4A443C;

    /* Nötrler */
    --tk-cream: #FAF7F1;
    --tk-white: #FFFFFF;
    --tk-line: #E8E1D4;
    --tk-muted: #7A7268;

    /* Tipografi */
    --tk-font-display: "Playfair Display", "Georgia", "Times New Roman", serif;
    --tk-font-body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Ölçek */
    --tk-space: clamp(3rem, 7vw, 6.5rem);
    --tk-radius: 2px;

    /* Hareket */
    --tk-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --tk-dur: 0.7s;
}

/* ============================================================
   2. TEMEL
   ============================================================ */

body {
    background: var(--tk-cream);
    color: var(--tk-charcoal);
    font-family: var(--tk-font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.entry-title,
.woocommerce-loop-product__title,
.product_title {
    font-family: var(--tk-font-display);
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--tk-black);
}

/* Bölüm başlığı — altın kısa çizgi ile */
.tk-section-title {
    text-align: center;
    margin-bottom: 2.8rem;
}

.tk-section-title .tk-eyebrow {
    display: block;
    font-family: var(--tk-font-body);
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--tk-gold-dark);
    margin-bottom: 0.7rem;
}

.tk-section-title h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    margin: 0 0 1rem;
}

.tk-section-title h2::after {
    content: "";
    display: block;
    width: 54px;
    height: 1px;
    margin: 1rem auto 0;
    background: linear-gradient(90deg, transparent, var(--tk-gold), transparent);
}

/* ============================================================
   3. CANLI ALTIN FİYAT ÇUBUĞU
   A-Tekno Kuyumcu eklentisinin çıktısını markaya uyarlar.
   ============================================================ */

#atekno-ticker {
    background: var(--tk-black) !important;
    color: var(--tk-cream) !important;
    font-family: var(--tk-font-body) !important;
    font-size: 12.5px !important;
    letter-spacing: 0.04em;
    padding: 9px 16px !important;
    gap: 26px !important;
    border-bottom: 1px solid rgba(203, 162, 80, 0.28);
}

#atekno-ticker b {
    color: var(--tk-gold) !important;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

#atekno-ticker .at-item {
    position: relative;
    padding-right: 26px;
}

#atekno-ticker .at-item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(203, 162, 80, 0.45);
}

#atekno-ticker .at-item:last-of-type::after { display: none; }

#atekno-ticker .at-time {
    opacity: 0.55 !important;
    font-size: 10.5px !important;
    letter-spacing: 0.1em;
}

#atekno-ticker .at-stale {
    background: #8C2F2A !important;
    border-radius: 100px !important;
    padding: 3px 12px !important;
    font-size: 10.5px !important;
    letter-spacing: 0.06em;
}

/* ============================================================
   4. HEADER — sabit, kaydırınca incelir
   ============================================================ */

.site-header {
    background: var(--tk-white);
    border-bottom: 1px solid var(--tk-line);
    transition: box-shadow 0.4s var(--tk-ease), padding 0.4s var(--tk-ease);
}

.site-header::after {
    content: "";
    display: block;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--tk-gold-dark) 18%,
        var(--tk-gold-light) 50%,
        var(--tk-gold-dark) 82%,
        transparent 100%);
    opacity: 0.75;
}

body.tk-scrolled .site-header {
    box-shadow: 0 6px 28px rgba(20, 17, 14, 0.09);
}

body.tk-scrolled .ast-primary-header-bar {
    padding-top: 4px;
    padding-bottom: 4px;
}

.site-header .custom-logo-link img,
.site-header .site-logo-img img {
    transition: max-height 0.4s var(--tk-ease);
}

body.tk-scrolled .site-header .custom-logo-link img {
    max-height: 46px;
}

/* Menü — altın alt çizgi animasyonu */
.main-header-menu > .menu-item > a {
    font-size: 0.83rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    position: relative;
}

.main-header-menu > .menu-item > a::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 12px;
    height: 1px;
    background: var(--tk-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--tk-ease);
}

.main-header-menu > .menu-item:hover > a::after,
.main-header-menu > .current-menu-item > a::after {
    transform: scaleX(1);
}

/* ============================================================
   5. BUTONLAR
   ============================================================ */

.entry-content a.tk-btn,
.tk-hero a.tk-btn,
a.tk-btn,
.tk-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.ast-button {
    position: relative;
    text-decoration: none !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--tk-black);
    color: var(--tk-cream) !important;
    border: 1px solid var(--tk-black);
    border-radius: var(--tk-radius);
    padding: 0.95rem 2.2rem;
    font-family: var(--tk-font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    overflow: hidden;
    transition: color 0.4s var(--tk-ease), border-color 0.4s var(--tk-ease);
    z-index: 0;
}

/* Altın dolgu soldan kayarak gelir */
.tk-btn::before,
.woocommerce a.button::before,
.woocommerce button.button::before,
.ast-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--tk-gold);
    transform: translateX(-101%);
    transition: transform 0.5s var(--tk-ease);
    z-index: -1;
}

.tk-btn:hover::before,
.woocommerce a.button:hover::before,
.woocommerce button.button:hover::before,
.ast-button:hover::before {
    transform: translateX(0);
}

.tk-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    color: var(--tk-black) !important;
    border-color: var(--tk-gold);
}

/* İkincil — altın çerçeve */
.tk-btn--ghost {
    background: transparent;
    color: var(--tk-black) !important;
    border-color: var(--tk-gold);
}

/* Hero içindeki buton: zemin siyah olduğu için siyah buton görünmez.
   Burada altın dolgu + siyah metin kullanılır. */
.tk-hero a.tk-btn {
    background: var(--tk-gold);
    color: var(--tk-black) !important;
    border-color: var(--tk-gold);
}

.tk-hero a.tk-btn::before {
    background: var(--tk-white);
}

.tk-hero a.tk-btn:hover {
    color: var(--tk-black) !important;
    border-color: var(--tk-white);
}

/* ============================================================
   6. HERO
   ============================================================ */

.tk-hero {
    position: relative;
    min-height: clamp(420px, 74vh, 720px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--tk-black);
    /* İçerik kabından taşıp tam genişliğe yayılır */
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Ana sayfada başlık ve içerik kabı boşluklarını kaldır —
   hero'nun kenardan kenara oturması için. */
.home .entry-title,
.home .ast-archive-description,
.page-template-default.home .entry-header {
    display: none !important;
}

/* Hero'nun header'a yapışması için üstteki tüm boşlukları kaldır. */
.home .site-content .ast-container,
.home .entry-content > .tk-hero,
.home .site-main .ast-article-single,
.home .site-main .entry-content,
.home .site-content > .ast-container,
.home #primary,
.home .ast-article-single {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.home .entry-content > *:first-child { margin-top: 0 !important; }

.tk-hero__media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    /* Yavaş Ken Burns — sakin, göz yormayan */
    animation: tk-kenburns 26s ease-in-out infinite alternate;
}

@keyframes tk-kenburns {
    from { transform: scale(1) translate3d(0, 0, 0); }
    to   { transform: scale(1.08) translate3d(0, -1.5%, 0); }
}

.tk-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
        rgba(20, 17, 14, 0.78) 0%,
        rgba(20, 17, 14, 0.42) 46%,
        rgba(20, 17, 14, 0.12) 100%);
}

.tk-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.2rem, 5vw, 4rem);
    width: 100%;
}

.tk-hero__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--tk-gold);
    margin-bottom: 1.1rem;
}

.tk-hero__title {
    font-family: var(--tk-font-display);
    font-size: clamp(2.1rem, 6vw, 4.1rem);
    line-height: 1.12;
    color: var(--tk-white);
    margin: 0 0 1.2rem;
    max-width: 15ch;
}

.tk-hero__title em {
    font-style: italic;
    color: var(--tk-gold-light);
}

.tk-hero__text {
    color: rgba(255, 255, 255, 0.82);
    max-width: 46ch;
    margin-bottom: 2.1rem;
}

/* ============================================================
   7. DAİRESEL KATEGORİ KARTLARI
   Logodaki daire motifinin tekrarı.
   ============================================================ */

.tk-cats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: clamp(1.2rem, 3vw, 2.6rem);
    max-width: 1100px;
    margin: 0 auto;
}

.tk-cat__ring {
    /* span varsayılan olarak inline'dır; block olmadan width ve
       aspect-ratio uygulanmaz ve daire yerine elips oluşur. */
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    background: var(--tk-white);
}

.tk-cat__ring img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.9s var(--tk-ease);
}

/* Altın halka hover'da çizilir */
.tk-cat__ring::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid var(--tk-gold);
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 0.5s var(--tk-ease), transform 0.5s var(--tk-ease);
}

.tk-cat:hover .tk-cat__ring::after {
    opacity: 1;
    transform: scale(1.045);
}

.tk-cat:hover .tk-cat__ring img {
    transform: scale(1.09);
}

.tk-cat {
    text-align: center;
    text-decoration: none !important;
    display: block;
    margin-bottom: 0.5rem;
}

.tk-cat__label {
    display: block;
    margin-top: 1rem;
    line-height: 1.4;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--tk-charcoal);
    transition: color 0.35s var(--tk-ease);
}

.tk-cat:hover .tk-cat__label { color: var(--tk-gold-dark); }

/* ============================================================
   8. ÜRÜN KARTLARI
   ============================================================ */

.woocommerce ul.products li.product {
    background: var(--tk-white);
    border: 1px solid var(--tk-line);
    border-radius: var(--tk-radius);
    padding: 0 0 1.4rem;
    overflow: hidden;
    transition: border-color 0.45s var(--tk-ease), box-shadow 0.45s var(--tk-ease), transform 0.45s var(--tk-ease);
}

.woocommerce ul.products li.product:hover {
    border-color: var(--tk-gold);
    box-shadow: 0 18px 44px rgba(20, 17, 14, 0.10);
    transform: translateY(-4px);
}

.woocommerce ul.products li.product a img {
    margin-bottom: 1.1rem;
    transition: transform 0.9s var(--tk-ease);
}

.woocommerce ul.products li.product:hover a img { transform: scale(1.055); }

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.98rem !important;
    padding: 0 1.1rem !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.45;
}

.woocommerce ul.products li.product .price {
    display: block;
    padding: 0 1.1rem;
    color: var(--tk-gold-dark) !important;
    font-size: 1.06rem !important;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* Gram / ayar rozetleri — eklentinin meta verisinden */
.tk-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0 1.1rem;
    margin-bottom: 0.6rem;
}

.tk-spec {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid var(--tk-line);
    border-radius: 100px;
    padding: 0.22rem 0.7rem;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: var(--tk-slate);
    background: var(--tk-cream);
}

.tk-spec--gold {
    border-color: var(--tk-gold-pale);
    color: var(--tk-gold-dark);
}

/* "Canlı fiyat" işareti */
.tk-live {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tk-muted);
    padding: 0 1.1rem;
    margin-top: 0.3rem;
}

.tk-live::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--tk-gold);
    animation: tk-pulse 2.4s ease-in-out infinite;
}

@keyframes tk-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.35; transform: scale(0.82); }
}

/* ============================================================
   9. ÜRÜN DETAY — eklenti çıktısını markaya uyarlar
   ============================================================ */

.atekno-breakdown {
    background: var(--tk-white) !important;
    border: 1px solid var(--tk-line) !important;
    border-left: 2px solid var(--tk-gold) !important;
    border-radius: var(--tk-radius) !important;
    padding: 1.1rem 1.4rem !important;
    font-size: 0.9rem !important;
}

.atekno-breakdown td { padding: 0.28rem 1rem 0.28rem 0 !important; }
.atekno-breakdown b { color: var(--tk-gold-dark); }

.atekno-wa-btn {
    background: var(--tk-black) !important;
    border: 1px solid var(--tk-black);
    border-radius: var(--tk-radius) !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.78rem !important;
    padding: 1rem 2rem !important;
    transition: background 0.4s var(--tk-ease), color 0.4s var(--tk-ease), border-color 0.4s var(--tk-ease);
}

.atekno-wa-btn:hover {
    background: var(--tk-gold) !important;
    color: var(--tk-black) !important;
    border-color: var(--tk-gold);
}

.woocommerce div.product p.price {
    color: var(--tk-gold-dark) !important;
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   10. GÜVEN ŞERİDİ
   ============================================================ */

.tk-trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    background: var(--tk-line);
    border-block: 1px solid var(--tk-line);
}

.tk-trust__item {
    background: var(--tk-cream);
    padding: 2rem 1.4rem;
    text-align: center;
}

.tk-trust__icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 0.9rem;
    border-radius: 50%;
    border: 1px solid var(--tk-gold);
    display: grid;
    place-items: center;
    color: var(--tk-gold-dark);
    font-size: 1.05rem;
}

.tk-trust__title {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--tk-black);
    margin-bottom: 0.25rem;
}

.tk-trust__text {
    font-size: 0.82rem;
    color: var(--tk-muted);
    margin: 0;
}

/* ============================================================
   11. FOOTER
   ============================================================ */

.site-footer,
.ast-small-footer,
.footer-adv {
    background: var(--tk-black) !important;
    color: rgba(250, 247, 241, 0.72) !important;
}

.site-footer a,
.ast-small-footer a {
    color: rgba(250, 247, 241, 0.72) !important;
    transition: color 0.3s var(--tk-ease);
}

.site-footer a:hover,
.ast-small-footer a:hover { color: var(--tk-gold) !important; }

.site-footer h2,
.site-footer h3,
.site-footer .widget-title {
    color: var(--tk-gold) !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: var(--tk-font-body) !important;
}

/* ============================================================
   11b. HEADER AKSİYONLARI — hesap ve sepet
   ============================================================ */

.tk-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-left: 1.2rem;
}

/* Menüye enjekte edilen aksiyon öğeleri normal menü linki gibi davranmasın */
.main-header-menu > .tk-menu-action > a,
.tk-menu-action > a {
    padding: 0 !important;
}

.main-header-menu > .tk-menu-action > a::after,
.tk-menu-action > a::after {
    display: none !important; /* altın alt çizgi animasyonu bunlara uygulanmasın */
}

.tk-menu-action {
    display: flex !important;
    align-items: center;
    margin-left: 0.5rem;
}

.tk-menu-action .tk-hbtn { margin: 0 0.15rem; }

.tk-menu-cart { margin-left: 0.4rem; }

.tk-hbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--tk-radius);
    padding: 0.55rem 1.15rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.35s var(--tk-ease), color 0.35s var(--tk-ease), border-color 0.35s var(--tk-ease);
}

.tk-hbtn--ghost {
    color: var(--tk-charcoal) !important;
    border: 1px solid var(--tk-line);
    background: transparent;
}

.tk-hbtn--ghost:hover {
    border-color: var(--tk-gold);
    color: var(--tk-gold-dark) !important;
}

.tk-hbtn--solid {
    background: var(--tk-black);
    color: var(--tk-cream) !important;
    border: 1px solid var(--tk-black);
}

.tk-hbtn--solid:hover {
    background: var(--tk-gold);
    border-color: var(--tk-gold);
    color: var(--tk-black) !important;
}

/* --- Sepet ikonu --- */

.tk-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--tk-charcoal) !important;
    text-decoration: none !important;
    transition: background 0.35s var(--tk-ease), color 0.35s var(--tk-ease);
}

.tk-cart:hover {
    background: var(--tk-gold-pale);
    color: var(--tk-gold-dark) !important;
}

.tk-cart__ico { display: inline-flex; }

/* Sayaç rozeti */
.tk-cart__sayi {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 100px;
    background: var(--tk-gold);
    color: var(--tk-black);
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 19px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 0 0 2px var(--tk-white);
    transition: transform 0.35s var(--tk-ease);
}

.tk-cart__sayi.is-empty { display: none; }

/* Sepete ürün eklendiğinde kısa bir vurgu */
@keyframes tk-cart-pop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.35); }
    100% { transform: scale(1); }
}

.tk-cart__sayi.tk-pop,
.tk-fab__sayi.tk-pop { animation: tk-cart-pop 0.45s var(--tk-ease); }

/* ============================================================
   11c. MOBİL YÜZEN SEPET DÜĞMESİ
   ============================================================ */

.tk-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 9990;
    display: none; /* yalnızca mobilde */
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--tk-black);
    color: var(--tk-gold) !important;
    text-decoration: none !important;
    box-shadow: 0 8px 26px rgba(20, 17, 14, 0.34);
    transition: transform 0.4s var(--tk-ease), background 0.35s var(--tk-ease);
    /* iPhone alt çubuğunun altına girmesin */
    margin-bottom: env(safe-area-inset-bottom, 0px);
}

.tk-fab:active { transform: scale(0.93); }

.tk-fab__sayi {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 100px;
    background: var(--tk-gold);
    color: var(--tk-black);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 0 0 2px var(--tk-black);
}

.tk-fab__sayi.is-empty { display: none; }

@media (max-width: 921px) {
    .tk-fab { display: inline-flex; }

    /* Header'da yer darsa metin butonları küçült */
    .tk-header-actions { gap: 0.35rem; margin-left: 0.5rem; }
    .tk-hbtn { padding: 0.45rem 0.8rem; font-size: 0.66rem; letter-spacing: 0.1em; }
}

@media (max-width: 480px) {
    /* Çok dar ekranda "Üye Ol" yeter; "Giriş Yap" hesap ikonuna düşer */
    .tk-hbtn--ghost { display: none; }
}

/* ============================================================
   12. KAYDIRMA ANİMASYONLARI
   IntersectionObserver ile — sıfır kütüphane.
   ============================================================ */

.tk-reveal {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition:
        opacity var(--tk-dur) var(--tk-ease),
        transform var(--tk-dur) var(--tk-ease);
    will-change: opacity, transform;
}

.tk-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Izgaralarda kademeli giriş */
.tk-reveal[data-tk-delay="1"] { transition-delay: 0.08s; }
.tk-reveal[data-tk-delay="2"] { transition-delay: 0.16s; }
.tk-reveal[data-tk-delay="3"] { transition-delay: 0.24s; }
.tk-reveal[data-tk-delay="4"] { transition-delay: 0.32s; }
.tk-reveal[data-tk-delay="5"] { transition-delay: 0.40s; }

/* Erişilebilirlik: hareket hassasiyeti olan kullanıcılar için kapalı */
@media (prefers-reduced-motion: reduce) {
    .tk-reveal,
    .tk-reveal.is-visible {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .tk-hero__media { animation: none !important; }
    .tk-live::before { animation: none !important; }
    * { scroll-behavior: auto !important; }
}

/* ============================================================
   13. YARDIMCILAR
   ============================================================ */

.tk-section { padding-block: var(--tk-space); }
.tk-section--dark { background: var(--tk-black); color: rgba(250, 247, 241, 0.8); }
.tk-section--dark h2 { color: var(--tk-white); }
.tk-wrap { max-width: 1200px; margin-inline: auto; padding-inline: clamp(1.2rem, 5vw, 3rem); }

::selection { background: var(--tk-gold); color: var(--tk-black); }

/* Odak halkası — klavye ile gezinenler için görünür olmalı */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--tk-gold-dark);
    outline-offset: 3px;
}

/* İnce altın kaydırma çubuğu */
@media (min-width: 782px) {
    ::-webkit-scrollbar { width: 10px; }
    ::-webkit-scrollbar-track { background: var(--tk-cream); }
    ::-webkit-scrollbar-thumb {
        background: var(--tk-gold-pale);
        border: 3px solid var(--tk-cream);
        border-radius: 100px;
    }
    ::-webkit-scrollbar-thumb:hover { background: var(--tk-gold); }
}

/* ============================================================
 * HEADER AKSİYON KABI
 * Menüye <li> içinde ya da JS ile doğrudan header'a eklenir.
 * ============================================================ */

.tk-hactions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* JS yedek yolu ile header'a eklendiyse biraz nefes payı ver */
.tk-hactions-js .site-header .tk-hactions {
    margin-left: auto;
    padding-left: 1rem;
}

/* ============================================================
 * FOOTER
 * Astra'nın kendi footer'ı gizlenir; kendi yapımızı basarız.
 * ============================================================ */

.site-footer .site-above-footer-wrap,
.site-footer .site-primary-footer-wrap,
.site-footer .site-below-footer-wrap,
.ast-small-footer {
    display: none !important;
}

.tk-footer {
    background: var(--tk-black);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    line-height: 1.75;
    /* İçerik dar bir kapta olsa bile footer tam genişlik olsun */
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.tk-footer__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 4.5rem 1.5rem 3rem;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 3rem 2.5rem;
}

.tk-footer__logo {
    font-family: var(--tk-font-display, Georgia, serif);
    font-size: 1.5rem;
    letter-spacing: 0.02em;
    color: var(--tk-gold);
    margin-bottom: 0.9rem;
}

.tk-footer__slogan {
    margin: 0 0 1.6rem;
    max-width: 32ch;
    color: rgba(255, 255, 255, 0.6);
}

.tk-footer__baslik {
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 1.2rem;
    padding-bottom: 0.7rem;
    position: relative;
}

.tk-footer__baslik::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 1px;
    background: var(--tk-gold);
}

.tk-footer__liste {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tk-footer__liste li { margin-bottom: 0.55rem; }

.tk-footer__liste a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.3s var(--tk-ease), padding-left 0.3s var(--tk-ease);
}

.tk-footer__liste a:hover {
    color: var(--tk-gold);
    padding-left: 4px;
}

.tk-footer__liste--iletisim li {
    margin-bottom: 0.85rem;
    color: rgba(255, 255, 255, 0.62);
}

.tk-footer__saat {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45) !important;
}

/* Sosyal ikonlar */
.tk-social {
    display: flex;
    gap: 0.6rem;
}

.tk-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.35s var(--tk-ease);
}

.tk-social a:hover {
    background: var(--tk-gold);
    border-color: var(--tk-gold);
    color: var(--tk-black);
    transform: translateY(-2px);
}

/* Alt şerit */
.tk-footer__alt {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tk-footer__altinner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.4rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
}

.tk-footer__telif {
    margin: 0;
    color: rgba(255, 255, 255, 0.45);
}

.tk-footer__yasal {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    margin: 0;
    padding: 0;
}

.tk-footer__yasal a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.3s var(--tk-ease);
}

.tk-footer__yasal a:hover { color: var(--tk-gold); }

/* Mobilde yüzen sepet düğmesinin altına denk gelmesin */
@media (max-width: 768px) {
    .tk-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 2.2rem 1.5rem;
        padding: 3rem 1.25rem 2rem;
    }
    .tk-footer__col--brand { grid-column: 1 / -1; }
    .tk-footer__altinner {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 5.5rem; /* yüzen sepet düğmesi için pay */
    }
    .tk-footer__yasal { gap: 1rem; }
}

@media (max-width: 480px) {
    .tk-footer__inner { grid-template-columns: 1fr; }
}

/* Yasal sayfalarda okunabilir metin genişliği */
.page .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.page .entry-content table th,
.page .entry-content table td {
    border: 1px solid var(--tk-line);
    padding: 0.7rem 0.9rem;
    text-align: left;
}

.page .entry-content table th {
    background: var(--tk-cream);
    font-weight: 600;
}

/* ============================================================
 * HESABIM — Giriş / Üye Ol sekmeleri
 * ============================================================ */

.tk-hesap-sekme {
    display: flex;
    gap: 0;
    max-width: 520px;
    margin: 0 auto 2rem;
    border-bottom: 1px solid var(--tk-line);
}

.tk-sekme {
    flex: 1;
    appearance: none;
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    padding: 0.9rem 0.5rem;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(42, 38, 34, 0.5);
    cursor: pointer;
    transition: color 0.3s var(--tk-ease), border-color 0.3s var(--tk-ease);
}

.tk-sekme:hover { color: var(--tk-charcoal); }

.tk-sekme.tk-aktif {
    color: var(--tk-charcoal);
    border-bottom-color: var(--tk-gold);
}

/* Sekmeli görünümde sütunlar üst üste değil, seçili olan tek başına */
.tk-sekmeli.u-columns,
.tk-sekmeli {
    display: block !important;
    max-width: 520px;
    margin: 0 auto;
}

.tk-sekmeli > .u-column1,
.tk-sekmeli > .u-column2 {
    display: none !important;
    width: 100% !important;
    float: none !important;
    max-width: 100% !important;
    padding: 0 !important;
}

.tk-sekmeli > .tk-aktif { display: block !important; }

/* Sekme varken formların kendi başlıkları gereksiz */
.tk-sekmeli > .u-column1 > h2,
.tk-sekmeli > .u-column2 > h2 { display: none; }

/* ============================================================
 * SOSYAL GİRİŞ (Nextend Social Login ile)
 * Eklenti kurulu değilse bu blokların hiçbiri basılmaz.
 * ============================================================ */

.tk-sosyal { margin-top: 1.6rem; }

.tk-sosyal__ayrac {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    color: rgba(42, 38, 34, 0.45);
}

.tk-sosyal__ayrac::before,
.tk-sosyal__ayrac::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--tk-line);
}

/* Eklentinin kendi düğmesini bizim tasarımımıza uydur */
.tk-sosyal .nsl-container,
.tk-sosyal .nsl-container-buttons { margin: 0 !important; }

.tk-sosyal .nsl-button {
    border-radius: var(--tk-radius) !important;
    box-shadow: none !important;
    border: 1px solid var(--tk-line) !important;
    transition: border-color 0.3s var(--tk-ease), transform 0.3s var(--tk-ease);
}

.tk-sosyal .nsl-button:hover {
    border-color: var(--tk-gold) !important;
    transform: translateY(-1px);
}

.tk-sosyal .nsl-button-label-container {
    font-family: inherit !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.02em !important;
}

/* ============================================================
 * HERO SLAYT GÖSTERİSİ
 * Birden fazla görsel verildiğinde arka plan yumuşak geçişle döner.
 * ============================================================ */

.tk-hero__medya {
    position: absolute;
    inset: 0;
}

.tk-hero__kare {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-image: var(--tk-web);
    opacity: 0;
    transition: opacity 1.4s var(--tk-ease);
    will-change: opacity;
}

/* Dar ekranda dikey görsel varsa onu kullan; yoksa masaüstü görseline düş.
   Tarayıcı yalnızca eşleşen medya sorgusundaki görseli indirir. */
@media (max-width: 768px) {
    .tk-hero__kare {
        background-image: var(--tk-mobil, var(--tk-web));
        background-position: center 30%;
    }
}

.tk-hero__kare.is-active {
    opacity: 1;
    /* Yalnızca görünen kare Ken Burns yapsın — boşuna işlemci yakmayalım */
    animation: tk-kenburns 22s ease-in-out infinite alternate;
}

/* Tek görsel varsa eski davranış aynen korunur */
.tk-hero:not(.tk-hero--slayt) .tk-hero__kare {
    opacity: 1;
    animation: tk-kenburns 26s ease-in-out infinite alternate;
}

/* Noktalar */
.tk-hero__noktalar {
    position: absolute;
    left: 50%;
    bottom: 1.8rem;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.6rem;
}

.tk-nokta {
    appearance: none;
    width: 34px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: background 0.4s var(--tk-ease), width 0.4s var(--tk-ease);
}

.tk-nokta:hover { background: rgba(255, 255, 255, 0.5); }

.tk-nokta.is-active {
    background: var(--tk-gold);
    width: 52px;
}

/* Dokunmatik hedefi büyüt — çizgi ince ama basılabilir alan geniş olsun */
.tk-nokta::before {
    content: "";
    position: absolute;
    top: -12px;
    bottom: -12px;
    left: 0;
    right: 0;
}

.tk-nokta { position: relative; }

@media (max-width: 600px) {
    .tk-hero__noktalar { bottom: 1.1rem; }
    .tk-nokta { width: 26px; }
    .tk-nokta.is-active { width: 40px; }
}

/* Hareket hassasiyeti: geçiş ve zoom kapansın, ilk görsel sabit kalsın */
@media (prefers-reduced-motion: reduce) {
    .tk-hero__kare {
        transition: none;
        animation: none !important;
    }
}
