::-webkit-scrollbar {
    width: 6px;
    height: 6px
}

.mobil-durum {
    display: none;
}

::-webkit-scrollbar-track {
    background: 0 0
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 10px
}

::-webkit-scrollbar-corner {
    background: 0 0
}

button {
    font-family: Outfit, sans-serif
}

.custom-tooltip:hover::after,
.custom-tooltip:hover::before {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    transition: .2s;
    visibility: visible
}

*,
header {
    padding: 0
}

.son-guncelleme-ust,
th {
    color: var(--text-muted)
}

td,
th {
    padding: 1.25rem 1.5rem
}

:root {
    --bg-body: #f8fafc;
    --surface-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --gold-accent: #d97706;
    --gold-bg: #fffbeb;
    --header-bg-start: #1e293b;
    --header-bg-end: #0f172a;
    --price-buy: #059669;
    --price-sell: #db2777
}

* {
    margin: 0;
    box-sizing: border-box
}

body {
    font-family: Outfit, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    padding: 2rem 1rem;
    min-height: 100vh
}

.onemli {
    max-width: 1000px;
    margin: 0 auto
}

header {
    width: 100%;
    margin-bottom: 2rem;
    background: 0 0;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible
}

.son-guncelleme-ust {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 500
}

.ikon-kutusu,
.sosyal-btn.whatsapp .sosyal-ikon {
    font-size: 1.25rem
}

.ust-banner {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, .1)
}

.fiyat-karti {
    background: var(--surface-card);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .05), 0 2px 4px -1px rgba(0, 0, 0, .03);
    border: 1px solid rgba(255, 255, 255, .5);
    overflow: hidden
}

table {
    width: 100%;
    border-collapse: collapse
}

thead {
    background-color: #f1f5f9
}

th {
    text-align: left;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em
}

td {
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
    transition: background-color .2s
}

tr:last-child td {
    border-bottom: none
}

tr:hover td {
    background-color: #f8fafc
}

.urun-sarmalayici {
    display: flex;
    align-items: center;
    gap: 12px
}

.ikon-kutusu {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: var(--gold-bg);
    color: var(--gold-accent);
    display: flex;
    align-items: center;
    justify-content: center
}

.urun-bilgi,
.yukleme-metni {
    display: flex;
    flex-direction: column
}

.urun-adi {
    font-weight: 600;
    color: var(--text-main);
    font-size: 1rem
}

.urun-notu {
    font-size: 1.0rem;
    color: var(--gold-accent);
    font-weight: 500;
    margin-top: 2px
}

.fiyat-deger {
    font-weight: 600;
    font-size: 1.4rem;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums
}

.fiyat-alis {
    color: var(--price-buy)
}

.fiyat-satis {
    color: var(--price-sell)
}

.fiyat-etiketi-mobil {
    display: none
}

.dipnot {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.0rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 5px
}

.sosyal-medya {
    display: flex;
    gap: 12px;
    margin: 2rem 0 .5rem;
    justify-content: center
}

.sosyal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    transition: .2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1)
}

.sosyal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, .15)
}

.sosyal-btn:active,
.yukleme-penceresi.show {
    transform: translateY(0)
}

.sosyal-btn.instagram {
    background: #fff;
    color: #d62976;
    border: 1px solid #fae1ec;
    background: linear-gradient(to right, #fff, #fff0f5)
}

.sosyal-btn.instagram .sosyal-ikon {
    background: -webkit-linear-gradient(45deg, #f09433 0, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.25rem
}

.sosyal-btn.whatsapp {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0
}

.yukleme-penceresi {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .1);
    transform: translateY(100%);
    transition: transform .4s cubic-bezier(.16, 1, .3, 1);
    z-index: 1000;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px
}

.yukleme-icerik {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem
}

.yukleme-metni strong {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 2px
}

.yukleme-metni span {
    font-size: .9rem;
    color: var(--text-muted)
}

.yukleme-butonlar {
    display: flex;
    gap: 10px
}

button.btn-islem {
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    font-size: .9rem;
    transition: opacity .2s
}

.btn-iptal {
    background: #f1f5f9;
    color: var(--text-muted)
}

.btn-yukle {
    background: var(--header-bg-start);
    color: #fff
}

.btn-yukle:active {
    opacity: .8
}

@media (max-width:640px) {

    td:first-child,
    tr {
        margin-bottom: 1rem
    }

    body {
        padding: 1rem .5rem
    }

    header {
        padding: 1rem .2rem;
        margin-bottom: 1.5rem;
        border-radius: 16px
    }

    h1 {
        font-size: 1.75rem
    }

    thead {
        display: none
    }

    table,
    tbody,
    td,
    tr {
        display: block;
        width: 100%
    }

    tr {
        background: #fff;
        border-radius: 12px;
        border: 1px solid var(--border-light);
        padding: 1.25rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .05)
    }

    td:last-child,
    tr:last-child {
        margin-bottom: 0
    }

    td {
        padding: 0;
        border: none;
        margin-bottom: .75rem;
        display: flex;
        justify-content: space-between;
        align-items: center
    }

    td:first-child {
        padding-bottom: 1rem;
        border-bottom: 1px dashed var(--border-light)
    }

    .fiyat-sutun {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        align-items: center
    }

    .fiyat-karti {
        background: 0 0;
        border-radius: 16px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .05), 0 2px 4px -1px rgba(0, 0, 0, .03);

        overflow: hidden
    }

    .fiyat-etiketi-mobil {
        display: block;
        font-size: .875rem;
        color: var(--text-muted);
        font-weight: 500
    }

    .fiyat-deger {
        font-size: 1.25rem
    }

    .yukleme-icerik {
        flex-direction: column;
        text-align: center
    }

    .yukleme-butonlar {
        width: 100%;
        justify-content: space-between
    }

    .btn-islem {
        flex: 1
    }

    .mobil-durum {
        display: flex !important;
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border-light);
        margin-bottom: 0.5rem;
    }
}




@media screen and (min-width:1280px) and (max-width:1365px) {
    body {
        zoom: 0.67;
        overflow: hidden;
        height: 100vh
    }
}

@media screen and (min-width:1366px) and (max-width:1599px) {
    body {
        zoom: 0.71;
        overflow: hidden;
        height: 100vh
    }
}

@media screen and (min-width:1600px) and (max-width:1679px) {
    body {
        zoom: 0.83;
        overflow: hidden;
        height: 100vh
    }
}

@media screen and (min-width:1680px) and (max-width:1919px) {
    body {
        zoom: 0.88;
        overflow: hidden;
        height: 100vh
    }
}

@media (min-width:1024px) {
    .onemli {
        max-width: 1400px;
        padding: 0 1rem
    }

    header {
        margin-bottom: 2rem
    }

    .ust-banner {
        width: 100%;
        max-width: 100%;
        max-height: 220px
    }

    table {
        width: 100%
    }

    thead {
        display: table-header-group
    }

    th {
        font-size: 1.2rem;
        padding: 1rem
    }

    td {
        padding: .8rem 1rem;
        font-size: 1rem
    }

    .ikon-kutusu {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 1.3rem
    }

    .urun-adi {
        font-size: 1.4rem
    }

    .urun-notu {
        font-size: 1rem
    }

    .fiyat-deger {
        font-size: 1.8rem;
        font-weight: 700;
    }

    .fiyat-etiketi-mobil {
        display: none
    }
}



.text-danger {
    color: #ef4444 !important;
    font-weight: 700
}

.custom-tooltip {
    position: relative;
    cursor: help
}

.custom-tooltip:hover::after {
    content: attr(data-tooltip);
    padding: .5rem 1rem;
    background-color: #1e293b;
    color: #fff;
    font-size: .8rem;
    font-weight: 500;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 1;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1);
    margin-bottom: 5px;
}

/* Intro Animation Styles */
#loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.curtain-top,
.curtain-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    background: #f8fafc;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 10000;
}

.curtain-top {
    top: 0;
}

.curtain-bottom {
    bottom: 0;
}

@keyframes logo-intro {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    15% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

.loading-logo {
    position: relative;
    z-index: 10001;
    width: 300px;
    height: auto;
    object-fit: contain;
    animation: logo-intro 2s ease forwards;
}

/* Loaded State */
#loading-screen.loaded .curtain-top {
    transform: translateY(-100%);
}

#loading-screen.loaded .curtain-bottom {
    transform: translateY(100%);
}

#loading-screen.loaded .loading-logo {
    opacity: 0;
}

.custom-tooltip:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #1e293b transparent transparent;
    margin-bottom: -5px;
    opacity: 1;
}