/* =====================================================================
   Mağaza akışı — sepet çekmecesi, tek sayfa ödeme, üyelik / hesabım
   Temadan bağımsız sade stil. Renkler panelden: --ak-buton, --ak-vurgu
   ===================================================================== */
:root { --ak-buton: #222222; --ak-vurgu: #FF6A1B; --ak-yazi: #1f1f1f; --ak-soluk: #707070;
        --ak-cizgi: #dedede; --ak-zemin: #f5f5f5; --ak-hata: #c62828; --ak-yaricap: 6px; }

/* ---------------- ortak form ögeleri ---------------- */
.ak-alan { position: relative; margin-bottom: 12px; }
.ak-alan input, .ak-alan select, .ak-alan textarea,
.ak-form .form__alan, .ak-form .form-control, .ak-form .form-select {
    width: 100%; box-sizing: border-box; min-height: 52px; padding: 16px 14px 6px; font-size: 15px;
    color: var(--ak-yazi); background: #fff; border: 1px solid var(--ak-cizgi); border-radius: var(--ak-yaricap);
    outline: none; transition: border-color .15s, box-shadow .15s; font-family: inherit; }
.ak-alan textarea { min-height: 90px; resize: vertical; }
.ak-alan label { position: absolute; left: 15px; top: 6px; font-size: 11.5px; color: var(--ak-soluk); pointer-events: none; }
.ak-alan input:focus, .ak-alan select:focus, .ak-alan textarea:focus, .ak-form .form__alan:focus,
.ak-form .form-control:focus, .ak-form .form-select:focus { border-color: var(--ak-buton); box-shadow: 0 0 0 1px var(--ak-buton); }
.ak-satir { display: flex; gap: 12px; } .ak-satir > * { flex: 1; min-width: 0; }
.ak-onay { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #444; margin: 10px 0; cursor: pointer; }
.ak-onay input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ak-buton); flex: none; }
.ak-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
    background: var(--ak-buton); color: #fff !important; border: 1px solid var(--ak-buton); border-radius: var(--ak-yaricap);
    font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none !important; width: 100%; }
.ak-btn:hover { filter: brightness(1.15); }
.ak-btn--cizgi { background: #fff; color: var(--ak-yazi) !important; border-color: var(--ak-cizgi); }
.ak-btn--vurgu { background: var(--ak-vurgu); border-color: var(--ak-vurgu); }
.ak-hata { color: var(--ak-hata); font-size: 13px; margin: -6px 0 10px; }
.ak-uyari { padding: 12px 14px; border-radius: var(--ak-yaricap); font-size: 14px; margin-bottom: 16px; }
.ak-uyari--sari { background: #fff8e1; border: 1px solid #f3dd8a; color: #7a5b00; }
.ak-uyari--kirmizi { background: #fdecea; border: 1px solid #f5c2c0; color: #8a1c1c; }
.ak-uyari--yesil { background: #e9f7ef; border: 1px solid #b7e2c7; color: #1d6b3c; }

/* ===================== SEPET ÇEKMECESİ ===================== */
.ak-cekmece-perde { position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; visibility: hidden;
    transition: opacity .25s; z-index: 99998; }
.ak-cekmece { position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 100%; background: #fff;
    transform: translateX(100%); transition: transform .3s ease, visibility .3s; z-index: 99999; display: flex; flex-direction: column;
    font-size: 15px; color: var(--ak-yazi); box-shadow: none; visibility: hidden; }
.ak-cekmece--acik .ak-cekmece { transform: none; visibility: visible; box-shadow: -8px 0 30px rgba(0,0,0,.12); }
.ak-cekmece--acik .ak-cekmece-perde { opacity: 1; visibility: visible; }
.ak-cekmece__bas { display: flex; align-items: center; gap: 10px; padding: 22px 20px; border-bottom: 1px solid var(--ak-cizgi); }
.ak-cekmece__bas h3 { margin: 0; font-size: 21px; font-weight: 600; }
.ak-cekmece__sayi { background: var(--ak-vurgu); color: #fff; border-radius: 50%; min-width: 26px; height: 26px;
    display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.ak-cekmece__kapat { margin-left: auto; background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: #222; padding: 0 4px; }
.ak-kargo { background: #f3f2f0; padding: 14px 20px 16px; border-bottom: 1px solid var(--ak-cizgi); font-size: 14px; }
.ak-kargo__cubuk { height: 8px; background: #e2e0dd; border-radius: 8px; margin-top: 10px; overflow: hidden; }
.ak-kargo__cubuk span { display: block; height: 100%; background: var(--ak-vurgu); border-radius: 8px; transition: width .4s; }
.ak-cekmece__govde { flex: 1; overflow-y: auto; padding: 0 20px; }
.ak-kalem { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid #ececec; }
.ak-kalem:last-child { border-bottom: 0; }
.ak-kalem__resim { width: 80px; height: 80px; flex: none; object-fit: contain; border-radius: 4px; background: #fafafa; }
.ak-kalem__bilgi { flex: 1; min-width: 0; }
.ak-kalem__marka { color: var(--ak-vurgu); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.ak-kalem__ad { color: var(--ak-yazi) !important; font-weight: 600; line-height: 1.35; text-decoration: none !important; display: block; }
.ak-kalem__secenek { color: var(--ak-soluk); font-size: 13px; margin-top: 2px; }
.ak-kalem__alt { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 8px; }
.ak-adet { display: inline-flex; border: 1px solid var(--ak-cizgi); border-radius: 4px; overflow: hidden; }
.ak-adet button { width: 34px; height: 36px; background: #fff; border: 0; font-size: 18px; cursor: pointer; color: #222; }
.ak-adet button:hover { background: #f4f4f4; }
.ak-adet span { width: 38px; display: inline-flex; align-items: center; justify-content: center; border-left: 1px solid var(--ak-cizgi); border-right: 1px solid var(--ak-cizgi); font-size: 14px; }
.ak-kalem__fiyat { font-weight: 700; white-space: nowrap; }
.ak-kalem__kaldir { background: none; border: 0; padding: 0; margin-top: 8px; color: var(--ak-vurgu); text-decoration: underline; font-size: 13.5px; cursor: pointer; }
.ak-cekmece__alt { border-top: 1px solid var(--ak-cizgi); padding: 16px 20px 18px; box-shadow: 0 -10px 20px -18px rgba(0,0,0,.4); }
.ak-cekmece__not { color: var(--ak-vurgu) !important; text-decoration: underline; font-size: 14px; }
.ak-cekmece__toplam { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 4px; font-weight: 600; font-size: 17px; }
.ak-cekmece__toplam b { font-size: 22px; }
.ak-cekmece__vergi { color: var(--ak-vurgu); font-size: 13px; margin-bottom: 14px; }
.ak-cekmece__gor { display: block; text-align: center; margin-top: 12px; color: var(--ak-vurgu) !important; text-decoration: underline; }
.ak-cekmece__bos { text-align: center; padding: 60px 10px; color: var(--ak-soluk); }
.ak-cekmece__yukleniyor { opacity: .45; pointer-events: none; }
body.ak-kilit { overflow: hidden; }

/* ===================== TEK SAYFA ÖDEME ===================== */
body.ak-odeme { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ak-yazi); background: #fff; }
.ak-odeme__izgara { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.ak-odeme__sol { padding: 28px 40px 40px; display: flex; justify-content: flex-end; }
.ak-odeme__sol-ic { width: 100%; max-width: 612px; }
.ak-odeme__sag { background: var(--ak-zemin); border-left: 1px solid #e6e6e6; padding: 56px 40px 40px; }
.ak-odeme__sag-ic { width: 100%; max-width: 520px; position: sticky; top: 30px; }
.ak-odeme__bas { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.ak-odeme__logo img { max-height: 56px; max-width: 220px; display: block; }
.ak-odeme__bas-giris { font-size: 14px; color: #555; }
.ak-odeme__bas-giris a { color: var(--ak-yazi); font-weight: 700; text-decoration: none; }
.ak-kutu { border: 1px solid #e3e3e3; border-radius: 8px; padding: 22px 24px; margin-bottom: 36px; }
.ak-kutu h4, .ak-baslik { font-size: 20px; font-weight: 500; margin: 0 0 18px; }
.ak-firsat { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.ak-firsat img { width: 84px; height: 84px; object-fit: contain; border-radius: 6px; background: #faf8f7; border: 1px solid #eee; }
.ak-firsat__ad { font-size: 15.5px; margin-bottom: 6px; }
.ak-firsat__fiyat { font-size: 16px; }
.ak-kupon { display: flex; gap: 12px; margin-bottom: 44px; }
.ak-kupon input { flex: 1; min-height: 56px; padding: 0 16px; border: 1px solid var(--ak-cizgi); border-radius: var(--ak-yaricap); font-size: 15px; }
.ak-kupon .ak-btn { width: 168px; min-height: 56px; }
.ak-kupon-var { display: flex; justify-content: space-between; align-items: center; margin: -30px 0 36px; font-size: 14px; }
.ak-adim { border-bottom: 1px solid #e3e3e3; padding: 24px 0; }
.ak-adim:first-of-type { padding-top: 0; }
.ak-adim__bas { display: flex; align-items: center; gap: 16px; cursor: default; }
.ak-adim__no { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid #222; display: inline-flex;
    align-items: center; justify-content: center; font-size: 16px; flex: none; }
.ak-adim--acik .ak-adim__no, .ak-adim--tamam .ak-adim__no { background: #222; color: #fff; }
.ak-adim__ad { font-size: 26px; font-weight: 400; margin: 0; }
.ak-adim:not(.ak-adim--acik) .ak-adim__ad { color: #8a8a8a; }
.ak-adim__duzenle { margin-left: auto; font-size: 14px; color: #222; text-decoration: underline; cursor: pointer; background: none; border: 0; display: none; }
.ak-adim--tamam .ak-adim__duzenle { display: inline; }
.ak-adim__ozet { display: none; margin: 10px 0 0 52px; font-size: 14px; color: #555; }
.ak-adim--tamam:not(.ak-adim--acik) .ak-adim__ozet { display: block; }
.ak-adim__govde { display: none; padding: 26px 0 8px 52px; }
.ak-adim--acik .ak-adim__govde { display: block; }
.ak-altbaslik { font-size: 19px; font-weight: 400; margin: 6px 0 18px; }
.ak-form .konum-secim { display: flex; gap: 12px; flex-wrap: wrap; }
.ak-form .konum-secim .form__grup { flex: 1; min-width: 180px; position: relative; margin-bottom: 12px; }
.ak-form .konum-secim .form__etiket { position: absolute; left: 15px; top: 6px; font-size: 11.5px; color: var(--ak-soluk); margin: 0; z-index: 1; }
/* Tek teslimat ülkesi varsa ülke seçimi gizlenir (il · ilçe yan yana) */
.ak-form .konum-secim .form__grup:first-child:has(select.konum-ulke):not(:has(option:nth-child(3))) { display: none; }
.ak-form .telefon-alani .tel-kod { text-overflow: ellipsis; }
.ak-form .telefon-alani { display: flex; border: 1px solid var(--ak-cizgi); border-radius: var(--ak-yaricap); background: #fff; margin-bottom: 12px; }
.ak-form .telefon-alani .tel-kod { border: 0 !important; box-shadow: none !important; max-width: 118px !important; min-height: 50px; padding: 0 8px; background: transparent; }
.ak-form .telefon-alani .tel-no { border: 0 !important; box-shadow: none !important; min-height: 50px; padding: 0 12px; flex: 1; }
.ak-secenek { display: block; border: 1px solid var(--ak-cizgi); padding: 16px 16px 16px 46px; position: relative; cursor: pointer; font-size: 15px; }
.ak-secenek + .ak-secenek { border-top: 0; }
.ak-secenek:first-of-type { border-radius: var(--ak-yaricap) var(--ak-yaricap) 0 0; }
.ak-secenek:last-of-type { border-radius: 0 0 var(--ak-yaricap) var(--ak-yaricap); }
.ak-secenek:only-of-type { border-radius: var(--ak-yaricap); }
.ak-secenek input { position: absolute; left: 16px; top: 18px; width: 18px; height: 18px; accent-color: var(--ak-buton); }
.ak-secenek:has(input:checked) { background: #f7f7f7; border-color: #bdbdbd; }
.ak-secenek small { display: block; color: var(--ak-soluk); margin-top: 3px; font-size: 13px; }
.ak-secenek__ek { display: none; margin-top: 10px; font-size: 13.5px; color: #555; white-space: pre-line; }
.ak-secenek:has(input:checked) .ak-secenek__ek { display: block; }
.ak-secenek__sag { position: absolute; right: 16px; top: 16px; font-weight: 600; }
.ak-alt-baglantilar { text-align: center; font-size: 13px; margin-top: 60px; color: #555; }
.ak-alt-baglantilar a { color: #444; text-decoration: none; margin: 0 8px; }
.ak-alt-baglantilar span { color: #999; }

/* sağ özet */
.ak-ozet-kalem { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.ak-ozet-kalem__resim { position: relative; width: 68px; height: 68px; flex: none; }
.ak-ozet-kalem__resim img { width: 100%; height: 100%; object-fit: contain; border: 1px solid #e2e2e2; border-radius: 8px; background: #fff; }
.ak-ozet-kalem__adet { position: absolute; top: -9px; right: -9px; background: #444; color: #fff; border-radius: 50%;
    min-width: 22px; height: 22px; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.ak-ozet-kalem__ad { flex: 1; font-size: 14.5px; line-height: 1.35; }
.ak-ozet-kalem__ad small { display: block; color: var(--ak-soluk); }
.ak-ozet-kalem__fiyat { font-size: 14.5px; white-space: nowrap; }
.ak-ozet-cizgi { border-top: 1px solid #dcdcdc; margin: 22px 0; }
.ak-ozet-satir { display: flex; justify-content: space-between; font-size: 14.5px; color: #555; margin-bottom: 12px; }
.ak-ozet-satir b { color: var(--ak-yazi); font-weight: 500; }
.ak-ozet-satir--indirim b { color: #1d6b3c; }
.ak-ozet-kalan { font-size: 12.5px; margin: -4px 0 16px; color: #333; }
.ak-ozet-not { font-size: 14.5px; cursor: pointer; background: none; border: 0; padding: 0; color: var(--ak-yazi); margin-top: 8px; }
.ak-ozet-not-alan { display: none; margin-top: 10px; }
.ak-ozet-not-alan.acik { display: block; }
.ak-ozet-not-alan textarea { width: 100%; min-height: 80px; border: 1px solid var(--ak-cizgi); border-radius: var(--ak-yaricap); padding: 10px 12px; font-size: 14px; box-sizing: border-box; font-family: inherit; }
.ak-ozet-toplam { display: flex; justify-content: space-between; align-items: baseline; font-size: 21px; font-weight: 700; }
.ak-ozet-ac { display: none; }

@media (max-width: 991px) {
    .ak-odeme__izgara { display: flex; flex-direction: column-reverse; }
    .ak-odeme__sol { padding: 20px 16px 36px; justify-content: center; }
    .ak-odeme__sag { border-left: 0; border-bottom: 1px solid #e6e6e6; padding: 0 16px; }
    .ak-odeme__sag-ic { position: static; max-width: 612px; margin: 0 auto; }
    .ak-ozet-ac { display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: 0;
        padding: 16px 0; font-size: 15px; color: var(--ak-yazi); cursor: pointer; }
    .ak-ozet-icerik { display: none; padding-bottom: 20px; }
    .ak-ozet-icerik.acik { display: block; }
    .ak-adim__govde, .ak-adim__ozet { padding-left: 0; margin-left: 0; }
    .ak-adim__ad { font-size: 22px; }
    .ak-kupon .ak-btn { width: 120px; }
    .ak-satir { flex-wrap: wrap; } .ak-satir > * { flex-basis: 100%; }
    .ak-cekmece { width: 100%; }
}

/* ===================== ÜYELİK VE HESABIM ===================== */
body.ak-hesap .breadcrumb__section { padding: 34px 0 !important; background: #f6f6f6 !important; }
body.ak-hesap .breadcrumb__content--title { font-size: 28px !important; font-weight: 600 !important; color: var(--ak-yazi) !important; }
body.ak-hesap .kutu__panel { background: #fff; border: 1px solid #e5e5e5 !important; border-radius: 10px !important; padding: 28px !important; box-shadow: none !important; }
body.ak-hesap .product__card--title { font-size: 20px !important; font-weight: 600 !important; }
body.ak-hesap .form__etiket { font-size: 13px; color: #555; margin-bottom: 6px; display: block; }
body.ak-hesap .form__alan, body.ak-hesap .form-control, body.ak-hesap .form-select {
    min-height: 50px; border: 1px solid var(--ak-cizgi) !important; border-radius: var(--ak-yaricap) !important; padding: 10px 14px; font-size: 15px; background: #fff; }
body.ak-hesap textarea.form__alan { min-height: 100px; }
body.ak-hesap .form__alan:focus, body.ak-hesap .form-control:focus, body.ak-hesap .form-select:focus { border-color: var(--ak-buton) !important; box-shadow: 0 0 0 1px var(--ak-buton) !important; outline: none; }
body.ak-hesap .primary__btn { background: var(--ak-buton) !important; border: 1px solid var(--ak-buton) !important; color: #fff !important;
    border-radius: var(--ak-yaricap) !important; min-height: 50px; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; padding: 0 26px; }
body.ak-hesap .primary__btn:hover { filter: brightness(1.15); }
body.ak-hesap .form-check-input:checked { background-color: var(--ak-buton); border-color: var(--ak-buton); }
body.ak-hesap .text__secondary { color: var(--ak-vurgu) !important; }
/* hesap yan menüsü */
body.ak-hesap .col-lg-3 > .kutu__panel ul { list-style: none; padding: 0; margin: 0; }
body.ak-hesap .col-lg-3 > .kutu__panel li { margin: 0 !important; }
body.ak-hesap .col-lg-3 > .kutu__panel li > a, body.ak-hesap .hesap__menu--baglanti {
    display: block; padding: 11px 14px; border-radius: var(--ak-yaricap); color: #333 !important; font-size: 15px; text-decoration: none; }
body.ak-hesap .col-lg-3 > .kutu__panel li > a:hover, body.ak-hesap .hesap__menu--baglanti:hover { background: #f3f3f3; }
body.ak-hesap .col-lg-3 > .kutu__panel li > a.text__secondary, body.ak-hesap .hesap__menu--baglanti.aktif {
    background: var(--ak-buton); color: #fff !important; }
body.ak-hesap .minicart__product--remove { display: block; width: 100%; text-align: left; padding: 11px 14px; margin-top: 8px;
    border: 1px solid #eee !important; border-radius: var(--ak-yaricap); background: #fff; color: var(--ak-hata) !important; font-size: 15px; }
body.ak-hesap .section__heading--maintitle { font-size: 30px !important; font-weight: 700 !important; }
body.ak-hesap table.table { font-size: 14.5px; }
body.ak-hesap table.table thead th { background: #fafafa; font-weight: 600; color: #555; border-bottom: 1px solid #e5e5e5; }
