/*
 * Teklif listesi: sağ alt "albüm" kartı, bildirim (toast), liste paneli (çekmece / mobilde tam yükseklik sayfa).
 * main.css token'ları: --color-primary #bd1520, --color-dark #5c5d61, --color-light #ececec. Montserrat gövdeden gelir.
 * Görsel dil: beyaz kart, 6px köşe, 1px açık gri çizgiler, yumuşak gölge; kırmızı yalnızca sayı rozeti, indirim ve vurgu.
 * Kırılmalar: ≤767px kart küçülür (albüm + rozet), ≤575px panel alttan tam yükseklik açılır.
 */

.tl [hidden] {
    display: none !important;
}

.tl-sr {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
}

.tl :focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

html.tl-kilit {
    overflow: hidden;
}

html.tl-kilit body {
    padding-right: var(--tl-kaydirma, 0px);
}

/* Kart görünürken sayfa sonundaki alt bilgi içeriği kartın altında kalmasın */
html.tl-dolu body > footer {
    padding-bottom: 128px !important;
}

/* ---------------------------------------------------------------- */
/* Sağ alt kart                                                       */
/* ---------------------------------------------------------------- */

.tl-kart {
    position: fixed;
    right: 24px;
    bottom: calc(24px + var(--tl-alt-bosluk, 0px) + env(safe-area-inset-bottom, 0px));
    z-index: 7;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 252px;
    margin: 0;
    padding: 12px 22px 12px 14px;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    background-color: #fff;
    color: #000;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .06);
    font-family: inherit;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .25s ease, transform .25s ease, box-shadow .3s, border-color .3s, bottom .3s ease;
}

.tl-kart.is-gorunur {
    opacity: 1;
    transform: none;
}

@media (hover: hover) {
    .tl-kart:hover {
        border-color: #c4c5c8;
        box-shadow: 0 16px 40px rgba(0, 0, 0, .16), 0 2px 8px rgba(0, 0, 0, .08);
    }
}

.tl-kart:focus-visible {
    outline-offset: 3px;
}

.tl-kart__metin {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.tl-kart__baslik {
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.tl-kart__alt {
    display: flex;
    align-items: center;
    font-size: 13px;
    white-space: nowrap;
}

.tl-kart__sayi {
    padding-right: 10px;
    border-right: 1px solid #d5d6d8;
    color: var(--color-dark);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.tl-kart__cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding-left: 10px;
    color: #000;
    font-weight: 600;
    transition: color .3s;
}

.tl-kart__cta svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
    transition: transform .3s;
}

@media (hover: hover) {
    .tl-kart:hover .tl-kart__cta {
        color: var(--color-primary);
    }

    .tl-kart:hover .tl-kart__cta svg {
        transform: translateX(3px);
    }
}

.tl-rozet {
    position: absolute;
    top: -10px;
    right: -10px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border: 2px solid #fff;
    border-radius: 12px;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 2px 6px rgba(189, 21, 32, .35);
}

.tl-kart.is-vurgu {
    animation: tl-vurgu .7s ease;
}

.tl-kart.is-vurgu .tl-rozet {
    animation: tl-rozet .6s ease .1s;
}

.tl-kart.is-vurgu .tl-album__foto--1 {
    animation: tl-foto .6s ease;
}

@keyframes tl-vurgu {
    0% {
        transform: none;
        box-shadow: 0 12px 32px rgba(0, 0, 0, .12), 0 0 0 0 rgba(189, 21, 32, .35);
    }
    30% {
        transform: scale(1.04);
        box-shadow: 0 16px 40px rgba(0, 0, 0, .16), 0 0 0 6px rgba(189, 21, 32, .18);
    }
    65% {
        transform: scale(.99);
    }
    100% {
        transform: none;
        box-shadow: 0 12px 32px rgba(0, 0, 0, .12), 0 0 0 10px rgba(189, 21, 32, 0);
    }
}

@keyframes tl-rozet {
    0%, 100% {
        transform: none;
    }
    40% {
        transform: scale(1.35);
    }
}

@keyframes tl-foto {
    0% {
        transform: translateY(-6px) scale(1.12);
    }
    100% {
        transform: none;
    }
}

/* ---------------------------------------------------------------- */
/* Albüm: ilk 3 kalemin görseli üst üste (en önde ilk kalem, 0°)       */
/* ---------------------------------------------------------------- */

.tl-album {
    position: relative;
    display: block;
    flex: none;
    width: 80px;
    height: 60px;
}

/* Fotoğraf zemini: sitenin ürün kutucuklarındaki pastel tonlar; beyaz fonlu ürün fotoğrafı "multiply" ile zemine oturur */
.tl-album__foto {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    margin: -23px 0 0 -23px;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 4px;
    background-color: #e2dbd3;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .22), 0 0 0 1px rgba(0, 0, 0, .05);
}

.tl-album__foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    transform: scale(1.3); /* ürün fotoğraflarındaki beyaz kenar boşluğunu kırpar */
}

.tl-album__foto--2 {
    background-color: #dde8ee;
    transform: translate(14px, -3px) rotate(5deg);
}

.tl-album__foto--3 {
    background-color: #d2ded3;
    transform: translate(-14px, 1px) rotate(-8deg);
}

.tl-album[data-sayi="2"] .tl-album__foto--1 {
    margin-left: -30px;
}

.tl-album[data-sayi="3"] .tl-album__foto--1 {
    margin-top: -21px;
}

/* Görseli olmayan kalem: nötr yer tutucu */
.tl-album .tl-album__foto.is-yer,
.tl-yer {
    background: #f1f1f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a2a6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='4.5' width='17' height='15' rx='1.5'/%3E%3Ccircle cx='9' cy='10' r='1.6'/%3E%3Cpath d='m20.5 16-4.8-4.8L7 19.5'/%3E%3C/svg%3E") center / 50% no-repeat;
}

.tl-album__fazla {
    position: absolute;
    right: -6px;
    bottom: -4px;
    z-index: 4;
    min-width: 26px;
    height: 22px;
    padding: 0 6px;
    border: 2px solid #fff;
    border-radius: 11px;
    background-color: var(--color-dark);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* Uçan görsel (ekleme animasyonu) */
.tl-ucan {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1060;
    pointer-events: none;
    will-change: transform;
}

.tl-ucan__ic {
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 6px;
    background-color: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
    will-change: transform;
}

.tl-ucan__ic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------------------------------------------------------------- */
/* Bildirim (toast)                                                   */
/* ---------------------------------------------------------------- */

.tl-toast {
    position: fixed;
    right: 24px;
    bottom: calc(24px + 96px + var(--tl-alt-bosluk, 0px) + env(safe-area-inset-bottom, 0px));
    z-index: 1050;
    width: max-content;
    max-width: min(420px, calc(100vw - 32px));
    pointer-events: none;
}

.tl-toast.is-acik {
    pointer-events: auto;
}

.tl-toast__kutu {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 6px 8px 6px 14px;
    border-radius: 6px;
    background-color: #2b2c2f;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
    animation: tl-toast-gir .28s cubic-bezier(.2, .8, .2, 1);
}

@keyframes tl-toast-gir {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.tl-toast__ikon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #fff;
}

.tl-toast__ikon svg {
    width: 14px;
    height: 14px;
    fill: #2b2c2f;
}

.tl-toast__mesaj {
    flex: 1 1 auto;
    padding: 8px 0;
}

.tl-toast__eylem {
    flex: none;
    min-height: 44px;
    margin-left: 4px;
    padding: 0 10px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .22);
    border-radius: 0;
    background: none;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    cursor: pointer;
}

.tl-toast__eylem:hover {
    color: #ffd9dc;
}

.tl-toast__eylem:focus-visible {
    outline-color: #fff;
    outline-offset: -2px;
}

/* Panel içindeki bildirim: panelin altında, alt bölümün üstünde (konum JS ile) */
.tl-toast--panel {
    position: absolute;
    right: 16px;
    bottom: 96px;
    left: 16px;
    width: auto;
    max-width: none;
}

/* ---------------------------------------------------------------- */
/* Panel                                                              */
/* ---------------------------------------------------------------- */

.tl-perde {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background-color: rgba(0, 0, 0, .5);
    opacity: 0;
    transition: opacity .3s ease;
}

.tl-perde.is-acik {
    opacity: 1;
}

.tl-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1041;
    display: flex;
    flex-direction: column;
    width: min(440px, 100vw);
    background-color: #fff;
    color: #000;
    line-height: 1.4;
    box-shadow: -16px 0 40px rgba(0, 0, 0, .16);
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.2, .8, .2, 1);
    outline: none;
}

.tl-panel.is-acik {
    transform: none;
}

.tl-panel p,
.tl-panel h2,
.tl-panel h3,
.tl-panel ul {
    margin: 0;
    padding: 0;
}

.tl-panel__ust {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    min-height: 72px;
    padding: 12px 12px 12px 24px;
    border-bottom: 1px solid var(--color-light);
}

.tl-panel[data-adim="form"] .tl-panel__ust {
    padding-left: 12px;
}

.tl-panel__baslik-kap {
    flex: 1 1 auto;
    min-width: 0;
}

.tl-panel__baslik {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.tl-panel__baslik:focus {
    outline: none;
}

.tl-panel__sayi {
    margin-top: 2px !important;
    color: var(--color-dark);
    font-size: 13px;
    font-weight: 500;
}

.tl-panel__sayi:empty {
    display: none;
}

.tl-ikon-btn {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: none;
    color: #000;
    cursor: pointer;
    transition: background-color .3s, color .3s;
}

@media (hover: hover) {
    .tl-ikon-btn:hover {
        background-color: var(--color-light);
        color: var(--color-primary);
    }
}

.tl-ikon-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.tl-adim {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    margin: 0;
}

.tl-panel__govde {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0 24px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.tl-panel__alt {
    flex: none;
    padding: 16px 24px calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--color-light);
    background-color: #fff;
    box-shadow: 0 -10px 24px rgba(0, 0, 0, .05);
}

/* Butonlar (fyt-btn ile aynı görünüm) */
.tl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid var(--color-dark);
    border-radius: 6px;
    background-color: var(--color-dark);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .3s, border-color .3s, color .3s;
}

@media (hover: hover) {
    .tl-btn:hover {
        border-color: var(--color-primary);
        background-color: var(--color-primary);
        color: #fff;
    }
}

.tl-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex: none;
}

.tl-btn--cizgi {
    background-color: #fff;
    color: #000;
}

@media (hover: hover) {
    .tl-btn--cizgi:hover {
        background-color: #fff;
        color: var(--color-primary);
    }
}

.tl-btn--tam {
    width: 100%;
}

.tl-btn:disabled {
    border-color: var(--color-light);
    background-color: var(--color-light);
    color: var(--color-dark);
    cursor: not-allowed;
}

.tl-baglanti {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: #000;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    cursor: pointer;
    transition: color .3s;
}

.tl-baglanti:hover {
    color: var(--color-primary);
}

.tl-baglanti--kaldir {
    color: var(--color-dark);
}

/* ---------------- Kalem satırı ---------------- */

.tl-kalemler {
    list-style: none;
}

.tl-kalem {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    column-gap: 16px;
    padding: 20px 0 10px;
    border-bottom: 1px solid var(--color-light);
}

.tl-kalem:last-child {
    border-bottom: 0;
}

.tl-kalem__gorsel {
    display: block;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border: 1px solid var(--color-light);
    border-radius: 6px;
    background-color: #fff;
}

.tl-kalem__gorsel img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tl-kalem__gorsel .tl-yer {
    display: block;
    width: 100%;
    height: 100%;
}

.tl-kalem__govde {
    min-width: 0;
}

.tl-kalem__ad {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.tl-kalem__ad a {
    color: inherit;
    text-decoration: none;
    transition: color .3s;
}

.tl-kalem__ad a[href]:hover {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tl-kalem__ozet {
    margin-top: 4px !important;
    color: var(--color-dark);
    font-size: 13px;
    line-height: 1.45;
}

.tl-kalem__kampanya {
    margin-top: 4px !important;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
}

.tl-kalem__gecersiz {
    display: inline-block;
    margin-top: 6px !important;
    padding: 4px 8px !important;
    border-radius: 4px;
    background-color: #fbeaeb;
    color: #8f1018;
    font-size: 13px;
    font-weight: 600;
}

.tl-kalem.is-gecersiz .tl-kalem__gorsel {
    opacity: .5;
}

.tl-kalem__orta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px 12px;
    margin-top: 12px;
}

.tl-kalem.is-gecersiz .tl-kalem__orta {
    display: none;
}

.tl-adet {
    display: inline-flex;
    align-items: center;
    height: 44px;
    border: 1px solid #c4c5c8;
    border-radius: 6px;
    background-color: #fff;
}

.tl-adet__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: none;
    color: #000;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.tl-adet__btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

@media (hover: hover) {
    .tl-adet__btn:hover:not(:disabled) {
        background-color: #f4f4f5;
        color: var(--color-primary);
    }
}

.tl-adet__btn:disabled {
    color: #b5b6b9;
    cursor: not-allowed;
}

.tl-adet__giris {
    width: 34px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #000;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.tl-kalem__fiyat {
    display: flex;
    flex: 1 1 140px;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    min-width: 0;
    margin-left: auto;
    text-align: right;
    font-variant-numeric: tabular-nums;
    transition: opacity .2s;
}

.tl-kalem__fiyat.is-bayat,
.tl-panel__alt.is-bayat .tl-toplam {
    opacity: .45;
}

.tl-fiyat__eski {
    color: var(--color-dark);
    font-size: 13px;
    font-weight: 500;
}

.tl-fiyat__eski s {
    text-decoration-thickness: 1px;
}

.tl-fiyat__oran {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 4px;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.tl-fiyat__birim {
    color: var(--color-dark);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.tl-fiyat__ana {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.tl-fiyat__ana.is-indirim {
    color: var(--color-primary);
}

.tl-fiyat__ikincil {
    color: var(--color-dark);
    font-size: 12px;
    white-space: nowrap;
}

.tl-fiyat__yok {
    max-width: 160px;
    color: var(--color-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.tl-kalem__not textarea {
    display: block;
    width: 100%;
    min-height: 64px;
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid #8c8d91;
    border-radius: 6px;
    background-color: #fff;
    color: #000;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    resize: vertical;
}

.tl-kalem__not textarea:focus,
.tl-alan input:focus,
.tl-alan textarea:focus {
    border-color: var(--color-primary);
    outline: 1px solid var(--color-primary);
}

.tl-kalem__eylem {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
    margin-top: 4px;
}

/* ---------------- Durumlar ---------------- */

.tl-iskelet {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    grid-template-rows: 18px 14px 1fr;
    gap: 10px 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-light);
}

.tl-iskelet span {
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f1 0%, #f7f7f8 45%, #f0f0f1 90%) 0 0 / 200% 100%;
    animation: tl-parilti 1.3s linear infinite;
}

.tl-iskelet span:first-child {
    grid-row: 1 / span 3;
    height: 80px;
    border-radius: 6px;
}

.tl-iskelet span:nth-child(2) {
    width: 55%;
}

.tl-iskelet span:nth-child(3) {
    width: 80%;
}

@keyframes tl-parilti {
    to {
        background-position: -200% 0;
    }
}

.tl-durum--hata {
    margin: 16px 0 4px;
    padding: 12px 14px;
    border-left: 4px solid var(--color-primary);
    border-radius: 4px;
    background-color: #fbeaeb;
    color: #8f1018;
    font-size: 14px;
    font-weight: 500;
}

.tl-durum--hata .tl-btn {
    min-height: 44px;
    margin-top: 10px;
    padding: 8px 18px;
    font-size: 14px;
}

.tl-bos {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 56px 8px 24px;
    text-align: center;
}

.tl-bos__ikon {
    position: relative;
    display: block;
    width: 104px;
    height: 80px;
    margin-bottom: 20px;
}

.tl-bos__ikon span {
    position: absolute;
    top: 12px;
    left: 24px;
    width: 56px;
    height: 56px;
    border: 3px solid #fff;
    border-radius: 4px;
    background-color: #f1f1f2;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .16), 0 0 0 1px rgba(0, 0, 0, .05);
}

.tl-bos__ikon span:nth-child(1) {
    background-color: #e9e9ea;
    transform: translate(-16px, 2px) rotate(-8deg);
}

.tl-bos__ikon span:nth-child(2) {
    background-color: #efeff0;
    transform: translate(16px, -2px) rotate(5deg);
}

.tl-bos__ikon span:nth-child(3) {
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a2a6' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center / 55% no-repeat;
}

.tl-bos__baslik {
    font-size: 18px;
    font-weight: 700;
}

.tl-bos__metin {
    max-width: 320px;
    margin: 8px 0 24px !important;
    color: var(--color-dark);
    font-size: 14px;
    line-height: 1.5;
}

.tl-not {
    margin-top: 4px !important;
    padding-top: 14px !important;
    border-top: 1px solid var(--color-light);
    color: var(--color-dark);
    font-size: 12px;
    line-height: 1.5;
}

/* ---------------- Alt bölüm: genel toplam ---------------- */

.tl-toplam {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    font-variant-numeric: tabular-nums;
    transition: opacity .2s;
}

.tl-toplam__etiket {
    padding-top: 3px;
    font-size: 15px;
    font-weight: 600;
}

.tl-toplam__tutar {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.tl-toplam__tutar strong {
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.tl-toplam__ikincil {
    color: var(--color-dark);
    font-size: 12px;
}

.tl-toplam__fiyatsiz {
    margin-top: 6px !important;
    color: var(--color-dark);
    font-size: 13px;
    font-weight: 500;
}

.tl-toplam + .tl-toplam__fiyatsiz {
    text-align: right;
}

.tl-panel__alt .tl-btn--tam {
    margin-top: 14px;
}

.tl-panel__alt .tl-toplam[hidden] + .tl-toplam__fiyatsiz[hidden] + .tl-btn--tam {
    margin-top: 0;
}

/* ---------------- Form adımı ---------------- */

.tl-ozet {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding: 12px 16px 12px 12px;
    border-radius: 6px;
    background-color: #f6f6f6;
    font-variant-numeric: tabular-nums;
}

.tl-album--kucuk {
    width: 68px;
    height: 56px;
}

.tl-album--kucuk .tl-album__foto {
    width: 42px;
    height: 42px;
    margin: -21px 0 0 -21px;
}

.tl-ozet__metin {
    min-width: 0;
}

.tl-ozet__baslik {
    margin-bottom: 2px !important;
    color: var(--color-dark);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1.3;
    text-transform: uppercase;
}

.tl-ozet__sayi {
    font-size: 16px;
    font-weight: 700;
}

.tl-ozet__toplam {
    margin-top: 2px !important;
    font-size: 14px;
    font-weight: 600;
}

.tl-ozet__ikincil {
    color: var(--color-dark);
    font-size: 12px;
}

.tl-ozet__not {
    margin-top: 8px !important;
    color: var(--color-dark);
    font-size: 12px;
}

.tl-form__baslik {
    margin: 24px 0 14px !important;
    font-size: 16px;
    font-weight: 700;
}

.tl-hata {
    margin-bottom: 16px !important;
    padding: 12px 14px !important;
    border-left: 4px solid var(--color-primary);
    border-radius: 4px;
    background-color: #fbeaeb;
    color: #8f1018;
    font-size: 14px;
    font-weight: 500;
}

.tl-alan {
    margin-bottom: 16px;
}

.tl-alan label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
}

.tl-alan input,
.tl-alan textarea {
    display: block;
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #8c8d91;
    border-radius: 6px;
    background-color: #fff;
    color: #000;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.35;
    transition: border-color .3s;
}

.tl-alan textarea {
    min-height: 96px;
    resize: vertical;
    font-size: 15px;
}

.tl-alan input:user-invalid {
    border-color: var(--color-primary);
}

.tl-alan__zorunlu {
    color: var(--color-primary);
}

.tl-alan__ops {
    color: var(--color-dark);
    font-weight: 400;
}

.tl-alan__ikili {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
}

.tl-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.tl-bilgi {
    color: var(--color-dark);
    font-size: 12px;
    line-height: 1.5;
}

/* ---------------- Başarı adımı ---------------- */

.tl-basari .tl-panel__govde {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 48px;
    padding-bottom: 48px;
    text-align: center;
}

.tl-basari__ikon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: #e8f0e6;
    animation: tl-basari .45s cubic-bezier(.2, .8, .2, 1.3);
}

.tl-basari__ikon svg {
    width: 36px;
    height: 36px;
    fill: #3d6b37;
}

@keyframes tl-basari {
    from {
        opacity: 0;
        transform: scale(.6);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.tl-basari__baslik {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.tl-basari__baslik:focus {
    outline: none;
}

.tl-basari__metin {
    max-width: 340px;
    margin: 10px 0 28px !important;
    color: var(--color-dark);
    font-size: 15px;
    line-height: 1.5;
}

.tl-basari__eylem {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* ---------------------------------------------------------------- */
/* Ekran boyutları                                                    */
/* ---------------------------------------------------------------- */

@media screen and (max-width: 767px) {
    .tl-kart {
        right: 16px;
        bottom: calc(16px + var(--tl-alt-bosluk, 0px) + env(safe-area-inset-bottom, 0px));
        min-width: 0;
        padding: 8px 10px;
        gap: 0;
    }

    .tl-kart__metin {
        display: none;
    }

    html.tl-dolu body > footer {
        padding-bottom: 104px !important;
    }

    .tl-album {
        width: 70px;
        height: 54px;
    }

    .tl-album__foto {
        width: 42px;
        height: 42px;
        margin: -21px 0 0 -21px;
    }

    .tl-album__foto--2 {
        transform: translate(12px, -3px) rotate(5deg);
    }

    .tl-album__foto--3 {
        transform: translate(-12px, 1px) rotate(-8deg);
    }

    .tl-album[data-sayi="2"] .tl-album__foto--1 {
        margin-left: -27px;
    }

    .tl-album[data-sayi="3"] .tl-album__foto--1 {
        margin-top: -19px;
    }

    .tl-toast {
        right: 16px;
        left: 16px;
        bottom: calc(16px + 84px + var(--tl-alt-bosluk, 0px) + env(safe-area-inset-bottom, 0px));
        width: auto;
        max-width: none;
    }

    .tl-toast--panel {
        right: 12px;
        left: 12px;
    }
}

@media screen and (max-width: 575px) {
    .tl-panel {
        left: 0;
        width: auto;
        box-shadow: none;
        transform: translateY(100%);
    }

    .tl-panel__ust {
        min-height: 64px;
        padding: 8px 8px 8px 16px;
    }

    .tl-panel[data-adim="form"] .tl-panel__ust {
        padding-left: 8px;
    }

    .tl-panel__govde {
        padding: 0 16px 16px;
    }

    .tl-panel__alt {
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .tl-kalem {
        grid-template-columns: 64px minmax(0, 1fr);
        column-gap: 12px;
        padding-top: 16px;
    }

    .tl-kalem__gorsel {
        width: 64px;
        height: 64px;
    }

    .tl-iskelet {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .tl-iskelet span:first-child {
        height: 64px;
    }

    .tl-alan__ikili {
        grid-template-columns: 1fr;
    }

    .tl-panel__alt .tl-btn--tam {
        margin-top: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tl-kart,
    .tl-perde,
    .tl-panel,
    .tl-kalem__fiyat,
    .tl-toplam,
    .tl-btn,
    .tl-kart__cta svg {
        transition: none !important;
    }

    .tl-kart.is-vurgu,
    .tl-kart.is-vurgu .tl-rozet,
    .tl-kart.is-vurgu .tl-album__foto--1,
    .tl-toast__kutu,
    .tl-iskelet span,
    .tl-basari__ikon {
        animation: none !important;
    }
}
