/* ==========================================================================
   Yorum Hizmet — "Mor Gece" Tema Katmanı (yd-modern.css)
   --------------------------------------------------------------------------
   Sadece görünüm: içerik, formlar ve çalışma mantığı değişmez.
   tailwind.min.css ve header içindeki satır içi stillerden SONRA yüklenir.

   Kimlik: Mor (violet) ana renk + zümrüt yeşili aksiyon + altın yıldız.
     Ana      #005B65  / açık #007B88 / koyu #002F35
     Aksiyon  #D25921  / hover #B64C1B
     Altın    #FFB21E
     Mürekkep #001D21  (koyu yüzey #001216)

   Bölümler:
     1. Tasarım değişkenleri        9. Paket seçici (kutucuklar)
     2. Temel ayarlar              10. Bölümler & hero
     3. Header & masaüstü nav      11. Formlar
     4. Mega menü                  12. Footer
     5. Mobil menü                 13. Yüzen öğeler
     6. Butonlar                   14. Sipariş sorgulama
     7. Kartlar & başlıklar        15. Koyu tema düzeltmeleri
     8. Paket kartları             16. Responsive / 17. Animasyonlar
   ========================================================================== */

/* ---------- 1. Tasarım değişkenleri ---------- */
:root,
[data-theme="light"] {
    --yd-primary: #005B65;
    --yd-primary-2: #007B88;
    --yd-primary-3: #009DAD;
    --yd-primary-deep: #002F35;
    --yd-accent: #D25921;
    --yd-accent-2: #F06A2D;
    --yd-gold: #FFB21E;
    --yd-ink: #001D21;

    --yd-radius: 16px;
    --yd-radius-lg: 22px;
    --yd-radius-xl: 30px;
    --yd-ease: cubic-bezier(.16, 1, .3, 1);

    --yd-surface: #ffffff;
    --yd-surface-2: #EDF8FA;
    --yd-surface-3: #DCF2F5;
    --yd-line: rgba(0, 91, 101, .09);
    --yd-line-strong: rgba(0, 91, 101, .18);
    --yd-nav-hover: rgba(0, 91, 101, .07);
    --yd-tint: rgba(0, 91, 101, .06);
    --yd-header-bg: rgba(255, 255, 255, .9);
    --yd-heading: #001D21;
    --yd-heading-2: #005B65;
    --yd-price: #002F35;

    --yd-shadow-xs: 0 1px 2px rgba(0, 29, 33, .06);
    --yd-shadow-sm: 0 1px 2px rgba(0, 29, 33, .04), 0 6px 18px -6px rgba(0, 91, 101, .12);
    --yd-shadow-md: 0 2px 6px rgba(0, 29, 33, .04), 0 16px 36px -12px rgba(0, 91, 101, .22);
    --yd-shadow-lg: 0 4px 10px rgba(0, 29, 33, .05), 0 30px 60px -20px rgba(0, 91, 101, .35);
    --yd-ring: 0 0 0 4px rgba(0, 123, 136, .18);

    /* Header'daki mevcut tema değişkenlerinin yeni tonları */
    --bg-primary: #EDF8FA;
    --bg-secondary: #FBFAFF;
    --bg-card: #ffffff;
    --text-primary: #001D21;
    --text-secondary: #20535A;
    --text-muted: #4B777E;
    --border-color: #D1EBF0;
    --border-light: #DEF2F5;
    --header-bg: #ffffff;
    --footer-bg: #001216;
    --dropdown-bg: #ffffff;
    --dropdown-hover: #E6F7F9;
    --mobile-hover: #E6F7F9;
    --input-bg: #ffffff;
    --notif-bg: #ffffff;
    --notif-border: #DEF2F5;
}

[data-theme="dark"] {
    --yd-primary: #00B6C9;
    --yd-primary-2: #64C7D5;
    --yd-primary-3: #86DCE9;
    --yd-surface: #001A1E;
    --yd-surface-2: #001418;
    --yd-surface-3: #002428;
    --yd-line: rgba(255, 255, 255, .07);
    --yd-line-strong: rgba(255, 255, 255, .14);
    --yd-nav-hover: rgba(255, 255, 255, .06);
    --yd-tint: rgba(0, 182, 201, .08);
    --yd-header-bg: rgba(0, 15, 17, .88);
    --yd-heading: #E7F8FA;
    --yd-heading-2: #64C7D5;
    --yd-price: #E7F8FA;
    --yd-shadow-xs: 0 1px 2px rgba(0, 0, 0, .4);
    --yd-shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 20px -8px rgba(0, 0, 0, .5);
    --yd-shadow-md: 0 2px 6px rgba(0, 0, 0, .3), 0 16px 36px -12px rgba(0, 0, 0, .6);
    --yd-shadow-lg: 0 4px 10px rgba(0, 0, 0, .35), 0 30px 60px -20px rgba(0, 0, 0, .75);
    --yd-ring: 0 0 0 4px rgba(0, 182, 201, .25);

    --bg-primary: #000F11;
    --bg-secondary: #001418;
    --bg-card: #001A1E;
    --text-primary: #E7F8FA;
    --text-secondary: #C0E0E5;
    --text-muted: #87B0B6;
    --border-color: #002C32;
    --border-light: #00282D;
    --shadow-color: rgba(0, 0, 0, .45);
    --header-bg: #000F11;
    --footer-bg: #00090B;
    --dropdown-bg: #001A1E;
    --dropdown-hover: #00282D;
    --mobile-hover: #00282D;
    --input-bg: #001418;
    --scrollbar-track: #001418;
    --notif-bg: #001A1E;
    --notif-border: #002C32;
    --whatsapp-tooltip-bg: #001A1E;
}

/* ---------- 2. Temel ayarlar ---------- */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 96px;
}
body { overflow-x: clip; font-feature-settings: "cv11", "ss01"; background-color: var(--bg-primary); }
::selection { background: rgba(0, 123, 136, .22); color: inherit; }

h1, h2, h3, h4 { letter-spacing: -.025em; text-wrap: balance; }
h1 { letter-spacing: -.04em; }
p, li { text-wrap: pretty; }
img, video, iframe { max-width: 100%; }
img { height: auto; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--yd-primary-2);
    outline-offset: 2px;
    border-radius: 8px;
}

@media (hover: hover) and (pointer: fine) {
    html { scrollbar-width: thin; scrollbar-color: rgba(0, 91, 101, .4) transparent; }
    html::-webkit-scrollbar { width: 10px; height: 10px; }
    html::-webkit-scrollbar-track { background: var(--bg-primary); }
    html::-webkit-scrollbar-thumb { background: linear-gradient(#007B88, #005B65); border-radius: 99px; border: 3px solid var(--bg-primary); }
}

/* Okuma ilerleme çubuğu (yd-modern.js ekler) */
.yd-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 100%;
    z-index: 70;
    transform-origin: 0 50%;
    transform: scaleX(var(--yd-p, 0));
    background: linear-gradient(90deg, #007B88, #D25921, #FFB21E);
    pointer-events: none;
}

/* ---------- 3. Header & masaüstü nav ---------- */
header.theme-header {
    background-color: var(--yd-header-bg) !important;
    box-shadow: none !important;
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
}
html.yd-scrolled header.theme-header {
    border-bottom-color: var(--yd-line);
    box-shadow: 0 12px 32px -20px rgba(0, 47, 53, .45) !important;
}
/* Logo kutusu (logo yüklenmediğinde) */
header.theme-header a[href="/"] > .bg-trust-blue {
    border-radius: 14px;
    background: conic-gradient(from 210deg, #007B88, #005B65, #D25921, #007B88) !important;
    box-shadow: 0 8px 20px -8px rgba(0, 91, 101, .7);
}
header.theme-header a[href="/"] > span.text-trust-blue { color: var(--yd-heading) !important; font-weight: 800; letter-spacing: -.03em; }

.yd-nav { gap: .15rem; padding: .3rem; border-radius: 999px; background: var(--yd-tint); }
@media (min-width: 1280px) { .yd-nav { gap: .25rem; } }
.yd-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .5rem .95rem;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: 0;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.yd-nav-link:hover,
.yd-mega.is-open > .yd-nav-link { color: var(--yd-primary); background: var(--yd-surface); box-shadow: var(--yd-shadow-xs); }
.yd-nav-link.is-active {
    color: #fff !important;
    background: linear-gradient(135deg, #007B88, #005B65);
    box-shadow: 0 6px 16px -6px rgba(0, 91, 101, .7);
}
.yd-chevron { width: .85rem; height: .85rem; transition: transform .25s var(--yd-ease); opacity: .75; }
.yd-mega.is-open .yd-chevron { transform: rotate(180deg); }

header.theme-header .border.theme-border-light {
    border-color: var(--border-color) !important;
    border-radius: 14px !important;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
header.theme-header a.border.theme-border-light:hover { border-color: var(--yd-line-strong) !important; box-shadow: var(--yd-shadow-xs); }
header.theme-header svg.text-trust-blue { color: var(--yd-primary) !important; }
@media (min-width: 1024px) {
    header.theme-header a[href="/giris-yap"] {
        background: linear-gradient(135deg, #F06A2D, #B64C1B);
        color: #fff !important;
        border-color: transparent !important;
        border-radius: 999px !important;
        padding-inline: 1.15rem;
        box-shadow: 0 8px 18px -8px rgba(210, 89, 33, .8);
    }
    header.theme-header a[href="/giris-yap"]:hover { filter: brightness(1.06); }
}
header.theme-header a[href="/sepet"] > span.absolute {
    box-shadow: 0 0 0 2px var(--header-bg);
    background: linear-gradient(135deg, #FF5C8A, #E0245E) !important;
}
#theme-toggle { border-radius: 14px; }
.account-dropdown-menu {
    border-radius: 18px !important;
    box-shadow: var(--yd-shadow-lg) !important;
    padding: .45rem !important;
    animation: ydPop .22s var(--yd-ease);
}
.account-dropdown-menu a { border-radius: 10px; }

#bkz-topbar { background: linear-gradient(90deg, #002F35 0%, #005B65 50%, #B64C1B 100%) !important; }
#bkz-topbar .bg-conversion-orange { background: #FFB21E !important; color: #002F35 !important; }

/* ---------- 4. Mega menü ---------- */
.yd-mega { position: static; }
.yd-mega-panel {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    z-index: 90;
    padding: 0 1rem 1.25rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px) scale(.99);
    pointer-events: none;
    transition: opacity .22s ease, transform .35s var(--yd-ease), visibility 0s linear .35s;
}
.yd-mega-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.yd-mega.is-open > .yd-mega-panel,
.yd-mega:focus-within > .yd-mega-panel {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: opacity .22s ease, transform .35s var(--yd-ease), visibility 0s;
}
.yd-mega-inner {
    max-width: 1216px;
    margin: .4rem auto 0;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr) 236px;
    background: var(--dropdown-bg);
    border: 1px solid var(--border-color);
    border-radius: 26px;
    box-shadow: var(--yd-shadow-lg);
    overflow: hidden;
}
.yd-mega-inner--tools { grid-template-columns: minmax(0, 1fr) 260px; }
.yd-mega-eyebrow {
    margin: 0 0 .8rem;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--yd-primary);
}
.yd-mega-side {
    padding: 1.5rem 1.1rem;
    background: var(--yd-surface-2);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.yd-mega-feature {
    display: flex; align-items: center; gap: .8rem;
    padding: .7rem .75rem;
    border-radius: 16px;
    color: var(--text-primary);
    font-size: .9rem;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.yd-mega-feature strong { font-weight: 700; }
.yd-mega-feature:hover { background: var(--dropdown-bg); box-shadow: var(--yd-shadow-sm); transform: translateX(3px); }
.yd-mega-ico {
    flex: none;
    width: 2.5rem; height: 2.5rem;
    display: grid; place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #009DAD, #005B65);
    box-shadow: 0 8px 16px -8px rgba(0, 91, 101, .8);
}
.yd-mega-feature:nth-child(3) .yd-mega-ico { background: linear-gradient(135deg, #FF8C5E, #B64C1B); box-shadow: 0 8px 16px -8px rgba(210, 89, 33, .8); }
.yd-mega-feature:nth-child(4) .yd-mega-ico { background: linear-gradient(135deg, #FFCB5C, #E09600); box-shadow: 0 8px 16px -8px rgba(224, 150, 0, .8); }
.yd-mega-ico svg { width: 1.2rem; height: 1.2rem; }
.yd-mega-main { padding: 1.5rem 1.5rem 1.25rem; min-width: 0; }
.yd-mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem .5rem; }
.yd-mega-link {
    display: flex; align-items: center; gap: .65rem;
    min-width: 0;
    padding: .55rem .6rem;
    border-radius: 14px;
    font-size: .86rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: background-color .18s ease, color .18s ease;
}
.yd-mega-link:hover { background: var(--dropdown-hover); color: var(--yd-primary); }
.yd-mega-link .truncate { white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; }
.yd-mega-logo {
    flex: none;
    width: 2.2rem; height: 2.2rem;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--yd-surface);
    border: 1px solid var(--border-color);
    box-shadow: var(--yd-shadow-xs);
    transition: transform .25s var(--yd-ease);
}
.yd-mega-link:hover .yd-mega-logo { transform: scale(1.1) rotate(-4deg); }
.yd-mega-more {
    display: inline-flex; align-items: center; gap: .4rem;
    margin-top: 1rem;
    padding: .5rem .95rem;
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 700;
    color: var(--yd-primary);
    background: var(--yd-tint);
    transition: gap .2s ease;
}
.yd-mega-more svg, .yd-mega-cta svg { width: 1rem; height: 1rem; }
.yd-mega-more:hover { gap: .7rem; }
.yd-mega-grid--tools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem .75rem; }
.yd-mega-tool {
    display: flex; align-items: flex-start; gap: .8rem;
    padding: .7rem .75rem;
    border-radius: 16px;
    color: var(--text-primary);
    transition: background-color .18s ease;
}
.yd-mega-tool:hover { background: var(--dropdown-hover); }
.yd-mega-tool strong { display: block; font-size: .9rem; font-weight: 700; line-height: 1.3; }
.yd-mega-tool small {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin-top: .15rem;
    font-size: .78rem;
    line-height: 1.4;
    color: var(--text-muted);
}
.yd-mega-emoji {
    flex: none;
    width: 2.5rem; height: 2.5rem;
    display: grid; place-items: center;
    font-size: 1.15rem;
    border-radius: 14px;
    background: var(--yd-surface-3);
    transition: transform .25s var(--yd-ease);
}
.yd-mega-tool:hover .yd-mega-emoji { transform: rotate(-8deg) scale(1.08); }
.yd-mega-promo {
    position: relative;
    display: flex; flex-direction: column; justify-content: flex-end;
    gap: .75rem;
    margin: .75rem;
    padding: 1.5rem 1.25rem;
    border-radius: 20px;
    color: #fff;
    overflow: hidden;
    min-height: 220px;
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(210, 89, 33, .55) 0%, transparent 55%),
        radial-gradient(90% 70% at 0% 100%, rgba(255, 178, 30, .3) 0%, transparent 60%),
        linear-gradient(160deg, #007B88 0%, #005B65 50%, #002F35 100%);
}
.yd-mega-promo::after {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
    background-size: 14px 14px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
            mask-image: linear-gradient(to bottom, #000, transparent 70%);
    pointer-events: none;
}
.yd-mega-stars { position: relative; z-index: 1; color: var(--yd-gold); letter-spacing: .15em; }
.yd-mega-promo-top {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    margin-bottom: auto;
}
.yd-mega-currency {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .22rem .6rem .22rem .25rem;
    border-radius: 999px;
    font-size: .72rem; font-weight: 800; letter-spacing: .06em;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
}
.yd-mega-currency-sym {
    display: grid; place-items: center;
    width: 1.35rem; height: 1.35rem;
    border-radius: 999px;
    font-size: .82rem; font-weight: 800; line-height: 1;
    color: #001D21;
    background: var(--yd-gold);
}
.yd-mega-price { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .1rem; }
.yd-mega-price small { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .7); }
.yd-mega-price strong { font-size: 1.9rem; font-weight: 800; line-height: 1.05; letter-spacing: -.03em; color: #fff; }
.yd-mega-price strong span { color: var(--yd-gold); }
.yd-mega-points {
    position: relative; z-index: 1;
    margin: 0; padding: .65rem 0 0; list-style: none;
    display: flex; flex-direction: column; gap: .4rem;
    border-top: 1px solid rgba(255, 255, 255, .16);
    font-size: .8rem; font-weight: 600; color: rgba(255, 255, 255, .9);
}
.yd-mega-points li { display: flex; align-items: center; gap: .5rem; }
.yd-mega-points li > span {
    flex: none; display: grid; place-items: center;
    width: 1.1rem; height: 1.1rem; border-radius: 999px;
    font-size: .65rem; font-weight: 800; line-height: 1;
    color: #B64C1B; background: #FFDED2;
}
.yd-mega-points a { color: inherit !important; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.yd-mega-points a:hover { text-decoration-color: #fff; }
.yd-mega-promo-title { position: relative; z-index: 1; margin: 0; font-size: 1.15rem; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; color: #fff !important; }
.yd-mega-cta {
    position: relative; z-index: 1;
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    padding: .72rem 1rem;
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 700;
    color: #001D21 !important;
    background: #fff;
    box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .6);
    transition: transform .2s var(--yd-ease);
}
.yd-mega-cta:hover { transform: translateY(-2px); }
/* header.php'deki "dark modda header içindeki tüm linkler beyaz" kuralı beyaz
   butonun yazısını görünmez yapıyordu; buton koyu yazıda kalsın. */
html[data-theme="dark"] body header a.yd-mega-cta { color: #001D21 !important; }
@media (max-width: 1279px) {
    .yd-mega-inner { grid-template-columns: 220px minmax(0, 1fr); }
    .yd-mega-inner > .yd-mega-promo { display: none; }
    .yd-mega-inner--tools { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 5. Mobil menü (çekmece) ---------- */
.yd-burger-close { display: none; }
html.yd-menu-open .yd-burger-open { display: none; }
html.yd-menu-open .yd-burger-close { display: block; }
@media (max-width: 1023.98px) {
    #mobile-menu:not(.hidden) {
        position: absolute;
        top: 100%; left: 0; right: 0;
        margin: 0 !important;
        padding: .75rem .75rem 1.5rem !important;
        max-height: calc(100dvh - var(--yd-hh, 72px));
        overflow-y: auto;
        overscroll-behavior: contain;
        background: var(--header-bg);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 30px 60px -20px rgba(0, 47, 53, .45);
        border-radius: 0 0 28px 28px;
        animation: ydDrawer .32s var(--yd-ease);
    }
    #mobile-menu nav { gap: .2rem; }
    #mobile-menu nav > a,
    #mobile-menu .mobile-accordion-item > button,
    #mobile-menu nav > button {
        min-height: 50px;
        display: flex;
        align-items: center;
        border-radius: 16px;
        font-weight: 600;
        font-size: .97rem;
    }
    #mobile-menu .mobile-accordion-item > button[onclick] { justify-content: space-between; }
    #mobile-menu .mobile-accordion-content.open { max-height: 1400px; }
    #mobile-menu .mobile-accordion-content > div {
        margin: .25rem 0 .5rem .5rem;
        padding: .35rem !important;
        border-left: 2px solid var(--yd-line-strong);
    }
    #mobile-menu .mobile-accordion-content a { border-radius: 12px; min-height: 42px; display: flex !important; align-items: center; }
    #mobile-menu a.bg-conversion-orange {
        justify-content: center;
        min-height: 54px;
        margin: 1rem .25rem 0 !important;
        font-size: 1rem;
    }
    .yd-menu-backdrop {
        position: fixed; inset: 0;
        z-index: 40;
        background: rgba(0, 18, 22, .5);
        opacity: 0; visibility: hidden;
        transition: opacity .25s ease, visibility 0s linear .25s;
    }
    html.yd-menu-open .yd-menu-backdrop { opacity: 1; visibility: visible; transition: opacity .25s ease; }
    html.yd-menu-open body { overflow: hidden; }
}
@media (min-width: 1024px) { .yd-menu-backdrop { display: none; } }

/* ---------- 6. Butonlar ---------- */
a.bg-conversion-orange,
button.bg-conversion-orange,
input[type="submit"].bg-conversion-orange {
    background: linear-gradient(135deg, #F06A2D 0%, #D25921 55%, #B64C1B 100%) !important;
    color: #fff !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 26px -12px rgba(210, 89, 33, .85), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: transform .22s var(--yd-ease), box-shadow .22s ease, filter .22s ease;
}
a.bg-conversion-orange:hover,
button.bg-conversion-orange:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 18px 32px -14px rgba(210, 89, 33, .95), inset 0 1px 0 rgba(255, 255, 255, .25);
}
a.bg-trust-blue,
button.bg-trust-blue {
    background: linear-gradient(135deg, #007B88 0%, #005B65 60%, #004A53 100%) !important;
    color: #fff !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 26px -12px rgba(0, 91, 101, .85), inset 0 1px 0 rgba(255, 255, 255, .18);
    transition: transform .22s var(--yd-ease), box-shadow .22s ease, filter .22s ease;
}
a.bg-trust-blue:hover,
button.bg-trust-blue:hover { transform: translateY(-2px); filter: brightness(1.08); }
a.bg-gold, button.bg-gold {
    background: linear-gradient(135deg, #FFCB5C, #FFB21E) !important;
    color: #002F35 !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 24px -12px rgba(224, 150, 0, .8);
    transition: transform .22s var(--yd-ease), filter .2s ease;
}
a.bg-gold:hover, button.bg-gold:hover { transform: translateY(-2px); filter: brightness(1.04); color: #002F35 !important; }
a[class*="bg-[#25D366]"], button[class*="bg-[#25D366]"] {
    border-radius: 999px !important;
    background: linear-gradient(135deg, #34E27A, #1EBE5A) !important;
    box-shadow: 0 12px 24px -12px rgba(30, 190, 90, .8);
    transition: transform .22s var(--yd-ease), filter .2s ease;
}
a[class*="bg-[#25D366]"]:hover { transform: translateY(-2px); }
a.fixed[class*="bg-[#25D366]"] { border-radius: 20px !important; }
a.bg-conversion-orange:active, button.bg-conversion-orange:active,
a.bg-trust-blue:active, button.bg-trust-blue:active,
a.bg-gold:active { transform: translateY(0) scale(.98); }
button:disabled, button[disabled] { transform: none !important; filter: grayscale(.3) opacity(.8); }
a.border-2, button.border-2 { border-radius: 999px; transition: transform .22s var(--yd-ease), background-color .2s ease, border-color .2s ease, color .2s ease; }
a.border-2:hover { transform: translateY(-2px); }

/* ---------- 7. Kartlar & başlıklar ---------- */
:is(main, body > section) .rounded-2xl { border-radius: var(--yd-radius-lg); }
:is(main, body > section) .rounded-3xl { border-radius: var(--yd-radius-xl); }
:is(main, body > section) :is(.rounded-2xl, .rounded-xl, .rounded-3xl).border {
    border-color: var(--border-color);
    transition: transform .35s var(--yd-ease), box-shadow .35s ease, border-color .35s ease, background-color .3s ease;
}
:is(main, body > section) :is(.rounded-2xl, .rounded-3xl).border.bg-white,
:is(main, body > section) .theme-card.rounded-2xl { box-shadow: var(--yd-shadow-sm); }
:is(main, body > section) a:is(.rounded-2xl, .rounded-xl, .rounded-3xl).border:hover,
:is(main, body > section) .group:is(.rounded-2xl, .rounded-xl).border:hover {
    transform: translateY(-5px);
    box-shadow: var(--yd-shadow-lg);
    border-color: rgba(0, 123, 136, .35);
}

/* İmleç takip eden ışık (yd-modern.js --mx/--my ayarlar) */
.yd-spot { position: relative; isolation: isolate; }
.yd-spot::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 123, 136, .11), transparent 60%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
    z-index: -1;
}
.yd-spot:hover::after { opacity: 1; }

/* Bölüm başlıkları: mürekkep → mor degrade */
:is(main, body > section) h2.text-trust-blue,
:is(main, body > section) h2.text-brand-dark,
:is(main, body > section) h1.text-trust-blue {
    background: linear-gradient(100deg, var(--yd-heading) 10%, var(--yd-heading-2) 90%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -.035em;
    line-height: 1.12;
    padding-bottom: .06em;
}
:is(main, body > section) h3.text-trust-blue { color: var(--yd-heading) !important; }

/* Küçük üst etiketler */
:is(main, body > section) span.rounded-full.bg-trust-blue\/10,
:is(main, body > section) span.rounded-full.bg-conversion-orange\/10 {
    background: var(--yd-tint) !important;
    color: var(--yd-primary) !important;
    border: 1px solid var(--yd-line-strong);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .7rem !important;
    font-weight: 800;
}
:is(main, body > section) .bg-trust-blue\/10 { background-color: rgba(0, 123, 136, .1) !important; }
:is(main, body > section) .bg-gold\/10 { background-color: rgba(255, 178, 30, .14) !important; }

/* Mavi yardımcı tonlar → mor */
.text-blue-600, .text-blue-700, .text-indigo-600, .text-indigo-700 { color: var(--yd-primary) !important; }
.bg-blue-50 { background-color: #E2F6F9 !important; }
.bg-blue-100 { background-color: #C6EEF4 !important; }
.border-blue-100, .border-blue-200 { border-color: #A9E6EF !important; }

details { border-radius: var(--yd-radius); }
details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
:is(main, body > section) table { border-collapse: separate; border-spacing: 0; }

/* ---------- 8. Paket kartları (fiyat kartları) ---------- */
div.pricing-card {
    border: 1px solid var(--border-color) !important;
    border-radius: 28px !important;
    padding: 1.6rem !important;
    background:
        radial-gradient(140% 60% at 50% -10%, rgba(0, 123, 136, .09), transparent 60%),
        var(--bg-card) !important;
    box-shadow: var(--yd-shadow-sm) !important;
    transition: transform .4s var(--yd-ease), box-shadow .4s ease, border-color .3s ease !important;
}
div.pricing-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--yd-shadow-lg) !important;
    border-color: rgba(0, 123, 136, .35) !important;
}
/* Popüler kart: degrade çerçeve */
div.pricing-card.border-trust-blue {
    border: 2px solid transparent !important;
    background:
        radial-gradient(140% 60% at 50% -10%, rgba(0, 123, 136, .12), transparent 60%) padding-box,
        linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
        linear-gradient(145deg, #009DAD, #005B65 45%, #D25921) border-box !important;
}
div.pricing-card > .absolute > span {
    background: linear-gradient(135deg, #007B88, #005B65) !important;
    color: #fff !important;
    padding: .35rem .9rem !important;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .66rem !important;
    box-shadow: 0 8px 18px -6px rgba(0, 91, 101, .8) !important;
    border: 2px solid var(--bg-card);
}
div.pricing-card > .absolute > span::before { content: "★"; margin-right: .35rem; color: var(--yd-gold); }
div.pricing-card > .flex.items-center.gap-3.mb-4 > div:first-child {
    padding: .45rem;
    border-radius: 16px;
    background: var(--yd-surface);
    border: 1px solid var(--border-color);
    box-shadow: var(--yd-shadow-xs);
}
div.pricing-card > .flex.items-center.gap-3.mb-4 > span {
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .68rem !important;
    font-weight: 800 !important;
    color: var(--yd-primary) !important;
}
div.pricing-card h3 { font-size: 1.3rem !important; letter-spacing: -.03em; color: var(--yd-heading) !important; }
div.pricing-card .text-3xl.font-extrabold,
div.pricing-card .text-2xl.font-extrabold {
    font-variant-numeric: tabular-nums;
    letter-spacing: -.04em;
    color: var(--yd-price) !important;
}
/* Fiyat: ayrı bir "etiket" bloğu */
div.pricing-card > .flex.items-baseline,
div.pricing-card > .mb-2:has(> .text-2xl) {
    padding: .9rem 1rem;
    margin-inline: -.25rem;
    border-radius: 18px;
    background: var(--yd-surface-2);
    border: 1px dashed var(--yd-line-strong);
}
div.pricing-card .line-through { color: #E0245E !important; opacity: .75; }
/* Özellik listesi: hap yerine temiz kontrol listesi */
div.pricing-card .bg-brand-bg\/60 {
    background: transparent !important;
    padding: .35rem 0 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid var(--yd-line);
}
div.pricing-card .bg-brand-bg\/60:last-child { border-bottom: 0; }
div.pricing-card .bg-green-100 { background: linear-gradient(135deg, #FF8C5E, #D25921) !important; }
div.pricing-card .bg-green-100 svg { color: #fff !important; }
div.pricing-card a.w-full { padding-top: .8rem; padding-bottom: .8rem; }

/* ---------- 9. Paket seçici (platform sayfaları) ---------- */
.pkg-tile {
    border-width: 1.5px !important;
    border-color: var(--border-color) !important;
    border-radius: 22px !important;
    background: var(--bg-card) !important;
    padding: 1.1rem .8rem !important;
    box-shadow: var(--yd-shadow-xs);
    transition: transform .3s var(--yd-ease), box-shadow .3s ease, border-color .2s ease, background .3s ease !important;
}
.pkg-tile:hover { transform: translateY(-4px); box-shadow: var(--yd-shadow-md); border-color: rgba(0, 123, 136, .4) !important; }
.pkg-tile .text-2xl { font-size: 1.9rem !important; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.pkg-tile.border-conversion-orange {
    border-color: transparent !important;
    background: linear-gradient(150deg, #008D9C 0%, #005B65 55%, #00434B 100%) !important;
    box-shadow: 0 20px 38px -16px rgba(0, 91, 101, .85) !important;
    transform: translateY(-4px);
}
.pkg-tile.border-conversion-orange * { color: #fff !important; }
.pkg-tile.border-conversion-orange .line-through { color: rgba(255, 255, 255, .6) !important; }
.pkg-tile.border-conversion-orange::after {
    content: "✓";
    position: absolute;
    top: .55rem; right: .55rem;
    width: 1.35rem; height: 1.35rem;
    display: grid; place-items: center;
    font-size: .72rem;
    font-weight: 900;
    border-radius: 999px;
    color: #002F35;
    background: var(--yd-gold);
}
.pkg-tile > span.absolute { background: linear-gradient(135deg, #FFCB5C, #FFB21E) !important; color: #002F35 !important; }
.pkg-tile.border-conversion-orange > span.absolute { color: #002F35 !important; }
/* Özet kutusu */
div:has(> #pkg-sum-price) {
    position: relative;
    overflow: hidden;
    border-radius: 28px !important;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(210, 89, 33, .45), transparent 55%),
        radial-gradient(90% 80% at 0% 100%, rgba(255, 178, 30, .25), transparent 60%),
        linear-gradient(155deg, #007B88 0%, #005B65 45%, #002F35 100%) !important;
    box-shadow: 0 30px 60px -28px rgba(0, 91, 101, .9);
}
#pkg-sum-price { font-variant-numeric: tabular-nums; letter-spacing: -.04em; font-size: 2.75rem !important; color: #fff !important; }
#pkg-cart { border-radius: 999px !important; background: rgba(255, 255, 255, .14) !important; color: #fff !important; }
#pkg-wa { border-radius: 999px !important; }
#pkg-features li > span:first-child { background: linear-gradient(135deg, #FF8C5E, #D25921) !important; }
#pkg-features li > span:first-child svg { color: #fff !important; }

/* ---------- 10. Bölümler & hero ---------- */
body > section.bg-brand-bg,
main > section.bg-brand-bg,
body > section.bg-gray-50,
main > section.bg-gray-50 {
    background-color: var(--yd-surface-2) !important;
    background-image: radial-gradient(rgba(0, 91, 101, .07) 1px, transparent 1px);
    background-size: 24px 24px;
}
body > section.bg-white, main > section.bg-white { background-color: var(--bg-primary) !important; }
[data-theme="dark"] body > section.bg-brand-bg,
[data-theme="dark"] main > section.bg-brand-bg { background-image: radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px); }

/* Mor gece hero'ları ve koyu bantlar */
section[class*="from-trust-blue"]:not([class*="from-trust-blue/"]),
section.bg-trust-blue {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(60% 70% at 12% 10%, rgba(0, 123, 136, .55) 0%, transparent 60%),
        radial-gradient(50% 60% at 95% 90%, rgba(210, 89, 33, .35) 0%, transparent 60%),
        radial-gradient(40% 40% at 70% 0%, rgba(255, 178, 30, .14) 0%, transparent 60%),
        linear-gradient(160deg, #002429 0%, #001216 60%, #001012 100%) !important;
}
section[class*="from-trust-blue"]:not([class*="from-trust-blue/"])::after,
section.bg-trust-blue::after {
    content: "";
    position: absolute; inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 25%, #000 20%, transparent 80%);
            mask-image: radial-gradient(ellipse 75% 70% at 50% 25%, #000 20%, transparent 80%);
    pointer-events: none;
}
section[class*="from-trust-blue"] > .bg-conversion-orange\/10 { background: rgba(210, 89, 33, .25) !important; }
section[class*="from-trust-blue"] > .bg-gold\/10 { background: rgba(0, 123, 136, .35) !important; }
section[class*="from-trust-blue"] .text-blue-100,
section[class*="from-trust-blue"] .text-blue-200,
section.bg-trust-blue .text-blue-100,
section.bg-trust-blue .text-blue-200 { color: #9CE1EC !important; }
section[class*="from-trust-blue"] .text-blue-300,
section.bg-trust-blue .text-blue-300 { color: #68C2CF !important; }
section[class*="from-trust-blue"] h1 { letter-spacing: -.045em; }
section[class*="from-trust-blue"] h1 .text-gold {
    background: linear-gradient(95deg, #FFD36E 0%, #FFB21E 40%, #FFA17C 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}
section[class*="from-trust-blue"] .bg-white\/10 {
    background: rgba(255, 255, 255, .07) !important;
    border: 1px solid rgba(255, 255, 255, .12);
}
.ydv-vertical-item { border-radius: 14px !important; background: rgba(255, 255, 255, .06) !important; border-color: rgba(255, 255, 255, .1) !important; }
.bkz-logo-marquee-item { transition: opacity .2s ease; }
.bkz-marquee:hover .bkz-logo-marquee-item { opacity: .5; }
.bkz-marquee:hover .bkz-logo-marquee-item:hover { opacity: 1; }

/* ---------- 11. Formlar ---------- */
body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
body select,
body textarea {
    border-radius: 14px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):focus,
body select:focus,
body textarea:focus {
    outline: none;
    border-color: var(--yd-primary-2) !important;
    box-shadow: var(--yd-ring) !important;
}
body input[type="checkbox"], body input[type="radio"] { accent-color: #005B65; }
.theme-input { background-color: var(--input-bg) !important; color: var(--text-primary) !important; border-color: var(--border-color) !important; }
.theme-heading { color: var(--yd-heading); }
.theme-bg { background-color: var(--bg-primary); }

/* ---------- 12. Footer ---------- */
body > footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(60% 70% at 100% 0%, rgba(0, 123, 136, .35) 0%, transparent 60%),
        radial-gradient(45% 55% at 0% 100%, rgba(210, 89, 33, .18) 0%, transparent 60%),
        linear-gradient(180deg, #00191C 0%, #001012 100%) !important;
}
[data-theme="dark"] body > footer {
    background:
        radial-gradient(60% 70% at 100% 0%, rgba(0, 123, 136, .18) 0%, transparent 60%),
        linear-gradient(180deg, #000E10 0%, #00080A 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, .06);
}
body > footer::before {
    content: "";
    position: absolute; inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 157, 173, .8), rgba(210, 89, 33, .8), transparent);
}
body > footer h4 { position: relative; padding-bottom: .7rem; letter-spacing: .14em !important; color: #fff !important; }
body > footer h4::after {
    content: "";
    position: absolute; left: 0; bottom: 0;
    width: 28px; height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #009DAD, #D25921);
}
body > footer ul a { display: inline-flex; align-items: center; gap: .35rem; transition: color .2s ease, transform .2s var(--yd-ease); }
body > footer ul a:hover { transform: translateX(3px); color: #fff !important; }
body > footer .text-blue-200 { color: rgba(179, 225, 232, .72) !important; }
body > footer .text-blue-300 { color: rgba(137, 202, 212, .66) !important; }
body > footer .text-gold { color: #FFB21E !important; }
body > footer a.text-blue-300[aria-label] {
    width: 2.5rem; height: 2.5rem;
    display: inline-grid; place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    transition: background-color .2s ease, transform .2s var(--yd-ease), color .2s ease;
}
body > footer a.text-blue-300[aria-label]:hover { background: linear-gradient(135deg, #007B88, #005B65); color: #fff !important; transform: translateY(-2px); }
body > footer .flex.gap-4:has(> a[aria-label]) { gap: .5rem; }
body > footer .border-white\/10 { border-color: rgba(255, 255, 255, .08) !important; }
body > footer a.bg-white\/10 { border-radius: 999px !important; }

/* ---------- 13. Yüzen öğeler ---------- */
a[aria-label="WhatsApp İletişim"].fixed { border-radius: 20px !important; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); }
a[aria-label="WhatsApp İletişim"].fixed::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    border: 2px solid rgba(37, 211, 102, .55);
    animation: ydPulse 2.4s ease-out infinite;
    pointer-events: none;
}
#scroll-top-btn {
    border-radius: 16px !important;
    background: linear-gradient(135deg, #007B88, #005B65) !important;
    box-shadow: 0 12px 24px -10px rgba(0, 91, 101, .85);
}
#purchase-notification > div { border-radius: 20px; box-shadow: var(--yd-shadow-lg); }
#purchase-notification .bg-green-500 { background: linear-gradient(#007B88, #D25921) !important; }

/* ---------- 14. Sipariş sorgulama ---------- */
.yd-track h1 { color: var(--yd-heading) !important; }
.yd-track .theme-card { background: var(--bg-card) !important; border-color: var(--border-color) !important; box-shadow: var(--yd-shadow-md) !important; }
.yd-track .theme-heading { color: var(--yd-heading) !important; }
.yd-track .theme-text-muted { color: var(--text-muted) !important; }
.yd-track .theme-border-light, .yd-track .theme-border { border-color: var(--border-color) !important; }
.yd-track form button { white-space: nowrap; }
.yd-track .w-2.h-2.bg-conversion-orange { background: var(--yd-accent) !important; box-shadow: 0 0 0 4px rgba(210, 89, 33, .18); }
.yd-alert { border-radius: 18px !important; }
[data-theme="dark"] .yd-alert--error { background: rgba(224, 36, 94, .12) !important; border-color: rgba(224, 36, 94, .35) !important; color: #FFB3C8 !important; }
[data-theme="dark"] .yd-alert--info { background: rgba(0, 182, 201, .1) !important; border-color: rgba(0, 182, 201, .28) !important; }
[data-theme="dark"] .yd-alert--info h2 { color: #86DCE9 !important; -webkit-text-fill-color: #86DCE9; }

/* ---------- 15. Koyu tema düzeltmeleri (tüm sayfalar) ---------- */
[data-theme="dark"] :is(.bg-blue-100, .bg-indigo-100, .bg-purple-100) { background-color: rgba(0, 182, 201, .14) !important; }
[data-theme="dark"] :is(.bg-green-100, .bg-emerald-100) { background-color: rgba(255, 140, 94, .14) !important; }
[data-theme="dark"] :is(.bg-yellow-100, .bg-amber-100, .bg-orange-100) { background-color: rgba(255, 178, 30, .14) !important; }
[data-theme="dark"] .bg-red-100 { background-color: rgba(224, 36, 94, .16) !important; }
[data-theme="dark"] :is(.bg-green-50, .bg-emerald-50) { background-color: rgba(255, 140, 94, .08) !important; }
[data-theme="dark"] :is(.bg-yellow-50, .bg-amber-50, .bg-orange-50) { background-color: rgba(255, 178, 30, .08) !important; }
[data-theme="dark"] .bg-red-50 { background-color: rgba(224, 36, 94, .1) !important; }
[data-theme="dark"] .bg-blue-50 { background-color: rgba(0, 182, 201, .08) !important; }
[data-theme="dark"] :is(.text-blue-800, .text-blue-900, .text-indigo-800, .text-purple-800) { color: #86DCE9 !important; }
[data-theme="dark"] :is(.text-green-700, .text-green-800, .text-green-900, .text-emerald-700, .text-emerald-800) { color: #FFBAA0 !important; }
[data-theme="dark"] :is(.text-yellow-700, .text-yellow-800, .text-yellow-900, .text-amber-700, .text-amber-800, .text-orange-700, .text-orange-800) { color: #FFD685 !important; }
[data-theme="dark"] :is(.text-red-700, .text-red-800, .text-red-900) { color: #FFB3C8 !important; }
[data-theme="dark"] :is(.text-gray-800, .text-gray-900) { color: var(--text-primary) !important; }
[data-theme="dark"] :is(.border-blue-200, .border-indigo-200, .border-purple-200, .border-blue-100) { border-color: rgba(0, 182, 201, .28) !important; }
[data-theme="dark"] :is(.border-green-200, .border-green-300, .border-emerald-200) { border-color: rgba(255, 140, 94, .3) !important; }
[data-theme="dark"] :is(.border-yellow-200, .border-amber-200, .border-orange-200) { border-color: rgba(255, 178, 30, .3) !important; }
[data-theme="dark"] :is(.border-red-200, .border-red-300) { border-color: rgba(224, 36, 94, .35) !important; }
[data-theme="dark"] .text-trust-blue { color: #86DCE9 !important; }
[data-theme="dark"] .text-green-600 { color: #FFAA89 !important; }
[data-theme="dark"] a.bg-gold, [data-theme="dark"] button.bg-gold { color: #002F35 !important; }

/* ---------- 16. Responsive ---------- */
:is(main, body > section) pre,
:is(main, body > section) code { white-space: pre-wrap; word-break: break-word; }
:is(main, body > section) .prose table,
:is(main, body > section) article table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
:is(main, body > section) .prose,
:is(main, body > section) article { overflow-wrap: anywhere; }
:is(main, body > section) .prose img,
:is(main, body > section) article img { border-radius: var(--yd-radius); }

@media (max-width: 1023.98px) { html { scroll-padding-top: 80px; } }
@media (max-width: 767.98px) {
    :is(main, body > section) h1.text-5xl,
    :is(main, body > section) h1[class*="text-6xl"],
    :is(main, body > section) h1[class*="text-7xl"] { font-size: clamp(2.05rem, 9vw, 2.8rem) !important; line-height: 1.06 !important; }
    :is(main, body > section) h1.text-4xl { font-size: clamp(1.8rem, 7.6vw, 2.25rem) !important; line-height: 1.1 !important; }
    :is(main, body > section) h2.text-4xl,
    :is(main, body > section) h2.text-3xl { font-size: clamp(1.55rem, 6.6vw, 1.9rem) !important; line-height: 1.16 !important; }
    body > section.py-20, main > section.py-20 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
    body > section.py-24, main > section.py-24 { padding-top: 4rem; padding-bottom: 4rem; }
    body > section.py-16, main > section.py-16 { padding-top: 3rem; padding-bottom: 3rem; }
    :is(main, body > section) .p-8 { padding: 1.5rem; }
    :is(main, body > section) .p-10 { padding: 1.75rem; }
    div.pricing-card { padding: 1.35rem !important; border-radius: 24px !important; }
    #pkg-sum-price { font-size: 2.3rem !important; }
    :is(main, body > section) a.inline-flex.px-8,
    :is(main, body > section) a.inline-flex.px-6 { min-height: 50px; }
    a[aria-label="WhatsApp İletişim"].fixed { width: 3.25rem !important; height: 3.25rem !important; right: 1rem !important; bottom: 1rem !important; }
    #scroll-top-btn { right: 1.15rem !important; bottom: 5rem !important; width: 2.75rem !important; height: 2.75rem !important; }
    #purchase-notification { left: .75rem !important; right: 5rem; bottom: 1rem !important; max-width: none !important; }
    body > footer { padding-top: 3rem !important; }
    body > footer .grid { gap: 2rem !important; }
}
@media (max-width: 380px) {
    header.theme-header .max-w-7xl { padding-left: .75rem; padding-right: .75rem; }
    header.theme-header a[href="/siparis-durumu"].w-10 { display: none; }
}
html.yd-menu-open a[aria-label="WhatsApp İletişim"].fixed,
html.yd-menu-open #scroll-top-btn,
html.yd-menu-open #purchase-notification { opacity: 0 !important; pointer-events: none !important; }

/* ---------- 17. Animasyonlar ---------- */
html.yd-js .yd-rise { opacity: 0; transform: translateY(22px); }
html.yd-js .yd-rise.yd-in { opacity: 1; transform: none; transition: opacity .7s var(--yd-ease), transform .7s var(--yd-ease); }
@keyframes ydPop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ydDrawer { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes ydPulse { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    html.yd-js .yd-rise { opacity: 1; transform: none; }
}
@media print {
    header.theme-header, .yd-mega-panel, .yd-menu-backdrop, .yd-progress,
    a[aria-label="WhatsApp İletişim"], #scroll-top-btn, #purchase-notification { display: none !important; }
}

/* ==========================================================
   Sabit butonlar (yukarı çık · canlı destek · WhatsApp)
   Tek bir dikey sütun: konumları birbirine göre sabittir,
   hiçbir ekran genişliğinde üst üste binmezler.
   ========================================================== */
.yd-fab {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, calc(env(safe-area-inset-bottom) + 12px));
    z-index: 60;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    pointer-events: none; /* sütunun boşlukları tıklamayı engellemesin */
}
html body .yd-fab .yd-fab-btn {
    pointer-events: auto;
    position: relative;
    display: grid; place-items: center;
    width: 52px; height: 52px;
    border: 0; border-radius: 999px;
    color: #fff !important;
    cursor: pointer;
    box-shadow: 0 10px 24px -8px rgba(0, 29, 33, .45);
    transition: transform .2s var(--yd-ease), box-shadow .2s ease, opacity .2s ease, visibility .2s;
}
.yd-fab .yd-fab-btn:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 28px -8px rgba(0, 29, 33, .55); }
.yd-fab .yd-fab-btn:focus-visible { outline: 3px solid var(--yd-gold); outline-offset: 3px; }
.yd-fab .yd-fab-btn svg { width: 24px; height: 24px; }
html body .yd-fab .yd-fab-wa { background: #25D366; width: 56px; height: 56px; }
.yd-fab .yd-fab-wa svg { width: 28px; height: 28px; }
html body .yd-fab .yd-fab-chat { background: linear-gradient(135deg, #009DAD, #005B65); }
html body .yd-fab .yd-fab-top { background: #001D21; width: 44px; height: 44px; }
html[data-theme="dark"] body .yd-fab .yd-fab-top { background: #00444C; }
.yd-fab .yd-fab-top svg { width: 20px; height: 20px; }
/* Yukarı çık: gizliyken yerini korur (sütun zıplamaz), sadece görünmez/tıklanamaz */
html body .yd-fab .yd-fab-top:not(.is-visible) { opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none; }

.yd-fab-chat .yd-fab-ico-close { display: none; }
html.yd-chat-open .yd-fab-chat .yd-fab-ico-open { display: none; }
html.yd-chat-open .yd-fab-chat .yd-fab-ico-close { display: block; }
.yd-fab-dot {
    position: absolute; top: 2px; right: 2px;
    width: 14px; height: 14px; border-radius: 999px;
    background: #FF4D6D; border: 2px solid #fff;
}
.yd-fab-dot[hidden] { display: none; }
.yd-fab-tip {
    position: absolute; right: calc(100% + 12px); top: 50%;
    transform: translateY(-50%) translateX(4px);
    padding: .35rem .7rem; border-radius: 10px;
    font-size: .8rem; font-weight: 700; white-space: nowrap;
    color: #fff; background: #001D21;
    opacity: 0; pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
}
@media (hover: hover) {
    .yd-fab .yd-fab-btn:hover .yd-fab-tip { opacity: 1; transform: translateY(-50%); }
}
html.yd-chat-open .yd-fab-chat .yd-fab-tip { display: none; }

/* Sol alttaki bildirim mobilde buton sütununa kadar uzanmasın */
@media (max-width: 639.98px) {
    #purchase-notification { left: 12px !important; bottom: 16px !important; max-width: calc(100vw - 96px) !important; }
}

/* ---------- Canlı destek penceresi ---------- */
.yd-chat {
    position: fixed; z-index: 61;
    right: calc(max(16px, env(safe-area-inset-right)) + 68px); /* buton sütununun solunda */
    bottom: max(16px, calc(env(safe-area-inset-bottom) + 12px));
    width: min(370px, calc(100vw - 110px));
    height: min(560px, calc(100dvh - 120px));
    display: flex; flex-direction: column;
    background: var(--dropdown-bg, #fff);
    color: var(--text-primary, #001D21);
    border: 1px solid var(--border-color, #D8EBED);
    border-radius: 22px;
    box-shadow: var(--yd-shadow-lg);
    overflow: hidden;
    animation: ydChatIn .22s var(--yd-ease);
}
.yd-chat[hidden] { display: none; }
@keyframes ydChatIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.yd-chat-head {
    display: flex; align-items: center; gap: .75rem;
    padding: .9rem 1rem;
    color: #fff;
    background: linear-gradient(150deg, #007B88 0%, #005B65 60%, #002F35 100%);
}
.yd-chat-avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: rgba(255,255,255,.16); }
.yd-chat-avatar svg { width: 22px; height: 22px; }
.yd-chat-head-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.yd-chat-head-text strong { font-size: .98rem; font-weight: 800; color: #fff !important; }
.yd-chat-head-text > span { display: flex; align-items: center; gap: .4rem; font-size: .76rem; color: rgba(255,255,255,.82); }
.yd-chat-status { flex: none; width: 8px; height: 8px; border-radius: 99px; background: #A4BDC1; }
.yd-chat.is-online .yd-chat-status { background: #FF8C5E; box-shadow: 0 0 0 3px rgba(255,140,94,.25); }
html body .yd-chat .yd-chat-close { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255,255,255,.12); color: #fff !important; cursor: pointer; }
.yd-chat-close svg { width: 18px; height: 18px; }
.yd-chat-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1rem; display: flex; flex-direction: column; gap: .55rem; background: var(--yd-surface-2, #EDF9FB); }
.yd-chat-msg { max-width: 82%; display: flex; flex-direction: column; gap: .15rem; }
.yd-chat-msg p { margin: 0; padding: .6rem .8rem; border-radius: 16px; font-size: .88rem; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.yd-chat-msg small { font-size: .66rem; color: var(--text-muted, #5D8187); padding: 0 .3rem; }
.yd-chat-msg.is-visitor { align-self: flex-end; align-items: flex-end; }
.yd-chat-msg.is-visitor p { background: #005B65; color: #fff; border-bottom-right-radius: 6px; }
.yd-chat-msg.is-admin p, .yd-chat-msg.is-system p { background: var(--dropdown-bg, #fff); border: 1px solid var(--border-color, #D8EBED); border-bottom-left-radius: 6px; }
.yd-chat-msg.is-system p { font-style: italic; color: var(--text-muted, #40656B); }
.yd-chat-form { border-top: 1px solid var(--border-color, #D8EBED); padding: .7rem; display: flex; flex-direction: column; gap: .5rem; background: var(--dropdown-bg, #fff); }
.yd-chat-intro { display: grid; gap: .45rem; }
.yd-chat.is-started .yd-chat-intro { display: none; }
.yd-chat-form input, .yd-chat-form textarea {
    width: 100%; border: 1px solid var(--border-color, #CFE6EA); border-radius: 12px;
    padding: .6rem .75rem; font: inherit; font-size: .88rem;
    background: var(--yd-surface-2, #EDF9FB); color: var(--text-primary, #001D21);
}
.yd-chat-form input:focus, .yd-chat-form textarea:focus { outline: 2px solid rgba(0,91,101,.35); border-color: #005B65; }
.yd-chat-form .yd-chat-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.yd-chat-compose { display: flex; gap: .45rem; align-items: flex-end; }
.yd-chat-compose textarea { resize: none; max-height: 120px; }
html body .yd-chat .yd-chat-send { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 12px; background: #005B65; color: #fff !important; cursor: pointer; }
.yd-chat .yd-chat-send:disabled { opacity: .55; cursor: wait; }
.yd-chat-send svg { width: 20px; height: 20px; }
.yd-chat-error { margin: 0; font-size: .78rem; color: #C0254F; }
.yd-chat-error[hidden] { display: none; }

/* Mobil: pencere tam ekran, buton sütunu o sırada gizli (üst üste binme yok) */
@media (max-width: 639.98px) {
    .yd-chat { inset: 0; width: 100%; height: 100dvh; border-radius: 0; border: 0; }
    html.yd-chat-open .yd-fab { display: none; }
    html.yd-chat-open, html.yd-chat-open body { overflow: hidden; }
}
@media print { .yd-fab, .yd-chat { display: none !important; } }

/* ==========================================================================
   18. Logo boyutu (header + footer daha kompakt)
   ========================================================================== */
header img.theme-logo-light,
header img.theme-logo-dark {
    max-height: 38px !important;
    max-width: 140px !important;
}
@media (min-width: 640px) {
    header img.theme-logo-light,
    header img.theme-logo-dark { max-height: 42px !important; max-width: 180px !important; }
}
@media (min-width: 1024px) {
    header img.theme-logo-light,
    header img.theme-logo-dark { max-height: 46px !important; max-width: 210px !important; }
}
footer img.footer-logo {
    max-height: 40px !important;
    max-width: 170px !important;
}
@media (min-width: 640px) {
    footer img.footer-logo { max-height: 44px !important; max-width: 200px !important; }
}
