/* ════════════════════════════════════════════════════════════════════
   [FG 16 Kas 2026] HEDİYE ÜRÜN KAMPANYASI — vitrin stilleri (fg_hediye_urun 1.0.0, TASARIM.md §5 + §15; ?v=3 — kullanıcı kararları E1–E3:
   kilitli hediye satırı + ürün görselleri; eski yazı bantları ve açıklama notu KALDIRILDI; ?v=4 — 20 Kas 2026, 1.1.0: ürün 1 TL, müşteri
   "1 TL'ye ekle" / "Çıkar" düğmeleriyle ekler — açık satırın iki hâli: --teklif (eklenebilir, "+" simgesi) ve --secili (sepette, onay simgesi))
   Yükleme: olay fg_hediye_urun_header (common/header view/before) → $data['styles'] → <head> stiller döngüsü (header.twig:
   ht01.css'ten SONRA, fg-uiscale.css'ten ÖNCE). Modül KAPALIYKEN dosya yüklenmez. İçerik değişince \FgHediyeUrun::CSS sürümünü ARTIR.
   Yüzeyler: sepet KİLİTLİ / AÇIK hediye satırı (checkout/cart_list.twig), küçük kilitli satır — mini sepet (common/cart.twig), "sepete eklendi"
   penceresi (common/footer.twig, DOM ile kurulur), ödeme özeti kalan tutar kutusu + hediye satırı (checkout/confirm.twig) —, ürün sayfası bilgi
   bloğu (product/product.twig), Kampanyalar kartının ürün görseli (kart fg-campaign.css ile basılır; burada yalnız #kampanya-hediye görsel kuralı).
   Kilit dili: KİLİTLİ = görsel SOLUK (yalnız görsel; yazılar tam kontrast) + kilit simgesi + ilerleme çubuğu + kısa metin; AÇIK = görsel canlı +
   onay simgesi + dolu çubuk. Durum yalnız renkle değil simge + metinle de okunur.
   Kurallar: renk --cm-* token'ları (Kampanya Teması açıkken body.fg-bf'de ezilir → siyah/kırmızı kendiliğinden), ölçü --fg-fs-* token'ları;
   sabit cyan YOK; hover yalnız (hover:hover) and (pointer:fine); basma (:active) efekti YOK; outline:none YOK; mobilde yatay margin YOK
   (kutular mevcut kapların içinde, CLAUDE.md §4.4). ht01.css / header.twig / checkout.twig DEĞİŞMEZ (TASARIM T12).
   Ödeme sayfası: checkout_premium.css <body>'de GEÇ yüklenir → oradaki kurallar #quickcheckoutconfirm önekli + !important (CLAUDE.md §6).
   Bağlantılar a.<sınıf> ile yazılır: ht01-legacy.css "a:hover{text-decoration:none}" (0,1,1) tek sınıflı seçiciyi hover'da ezerdi.
   ════════════════════════════════════════════════════════════════════ */

/* Yerel token'lar — "açık / kazanıldı" yeşili ht01.css KUPON KUTUSU çipiyle aynı (#1e7a41 / #e9f8ee: 4,88:1; beyazda 5,36:1). */
:root { --fg-hu-ok-zemin: #e9f8ee; --fg-hu-ok-cizgi: #cdeed9; --fg-hu-ok-yazi: #1e7a41; }

/* ─── İlerleme çubuğu (sepet satırı; --ince: mini sepet / pencere / ödeme kutusu) ───
   İz (hedefin tamamı) zeminden AYRILIR (TASARIM §15.1, inceleme 3): beyaz (--cm-canvas) dolgu + --cm-muted kenar → kenar kilitli satırın / pencerenin
   açık zemininde (--cm-tint) 4,68:1, beyazda 5,13:1 (WCAG 1.4.11 ≥ 3). Eski iz zeminle aynı renkteydi (--cm-tint dolgu + --cm-line kenar, 1,17:1) → boş
   kısım ve hedefin sonu görünmüyordu. Dolgu --cm-brand-deep: beyaz izde 3,81:1 (--cm-brand 2,6:1 kalıyordu). Tema açıkken siyah. Açık (kazanıldı)
   durumda dolgu ve kenar yeşil (beyazda 5,36:1). */
.fg-hu-bar { display: block; height: 8px; border-radius: var(--cm-r-pill); background: var(--cm-canvas); border: 1px solid var(--cm-muted); overflow: hidden; }
.fg-hu-bar__dolu { display: block; height: 100%; max-width: 100%; background: var(--cm-brand-deep); border-radius: inherit; transition: width .4s var(--cm-ease); }
.fg-hu-bar--ince { height: 6px; }
.fg-hu-satir--acik .fg-hu-bar,
.fg-hu-kucuk--acik .fg-hu-bar { border-color: var(--fg-hu-ok-yazi); }
.fg-hu-satir--acik .fg-hu-bar__dolu,
.fg-hu-kucuk--acik .fg-hu-bar__dolu { background: var(--fg-hu-ok-yazi); }

/* ─── Görsel + kilit simgesi (ortak) ───
   SOLUK olan yalnız GÖRSELDİR (opaklık + doygunluk); ad, metin, çubuk ve simge tam kontrastta kalır. Simge görselin köşesinde beyaz daire içinde
   kilit (mürekkep, 16:1); açık durumda yeşil daire içinde beyaz onay (5,36:1). Görsel yoksa (ürünün görseli yok / üretilemedi) simge kutunun ortasında. */
.fg-hu-gorsel { position: relative; }
.fg-hu-gorsel img { transition: opacity .4s var(--cm-ease), filter .4s var(--cm-ease); }
.fg-hu-satir--kilitli .fg-hu-gorsel img,
.fg-hu-kucuk--kilitli .fg-hu-gorsel img { opacity: .42; filter: grayscale(1); }
.fg-hu-kilit { position: absolute; right: 6px; bottom: 6px; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cm-canvas); border: 1px solid var(--cm-line-strong); color: var(--cm-ink); line-height: 0; pointer-events: none; }
.fg-hu-kilit svg { display: block; flex: 0 0 auto; }
.fg-hu-satir--acik .fg-hu-kilit,
.fg-hu-kucuk--acik .fg-hu-kilit { background: var(--fg-hu-ok-yazi); border-color: var(--fg-hu-ok-yazi); color: var(--cm-canvas); }
.fg-hu-gorsel:not(:has(img)) .fg-hu-kilit { right: 50%; bottom: 50%; margin: 0 -14px -14px 0; }

/* ─── Sepet sayfası: KİLİTLİ / AÇIK hediye satırı (.fg-cart-item ızgarası aynen; adet/silme YOK — adet toplayıcısı .fg-cart-qty'yi seçer, bu satırı görmez) ───
   Satır listenin İLK satırıdır (tablo başlığının altı — cart_list.twig; ilk ekranda görünsün, TASARIM §15.1); alt çizgisi ht01.css .fg-cart-item'dan
   (:last-child kuralı artık son ücretli satıra düşer). Kilitli satır açık zeminle ayrılır ("henüz sepette değil"); gri metinler (--cm-muted) bu zeminde 4,68:1. Satırın imleç zemini (ht01.css .fg-cart-item:hover)
   bu satırda değişmez (aynı özgüllük, bu dosya sonra yüklenir). */
.fg-cart-item.fg-hu-satir--kilitli { background: var(--cm-tint); }
.fg-cart-item.fg-hu-satir--acik { background: var(--cm-canvas); }
.fg-hu-baslik { min-width: 0; }
.fg-hu-ilerleme { min-width: 0; max-width: 440px; margin-top: 6px; }
.fg-hu-metin { margin: 6px 0 0; font-size: var(--fg-fs-body-sm); font-weight: 600; line-height: 1.4; color: var(--cm-ink); overflow-wrap: anywhere; }
.fg-hu-satir--acik .fg-hu-metin { color: var(--fg-hu-ok-yazi); }
.fg-cart-item--hediye .fg-hu-adet { font-size: var(--fg-fs-body-sm); font-weight: 600; color: var(--cm-muted); white-space: nowrap; }
.fg-hu-deger { display: inline-flex; align-items: center; gap: 8px; }
.fg-hu-rozet { display: inline-block; padding: 2px 8px; border-radius: var(--cm-r-chip); background: var(--cm-brand); color: var(--cm-on-brand); font-size: var(--fg-fs-micro); font-weight: 700; letter-spacing: .02em; line-height: 1.5; white-space: nowrap; }
/* Kilitli etiket: fiyat yerine — beyaz zemin + çizgi + gri yazı (5,13:1) + küçük kilit simgesi */
.fg-hu-rozet--kilitli { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px; background: var(--cm-canvas); border: 1px solid var(--cm-line-strong); color: var(--cm-muted); }
.fg-hu-rozet--kilitli svg { display: block; flex: 0 0 auto; }
/* Masaüstü: adet hücresi diğer satırlardaki adet denetimiyle (40 + 6 + 52 + 6 + 40 = 144 px) aynı sütun genişliğinde (kilitliyken boş — ad sütunu hizası korunur) */
@media (min-width: 992px) {
  .fg-cart-item--hediye .fg-hu-adet { min-width: 144px; text-align: center; }
}
/* Kırılımlar ht01.css "SEPET SAYFASI" .fg-cart-qty kurallarının eşi (≤991: adet 2/4 sütun, ikinci satır; kilitliyken adet yok → etiket tek satırda) */
@media (max-width: 991px) {
  .fg-cart-item--hediye .fg-hu-adet { grid-column: 2 / 4; }
  .fg-hu-satir--kilitli .fg-hu-adet { display: none; }
}
@media (min-width: 577px) and (max-width: 991px) {
  .fg-hu-satir--kilitli .fg-cart-item-total { grid-row: 1; }   /* ht01.css: tutar 1 / 3 satır — adet yokken boş ikinci satır + boşluk kalmasın */
  /* ht01.css bu aralıkta görsel kutusunu 100 px bırakıp sütunu 80 px yapar (kutu ad sütununa 6 px taşar). Bu satırın kutusu konumlu (simge) olduğundan
     taşan kısım adın / çubuğun ÜSTÜNE boyanırdı → kutu sütununa sığdırılır. */
  .fg-cart-item--hediye .fg-cart-item-image { width: 80px; height: 80px; }
}
/* Telefon: ad görselin yanında; ilerleme (çubuk + metin) kartın tam genişliğinde kendi satırında (metin tek satıra sığsın); açık satırda adet onun altında */
@media (max-width: 576px) {
  .fg-cart-item.fg-cart-item--hediye { grid-template-areas: "image info" "ilerleme ilerleme" "qty qty" "total total"; }
  .fg-cart-item.fg-hu-satir--kilitli { grid-template-areas: "image info" "ilerleme ilerleme" "total total"; }
  .fg-cart-item--hediye .fg-cart-item-info { display: contents; }
  .fg-cart-item--hediye .fg-hu-baslik { grid-area: info; align-self: center; }
  .fg-cart-item--hediye .fg-hu-ilerleme { grid-area: ilerleme; max-width: none; margin-top: 0; }
  .fg-cart-item--hediye .fg-hu-adet { grid-area: qty; margin-top: 0; }
  .fg-cart-item--hediye .fg-hu-kilit { right: 4px; bottom: 4px; width: 26px; height: 26px; }
}

/* ─── Küçük kilitli hediye satırı (mini sepet / pencere / ödeme kutusu): küçük görsel + kısa ad + tek satır metin + ince çubuk ─── */
.fg-hu-kucuk { display: flex; align-items: center; gap: 12px; text-align: left; }
.fg-hu-gorsel--kucuk { flex: 0 0 48px; display: block; width: 48px; height: 48px; border-radius: 10px; border: 1px solid var(--cm-line); background: var(--cm-canvas); }
.fg-hu-gorsel--kucuk img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.fg-hu-gorsel--kucuk .fg-hu-kilit { right: -6px; bottom: -6px; width: 22px; height: 22px; }
.fg-hu-gorsel--kucuk:not(:has(img)) .fg-hu-kilit { right: 50%; bottom: 50%; margin: 0 -11px -11px 0; }
.fg-hu-kucuk__govde { flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fg-hu-kucuk__ad { display: block; font-size: var(--fg-fs-caption); font-weight: 500; line-height: 1.3; color: var(--cm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fg-hu-kucuk__metin { display: block; font-size: var(--fg-fs-body-sm); font-weight: 700; line-height: 1.35; color: var(--cm-ink); overflow-wrap: anywhere; }
.fg-hu-kucuk--acik .fg-hu-kucuk__metin { color: var(--fg-hu-ok-yazi); }
.fg-hu-kucuk .fg-hu-bar { margin-top: 3px; }

/* ─── Üst menü mini sepeti (ürünler ile toplamlar arasında; yatay 18 = mini sepet başlık/toplam dolgusu) ─── */
.fg-hu-mini { margin: 0; padding: 12px 18px; border-top: 1px solid var(--cm-line); }

/* ─── "Sepete eklendi" penceresi (footer.twig showCartSuccessModal DOM ile kurar; veri yoksa satır gizli + boş) ─── */
#cart-success-modal .fg-hu-pencere { margin: 12px 0 0; padding: 10px 14px 10px 12px; border: 1px solid var(--cm-line); border-radius: var(--cm-r-ui); background: var(--cm-tint); }
#cart-success-modal .fg-hu-pencere[hidden] { display: none !important; }
#cart-success-modal .fg-hu-pencere.fg-hu-kucuk--acik { background: var(--fg-hu-ok-zemin); border-color: var(--fg-hu-ok-cizgi); }
/* header.twig 320-330 gerekçesi: telefonda pencere düğmeleri kaydırmasız görünsün → satır sıkı */
@media (max-width: 640px) {
  #cart-success-modal .fg-hu-pencere { margin-top: 8px; padding: 8px 12px 8px 10px; gap: 10px; }
  #cart-success-modal .fg-hu-pencere .fg-hu-gorsel--kucuk { flex-basis: 44px; width: 44px; height: 44px; }
  #cart-success-modal .fg-hu-pencere .fg-hu-kucuk__metin { font-size: var(--fg-fs-caption); }
}
/* Kısa telefon ekranı (375×667 ölçüldü): pencere 90vh = 600 px, satırsız içerik ~575 px → hediye satırı (62–78 px) "Hemen Al"ı kaydırma altına
   itiyordu. Satır GÖRÜNÜRKEN yalnız süs onay işareti (48 px + 20 px boşluk) gizlenir; "Ürün Sepete Eklendi!" başlığı kalır. :has() yoksa
   (eski tarayıcı) işaret görünür, en kötü kısa bir kaydırma olur. */
@media (max-width: 640px) and (max-height: 760px) {
  #cart-success-modal:has(.fg-hu-pencere:not([hidden])) .success-icon-wrapper { display: none !important; }
}

/* ─── Ödeme özeti (QuickCheckout, confirm.twig) ─── */
/* Kalan tutar kutusu = küçük kilitli hediye satırı (kesik çizgili kutu: "henüz siparişte değil"). ≥992'de bir ürün satırı kadar yer kaplar
   (min-height + alt boşluk = 109 px; açılış yer tutucusu §3.1 odeme +1 satır sayar). Alt boşluk 4 + .cart-totals üst boşluğu 20 = üstteki liste
   boşluğu 24 (flex sütunda kenar boşlukları birleşmez). */
#quickcheckoutconfirm .fg-hu-ozet { display: flex; align-items: center; margin: 0 0 4px !important; padding: 12px 16px !important; border: 1px dashed var(--cm-line-strong) !important; border-radius: var(--cm-r-ui) !important; background: var(--cm-canvas) !important; }
@media (min-width: 992px) {
  #quickcheckoutconfirm .fg-hu-ozet { min-height: 105px; }
}
#quickcheckoutconfirm .fg-hu-ozet .fg-hu-kucuk { flex: 1 1 auto; align-items: flex-start; gap: 16px; min-width: 0; }
#quickcheckoutconfirm .fg-hu-ozet .fg-hu-gorsel--kucuk { flex: 0 0 56px; width: 56px !important; height: 56px !important; }
#quickcheckoutconfirm .fg-hu-ozet .fg-hu-gorsel--kucuk img { width: 100% !important; height: 100% !important; margin: 0 !important; border: 0 !important; border-radius: inherit !important; }
#quickcheckoutconfirm .fg-hu-ozet .fg-hu-kucuk__ad { margin: 0 !important; font-size: var(--fg-fs-caption) !important; font-weight: 500 !important; line-height: 1.3 !important; color: var(--cm-muted) !important; }
#quickcheckoutconfirm .fg-hu-ozet__metin { margin: 0 !important; font-size: var(--fg-fs-body-sm) !important; font-weight: 700 !important; line-height: 1.35 !important; color: var(--cm-ink) !important; overflow-wrap: anywhere; }
#quickcheckoutconfirm a.fg-hu-ozet__don { align-self: flex-start; margin-top: 4px; font-size: var(--fg-fs-caption); font-weight: 600; line-height: 1.4; color: var(--cm-brand-text); text-decoration: underline; text-underline-offset: 2px; }
/* Ödeme adımında (confirm.confirm yanıtı #payment-confirm-step'e basılır) "X TL daha" kutusu yok; sipariş yazılmıştır → ekle / çıkar düğmesi de yok
   (sunucu zaten basmaz — fg_hu.kilit; bu kural ikinci kat) */
#payment-confirm-step .fg-hu-ozet, #payment-confirm-step [data-fg-hu-islem] { display: none !important; }
/* Hediye satırı rozeti — checkout_premium.css <body>'de geç yüklenir */
#quickcheckoutconfirm .fg-hu-ozet-satir .fg-hu-rozet { display: inline-block !important; margin: 0 2px 0 0 !important; padding: 2px 8px !important; border-radius: var(--cm-r-chip) !important; background: var(--cm-brand) !important; color: var(--cm-on-brand) !important; font-size: var(--fg-fs-micro) !important; font-weight: 700 !important; letter-spacing: .02em !important; line-height: 1.5 !important; vertical-align: middle; }

/* ─── Kampanyalar kartı (#kampanya-hediye): ürün görseli 16:9 alana KIRPILMADAN sığar (fg-campaign.css "cover" kare görseli keserdi); beyaz zeminli
   ürün görseli açık kart zeminiyle karışır. Rozet marka zemininde (görselli kartta beyaz rozet açık zeminde kayboluyordu). ─── */
#kampanya-hediye .fg-campaign-media { background: var(--cm-tint); }
#kampanya-hediye .fg-campaign-media img { box-sizing: border-box; padding: 10px; object-fit: contain; mix-blend-mode: multiply; }
/* hediye ürüne özel 16:9 kampanya afişi (\FgHediyeUrun::K_AFIS): öteki kampanya kartları gibi alanı doldurur */
#kampanya-hediye .fg-campaign-media img[src*="kampanya-hediye-"],
#kampanya-hediye .fg-campaign-media img[src*="kampanya-1tl-"] { padding: 0; object-fit: cover; mix-blend-mode: normal; }
#kampanya-hediye .fg-campaign-media:not(.fg-campaign-media--plain) .fg-campaign-badge { background: var(--cm-brand); color: var(--cm-on-brand); box-shadow: none; }

/* ─── Ürün #421 sayfası: bilgi bloğu (fiyat / havale kartının altında; retail üründe basılmaz; görsel YOK — ürünün kendi sayfası) ─── */
.fg-hu-urun { display: flex; align-items: flex-start; gap: 12px; width: 100%; margin: 0 0 16px; padding: 12px 14px; background: var(--cm-canvas); border: 1px solid var(--cm-line); border-left: 3px solid var(--cm-brand); border-radius: var(--cm-r-ui); font-size: var(--fg-fs-body-sm); line-height: 1.4; color: var(--cm-text); }
.fg-hu-urun__ikon { flex: 0 0 auto; width: 20px; height: 20px; color: var(--cm-brand-text); }
.fg-hu-urun__metin { flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fg-hu-urun__baslik { font-weight: 700; color: var(--cm-ink); overflow-wrap: anywhere; }
.fg-hu-urun__not { font-size: var(--fg-fs-caption); color: var(--cm-soft); }
a.fg-hu-urun__bag { align-self: flex-start; font-size: var(--fg-fs-caption); font-weight: 600; color: var(--cm-brand-text); text-decoration: underline; text-underline-offset: 2px; }
/* Sepet AJAX'la değişince şablon betiği bloğu / not satırını hidden ile gizler (display:flex hidden'ı ezmesin) */
.fg-hu-urun[hidden], .fg-hu-urun__not[hidden] { display: none !important; }

/* ─── 1.1.0: "1 TL'ye ekle" / "Çıkar" düğmeleri (cart_list.twig, confirm.twig; betik fg_hu_islem.twig) ───
   Ekle = dolu marka düğmesi (--cm-brand zemin + --cm-on-brand yazı 6,71:1; Kampanya Teması açıkken token'lar siyah / beyaz), 40 px dokunma yüksekliği.
   Çıkar = metin düğmesi (--cm-brand-text, beyazda 4,99:1, altı çizili). Basma efekti yok; hover yalnız gerçek imleçte; odak adım 5 standardı. Ödeme
   sayfasında checkout_premium.css <body>'de geç yüklenir → #quickcheckoutconfirm önekli + !important. Teklif satırı açık yeşil zeminle "eklenebilir"
   olduğunu söyler; seçili satır beyaz (ücretli satırlar gibi). Adet hücresi yalnız seçiliyken dolu → teklifte kilitli satırın kırılım kuralları. */
.fg-hu-ekle { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 16px; border: 0; border-radius: var(--cm-r-ui); background: var(--cm-brand); color: var(--cm-on-brand); font: inherit; font-size: var(--fg-fs-body-sm); font-weight: 700; line-height: 1.2; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.fg-hu-cikar { display: inline-block; margin: 0 0 0 4px; padding: 4px 2px; border: 0; background: none; color: var(--cm-brand-text); font: inherit; font-size: var(--fg-fs-caption); font-weight: 600; line-height: 1.3; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fg-hu-ekle:disabled, .fg-hu-cikar:disabled { opacity: .6; cursor: progress; }
.fg-hu-ekle:focus-visible, .fg-hu-cikar:focus-visible { outline: 2px solid var(--cm-brand-deep); outline-offset: 2px; }
.fg-cart-item.fg-hu-satir--teklif { background: var(--fg-hu-ok-zemin); }
@media (max-width: 991px) {
  .fg-hu-satir--teklif .fg-hu-adet { display: none; }
}
@media (min-width: 577px) and (max-width: 991px) {
  .fg-hu-satir--teklif .fg-cart-item-total { grid-row: 1; }
}
@media (max-width: 576px) {
  .fg-cart-item.fg-hu-satir--teklif { grid-template-areas: "image info" "ilerleme ilerleme" "total total"; }
  /* ht01.css ≤576 tutar hücresine "Tutar" etiketi basar (::before) — teklif satırında tutar yok, düğme hücrenin tamamını kaplar */
  .fg-cart-item.fg-hu-satir--teklif .fg-cart-item-total::before { content: none; }
  .fg-hu-satir--teklif .fg-cart-item-total, .fg-hu-satir--teklif .fg-hu-deger { display: flex; width: 100%; }
  .fg-hu-satir--teklif .fg-hu-ekle { flex: 1 1 auto; }
}
#quickcheckoutconfirm .fg-hu-ozet--teklif { border-style: solid !important; border-color: var(--fg-hu-ok-cizgi) !important; background: var(--fg-hu-ok-zemin) !important; }
#quickcheckoutconfirm .fg-hu-ozet--teklif .fg-hu-ozet__metin { color: var(--fg-hu-ok-yazi) !important; }
#quickcheckoutconfirm .fg-hu-ekle { align-self: flex-start; margin: 6px 0 0 !important; min-height: 40px !important; padding: 8px 16px !important; border: 0 !important; border-radius: var(--cm-r-ui) !important; background: var(--cm-brand) !important; color: var(--cm-on-brand) !important; font-size: var(--fg-fs-body-sm) !important; font-weight: 700 !important; line-height: 1.2 !important; width: auto !important; box-shadow: none !important; }
#quickcheckoutconfirm .fg-hu-cikar { margin: 0 0 0 6px !important; padding: 2px !important; border: 0 !important; background: none !important; color: var(--cm-brand-text) !important; font-size: var(--fg-fs-caption) !important; font-weight: 600 !important; text-decoration: underline !important; width: auto !important; min-height: 0 !important; box-shadow: none !important; }
#quickcheckoutconfirm .fg-hu-ekle:focus-visible, #quickcheckoutconfirm .fg-hu-cikar:focus-visible { outline: 2px solid var(--cm-brand-deep) !important; outline-offset: 2px !important; }
@media (hover: hover) and (pointer: fine) {
  .fg-hu-ekle:hover, #quickcheckoutconfirm .fg-hu-ekle:hover { text-decoration: underline !important; text-underline-offset: 2px; }
  .fg-hu-cikar:hover, #quickcheckoutconfirm .fg-hu-cikar:hover { text-decoration-thickness: 2px !important; }
}

/* ─── Geçiş: "kilit açıldı" (eksik → kazanıldı; cart_list.twig betiği satıra sınıfı ekler) — görsel 400 ms'de canlanır, simge belirir, çubuk dolar ─── */
@keyframes fg-hu-canlan { from { opacity: .42; filter: grayscale(1); } to { opacity: 1; filter: grayscale(0); } }
@keyframes fg-hu-simge { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
.fg-hu-satir--aciliyor .fg-hu-gorsel img { animation: fg-hu-canlan .4s var(--cm-ease); }
.fg-hu-satir--aciliyor .fg-hu-kilit { animation: fg-hu-simge .4s var(--cm-ease); }

/* ─── Odak (adım 5 standardı: 2 px --cm-brand-deep) ─── */
#quickcheckoutconfirm a.fg-hu-ozet__don:focus-visible,
a.fg-hu-urun__bag:focus-visible { outline: 2px solid var(--cm-brand-deep) !important; outline-offset: 2px; border-radius: 2px; }

/* ─── Hover: YALNIZ gerçek imleçte (dokunmatikte takılı kalmasın — §4.3.3); renk aynı, çizgi kalınlaşır ─── */
@media (hover: hover) and (pointer: fine) {
  #quickcheckoutconfirm a.fg-hu-ozet__don:hover,
  a.fg-hu-urun__bag:hover { color: var(--cm-brand-text); text-decoration: underline; text-decoration-thickness: 2px; }
}

/* ─── Hareket azaltma: geçiş / canlanma kapanır, renk ve biçim geri bildirimi (simge, çubuk, metin) kalır ─── */
@media (prefers-reduced-motion: reduce) {
  .fg-hu-bar__dolu, .fg-hu-gorsel img { transition: none; }
  .fg-hu-satir--aciliyor .fg-hu-gorsel img, .fg-hu-satir--aciliyor .fg-hu-kilit { animation: none; }
}
