/* ======================================================================
   Kestel Koop Public Shell v1.1.3
   Ortak header, mega menü, footer, tema ve dashboard tipografi yönetimi.
   Landing içerik bloklarına müdahale etmez.
   ====================================================================== */

:root {
    --kk-font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --kk-font-heading: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --kk-font-body-weight: 400;
    --kk-font-heading-weight: 800;
    --kk-font-base-size: 16px;
    --kk-font-line-height: 1.55;

    --kk-shell-page: var(--kk-page, var(--kk-bg, #fff));
    --kk-shell-surface: var(--kk-surface, #fff);
    --kk-shell-soft: var(--kk-soft, var(--kk-surface-2, #f5f8ff));
    --kk-shell-ink: var(--kk-ink, var(--kk-text, #06124a));
    --kk-shell-text: var(--kk-text, #172247);
    --kk-shell-muted: var(--kk-muted, #687391);
    --kk-shell-line: var(--kk-line, #dbe6fb);
    --kk-shell-blue: var(--kk-blue, #0648ff);
    --kk-shell-blue-2: var(--kk-blue-2, #0084ff);

    --kk-mega-shell-bg: linear-gradient(135deg, rgba(255,255,255,.99), rgba(239,246,255,.99));
    --kk-mega-shell-border: rgba(6, 72, 255, .20);
    --kk-mega-shell-shadow: 0 30px 70px rgba(25, 58, 119, .18);
    --kk-mega-promo-bg:
        radial-gradient(circle at 15% 10%, rgba(0, 132, 255, .14), transparent 38%),
        linear-gradient(145deg, #edf5ff, #dceaff);
    --kk-mega-promo-border: rgba(6, 72, 255, .18);
    --kk-mega-card-bg: rgba(255,255,255,.82);
    --kk-mega-card-hover-bg: #ffffff;
    --kk-mega-card-border: rgba(6,72,255,.14);
    --kk-mega-card-hover-border: rgba(6,72,255,.38);
    --kk-mega-title: #07184f;
    --kk-mega-copy: #5d6d8c;
    --kk-mega-accent: #0648ff;
}

:root[data-theme="dark"] {
    --kk-mega-shell-bg: linear-gradient(135deg, #06284d 0%, #063967 52%, #07345d 100%);
    --kk-mega-shell-border: rgba(85, 174, 255, .24);
    --kk-mega-shell-shadow: 0 30px 70px rgba(3, 24, 53, .42);
    --kk-mega-promo-bg:
        radial-gradient(circle at 15% 10%, rgba(40, 177, 255, .20), transparent 35%),
        linear-gradient(145deg, rgba(8, 76, 133, .96), rgba(4, 45, 84, .96));
    --kk-mega-promo-border: rgba(111, 197, 255, .26);
    --kk-mega-card-bg: rgba(3, 37, 71, .64);
    --kk-mega-card-hover-bg: rgba(7, 64, 111, .92);
    --kk-mega-card-border: rgba(105, 180, 244, .20);
    --kk-mega-card-hover-border: rgba(82, 206, 255, .58);
    --kk-mega-title: #ffffff;
    --kk-mega-copy: #afc7da;
    --kk-mega-accent: #50d7ff;
}

html,
body,
button,
input,
select,
textarea {
    font-family: var(--kk-font-body);
}

body {
    font-size: var(--kk-font-base-size);
    font-weight: var(--kk-font-body-weight);
    line-height: var(--kk-font-line-height);
}

h1,
h2,
h3,
h4,
h5,
h6,
.kk-nav,
.kk-header .kk-btn,
.kk-footer h4,
.kk-mini-btn,
.kk-eyebrow {
    font-family: var(--kk-font-heading);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--kk-font-heading-weight);
}

/* Shared header */
.kk-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid color-mix(in srgb, var(--kk-shell-line) 78%, transparent);
    background: color-mix(in srgb, var(--kk-shell-surface) 88%, transparent);
    box-shadow: 0 14px 34px rgba(12, 34, 82, .055);
    backdrop-filter: blur(22px) saturate(1.12);
}

.kk-header::before {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, var(--kk-shell-blue), var(--kk-shell-blue-2), #11c87b);
    opacity: .95;
}

.kk-header-inner {
    position: relative;
    width: 100%;
    min-height: 88px;
    padding: 0 clamp(20px, 4vw, 64px);
    display: grid;
    grid-template-columns: minmax(250px, 320px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.kk-header-inner::after {
    position: absolute;
    right: clamp(20px, 4vw, 64px);
    bottom: -1px;
    left: clamp(20px, 4vw, 64px);
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--kk-shell-blue) 22%, var(--kk-shell-line)), transparent);
    pointer-events: none;
}

.kk-logo {
    display: inline-flex;
    align-items: center;
    width: min(282px, 100%);
    text-decoration: none;
}

.kk-logo img {
    width: min(282px, 100%);
    max-height: 68px;
    object-fit: contain;
    object-position: left center;
}

.kk-mobile-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--kk-shell-line);
    border-radius: 12px;
    background: color-mix(in srgb, var(--kk-shell-surface) 90%, transparent);
    color: var(--kk-shell-ink);
    box-shadow: 0 10px 24px rgba(13, 38, 91, .08);
    font-size: 20px;
    cursor: pointer;
}

.kk-nav {
    position: static;
    width: max-content;
    padding: 6px;
    display: flex;
    justify-self: center;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border: 1px solid color-mix(in srgb, var(--kk-shell-line) 72%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--kk-shell-soft) 58%, transparent);
    color: var(--kk-shell-ink);
    font-size: 14px;
    font-weight: 750;
}

.kk-nav > a,
.kk-nav-item > a {
    position: relative;
    min-height: 42px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    color: color-mix(in srgb, var(--kk-shell-ink) 88%, var(--kk-shell-muted));
    font-size: 15px;
    font-weight: 850;
    text-decoration: none;
    transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.kk-nav > a::after,
.kk-nav-item > a::after {
    display: none;
}

.kk-nav > a:hover,
.kk-nav .active,
.kk-nav-item:hover > a,
.kk-nav-item:focus-within > a {
    color: var(--kk-shell-blue);
    background: var(--kk-shell-surface);
    box-shadow: 0 10px 24px rgba(6, 72, 255, .10);
    transform: translateY(-1px);
}

.kk-nav > a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--kk-shell-blue), #0039dc);
    box-shadow: 0 12px 26px rgba(6, 72, 255, .22);
}

.kk-nav-item {
    position: relative;
}

.kk-nav-item-mega {
    position: static;
}

.kk-nav-item > a span {
    width: 16px;
    height: 16px;
    display: inline-grid;
    place-items: center;
    color: currentColor;
    font-size: 14px;
    line-height: 1;
    transition: transform .18s ease;
}

.kk-nav-item:hover > a span,
.kk-nav-item:focus-within > a span,
.kk-nav-item.is-open > a span {
    transform: rotate(180deg);
}

.kk-submenu {
    position: absolute;
    top: calc(100% + 13px);
    left: 50%;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 13px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.kk-submenu::before {
    position: absolute;
    top: -16px;
    right: 0;
    left: 0;
    height: 16px;
    content: "";
}

.kk-nav-item:hover .kk-submenu,
.kk-nav-item:focus-within .kk-submenu,
.kk-nav-item.is-open .kk-submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.kk-submenu.kk-mega-menu {
    width: min(1360px, calc(100vw - 48px));
    min-width: 0;
    padding: 16px;
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 14px;
    border: 1px solid var(--kk-mega-shell-border);
    border-radius: 22px;
    background: var(--kk-mega-shell-bg);
    box-shadow: var(--kk-mega-shell-shadow);
    overflow: hidden;
    z-index: 90;
}

.kk-mega-promo {
    min-height: 100%;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--kk-mega-promo-border);
    border-radius: 17px;
    background: var(--kk-mega-promo-bg);
    color: var(--kk-mega-title);
}

.kk-mega-promo > span {
    color: var(--kk-mega-accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.kk-mega-promo h3 {
    margin: 15px 0 13px;
    color: var(--kk-mega-title);
    font-size: clamp(25px, 2.2vw, 37px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.kk-mega-promo h3 em {
    display: block;
    color: var(--kk-mega-accent);
    font-style: italic;
}

.kk-mega-promo p {
    margin: 0;
    color: var(--kk-mega-copy);
    font-size: 13.5px;
    line-height: 1.55;
}

.kk-mega-button {
    width: fit-content;
    min-height: 43px;
    margin-top: 23px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--kk-shell-blue), #006ff0);
    color: #fff;
    box-shadow: 0 13px 27px rgba(0, 106, 255, .25);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.kk-mega-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-content: start;
}

.kk-mega-card {
    position: relative;
    min-height: 90px;
    padding: 15px 43px 15px 58px;
    display: flex;
    align-items: center;
    border: 1px solid var(--kk-mega-card-border);
    border-radius: 14px;
    background: var(--kk-mega-card-bg);
    color: var(--kk-mega-title);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.kk-mega-card:hover {
    border-color: var(--kk-mega-card-hover-border);
    background: var(--kk-mega-card-hover-bg);
    color: var(--kk-mega-title);
    transform: translateY(-2px);
}

.kk-mega-index {
    position: absolute;
    left: 16px;
    color: var(--kk-mega-accent);
    font-size: 12px;
    font-weight: 950;
}

.kk-mega-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.kk-mega-copy strong {
    color: var(--kk-mega-title);
    font-size: 14px;
    line-height: 1.2;
}

.kk-mega-copy small {
    display: -webkit-box;
    overflow: hidden;
    color: var(--kk-mega-copy);
    font-size: 12px;
    font-weight: 550;
    line-height: 1.32;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.kk-mega-arrow {
    position: absolute;
    right: 16px;
    color: var(--kk-mega-title);
    font-size: 15px;
}

.kk-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kk-theme {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid var(--kk-shell-line);
    border-radius: 12px;
    color: var(--kk-shell-blue);
    background: color-mix(in srgb, var(--kk-shell-surface) 90%, transparent);
    box-shadow: 0 10px 24px rgba(13, 38, 91, .06);
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.kk-theme:hover {
    border-color: color-mix(in srgb, var(--kk-shell-blue) 45%, var(--kk-shell-line));
    transform: translateY(-1px);
}

.kk-header .kk-btn {
    min-height: 46px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.kk-header .kk-btn img {
    width: 18px;
    height: 18px;
}

.kk-header .kk-btn-soft {
    border-color: color-mix(in srgb, var(--kk-shell-blue) 26%, var(--kk-shell-line));
    background: color-mix(in srgb, var(--kk-shell-surface) 92%, transparent);
    color: var(--kk-shell-blue);
}

.kk-header .kk-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--kk-shell-blue), #0035da);
    box-shadow: 0 14px 28px rgba(6,72,255,.22);
}

.kk-header .kk-btn:hover {
    transform: translateY(-2px);
}

:root[data-theme="dark"] .kk-header .kk-btn img {
    filter: brightness(1.2);
}

/* Shared footer */
.kk-footer {
    margin-top: 30px;
    border-top: 1px solid var(--kk-shell-line);
    background: var(--kk-shell-page);
    color: var(--kk-shell-text);
}

.kk-footer .kk-container {
    width: 100%;
    max-width: none;
    padding-right: clamp(20px, 4vw, 64px);
    padding-left: clamp(20px, 4vw, 64px);
}

.kk-footer-inner {
    padding-top: 40px;
    padding-bottom: 46px;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.35fr 1fr 1.4fr;
    gap: 42px;
}

.kk-footer-brand > img {
    width: 240px;
    max-height: 82px;
    object-fit: contain;
    object-position: left center;
}

.kk-footer p,
.kk-footer a,
.kk-footer-contact span {
    display: block;
    color: var(--kk-shell-muted);
    font-size: 13px;
    line-height: 1.7;
    text-decoration: none;
}

.kk-footer a:hover {
    color: var(--kk-shell-blue);
}

.kk-footer h4 {
    margin: 12px 0 16px;
    color: var(--kk-shell-ink);
    font-size: 15px;
}

.kk-footer-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.kk-social {
    margin-top: 18px;
    display: flex;
    gap: 10px;
}

.kk-social a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--kk-shell-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.kk-social a:hover {
    color: #fff;
    box-shadow: 0 9px 18px rgba(6, 72, 255, .20);
    transform: translateY(-2px);
}

.kk-copyright {
    min-height: 0;
    padding: 0;
    background: linear-gradient(135deg, var(--kk-shell-blue), #0035da);
    color: #fff;
}

.kk-copyright-inner {
    position: relative;
    min-height: 58px;
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.kk-copyright-text {
    color: rgba(255,255,255,.94);
    font-size: 12px;
}

.kk-legal-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0;
}

.kk-copyright .kk-legal-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, .88);
    font-size: 12px;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}

.kk-copyright .kk-legal-links a + a {
    margin-left: 15px;
    padding-left: 16px;
}

.kk-copyright .kk-legal-links a + a::before {
    position: absolute;
    left: 0;
    content: "•";
    color: rgba(255, 255, 255, .58);
}

.kk-copyright .kk-legal-links a:hover {
    color: #fff;
}

@media (max-width: 1180px) and (min-width: 941px) {
    .kk-header-inner {
        grid-template-columns: 230px minmax(0, 1fr) auto;
        gap: 14px;
        padding-right: 22px;
        padding-left: 22px;
    }

    .kk-logo,
    .kk-logo img {
        width: 220px;
    }

    .kk-nav {
        gap: 4px;
    }

    .kk-nav > a,
    .kk-nav-item > a {
        padding: 0 11px;
        font-size: 13.5px;
    }

    .kk-header .kk-btn {
        padding: 0 13px;
    }

    .kk-submenu.kk-mega-menu {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .kk-mega-promo {
        padding: 23px;
    }

    .kk-mega-copy small {
        -webkit-line-clamp: 1;
    }

    .kk-footer-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 940px) {
    .kk-header-inner {
        min-height: 76px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
    }

    .kk-logo,
    .kk-logo img {
        width: min(225px, 66vw);
    }

    .kk-mobile-toggle {
        display: grid;
        place-items: center;
    }

    .kk-nav,
    .kk-actions {
        display: none;
    }

    .kk-header.is-open .kk-nav,
    .kk-header.is-open .kk-actions {
        display: flex;
    }

    .kk-header.is-open .kk-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        width: 100%;
        padding: 14px 20px 8px;
        flex-direction: column;
        align-items: stretch;
        border: 0;
        border-bottom: 1px solid var(--kk-shell-line);
        border-radius: 0;
        background: var(--kk-shell-surface);
        box-shadow: 0 22px 42px rgba(13,38,91,.14);
    }

    .kk-header.is-open .kk-nav > a,
    .kk-header.is-open .kk-nav-item > a {
        width: 100%;
        justify-content: space-between;
        border-radius: 10px;
    }

    .kk-header.is-open .kk-actions {
        position: absolute;
        top: calc(100% + 255px);
        right: 0;
        left: 0;
        padding: 12px 20px 18px;
        flex-wrap: wrap;
        background: var(--kk-shell-surface);
        border-bottom: 1px solid var(--kk-shell-line);
        box-shadow: 0 22px 42px rgba(13,38,91,.14);
    }

    .kk-header.is-open .kk-actions .kk-btn {
        flex: 1 1 180px;
    }

    .kk-nav-item-mega > a span {
        margin-left: auto;
    }

    .kk-submenu.kk-mega-menu,
    .kk-header.is-open .kk-nav-item:hover .kk-submenu,
    .kk-header.is-open .kk-nav-item:focus-within .kk-submenu {
        position: static;
        width: 100%;
        min-width: 0;
        margin: 0 0 8px;
        padding: 9px;
        display: none;
        grid-template-columns: 1fr;
        gap: 9px;
        border-radius: 14px;
        background: var(--kk-mega-shell-bg);
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
    }

    .kk-header.is-open .kk-nav-item-mega.is-open .kk-mega-menu {
        display: grid;
    }

    .kk-mega-promo {
        min-height: auto;
        padding: 19px;
    }

    .kk-mega-promo h3 {
        font-size: 25px;
    }

    .kk-mega-grid {
        grid-template-columns: 1fr;
    }

    .kk-mega-card {
        min-height: 76px;
    }

    .kk-footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .kk-copyright-inner {
        min-height: auto;
        padding-top: 15px;
        padding-bottom: 15px;
        flex-direction: column;
        align-items: flex-start;
    }

    .kk-legal-links {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .kk-header-inner {
        padding-right: 16px;
        padding-left: 16px;
    }

    .kk-header.is-open .kk-actions {
        top: calc(100% + 238px);
    }

    .kk-mega-promo p,
    .kk-mega-copy small {
        display: none;
    }

    .kk-mega-promo h3 {
        margin-bottom: 0;
        font-size: 22px;
    }

    .kk-mega-button {
        width: 100%;
        justify-content: center;
    }

    .kk-footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .kk-copyright .kk-legal-links a,
    .kk-copyright .kk-legal-links a + a {
        margin: 0 12px 6px 0;
        padding: 0;
    }

    .kk-copyright .kk-legal-links a + a::before {
        display: none;
    }
}

/* Public shell polish v1.1.4 */
.kk-header-inner {
    grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
}

.kk-header-panel {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.kk-nav {
    width: auto;
    max-width: 100%;
}

.kk-nav > a,
.kk-nav-item > a {
    font-size: clamp(14px, .82vw, 16px);
}

.kk-actions {
    flex: 0 0 auto;
}

@media (max-width: 1280px) and (min-width: 941px) {
    .kk-header-inner {
        grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
        gap: 16px;
    }

    .kk-logo,
    .kk-logo img {
        width: min(235px, 100%);
    }

    .kk-header-panel {
        gap: 10px;
    }

    .kk-nav > a,
    .kk-nav-item > a {
        padding: 0 11px;
        font-size: 14px;
    }

    .kk-header .kk-btn {
        padding: 0 13px;
    }
}

@media (max-width: 1040px) and (min-width: 941px) {
    .kk-login-btn {
        display: none !important;
    }
}

@media (max-width: 940px) {
    .kk-header-panel {
        display: contents;
    }

    .kk-header.is-open .kk-actions {
        top: auto;
        bottom: auto;
    }
}

/* Unified public header v1.1.5
   Keeps the landing page and all inner pages on the same menu system. */
body .kk-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid color-mix(in srgb, var(--kk-shell-line) 78%, transparent);
    background: color-mix(in srgb, var(--kk-shell-surface) 88%, transparent);
    box-shadow: 0 14px 34px rgba(12, 34, 82, .055);
    backdrop-filter: blur(22px) saturate(1.12);
}

body .kk-header-inner {
    position: relative;
    width: 100%;
    min-height: 88px;
    padding: 0 clamp(20px, 4vw, 64px);
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
}

body .kk-logo,
body .kk-logo img {
    width: min(340px, 100%);
}

body .kk-logo img {
    max-height: 78px;
    object-fit: contain;
    object-position: left center;
}

body .kk-header-panel {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

body .kk-nav {
    position: static;
    width: auto;
    max-width: 100%;
    padding: 6px;
    display: flex;
    justify-self: auto;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border: 1px solid color-mix(in srgb, var(--kk-shell-line) 72%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--kk-shell-soft) 58%, transparent);
    color: var(--kk-shell-ink);
    font-size: 14px;
    font-weight: 750;
}

body .kk-nav > a,
body .kk-nav-item > a {
    position: relative;
    min-height: 42px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    color: color-mix(in srgb, var(--kk-shell-ink) 88%, var(--kk-shell-muted));
    font-size: clamp(14px, .82vw, 16px);
    font-weight: 850;
    text-decoration: none;
    transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

body .kk-nav > a:hover,
body .kk-nav .active,
body .kk-nav-item:hover > a,
body .kk-nav-item:focus-within > a {
    color: var(--kk-shell-blue);
    background: var(--kk-shell-surface);
    box-shadow: 0 10px 24px rgba(6, 72, 255, .10);
    transform: translateY(-1px);
}

body .kk-nav > a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--kk-shell-blue), #0039dc);
    box-shadow: 0 12px 26px rgba(6, 72, 255, .22);
}

body .kk-nav-item-mega {
    position: static;
}

body .kk-submenu.kk-mega-menu {
    position: absolute;
    top: calc(100% + 13px);
    left: 50%;
    width: min(1360px, calc(100vw - 48px));
    min-width: 0;
    padding: 16px;
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 14px;
    border: 1px solid var(--kk-mega-shell-border);
    border-radius: 22px;
    background: var(--kk-mega-shell-bg);
    box-shadow: var(--kk-mega-shell-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 13px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    overflow: hidden;
    z-index: 90;
}

body .kk-nav-item:hover .kk-submenu.kk-mega-menu,
body .kk-nav-item:focus-within .kk-submenu.kk-mega-menu,
body .kk-nav-item.is-open .kk-submenu.kk-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

body .kk-mega-promo {
    min-height: 100%;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--kk-mega-promo-border);
    border-radius: 17px;
    background: var(--kk-mega-promo-bg);
    color: var(--kk-mega-title);
}

body .kk-submenu .kk-mega-button,
body .kk-mega-button {
    width: fit-content;
    min-height: 43px;
    margin-top: 23px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--kk-shell-blue), #006ff0);
    color: #fff;
    box-shadow: 0 13px 27px rgba(0, 106, 255, .25);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

body .kk-mega-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-content: start;
}

body .kk-submenu .kk-mega-card,
body .kk-mega-card {
    position: relative;
    min-height: 90px;
    padding: 15px 43px 15px 58px;
    display: flex;
    align-items: center;
    border: 1px solid var(--kk-mega-card-border);
    border-radius: 14px;
    background: var(--kk-mega-card-bg);
    color: var(--kk-mega-title);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

body .kk-submenu .kk-mega-card:hover,
body .kk-mega-card:hover {
    border-color: var(--kk-mega-card-hover-border);
    background: var(--kk-mega-card-hover-bg);
    color: var(--kk-mega-title);
    transform: translateY(-2px);
}

body .kk-mega-copy strong {
    color: var(--kk-mega-title);
    font-size: 14px;
    line-height: 1.2;
}

body .kk-mega-copy small {
    display: -webkit-box;
    overflow: hidden;
    color: var(--kk-mega-copy);
    font-size: 12px;
    font-weight: 550;
    line-height: 1.32;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body .kk-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

body .kk-header .kk-btn {
    min-height: 46px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}

@media (max-width: 1280px) and (min-width: 941px) {
    body .kk-header-inner {
        grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
        gap: 16px;
        padding-right: 22px;
        padding-left: 22px;
    }

    body .kk-logo,
    body .kk-logo img {
        width: min(285px, 100%);
    }

    body .kk-header-panel {
        gap: 10px;
    }

    body .kk-nav > a,
    body .kk-nav-item > a {
        padding: 0 11px;
        font-size: 14px;
    }

    body .kk-header .kk-btn {
        padding: 0 13px;
    }
}

@media (max-width: 940px) {
    body .kk-header-inner {
        min-height: 76px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
    }

    body .kk-logo,
    body .kk-logo img {
        width: min(250px, 68vw);
    }

    body .kk-header-panel {
        display: contents;
    }

    body .kk-mobile-toggle {
        display: grid;
        place-items: center;
    }

    body .kk-nav,
    body .kk-actions {
        display: none;
    }

    body .kk-header.is-open .kk-nav,
    body .kk-header.is-open .kk-actions {
        display: flex;
    }

    body .kk-header.is-open .kk-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        width: 100%;
        padding: 14px 20px 8px;
        flex-direction: column;
        align-items: stretch;
        border: 0;
        border-bottom: 1px solid var(--kk-shell-line);
        border-radius: 0;
        background: var(--kk-shell-surface);
        box-shadow: 0 22px 42px rgba(13,38,91,.14);
    }

    body .kk-header.is-open .kk-actions {
        position: absolute;
        top: auto;
        right: 0;
        left: 0;
        padding: 12px 20px 18px;
        flex-wrap: wrap;
        background: var(--kk-shell-surface);
        border-bottom: 1px solid var(--kk-shell-line);
    }

    body .kk-header.is-open .kk-nav > a,
    body .kk-header.is-open .kk-nav-item > a {
        width: 100%;
        justify-content: space-between;
        border-radius: 10px;
    }

    body .kk-submenu.kk-mega-menu,
    body .kk-header.is-open .kk-nav-item:hover .kk-submenu,
    body .kk-header.is-open .kk-nav-item:focus-within .kk-submenu {
        position: static;
        width: 100%;
        min-width: 0;
        margin: 0 0 8px;
        padding: 9px;
        display: none;
        grid-template-columns: 1fr;
        gap: 9px;
        border-radius: 14px;
        background: var(--kk-mega-shell-bg);
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
    }

    body .kk-header.is-open .kk-nav-item-mega.is-open .kk-mega-menu {
        display: grid;
    }

    body .kk-mega-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile drawer header v1.1.8 */
.kk-mobile-backdrop {
    display: none;
}

body.kk-menu-open {
    overflow: hidden;
}

@media (max-width: 940px) {
    body .kk-header {
        z-index: 120;
    }

    body .kk-mobile-backdrop {
        position: fixed;
        inset: 0;
        z-index: 118;
        display: block;
        border: 0;
        background: rgba(3, 11, 28, .58);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s ease, visibility .2s ease;
        pointer-events: none;
    }

    body .kk-header.is-open .kk-mobile-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body .kk-header-panel {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 121;
        width: min(430px, calc(100vw - 26px));
        padding: 92px 18px 24px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 14px;
        border-left: 1px solid color-mix(in srgb, var(--kk-shell-line) 80%, transparent);
        background:
            radial-gradient(circle at 100% 0, color-mix(in srgb, var(--kk-shell-blue) 14%, transparent), transparent 34%),
            var(--kk-shell-surface);
        box-shadow: -24px 0 60px rgba(4, 16, 48, .28);
        overflow-y: auto;
        transform: translateX(105%);
        transition: transform .24s ease;
    }

    body .kk-header.is-open .kk-header-panel {
        transform: translateX(0);
    }

    body .kk-header-inner {
        z-index: 122;
        min-height: 78px;
    }

    body .kk-logo,
    body .kk-logo img {
        width: min(270px, 72vw);
    }

    body .kk-mobile-toggle {
        position: relative;
        z-index: 123;
        display: grid;
        place-items: center;
        background: var(--kk-shell-surface);
    }

    body .kk-nav,
    body .kk-actions,
    body .kk-header.is-open .kk-nav,
    body .kk-header.is-open .kk-actions {
        position: static;
        inset: auto;
        width: 100%;
        padding: 0;
        display: flex;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    body .kk-nav,
    body .kk-header.is-open .kk-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    body .kk-nav > a,
    body .kk-nav-item > a,
    body .kk-header.is-open .kk-nav > a,
    body .kk-header.is-open .kk-nav-item > a {
        min-height: 50px;
        width: 100%;
        justify-content: space-between;
        padding: 0 14px;
        border: 1px solid color-mix(in srgb, var(--kk-shell-line) 78%, transparent);
        border-radius: 14px;
        background: color-mix(in srgb, var(--kk-shell-soft) 62%, transparent);
        color: var(--kk-shell-ink);
        font-size: 15px;
    }

    body .kk-header.is-open .kk-nav > a.active,
    body .kk-header.is-open .kk-nav .active,
    body .kk-header.is-open .kk-nav-item > a.active {
        border-color: transparent;
        background: linear-gradient(135deg, var(--kk-shell-blue), #0039dc);
        color: #ffffff;
        box-shadow: 0 12px 26px rgba(6, 72, 255, .24);
    }

    body .kk-header.is-open .kk-nav > a:not(.active):hover,
    body .kk-header.is-open .kk-nav-item > a:not(.active):hover {
        background: color-mix(in srgb, var(--kk-shell-blue) 9%, var(--kk-shell-surface));
        color: var(--kk-shell-blue);
    }

    body .kk-actions,
    body .kk-header.is-open .kk-actions {
        margin-top: auto;
        display: grid;
        grid-template-columns: 54px 1fr;
        gap: 10px;
    }

    body .kk-header .kk-btn,
    body .kk-header.is-open .kk-actions .kk-btn {
        min-height: 52px;
        width: 100%;
        padding: 0 14px;
        border-radius: 14px;
    }

    body .kk-offer-btn {
        grid-column: 1 / -1;
    }

    body .kk-submenu.kk-mega-menu,
    body .kk-header.is-open .kk-nav-item:hover .kk-submenu,
    body .kk-header.is-open .kk-nav-item:focus-within .kk-submenu {
        position: static;
        width: 100%;
        min-width: 0;
        margin: 8px 0 0;
        padding: 10px;
        display: none;
        grid-template-columns: 1fr;
        gap: 10px;
        border-radius: 16px;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
    }

    body .kk-header.is-open .kk-nav-item-mega.is-open .kk-mega-menu {
        display: grid;
    }

    body .kk-mega-promo {
        min-height: auto;
        padding: 18px;
    }

    body .kk-mega-promo h3 {
        font-size: 25px;
    }

    body .kk-mega-grid {
        grid-template-columns: 1fr;
    }

    body .kk-mega-card {
        min-height: 76px;
        padding: 13px 38px 13px 52px;
    }
}

@media (max-width: 520px) {
    body .kk-header-inner {
        padding-right: 14px;
        padding-left: 14px;
    }

    body .kk-logo,
    body .kk-logo img {
        width: min(238px, 68vw);
    }

    body .kk-header-panel {
        width: min(390px, calc(100vw - 18px));
        padding-right: 14px;
        padding-left: 14px;
    }
}

/* Mobile menu stability v1.1.9 */
@media (max-width: 940px) {
    body .kk-header {
        position: sticky;
        top: 0;
        overflow: visible;
    }

    body .kk-header-inner {
        min-height: 78px;
        background: color-mix(in srgb, var(--kk-shell-surface) 92%, transparent);
    }

    body .kk-mobile-backdrop {
        top: 78px;
    }

    body .kk-header-panel {
        top: 78px;
        right: 0;
        bottom: auto;
        left: 0;
        width: 100%;
        max-height: calc(100dvh - 78px);
        padding: 12px clamp(12px, 3vw, 18px) 16px;
        border-top: 1px solid color-mix(in srgb, var(--kk-shell-line) 78%, transparent);
        border-left: 0;
        box-shadow: 0 24px 48px rgba(4, 16, 48, .22);
        overflow-y: auto;
        overscroll-behavior: contain;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    body .kk-header.is-open .kk-header-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    body .kk-nav,
    body .kk-header.is-open .kk-nav {
        gap: 7px;
    }

    body .kk-actions,
    body .kk-header.is-open .kk-actions {
        margin-top: 8px;
        grid-template-columns: 52px minmax(0, 1fr);
    }

    body .kk-theme {
        width: 52px;
        height: 52px;
    }

    body .kk-mobile-toggle {
        font-size: 28px;
        line-height: 1;
    }
}

@media (max-width: 520px) {
    body .kk-header-inner {
        min-height: 72px;
    }

    body .kk-mobile-backdrop {
        top: 72px;
    }

    body .kk-header-panel {
        top: 72px;
        max-height: calc(100dvh - 72px);
    }

    body .kk-logo,
    body .kk-logo img {
        width: min(232px, 62vw);
        max-height: 58px;
    }
}

/* Public portal login drawer v1.2.0 */
.kk-portal-drawer {
    position: fixed;
    inset: 0;
    z-index: 220;
    visibility: hidden;
    pointer-events: none;
}

.kk-portal-drawer-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(3, 11, 28, .58);
    opacity: 0;
    transition: opacity .22s ease;
}

.kk-portal-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(520px, 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid color-mix(in srgb, var(--kk-shell-line) 78%, transparent);
    background:
        radial-gradient(circle at 96% 0, color-mix(in srgb, var(--kk-shell-blue) 15%, transparent), transparent 32%),
        var(--kk-shell-surface);
    box-shadow: -30px 0 70px rgba(4, 16, 48, .28);
    overflow-y: auto;
    transform: translateX(105%);
    transition: transform .24s ease;
}

.kk-portal-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.kk-portal-drawer.is-open .kk-portal-drawer-backdrop {
    opacity: 1;
}

.kk-portal-drawer.is-open .kk-portal-drawer-panel {
    transform: translateX(0);
}

body.kk-portal-open {
    overflow: hidden;
}

.kk-portal-drawer-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.kk-portal-drawer-head span {
    display: block;
    color: var(--kk-shell-blue);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.kk-portal-drawer-head h2 {
    margin: 6px 0 0;
    color: var(--kk-shell-ink);
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: 0;
}

.kk-portal-drawer-close {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid var(--kk-shell-line);
    border-radius: 14px;
    background: var(--kk-shell-surface);
    color: var(--kk-shell-ink);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.kk-portal-drawer-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 16px;
}

.kk-portal-drawer-tabs input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.kk-portal-drawer-tabs span {
    min-height: 82px;
    padding: 12px 8px;
    display: grid;
    place-items: center;
    gap: 7px;
    border: 1px solid var(--kk-shell-line);
    border-radius: 16px;
    background: color-mix(in srgb, var(--kk-shell-soft) 64%, transparent);
    color: var(--kk-shell-ink);
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    text-align: center;
}

.kk-portal-drawer-tabs img {
    width: 24px;
    height: 24px;
}

.kk-portal-drawer-tabs input:checked + span {
    border-color: transparent;
    background: linear-gradient(135deg, var(--kk-shell-blue), #003bdc);
    color: #fff;
    box-shadow: 0 14px 30px rgba(6, 72, 255, .22);
}

.kk-portal-drawer-tabs input:checked + span img {
    filter: brightness(0) invert(1);
}

.kk-portal-drawer-form,
.kk-portal-personnel {
    padding: 18px;
    border: 1px solid var(--kk-shell-line);
    border-radius: 20px;
    background: color-mix(in srgb, var(--kk-shell-surface) 82%, var(--kk-shell-soft));
}

.kk-portal-drawer-form.is-hidden,
.kk-portal-personnel.is-hidden {
    display: none;
}

.kk-portal-field {
    margin-bottom: 13px;
}

.kk-portal-field label,
.kk-portal-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--kk-shell-ink);
    font-size: 13px;
    font-weight: 850;
}

.kk-portal-field label {
    margin-bottom: 8px;
}

.kk-portal-field input {
    width: 100%;
    height: 52px;
    padding: 0 14px;
    border: 1px solid var(--kk-shell-line);
    border-radius: 14px;
    background: var(--kk-shell-surface);
    color: var(--kk-shell-ink);
    font-size: 15px;
    outline: none;
}

.kk-portal-field input:focus {
    border-color: var(--kk-shell-blue);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--kk-shell-blue) 12%, transparent);
}

.kk-portal-remember {
    margin: 2px 0 16px;
    color: var(--kk-shell-muted);
}

.kk-portal-submit,
.kk-portal-secondary,
.kk-portal-full-link {
    min-height: 52px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
}

.kk-portal-submit {
    border: 0;
    background: linear-gradient(135deg, var(--kk-shell-blue), #003bdc);
    color: #fff;
    box-shadow: 0 14px 30px rgba(6, 72, 255, .22);
    cursor: pointer;
}

.kk-portal-secondary,
.kk-portal-full-link {
    margin-top: 10px;
    border: 1px solid var(--kk-shell-line);
    background: var(--kk-shell-surface);
    color: var(--kk-shell-blue);
}

.kk-portal-personnel h3 {
    margin: 0;
    color: var(--kk-shell-ink);
    font-size: 21px;
}

.kk-portal-personnel p {
    margin: 9px 0 15px;
    color: var(--kk-shell-muted);
    line-height: 1.55;
}

.kk-portal-full-link {
    margin-top: auto;
}

@media (max-width: 620px) {
    .kk-portal-drawer-panel {
        width: 100%;
        padding: 16px 12px 18px;
        border-left: 0;
    }

    .kk-portal-drawer-head h2 {
        font-size: 26px;
    }

    .kk-portal-drawer-tabs {
        grid-template-columns: 1fr;
    }

    .kk-portal-drawer-tabs span {
        min-height: 58px;
        grid-template-columns: 28px 1fr;
        justify-items: start;
        padding: 10px 13px;
    }
}
.kk-portal-social{display:grid;gap:9px;margin-top:14px;text-align:center}.kk-portal-social>span,.kk-portal-social>small{color:var(--kk-muted);font-size:12px}.kk-portal-social .kk-portal-secondary{display:flex;justify-content:center;text-decoration:none}
/* Public header ana aksiyonu */
.kk-header .kk-offer-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-width: 146px;
    padding-inline: 12px 14px;
    gap: 9px;
    border-color: rgba(255,255,255,.18);
    background: linear-gradient(125deg,#075ff2 0%,#0648df 52%,#08a7df 100%);
    background-size: 170% 100%;
    box-shadow: 0 14px 30px rgba(6,72,255,.28), inset 0 1px 0 rgba(255,255,255,.24);
    transition: transform .22s ease,box-shadow .22s ease,background-position .35s ease,border-color .22s ease;
}
.kk-header .kk-offer-btn::before {
    position:absolute;
    inset:-45% auto -45% -55%;
    width:42%;
    content:"";
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.34),transparent);
    transform:skewX(-18deg);
    transition:left .5s ease;
}
.kk-header .kk-offer-icon {
    position:relative;
    z-index:1;
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border:1px solid rgba(255,255,255,.26);
    border-radius:9px;
    background:rgba(255,255,255,.14);
    transition:transform .22s ease,background-color .22s ease;
}
.kk-header .kk-offer-icon img { width:15px;height:15px;filter:brightness(0) invert(1); }
.kk-header .kk-offer-label,.kk-header .kk-offer-arrow { position:relative;z-index:1; }
.kk-header .kk-offer-arrow { font-size:16px;transition:transform .22s ease; }
@media (hover:hover) and (pointer:fine) {
    .kk-header .kk-offer-btn:hover {
        transform:translateY(-3px);
        border-color:rgba(255,255,255,.38);
        background-position:100% 0;
        box-shadow:0 19px 38px rgba(6,72,255,.34),0 7px 16px rgba(5,35,96,.16),inset 0 1px 0 rgba(255,255,255,.3);
    }
    .kk-header .kk-offer-btn:hover::before { left:125%; }
    .kk-header .kk-offer-btn:hover .kk-offer-icon { transform:rotate(-5deg) scale(1.07);background:rgba(255,255,255,.22); }
    .kk-header .kk-offer-btn:hover .kk-offer-arrow { transform:translateX(4px); }
}
.kk-header .kk-offer-btn:focus-visible { outline:3px solid rgba(8,167,223,.34);outline-offset:3px; }
@media (prefers-reduced-motion:reduce) {
    .kk-header .kk-offer-btn,.kk-header .kk-offer-btn::before,.kk-header .kk-offer-icon,.kk-header .kk-offer-arrow { transition:none!important;transform:none!important; }
}
