/* =====================================================================
   LEGO Books — Tasarım Sistemi
   ---------------------------------------------------------------------
   Renkler lego.tr'den örneklendi; kırmızı ve sarı doğrudan LEGO'nun
   logo SVG'sindeki fill değerleridir (#E3000B / #FFED00).

   Bu dosya style.css'ten SONRA yüklenir. Devralınan kodda 835 sabit hex
   olduğu için, eski :root değişkenleri de burada LEGO paletine
   yeniden bağlanır — böylece var(--gold) kullanan 53 nokta da döner.
   ===================================================================== */

:root {
    /* ── Marka ───────────────────────────────────────────────── */
    --lb-kirmizi:        #E3000B;   /* LEGO logo kırmızısı */
    --lb-kirmizi-koyu:   #B80009;
    --lb-sari-marka:     #FFED00;   /* LEGO logo sarısı — küçük yüzeyler */
    --lb-sari:           #F9D649;   /* geniş yüzey sarısı (header) */
    --lb-sari-acik:      #FDDE4E;
    /* Eylem rengi LEGO kırmızısına çekildi (Hakan, 21.08.2026).
       Değişken adı geriye dönük uyum için duruyor; değeri artık kırmızı. */
    --lb-turuncu:        #E3000B;   /* ana eylem rengi = LEGO kırmızısı */
    --lb-turuncu-koyu:   #B00008;

    /* ── Vurgu (kategori kartları) ───────────────────────────── */
    --lb-mavi:           #005AD2;
    --lb-mavi-acik:      #B4D8FC;
    --lb-camgobegi:      #4FCBF6;
    --lb-mor:            #271D48;   /* footer zemini */
    --lb-mor-derin:      #300C54;

    /* ── Nötrler ─────────────────────────────────────────────── */
    --lb-siyah:          #000000;
    --lb-metin:          #242424;
    --lb-metin-soluk:    #747474;
    --lb-cizgi:          #E1DADA;
    --lb-zemin:          #FFFFFF;
    --lb-zemin-alt:      #F2F2F2;

    /* ── Durum ───────────────────────────────────────────────── */
    --lb-basari:         #007D3C;
    --lb-uyari:          #B45309;
    --lb-hata:           #C22026;

    /* ── Tipografi ───────────────────────────────────────────── */
    --lb-font: "Figtree", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;

    /* ── Ölçüler ─────────────────────────────────────────────── */
    --lb-kapsayici:      1280px;
    --lb-radius:         8px;
    --lb-radius-buyuk:   16px;
    --lb-radius-hap:     999px;
    --lb-golge:          0 2px 8px rgba(0, 0, 0, .08);
    --lb-golge-kart:     0 4px 16px rgba(0, 0, 0, .10);
    --lb-gecis:          .2s ease;

    /* ── Devralınan değişkenleri LEGO paletine bağla ─────────── */
    --gold:        #F9D649;
    --gold-light:  #FFED00;
    --gold-dark:   #E3000B;
    --gold-pale:   #FDF3C4;
    --dark:        #271D48;
    --dark-blue:   #300C54;
    --darker:      #1A1230;
    --white:       #FFFFFF;
    --light-gray:  #F2F2F2;
    --gray:        #747474;
    --text:        #242424;
    --font-primary:   var(--lb-font);
    --font-secondary: var(--lb-font);
    --font-accent:    var(--lb-font);
    --shadow:      0 4px 16px rgba(0, 0, 0, .10);
    --shadow-gold: 0 4px 16px rgba(249, 214, 73, .35);
}

/* =====================================================================
   TEMEL
   ===================================================================== */

body {
    font-family: var(--lb-font);
    color: var(--lb-metin);
    background: var(--lb-zemin);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.lb-baslik {
    font-family: var(--lb-font);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--lb-metin);
    text-wrap: balance;
}

/* Devralınan serif başlıkları da sisteme çek */
.section-title { font-family: var(--lb-font) !important; }

a { color: inherit; }
a:hover { color: var(--lb-turuncu); }

.lb-kapsayici {
    max-width: var(--lb-kapsayici);
    margin: 0 auto;
    padding: 0 24px;
}

/* Fiyatlar sütun halinde hizalansın */
.price, .product-price, .lb-fiyat, .urun-fiyat {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

/* =====================================================================
   ÜST DUYURU ŞERİDİ
   ===================================================================== */

.lb-duyuru {
    background: var(--lb-zemin) !important;
    color: var(--lb-metin) !important;
    border-bottom: 1px solid var(--lb-cizgi);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 0;
    text-align: center;
}

/* =====================================================================
   BAŞLIK (sarı şerit)
   ===================================================================== */

.main-header,
.lb-header {
    background: var(--lb-sari) !important;
    border-bottom: none !important;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 900;
}

.header-inner,
.lb-header-ic {
    max-width: var(--lb-kapsayici);
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-logo img,
.lb-logo img { height: 46px; width: auto; display: block; }

.header-nav a,
.lb-nav a {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--lb-metin) !important;
    padding: 8px 2px;
    position: relative;
}
.header-nav a:hover,
.lb-nav a:hover { color: var(--lb-siyah) !important; }

/* "YENİ" gibi vurgulu sekme — beyaz hap */
.lb-nav a.lb-vurgu {
    background: #fff;
    border-radius: var(--lb-radius);
    padding: 8px 16px;
    font-weight: 800;
}

.header-icons a,
.header-icons button,
.lb-header-ikon {
    color: var(--lb-metin) !important;
    font-size: 20px;
}

/* Sepet sayacı */
.cart-count, .lb-sepet-sayi {
    background: var(--lb-kirmizi);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    border-radius: var(--lb-radius-hap);
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

/* =====================================================================
   DÜĞMELER
   ===================================================================== */

.lb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--lb-font);
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    padding: 14px 26px;
    border-radius: var(--lb-radius-hap);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--lb-gecis);
    text-decoration: none;
}
.lb-btn:hover { transform: translateY(-1px); text-decoration: none; }
.lb-btn:focus-visible { outline: 3px solid var(--lb-mavi); outline-offset: 2px; }

.lb-btn-birincil   { background: var(--lb-turuncu); color: #fff; }
.lb-btn-birincil:hover { background: #B00008; color: #fff; }

.lb-btn-siyah      { background: var(--lb-siyah); color: #fff; }
.lb-btn-siyah:hover{ background: #333; color: #fff; }

.lb-btn-mor        { background: var(--lb-mor-derin); color: #fff; }
.lb-btn-mor:hover  { background: #3E1170; color: #fff; }

.lb-btn-cerceve    { background: transparent; color: var(--lb-metin); border-color: var(--lb-metin); }
.lb-btn-cerceve:hover { background: var(--lb-metin); color: #fff; }

.lb-btn-beyaz      { background: #fff; color: var(--lb-metin); }

/* Devralınan düğmeleri de sisteme çek */
.btn-primary, .add-to-cart-btn, .buy-now-btn {
    background: var(--lb-turuncu) !important;
    border-color: var(--lb-turuncu) !important;
    color: #fff !important;
    border-radius: var(--lb-radius-hap) !important;
    font-weight: 700 !important;
}
.btn-primary:hover, .add-to-cart-btn:hover, .buy-now-btn:hover {
    background: #B00008 !important;
    border-color: #B00008 !important;
}

/* =====================================================================
   BÖLÜM BAŞLIKLARI
   ===================================================================== */

.lb-bolum { padding: 56px 0; }
.lb-bolum-alt { background: var(--lb-zemin-alt); }

.lb-bolum-baslik {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -.025em;
    margin: 0 0 6px;
}
.lb-bolum-aciklama {
    color: var(--lb-metin-soluk);
    font-size: 15px;
    margin: 0 0 28px;
    max-width: 62ch;
}

/* Devralınan bölüm başlıkları */
.products-section .section-title {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -.025em;
}
.products-section.alt-bg { background: var(--lb-zemin-alt); }

/* =====================================================================
   KATEGORİ KARTLARI (renkli şerit)
   ===================================================================== */

.lb-kat-serit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.lb-kat-kart {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    aspect-ratio: 3 / 4;
    border-radius: var(--lb-radius);
    overflow: hidden;
    text-decoration: none;
    transition: var(--lb-gecis);
    background: var(--lb-zemin-alt);
}
.lb-kat-kart:hover { transform: translateY(-3px); box-shadow: var(--lb-golge-kart); }

.lb-kat-kart span {
    position: relative;
    z-index: 2;
    padding: 14px 10px 10px;
    font-weight: 800;
    font-size: 15px;
    color: #fff;
    text-align: center;
}
.lb-kat-kart img {
    position: absolute;
    inset: auto 0 0 0;
    width: 100%;
    height: 78%;
    object-fit: cover;
    z-index: 1;
}

/* Kart renkleri — lego.tr'deki dizilim */
.lb-kat-kart.k-camgobegi { background: var(--lb-camgobegi); }
.lb-kat-kart.k-lacivert  { background: #0B3D91; }
.lb-kat-kart.k-mor       { background: #7B2FBE; }
.lb-kat-kart.k-kirmizi   { background: var(--lb-kirmizi); }
.lb-kat-kart.k-mavi      { background: var(--lb-mavi); }
.lb-kat-kart.k-gri       { background: #6B6B6B; }
.lb-kat-kart.k-siyah     { background: #111; }

/* =====================================================================
   HERO
   ===================================================================== */

.lb-hero {
    position: relative;
    border-radius: var(--lb-radius);
    overflow: hidden;
    background: var(--lb-sari);
    display: flex;
    align-items: center;
    min-height: 380px;
}
.lb-hero-metin { padding: 44px; max-width: 46%; }
.lb-hero-metin h1 {
    font-size: clamp(30px, 4.5vw, 52px);
    line-height: 1.05;
    margin: 0 0 14px;
}
.lb-hero-metin p {
    font-size: 16px;
    margin: 0 0 22px;
    max-width: 44ch;
}
.lb-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.lb-hero-metin { position: relative; z-index: 1; }

@media (max-width: 820px) {
    .lb-hero { min-height: 0; flex-direction: column; }
    .lb-hero-metin { max-width: 100%; padding: 28px 20px; }
}

/* =====================================================================
   ÜRÜN KARTI
   ===================================================================== */

.lb-urun-kart, .product-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--lb-cizgi);
    border-radius: var(--lb-radius);
    overflow: hidden;
    transition: var(--lb-gecis);
    display: flex;
    flex-direction: column;
}
.lb-urun-kart:hover, .product-card:hover {
    box-shadow: var(--lb-golge-kart);
    transform: translateY(-2px);
}

.lb-rozet {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 3;
    background: var(--lb-sari-marka);
    color: var(--lb-metin);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 4px;
    letter-spacing: .01em;
}
.lb-rozet.r-kirmizi { background: var(--lb-kirmizi); color: #fff; }
.lb-rozet.r-siyah   { background: var(--lb-siyah); color: #fff; }

.lb-favori {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 3;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--lb-metin);
    transition: var(--lb-gecis);
}
.lb-favori:hover { background: #fff; color: var(--lb-kirmizi); }

.lb-urun-bilgi { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lb-urun-ad { font-size: 14px; font-weight: 600; line-height: 1.35; }
.lb-urun-fiyat { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lb-urun-eski { font-size: 13px; color: var(--lb-metin-soluk); text-decoration: line-through; }

.lb-urun-meta {
    display: flex; gap: 10px; flex-wrap: wrap;
    font-size: 12px; color: var(--lb-metin-soluk); font-weight: 600;
}

/* =====================================================================
   SEKMELER
   ===================================================================== */

.lb-sekmeler {
    display: flex; gap: 22px; align-items: center;
    border-bottom: 1px solid var(--lb-cizgi);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.lb-sekme {
    background: none; border: none; cursor: pointer;
    font-family: var(--lb-font); font-size: 16px; font-weight: 700;
    color: var(--lb-metin-soluk);
    padding: 10px 0;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    transition: var(--lb-gecis);
}
.lb-sekme:hover { color: var(--lb-metin); }
.lb-sekme.aktif { color: var(--lb-metin); border-bottom-color: var(--lb-metin); }

/* =====================================================================
   IZGARALAR
   ===================================================================== */

.lb-urun-izgara {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 18px;
}

.lb-mozaik {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
}
.lb-mozaik > *:first-child { grid-row: span 2; }
.lb-mozaik img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--lb-radius); display: block; }
@media (max-width: 820px) {
    .lb-mozaik { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .lb-mozaik > *:first-child { grid-row: span 1; grid-column: span 2; }
}

.lb-uclu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

/* =====================================================================
   SEO METİN BLOĞU
   ===================================================================== */

.lb-seo-metin {
    background: var(--lb-zemin-alt);
    padding: 26px;
    border-radius: var(--lb-radius);
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--lb-metin-soluk);
}

/* =====================================================================
   ALT BİLGİ (koyu mor)
   ===================================================================== */

/* Devralinan footer sinifi ".footer" (siyahti) */
footer.footer, .site-footer, .lb-footer, footer.main-footer {
    background: var(--lb-mor) !important;
    color: #fff !important;
}
footer.footer *, .site-footer *, .lb-footer * {
    border-color: rgba(255,255,255,.15) !important;
}
footer.footer a, .site-footer a, .lb-footer a, footer.main-footer a {
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
}
footer.footer a:hover, .site-footer a:hover, .lb-footer a:hover {
    text-decoration: underline;
    color: var(--lb-sari) !important;
}
footer.footer h1, footer.footer h2, footer.footer h3,
footer.footer h4, footer.footer h5,
.site-footer h3, .site-footer h4, .lb-footer h3, .lb-footer h4 {
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 14px;
}
footer.footer p, footer.footer span, footer.footer li,
footer.footer div:not(.lb-bulten) {
    color: rgba(255,255,255,.88);
}
/* Footer ust seridi (ozellik kutulari) biraz daha koyu */
footer.footer .footer-features {
    background: var(--lb-mor-derin) !important;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
footer.footer .footer-feature-item i,
footer.footer .footer-feature-item svg { color: var(--lb-sari) !important; }
.lb-footer-alt {
    border-top: 1px solid rgba(255,255,255,.15);
    margin-top: 30px;
    padding-top: 20px;
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255,255,255,.75);
}

/* Bülten kutusu */
.lb-bulten { display: flex; max-width: 420px; border-radius: var(--lb-radius); overflow: hidden; }
.lb-bulten input {
    flex: 1; border: none; padding: 14px 16px;
    font-family: var(--lb-font); font-size: 14px;
}
.lb-bulten button {
    background: var(--lb-turuncu); color: #fff; border: none;
    padding: 0 20px; cursor: pointer; font-size: 18px;
}
.lb-bulten button:hover { background: #B00008; }

/* =====================================================================
   ERİŞİLEBİLİRLİK / HAREKET
   ===================================================================== */

*:focus-visible { outline: 3px solid var(--lb-mavi); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .lb-btn:hover, .lb-kat-kart:hover, .lb-urun-kart:hover { transform: none; }
}

/* =====================================================================
   DEVRALINAN ALTIN TONLARINI BASTIR
   style.css ve 35 dosyadaki satır içi stiller #c9a84c kullanıyor.
   Nokta atışı geçersiz kılmalar:
   ===================================================================== */

[style*="c9a84c"], [style*="C9A84C"] { color: var(--lb-turuncu) !important; }
.text-gold, .gold-text { color: var(--lb-turuncu) !important; }
.bg-gold { background: var(--lb-sari) !important; }

/* =====================================================================
   BAŞLIK — "arama baskın" yönü
   Devralınan style.css başlık kurallarını bilinçli olarak geçersiz kılar.
   ===================================================================== */

/* ── Duyuru şeridi ────────────────────────────────────────────────── */
.lb-duyuru {
    background: var(--lb-zemin);
    border-bottom: 1px solid var(--lb-cizgi);
    font-size: 13px;
    font-weight: 600;
}
.lb-duyuru-ic {
    max-width: var(--lb-kapsayici);
    margin: 0 auto;
    padding: 0 24px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.lb-duyuru-sol  { color: var(--lb-metin-soluk); }
.lb-duyuru-sag  { display: flex; gap: 18px; }
.lb-duyuru-sag a { color: var(--lb-metin-soluk); font-size: 13px; }
.lb-duyuru-sag a:hover { color: var(--lb-turuncu); }

/* ── Ana sarı bar ─────────────────────────────────────────────────── */
header.main-header {
    background: var(--lb-sari) !important;
    border: none !important;
    box-shadow: none !important;
    position: sticky;
    top: 0;
    z-index: 900;
}
header.main-header .header-inner {
    max-width: var(--lb-kapsayici);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

/* ── Logo ─────────────────────────────────────────────────────────── */
.header-logo { flex-shrink: 0; }
.header-logo a { display: flex; align-items: center; }
.header-logo img { height: 48px; width: auto; display: block; }

/* Logo dosyası gelene kadar kullanılan yazı amblemi */
.lb-yazi-logo { display: inline-flex; align-items: center; gap: 9px; }
.lb-yazi-logo-lego {
    background: var(--lb-kirmizi);
    color: #fff;
    font-weight: 900;
    font-size: 21px;
    letter-spacing: .01em;
    line-height: 1;
    padding: 9px 10px;
    border-radius: 5px;
}
.lb-yazi-logo-books {
    font-weight: 900;
    font-size: 27px;
    letter-spacing: -.02em;
    line-height: 1;
    color: var(--lb-metin);
}

/* ── Arama — barın baskın öğesi ───────────────────────────────────── */
.header-search { flex: 1 1 auto; min-width: 0; }
.header-search form {
    display: flex;
    height: 48px;
    background: #fff;
    border-radius: var(--lb-radius-hap);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .10);
}
.lb-arama-kategori {
    border: none;
    border-right: 1px solid var(--lb-cizgi);
    background: transparent;
    font-family: var(--lb-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--lb-metin);
    padding: 0 14px 0 20px;
    cursor: pointer;
    outline: none;
    max-width: 190px;
}
.header-search input[type="text"] {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    outline: none;
    padding: 0 18px;
    font-family: var(--lb-font);
    font-size: 15px;
    color: var(--lb-metin);
    background: transparent;
}
.header-search input::placeholder { color: #9A9A9A; }
.lb-arama-btn {
    flex-shrink: 0;
    width: 62px;
    border: none;
    background: var(--lb-turuncu);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--lb-gecis);
}
.lb-arama-btn:hover { background: var(--lb-turuncu-koyu); }

/* ── Sağ aksiyonlar ───────────────────────────────────────────────── */
header.main-header .header-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.lb-aksiyon {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 48px;
    padding: 0 12px;
    border-radius: var(--lb-radius);
    color: var(--lb-metin) !important;
    transition: var(--lb-gecis);
}
.lb-aksiyon:hover { background: rgba(255, 255, 255, .45); color: var(--lb-metin) !important; }
.lb-aksiyon-yazi { display: flex; flex-direction: column; line-height: 1.25; }
.lb-aksiyon-yazi small { font-size: 11.5px; color: rgba(36, 36, 36, .7); }
.lb-aksiyon-yazi strong { font-size: 14px; font-weight: 800; }

/* Sepet — koyu hap, barın tek koyu öğesi */
header.main-header .lb-sepet-btn {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 48px;
    padding: 0 18px;
    border-radius: var(--lb-radius-hap);
    background: var(--lb-metin);
    color: #fff !important;
    transition: var(--lb-gecis);
}
header.main-header .lb-sepet-btn:hover { background: #000; color: #fff !important; }
header.main-header .lb-sepet-btn .lb-aksiyon-yazi strong { color: #fff; }
.lb-sepet-ikon { position: relative; display: flex; }
header.main-header .cart-count {
    position: absolute;
    top: -7px;
    right: -9px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--lb-radius-hap);
    background: var(--lb-kirmizi);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

header.main-header .mobile-menu-toggle {
    display: none;
    width: 46px; height: 46px;
    align-items: center; justify-content: center;
    border: none; background: transparent;
    color: var(--lb-metin);
    cursor: pointer;
    border-radius: var(--lb-radius);
}
header.main-header .mobile-menu-toggle:hover { background: rgba(255, 255, 255, .45); }

/* ── Sepet açılır paneli ──────────────────────────────────────────── */
.cart-dropdown-wrapper { position: relative; }
.cart-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 348px;
    background: #fff;
    border: 1px solid var(--lb-cizgi);
    border-radius: var(--lb-radius);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: var(--lb-gecis);
    z-index: 950;
}
.cart-dropdown-wrapper:hover .cart-dropdown,
.cart-dropdown-wrapper:focus-within .cart-dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.cart-dropdown-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--lb-cizgi);
    font-size: 14px;
    font-weight: 700;
}
.cart-dropdown-items { max-height: 320px; overflow-y: auto; }
.cart-empty {
    padding: 34px 16px;
    text-align: center;
    color: var(--lb-metin-soluk);
}
.cart-empty p { margin: 10px 0 0; font-size: 14px; }
.cart-dropdown-item {
    display: flex; align-items: center; gap: 11px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--lb-cizgi);
}
.cart-dropdown-item img { width: 52px; height: 52px; object-fit: cover; border-radius: 6px; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h6 { margin: 0 0 3px; font-size: 13px; font-weight: 600; line-height: 1.35; }
.cart-item-price { font-size: 12.5px; color: var(--lb-metin-soluk); font-variant-numeric: tabular-nums; }
.cart-item-remove {
    border: none; background: transparent; cursor: pointer;
    color: var(--lb-metin-soluk); padding: 5px; border-radius: 5px;
}
.cart-item-remove:hover { color: var(--lb-kirmizi); background: #FBEAEB; }
.cart-dropdown-footer { padding: 14px 16px; }
.cart-total-row {
    display: flex; justify-content: space-between;
    font-size: 13.5px; margin-bottom: 7px;
    font-variant-numeric: tabular-nums;
}
.cart-total-row.discount { color: var(--lb-basari); }
.cart-total-row.total { font-weight: 800; font-size: 15.5px; padding-top: 8px; border-top: 1px solid var(--lb-cizgi); }
.cart-dropdown-buttons { display: flex; gap: 9px; margin-top: 12px; }
.cart-dropdown-buttons a {
    flex: 1; text-align: center; padding: 11px 0;
    border-radius: var(--lb-radius-hap);
    font-size: 14px; font-weight: 700;
}
.btn-cart-view { background: var(--lb-zemin-alt); color: var(--lb-metin) !important; }
.btn-cart-checkout { background: var(--lb-turuncu); color: #fff !important; }
.btn-cart-checkout:hover { background: var(--lb-turuncu-koyu); color: #fff !important; }

/* ── Kategori şeridi ──────────────────────────────────────────────── */
nav.lb-kat-nav {
    background: #fff;
    border-bottom: 1px solid var(--lb-cizgi);
    position: sticky;
    top: 76px;
    z-index: 890;
}
.lb-kat-nav-ic { max-width: var(--lb-kapsayici); margin: 0 auto; padding: 0 24px; }
nav.lb-kat-nav .nav-menu {
    display: flex; align-items: center; gap: 26px;
    list-style: none; margin: 0; padding: 0;
    height: 46px;
    overflow-x: auto;
    scrollbar-width: none;
}
nav.lb-kat-nav .nav-menu::-webkit-scrollbar { display: none; }
nav.lb-kat-nav .nav-item { position: relative; flex-shrink: 0; }
nav.lb-kat-nav .nav-item > a {
    display: flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 600;
    color: var(--lb-metin) !important;
    height: 46px;
    border-bottom: 3px solid transparent;
    text-transform: none;
    letter-spacing: 0;
}
nav.lb-kat-nav .nav-item:hover > a,
nav.lb-kat-nav .nav-item.active > a {
    border-bottom-color: var(--lb-metin);
}
nav.lb-kat-nav .lb-nav-firsat > a { font-weight: 800; color: var(--lb-kirmizi) !important; }
.lb-firsat-nokta {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--lb-kirmizi); display: inline-block;
}

nav.lb-kat-nav .dropdown-menu {
    position: absolute; top: 100%; left: 0;
    min-width: 210px;
    background: #fff;
    border: 1px solid var(--lb-cizgi);
    border-radius: var(--lb-radius);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
    list-style: none; margin: 0; padding: 7px 0;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: var(--lb-gecis);
    z-index: 940;
}
nav.lb-kat-nav .has-dropdown:hover .dropdown-menu,
nav.lb-kat-nav .has-dropdown:focus-within .dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
nav.lb-kat-nav .dropdown-menu a {
    display: block; padding: 9px 16px;
    font-size: 14px; color: var(--lb-metin) !important;
}
nav.lb-kat-nav .dropdown-menu a:hover { background: var(--lb-zemin-alt); color: var(--lb-turuncu) !important; }

/* ── Açılır alt kategori menüsü KIRPILIYORDU ──
   .nav-menu şeridi yatay kaydırılabilir olsun diye overflow-x:auto
   taşıyor. Bir eksende auto/scroll olan öge kaydırma kabı olur ve
   taşan içeriği HER İKİ EKSENDE kırpar. Açılır menü top:100% ile
   şeridin altına, yani kabın dışına açıldığı için hiç görünmüyordu
   (hover kuralı çalışıyor, menü kırpılıyordu).

   Masaüstünde kırpma kaldırılıyor; şerit gerekirse alt satıra
   sarıyor — başlık zaten en fazla 8 kategori basıyor.
   Mobilde kaydırma AYNEN kalıyor: orada açılır menü kullanılmıyor,
   mobil menü ayrı (.mobile-nav). */
nav.lb-kat-nav .nav-menu {
    overflow: visible;
    flex-wrap: wrap;
    height: auto;
    min-height: 46px;
}

/* ── Mobil menü ───────────────────────────────────────────────────── */
.mobile-menu {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 300px; max-width: 86vw;
    background: #fff;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform .25s ease;
    overflow-y: auto;
}
.mobile-menu.active, .mobile-menu.open { transform: translateX(0); }
.mobile-menu-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px; background: var(--lb-sari);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.mobile-menu-header img { height: 38px; }
.mobile-menu-header .lb-yazi-logo-lego { font-size: 16px; padding: 7px 8px; }
.mobile-menu-header .lb-yazi-logo-books { font-size: 20px; }
.close-menu { border: none; background: transparent; cursor: pointer; color: var(--lb-metin); padding: 6px; }
.mobile-nav { list-style: none; margin: 0; padding: 8px 0; }
.mobile-nav > li { position: relative; border-bottom: 1px solid var(--lb-cizgi); }
.mobile-nav > li > a { display: block; padding: 14px 18px; font-size: 15px; font-weight: 600; }
.submenu-toggle {
    position: absolute; top: 6px; right: 8px;
    width: 40px; height: 40px;
    border: none; background: transparent; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--lb-metin-soluk);
}
.mobile-nav .submenu { list-style: none; margin: 0; padding: 0 0 8px 18px; display: none; }
.mobile-nav li.open .submenu { display: block; }
.mobile-nav .submenu a { display: block; padding: 9px 0; font-size: 14px; color: var(--lb-metin-soluk) !important; }
.mobile-menu-overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 999;
    opacity: 0; visibility: hidden;
    transition: var(--lb-gecis);
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }

/* ── Duyarlı davranış ─────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .lb-aksiyon .lb-aksiyon-yazi { display: none; }
    .lb-aksiyon { padding: 0 10px; }
    header.main-header .lb-sepet-btn { padding: 0 14px; }
    header.main-header .lb-sepet-btn .lb-aksiyon-yazi { display: none; }
    .lb-arama-kategori { display: none; }
}

@media (max-width: 900px) {
    .lb-duyuru-sol, .lb-duyuru-sag { display: none; }
    .lb-duyuru-ic { justify-content: center; }
    nav.lb-kat-nav { top: 0; position: static; }
}

@media (max-width: 760px) {
    header.main-header .header-inner {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 16px;
    }
    .header-search { order: 3; flex: 1 0 100%; }
    .header-search form { height: 44px; }
    header.main-header .mobile-menu-toggle { display: flex; }
    .header-logo img { height: 40px; }
    .lb-yazi-logo-lego { font-size: 17px; padding: 7px 8px; }
    .lb-yazi-logo-books { font-size: 22px; }
    nav.lb-kat-nav .lb-kat-nav-ic { padding: 0 16px; }
    .cart-dropdown { width: min(340px, calc(100vw - 32px)); }
}

/* =====================================================================
   BAŞLIK — devralınan satır içi stilleri bastır
   head.php içindeki <style> bloğu .header-search'e max-width:320px ve
   margin dayatıyor; arama "baskın" olamıyordu. Konumlandırılmış eski
   arama düğmesi de yeni flex düzeniyle çakışıyor.
   ===================================================================== */

header.main-header .header-search {
    flex: 1 1 auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
}

header.main-header .header-search form {
    position: static !important;
    width: 100%;
}

header.main-header .header-search input[type="text"] {
    width: auto !important;
    padding: 0 18px !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-size: 15px !important;
    height: 100%;
}

header.main-header .header-search .lb-arama-btn {
    position: static !important;
    transform: none !important;
    right: auto !important;
    top: auto !important;
    width: 62px !important;
    height: auto !important;
    border-radius: 0 !important;
    background: var(--lb-turuncu) !important;
}

/* Logo alanı sabit kalsın, arama büyüsün */
header.main-header .header-logo { flex: 0 0 auto; }
header.main-header .header-icons { flex: 0 0 auto; }

/* =====================================================================
   MOBİLDE ARAMA VE KATEGORİ ŞERİDİ GÖRÜNÜR KALIR
   Devralınan satır içi stil bunları gizliyordu:
     @media (max-width: 768px) { .header-search { display: none } }
     @media (max-width: 992px) { .header-nav    { display: none } }
   Eski tasarımda arama açılır pencereye taşınıyordu. Bu yönün tamamı
   aramanın görünür olmasına dayandığı için geri açılıyor.
   ===================================================================== */

@media (max-width: 992px) {
    header.main-header .header-search { display: block !important; }
    nav.lb-kat-nav { display: block !important; }
}

@media (max-width: 768px) {
    header.main-header .header-search { display: block !important; }

    /* Arama kendi satırına iner, tam genişlik */
    header.main-header .header-inner {
        flex-wrap: wrap;
        row-gap: 10px;
        padding: 12px 16px;
    }
    header.main-header .header-search {
        order: 3;
        flex: 1 0 100% !important;
        max-width: none !important;
    }
    header.main-header .header-search form { height: 44px; }

    /* Kategori şeridi yatay kaydırılabilir kalır */
    nav.lb-kat-nav { display: block !important; position: static; }
    nav.lb-kat-nav .nav-menu {
        gap: 18px;
        /* Sabit yükseklik, sarılan ikinci satırı kutunun dışına taşırıyordu. */
        height: auto;
        min-height: 44px;
    }
    nav.lb-kat-nav .nav-item > a { height: 44px; font-size: 13.5px; }
}

/* Duyuru şeridindeki bağlantılar da 44px dokunma hedefi olsun */
@media (max-width: 900px) {
    .lb-duyuru-ic { height: auto; padding: 9px 16px; }
}

/* =====================================================================
   MOBİL BAŞLIK (index_mobile.php — ayrı mobil sürüm)
   ===================================================================== */

header.mobile-header {
    background: var(--lb-sari) !important;
    border-bottom: none !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    position: sticky;
    top: 0;
    z-index: 900;
}
header.mobile-header .header-left,
header.mobile-header .header-right { display: flex; align-items: center; gap: 4px; }

header.mobile-header .menu-toggle,
header.mobile-header .header-action-btn {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border: none; background: transparent;
    color: var(--lb-metin) !important;
    font-size: 23px;
    border-radius: var(--lb-radius);
    position: relative;
}
header.mobile-header .header-action-btn:hover,
header.mobile-header .menu-toggle:hover { background: rgba(255,255,255,.45); }

header.mobile-header .header-logo { display: flex; align-items: center; }
header.mobile-header .header-logo img { height: 36px; width: auto; }
header.mobile-header .lb-yazi-logo-lego  { font-size: 15px; padding: 6px 7px; }
header.mobile-header .lb-yazi-logo-books { font-size: 19px; }

header.mobile-header .cart-badge {
    position: absolute; top: 4px; right: 2px;
    min-width: 18px; height: 18px; padding: 0 5px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--lb-radius-hap);
    background: var(--lb-kirmizi) !important;
    color: #fff !important;
    font-size: 11px; font-weight: 800; line-height: 1;
}

/* Arama satırı — sarı barın hemen altında */
.lb-mob-arama {
    background: var(--lb-sari);
    padding: 0 14px 12px;
    position: sticky;
    top: 64px;
    z-index: 899;
}
.lb-mob-arama form {
    display: flex;
    height: 44px;
    background: #fff;
    border-radius: var(--lb-radius-hap);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.10);
}
.lb-mob-arama input {
    flex: 1 1 auto; min-width: 0;
    border: none; outline: none;
    padding: 0 16px;
    font-family: var(--lb-font);
    font-size: 15px;
    background: transparent;
    color: var(--lb-metin);
}
.lb-mob-arama input::placeholder { color: #9A9A9A; }
.lb-mob-arama button {
    flex-shrink: 0;
    width: 54px;
    border: none;
    background: var(--lb-turuncu);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
}

/* Alt navigasyon çubuğu */
nav.bottom-nav {
    background: #fff !important;
    border-top: 1px solid var(--lb-cizgi) !important;
}
nav.bottom-nav a { color: var(--lb-metin-soluk) !important; font-size: 11px; font-weight: 600; }
nav.bottom-nav a.active { color: var(--lb-turuncu) !important; }

/* Yan menü */
nav.side-menu .side-menu-header { background: var(--lb-sari) !important; }

/* Logo bağlantısı da 44px dokunma hedefi olsun */
header.mobile-header .header-logo { min-height: 44px; align-items: center; }

/* =====================================================================
   ARAMA DÜĞMESİ — LEGO kırmızısı
   Sarı zeminde kırmızı, logodaki kırmızıyla aynı ton (#E3000B).
   Turuncu diğer eylem düğmelerinde (Sepete Ekle, Satın Al) kalır.
   ===================================================================== */

header.main-header .header-search .lb-arama-btn,
.lb-arama-btn {
    background: var(--lb-kirmizi) !important;
    color: #fff !important;
}
header.main-header .header-search .lb-arama-btn:hover,
.lb-arama-btn:hover {
    background: var(--lb-kirmizi-koyu) !important;
}

/* Mobil sürümdeki eşi */
.lb-mob-arama button {
    background: var(--lb-kirmizi) !important;
    color: #fff !important;
}
.lb-mob-arama button:hover { background: var(--lb-kirmizi-koyu) !important; }

/* =====================================================================
   LOGO BOYUTU — bir tık büyütüldü
   Bar 80px; 58px logo üstte/altta 11px nefes bırakıyor.
   Devralınan .header-logo img yükseklik kuralını bastırır.
   ===================================================================== */

header.main-header .header-logo img {
    height: 58px !important;
    width: auto !important;
    max-height: none !important;
}

header.mobile-header .header-logo img {
    height: 44px !important;
    width: auto !important;
    max-height: none !important;
}

.mobile-menu-header img { height: 44px !important; width: auto !important; }

@media (max-width: 760px) {
    header.main-header .header-logo img { height: 46px !important; }
}

/* =====================================================================
   ANA SAYFA BÖLÜMLERİ — lego.tr dizilimi
   ===================================================================== */

.lb-bolum-sik { padding: 0 0 40px; }
.lb-hero-bolum { padding: 28px 0 40px; }
.lb-bolum-alt-eylem { display: flex; justify-content: center; margin-top: 30px; }

/* ── 1) Hero ──────────────────────────────────────────────────────── */
a.lb-hero { text-decoration: none; color: inherit; display: flex; }

.lb-hero-tipografik {
    position: relative;
    background: var(--lb-sari);
    overflow: hidden;
    align-items: center;
    min-height: 340px;
}
.lb-hero-tipografik .lb-hero-metin { max-width: 620px; padding: 52px 48px; }
.lb-hero-tipografik h1 {
    font-size: clamp(30px, 4.4vw, 50px);
    line-height: 1.04;
    margin: 0 0 14px;
}
.lb-hero-tipografik p {
    font-size: 17px;
    line-height: 1.55;
    margin: 0 0 26px;
    max-width: 46ch;
    color: rgba(36, 36, 36, .85);
}
.lb-hero-dugmeler { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sağ kenardaki renk sütunları — kitap sırtı ritmi */
.lb-hero-tuglalar {
    position: absolute;
    right: 0; top: 0; bottom: 0;
    display: flex;
    gap: 10px;
    padding: 0 44px 0 0;
    align-items: flex-end;
}
.lb-hero-tuglalar span {
    width: 34px;
    border-radius: 6px 6px 0 0;
    display: block;
}
.lb-hero-tuglalar span:nth-child(1) { height: 58%; }
.lb-hero-tuglalar span:nth-child(2) { height: 76%; }
.lb-hero-tuglalar span:nth-child(3) { height: 48%; }
.lb-hero-tuglalar span:nth-child(4) { height: 66%; }

@media (max-width: 900px) {
    .lb-hero-tuglalar { display: none; }
    .lb-hero-tipografik { min-height: 0; }
    .lb-hero-tipografik .lb-hero-metin { padding: 34px 24px; }
}

/* ── 2) Kategori kartları ─────────────────────────────────────────── */
.lb-kat-kart {
    justify-content: flex-start;
    aspect-ratio: 4 / 5;
    padding: 16px 12px;
    text-align: center;
}
.lb-kat-kart span {
    padding: 0;
    font-size: 15px;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
}

/* ── 3) İkincil hero ──────────────────────────────────────────────── */
.lb-ikincil-hero {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--lb-sari);
    border-radius: var(--lb-radius);
    overflow: hidden;
    min-height: 220px;
}
.lb-ikincil-metin { padding: 38px 44px; max-width: 640px; position: relative; z-index: 1; }
.lb-ikincil-metin h2 {
    font-size: clamp(23px, 3vw, 34px);
    line-height: 1.1;
    margin: 0 0 10px;
}
.lb-ikincil-metin p {
    font-size: 15.5px;
    margin: 0 0 20px;
    max-width: 48ch;
    color: rgba(36, 36, 36, .85);
}
.lb-ikincil-desen {
    position: absolute;
    right: -40px; top: -40px; bottom: -40px;
    width: 320px;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,.55) 0 9px, transparent 10px),
        radial-gradient(circle at 70% 60%, rgba(255,255,255,.45) 0 7px, transparent 8px);
    background-size: 62px 62px, 46px 46px;
    opacity: .8;
}
@media (max-width: 820px) {
    .lb-ikincil-desen { display: none; }
    .lb-ikincil-metin { padding: 28px 22px; }
}

/* ── 4) Ürün kartı ────────────────────────────────────────────────── */
.lb-urun-gorsel {
    display: block;
    aspect-ratio: 1 / 1;
    background: var(--lb-zemin-alt);
    overflow: hidden;
}
.lb-urun-gorsel img { width: 100%; height: 100%; object-fit: cover; display: block; transition: var(--lb-gecis); }
.lb-urun-kart:hover .lb-urun-gorsel img { transform: scale(1.03); }
.lb-urun-gorsel.gorselsiz, .lb-gorsel-yok {
    display: block; width: 100%; height: 100%;
    background:
        linear-gradient(135deg, transparent 46%, var(--lb-cizgi) 46%, var(--lb-cizgi) 54%, transparent 54%),
        var(--lb-zemin-alt);
}

.lb-favori.aktif { color: var(--lb-kirmizi); }

.lb-urun-ad {
    font-size: 14px; font-weight: 600; line-height: 1.35;
    color: var(--lb-metin) !important;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.lb-urun-ad:hover { color: var(--lb-turuncu) !important; }

.lb-urun-fiyat-satir { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.lb-urun-fiyat { font-size: 17px; font-weight: 800; }
.lb-urun-eski { font-size: 13px; color: var(--lb-metin-soluk); text-decoration: line-through; }

.lb-sepete-ekle { width: 100%; margin-top: 10px; padding: 11px 0; font-size: 14px; }

/* ── 5) Sekme panelleri ───────────────────────────────────────────── */
.lb-sekme-panel { display: none; }
.lb-sekme-panel.aktif { display: block; }

/* ── 6) Boş durum ─────────────────────────────────────────────────── */
.lb-bos-durum {
    border: 1px dashed var(--lb-rule, var(--lb-cizgi));
    border-radius: var(--lb-radius);
    padding: 54px 24px;
    text-align: center;
    color: var(--lb-metin-soluk);
    background: var(--lb-zemin-alt);
}
.lb-bos-durum h3 { font-size: 18px; margin: 14px 0 6px; color: var(--lb-metin); }
.lb-bos-durum p { margin: 0; font-size: 14.5px; }

/* ── 7) Üçlü kart ─────────────────────────────────────────────────── */
.lb-uclu-kart {
    position: relative;
    display: block;
    background: #fff;
    border: 1px solid var(--lb-cizgi);
    border-radius: var(--lb-radius);
    padding: 26px 24px 26px 34px;
    text-decoration: none;
    transition: var(--lb-gecis);
    overflow: hidden;
}
.lb-uclu-kart:hover { box-shadow: var(--lb-golge-kart); transform: translateY(-2px); }
.lb-uclu-sirt { position: absolute; left: 0; top: 0; bottom: 0; width: 10px; }
.lb-uclu-kart h3 { font-size: 18px; margin: 0 0 6px; }
.lb-uclu-kart p { margin: 0; font-size: 14.5px; color: var(--lb-metin-soluk); }


/* =====================================================================
   KATEGORİ ŞERİDİ — kart genişliği sınırı
   auto-fit ızgarası tek kartı tüm satıra yayıyordu; aspect-ratio 4/5 ile
   birlikte 1232x1540px'lik dev bir kutu çıkıyordu. Kart kart kalmalı.
   ===================================================================== */
.lb-kat-serit {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    justify-content: start;
}
.lb-kat-kart { max-width: 240px; width: 100%; }

/* =====================================================================
   GÖRSELLİ HERO
   Banner 2:1; hero kutusunu sabit yükseklikte tutmak görselin üstünü
   altını kırpardı. Görsel kendi oranını korur, kutu ona göre uzar.
   ===================================================================== */

a.lb-hero {
    display: block;
    position: relative;
    min-height: 0;
    background: var(--lb-zemin-alt);
    line-height: 0;              /* alttaki satır boşluğu şeridi kalksın */
}
a.lb-hero picture { display: block; width: 100%; }
a.lb-hero img {
    position: static;
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Metin bindirilecekse okunabilirlik için alt karartma */
.lb-hero-metin-uzeri {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 34px 40px;
    line-height: 1.5;
    background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0));
    color: #fff;
    max-width: none;
}
.lb-hero-metin-uzeri h1 { color: #fff; margin: 0 0 8px; font-size: clamp(24px, 3.4vw, 40px); }
.lb-hero-metin-uzeri p  { color: rgba(255,255,255,.92); margin: 0 0 16px; font-size: 16px; }

@media (max-width: 760px) {
    .lb-hero-metin-uzeri { padding: 20px 18px; }
}

/* =====================================================================
   ÜÇLÜ FOTO SLIDER — "shoppable" görsel
   Görselin üzerine gelince (veya + düğmesine dokununca) ürün paneli açılır.
   ===================================================================== */

.lb-slider-ust {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.lb-slider-ust .lb-bolum-aciklama { margin-bottom: 0; }
.lb-slider-oklar { display: flex; gap: 8px; flex-shrink: 0; }

.lb-ok {
    width: 44px; height: 44px;
    border: 1px solid var(--lb-cizgi);
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--lb-metin);
    transition: var(--lb-gecis);
}
.lb-ok:hover { background: var(--lb-metin); color: #fff; border-color: var(--lb-metin); }
.lb-ok:disabled { opacity: .35; cursor: default; }
.lb-ok:disabled:hover { background: #fff; color: var(--lb-metin); border-color: var(--lb-cizgi); }

/* ── Ray ──────────────────────────────────────────────────────────── */
.lb-foto-ray {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2 * 18px) / 3);
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.lb-foto-ray::-webkit-scrollbar { display: none; }

@media (max-width: 900px) { .lb-foto-ray { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (max-width: 620px) { .lb-foto-ray { grid-auto-columns: 82%; } }

/* ── Kart ─────────────────────────────────────────────────────────── */
.lb-foto-kart {
    position: relative;
    scroll-snap-align: start;
    border-radius: var(--lb-radius);
    overflow: hidden;
    background: var(--lb-zemin-alt);
    aspect-ratio: 1 / 1;
}
.lb-foto-gorsel { display: block; width: 100%; height: 100%; }
.lb-foto-gorsel img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.lb-foto-kart:hover .lb-foto-gorsel img { transform: scale(1.04); }

.lb-foto-kart.gorselsiz {
    background:
        linear-gradient(135deg, transparent 46%, var(--lb-cizgi) 46%, var(--lb-cizgi) 54%, transparent 54%),
        var(--lb-zemin-alt);
}

/* ── Artı düğmesi ─────────────────────────────────────────────────── */
.lb-foto-arti {
    position: absolute;
    left: 14px; bottom: 14px;
    z-index: 3;
    width: 48px; height: 48px;
    border: none;
    border-radius: 50%;
    /* LEGO tuglasindan sepet ikonu. '+' DOM'da duruyor ama gizli:
       ekran okuyucu aria-label'i okur, panel acilinca 'x' olarak geri gelir.
       ?v= elle bumplanir — gorseller 1 ay onbellekleniyor. */
    background-color: #fff;
    background-image: url('/assets/sepete-ekle.png?v=1');
    background-repeat: no-repeat;
    background-position: 50% 48%;
    background-size: 32px 32px;
    color: transparent;
    font-family: var(--lb-font);
    font-size: 0;
    font-weight: 400;
    line-height: 1;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .22);
    transition: var(--lb-gecis);
}
/* Hover'da daire KOYULASMAZ: ikonun koyu gri tekerlekleri/kolu kayboluyor.
   Geri bildirim kirmizi halka + hafif buyume ile veriliyor. */
.lb-foto-arti:hover {
    background-color: #fff;
    color: transparent;
    box-shadow: 0 0 0 3px var(--lb-kirmizi), 0 3px 10px rgba(0, 0, 0, .24);
    transform: scale(1.06);
}
/* Panel acikken ikon gider, '+' geri gelir ve donerek 'x' olur */
.lb-foto-kart.acik .lb-foto-arti {
    background-image: none;
    background-color: var(--lb-metin);
    color: #fff;
    font-size: 26px;
    transform: rotate(45deg) scale(1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .22);
}

/* ── Ürün paneli ──────────────────────────────────────────────────── */
.lb-foto-panel {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 16px 16px 66px;
    background: linear-gradient(to top, rgba(0, 0, 0, .82) 55%, rgba(0, 0, 0, 0));
    transform: translateY(100%);
    opacity: 0;
    transition: transform .28s ease, opacity .28s ease;
    pointer-events: none;
}
.lb-foto-kart:hover .lb-foto-panel,
.lb-foto-kart:focus-within .lb-foto-panel,
.lb-foto-kart.acik .lb-foto-panel {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.lb-foto-ad {
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}
.lb-foto-ad:hover { color: var(--lb-sari) !important; }

.lb-foto-fiyat {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.lb-foto-sepet {
    align-self: flex-start;
    border: none;
    border-radius: var(--lb-radius-hap);
    background: var(--lb-turuncu);
    color: #fff;
    font-family: var(--lb-font);
    font-size: 13.5px;
    font-weight: 800;
    padding: 11px 20px;
    cursor: pointer;
    transition: var(--lb-gecis);
    min-height: 40px;
}
.lb-foto-sepet:hover { background: var(--lb-turuncu-koyu); }
.lb-foto-sepet[disabled] { opacity: .7; cursor: default; }
.lb-foto-sepet.eklendi { background: var(--lb-basari); }
.lb-foto-sepet.hata    { background: var(--lb-hata); }

/* Dokunmatikte hover yok; panel yalnız + ile açılır */
@media (hover: none) {
    .lb-foto-kart:hover .lb-foto-panel { transform: translateY(100%); opacity: 0; pointer-events: none; }
    .lb-foto-kart.acik .lb-foto-panel  { transform: translateY(0);    opacity: 1; pointer-events: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .lb-foto-panel { transition: none; }
    .lb-foto-kart:hover .lb-foto-gorsel img { transform: none; }
    .lb-foto-ray { scroll-behavior: auto; }
}

/* Fiyatı henüz girilmemiş ürün — sahte "0,00 ₺" basmak yerine dürüst etiket */
.lb-fiyat-yok { font-size: 14px; font-weight: 700; color: var(--lb-metin-soluk); }

/* =====================================================================
   MOZAİK IZGARA — solda büyük, sağda 2×2 (lego.tr düzeni)
   ===================================================================== */

.lb-mozaik {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
}
.lb-mozaik > .lb-foto-kart.buyuk { grid-row: span 2; grid-column: span 1; }

/* Mozaikte kartlar hücreyi doldurur; kare oran dayatılmaz */
.lb-mozaik .lb-foto-kart { aspect-ratio: auto; min-height: 210px; }
.lb-mozaik .lb-foto-kart.buyuk { min-height: 434px; }

/* Büyük kartta artı ve panel biraz daha ferah */
/* Buyuk kartta ikon da buyusun. font-size VERILMEZ: acik durumdaki
   x boyutunu ezmesin (o kural daha dusuk ozgullukte). */
.lb-mozaik .lb-foto-kart.buyuk .lb-foto-arti { width: 56px; height: 56px; background-size: 38px 38px; }
.lb-mozaik .lb-foto-kart.buyuk .lb-foto-panel { padding: 26px 20px 20px 74px; }
.lb-mozaik .lb-foto-kart.buyuk .lb-foto-ad { font-size: 16px; }

@media (max-width: 900px) {
    .lb-mozaik { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .lb-mozaik > .lb-foto-kart.buyuk { grid-row: span 1; grid-column: span 2; }
    .lb-mozaik .lb-foto-kart.buyuk { min-height: 300px; }
}
@media (max-width: 560px) {
    .lb-mozaik { grid-template-columns: 1fr; }
    .lb-mozaik > .lb-foto-kart.buyuk { grid-column: span 1; }
    .lb-mozaik .lb-foto-kart { min-height: 260px; }
}

/* =====================================================================
   SEKMELİ ÜRÜN ŞERİDİ — tek sıra, yatay kayar
   Sarmalayan ızgara yerine karusel. Yalnız sekme panelleri içinde geçerli;
   /urunler gibi listeleme sayfalarındaki ızgara etkilenmez.
   ===================================================================== */

.lb-sekme-satiri {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--lb-cizgi);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.lb-sekme-satiri .lb-sekmeler {
    border-bottom: none;
    margin-bottom: 0;
    flex: 1 1 auto;
}
.lb-sekme-oklar { display: flex; gap: 8px; padding-bottom: 10px; flex-shrink: 0; }

/* Tek sıra kayan şerit */
.lb-sekme-panel .lb-urun-izgara {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 4 * 18px) / 5);   /* masaüstünde 5 kart görünür */
    grid-template-columns: none;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 6px;
}
.lb-sekme-panel .lb-urun-izgara::-webkit-scrollbar { display: none; }
.lb-sekme-panel .lb-urun-kart { scroll-snap-align: start; }

@media (max-width: 1180px) { .lb-sekme-panel .lb-urun-izgara { grid-auto-columns: calc((100% - 3 * 18px) / 4); } }
@media (max-width: 980px)  { .lb-sekme-panel .lb-urun-izgara { grid-auto-columns: calc((100% - 2 * 18px) / 3); } }
@media (max-width: 720px)  { .lb-sekme-panel .lb-urun-izgara { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (max-width: 480px)  { .lb-sekme-panel .lb-urun-izgara { grid-auto-columns: 76%; } }

@media (prefers-reduced-motion: reduce) {
    .lb-sekme-panel .lb-urun-izgara { scroll-behavior: auto; }
}

/* =====================================================================
   SEKMELİ VİTRİN — "Bu Haftanın Öne Çıkanları"
   Sekmeler banner'ın üstünde ortada hap grubu; basınca slayt değişir.
   ===================================================================== */

.lb-ortali { text-align: center; margin-left: auto; margin-right: auto; }

.lb-vitrin {
    position: relative;
    border-radius: var(--lb-radius);
    overflow: hidden;
    background: var(--lb-zemin-alt);
    min-height: 420px;
}

/* Sekme hapları */
.lb-vitrin-sekmeler {
    position: absolute;
    top: 22px; left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 4px;
    padding: 5px;
    background: rgba(255, 255, 255, .94);
    border-radius: var(--lb-radius-hap);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .14);
    max-width: calc(100% - 32px);
    overflow-x: auto;
    scrollbar-width: none;
}
.lb-vitrin-sekmeler::-webkit-scrollbar { display: none; }

.lb-vitrin-sekme {
    border: none;
    background: transparent;
    border-radius: var(--lb-radius-hap);
    padding: 11px 20px;
    font-family: var(--lb-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--lb-metin);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--lb-gecis);
    min-height: 44px;
}
.lb-vitrin-sekme:hover { background: rgba(0, 0, 0, .06); }
.lb-vitrin-sekme.aktif { background: var(--lb-metin); color: #fff; }

/* Slaytlar */
.lb-vitrin-slayt {
    display: none;
    position: relative;
    min-height: 420px;
}
.lb-vitrin-slayt.aktif { display: block; }
.lb-vitrin-slayt img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}
.lb-vitrin-slayt.gorselsiz { background: var(--lb-sari); }

.lb-vitrin-metin {
    position: relative;
    z-index: 2;
    max-width: 620px;
    margin: 0 auto;
    padding: 108px 28px 56px;
    text-align: center;
}
.lb-vitrin-metin h3 {
    font-size: clamp(25px, 3.6vw, 40px);
    line-height: 1.1;
    margin: 0 0 14px;
    color: var(--lb-metin);
}
.lb-vitrin-metin p {
    font-size: 15.5px;
    line-height: 1.6;
    margin: 0 0 22px;
    color: rgba(36, 36, 36, .88);
}

/* Görsel varken metin okunabilir kalsın */
.lb-vitrin-slayt:not(.gorselsiz) .lb-vitrin-metin {
    background: radial-gradient(ellipse at center, rgba(255,255,255,.86) 0%, rgba(255,255,255,.62) 58%, rgba(255,255,255,0) 78%);
    border-radius: var(--lb-radius);
}

@media (max-width: 720px) {
    .lb-vitrin, .lb-vitrin-slayt { min-height: 380px; }
    .lb-vitrin-metin { padding: 96px 18px 40px; }
    .lb-vitrin-sekme { padding: 10px 14px; font-size: 13px; }
}

/* =====================================================================
   KARE GÖRÜNÜM DÜZELTMESİ
   Ürün kartı 1:1 idi; kitap/packshot görselleri kare kutuda hem kırpılıyor
   hem tıknaz duruyordu. Dikey orana geçip contain kullanıyoruz — ürünün
   tamamı görünür, kenarları kesilmez.
   ===================================================================== */

.lb-urun-gorsel {
    aspect-ratio: 4 / 5;
    background: #fff;
    padding: 10px;
}
.lb-urun-gorsel img {
    object-fit: contain !important;
    width: 100%;
    height: 100%;
}
.lb-urun-kart:hover .lb-urun-gorsel img { transform: scale(1.03); }

/* Mozaikte küçük kartlar da kare değil, yatay dikdörtgen olsun */
.lb-mozaik { grid-template-rows: 236px 236px; }
.lb-mozaik .lb-foto-kart { min-height: 0; }
.lb-mozaik .lb-foto-kart.buyuk { min-height: 0; }

@media (max-width: 900px) {
    .lb-mozaik { grid-template-rows: auto; }
    .lb-mozaik .lb-foto-kart { min-height: 210px; }
    .lb-mozaik .lb-foto-kart.buyuk { min-height: 300px; }
}

/* =====================================================================
   GEÇİŞ EFEKTLERİ
   Sekme değişiminde slayt/panel yumuşak girer.
   ===================================================================== */

@keyframes lbGir {
    from { opacity: 0; transform: translateY(14px) scale(.995); }
    to   { opacity: 1; transform: none; }
}
@keyframes lbGirYan {
    from { opacity: 0; transform: translateX(22px); }
    to   { opacity: 1; transform: none; }
}

/* Vitrin slaydı */
.lb-vitrin-slayt.aktif { animation: lbGir .42s cubic-bezier(.22,.61,.36,1) both; }
.lb-vitrin-slayt.aktif .lb-vitrin-metin { animation: lbGir .52s .06s cubic-bezier(.22,.61,.36,1) both; }

/* Ürün sekmesi paneli — kartlar kademeli girsin */
.lb-sekme-panel.aktif { animation: lbGir .34s cubic-bezier(.22,.61,.36,1) both; }
.lb-sekme-panel.aktif .lb-urun-kart { animation: lbGirYan .40s cubic-bezier(.22,.61,.36,1) both; }
.lb-sekme-panel.aktif .lb-urun-kart:nth-child(1) { animation-delay: .02s; }
.lb-sekme-panel.aktif .lb-urun-kart:nth-child(2) { animation-delay: .06s; }
.lb-sekme-panel.aktif .lb-urun-kart:nth-child(3) { animation-delay: .10s; }
.lb-sekme-panel.aktif .lb-urun-kart:nth-child(4) { animation-delay: .14s; }
.lb-sekme-panel.aktif .lb-urun-kart:nth-child(5) { animation-delay: .18s; }
.lb-sekme-panel.aktif .lb-urun-kart:nth-child(n+6) { animation-delay: .22s; }

/* Sekme hapı geçişi */
.lb-vitrin-sekme { transition: background .22s ease, color .22s ease; }

@media (prefers-reduced-motion: reduce) {
    .lb-vitrin-slayt.aktif,
    .lb-vitrin-slayt.aktif .lb-vitrin-metin,
    .lb-sekme-panel.aktif,
    .lb-sekme-panel.aktif .lb-urun-kart { animation: none !important; }
}

/* =====================================================================
   ÜRÜN KARTI — büyütme + görsel çerçeveye tam otursun
   Önce contain + padding kullanılıyordu; packshot kare (1:1) olduğu için
   4:5 çerçevede üstte altta boşluk kalıyor, görsel kutuya oturmuyordu.
   Artık cover: görsel çerçeveyi tamamen doldurur.
   ===================================================================== */

/* Masaüstünde 5 yerine 4 kart → her kart belirgin şekilde büyür */
.lb-sekme-panel .lb-urun-izgara { grid-auto-columns: calc((100% - 3 * 18px) / 4); }

@media (max-width: 1180px) { .lb-sekme-panel .lb-urun-izgara { grid-auto-columns: calc((100% - 2 * 18px) / 3); } }
@media (max-width: 900px)  { .lb-sekme-panel .lb-urun-izgara { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (max-width: 560px)  { .lb-sekme-panel .lb-urun-izgara { grid-auto-columns: 80%; } }

/* Görsel çerçeveyi tam doldursun */
.lb-urun-gorsel {
    aspect-ratio: 4 / 5;
    padding: 0;
    background: var(--lb-zemin-alt);
}
.lb-urun-gorsel img {
    object-fit: cover !important;
    object-position: center;
    width: 100%;
    height: 100%;
}

/* Kart büyüyünce içerik de orantılı olsun */
.lb-urun-bilgi { padding: 16px; gap: 8px; }
.lb-urun-ad { font-size: 15px; }
.lb-urun-fiyat { font-size: 18px; }
.lb-sepete-ekle { padding: 13px 0; font-size: 14.5px; }

/* =====================================================================
   VİTRİN — banner kendi oranında, kırpılmadan
   Sabit yükseklik + cover kullanılıyordu; 2:1 bannerların üstü altı
   kesiliyordu (soldaki ürünün tepesi gidiyordu). Artık görsel oranını
   korur, kutu ona göre uzar.
   ===================================================================== */

.lb-vitrin { min-height: 0; }

a.lb-vitrin-slayt {
    display: none;
    position: relative;
    min-height: 0;
    text-decoration: none;
    color: inherit;
    line-height: 0;
}
a.lb-vitrin-slayt.aktif { display: block; }
a.lb-vitrin-slayt picture { display: block; width: 100%; }
a.lb-vitrin-slayt img {
    position: static !important;
    width: 100%;
    height: auto !important;
    display: block;
    object-fit: contain;
}

/* Metin bindirmesi olmayan slaytta sekmeler okunsun diye üstte hafif karartma */
.lb-vitrin-slayt.metinsiz::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 104px;
    background: linear-gradient(to bottom, rgba(0,0,0,.20), rgba(0,0,0,0));
    z-index: 1;
    pointer-events: none;
}

.lb-vitrin-slayt.gorselsiz { background: var(--lb-sari); min-height: 320px; }

/* Metinli slayt kullanılırsa eski davranış korunur */
.lb-vitrin-slayt:not(.metinsiz) .lb-vitrin-metin { line-height: 1.5; }

/* =====================================================================
   VİTRİN — tüm slaytlar AYNI ölçüde
   Bannerlar farklı oranlarda geliyordu (1536x1024 = 1.5:1 ve 1600x800 = 2:1).
   Slayt görselin oranını alınca sekme değişiminde kutu zıplıyordu.
   Çerçeve 2:1'e sabitlendi; oranı farklı gelen banner bu ölçeğe uydurulur.
   Oranı değiştirmek için tek yer: --lb-vitrin-oran
   ===================================================================== */

:root { --lb-vitrin-oran: 2 / 1; }

.lb-vitrin { aspect-ratio: var(--lb-vitrin-oran); overflow: hidden; }

a.lb-vitrin-slayt.aktif {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
a.lb-vitrin-slayt picture { display: block; width: 100%; height: 100%; }
a.lb-vitrin-slayt img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
}

/* Sekmeler görselin üstünde kalsın */
.lb-vitrin-sekmeler { z-index: 5; }

@media (max-width: 720px) {
    /* Dar ekranda 2:1 fazla basık kalıyor; biraz daha kare */
    :root { --lb-vitrin-oran: 4 / 3; }
}

/* =====================================================================
   ALT BİLGİ — LEGO sarısı zemin, koyu mor alt şerit
   Sarı geniş bir yüzey olduğu için metin koyu; okunabilirlik için
   kontrast oranı 4.5:1 üzerinde tutuldu (#242424 üzerine #F9D649).
   ===================================================================== */

footer.footer {
    background: var(--lb-sari) !important;
    color: var(--lb-metin) !important;
    margin-top: 56px;
}

footer.footer .footer-main { padding: 52px 0 44px; }

.lb-footer-izgara {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1.1fr 1.4fr;
    gap: 40px;
}

/* ── Marka sütunu ─────────────────────────────────────────────────── */
.lb-footer-logo { display: inline-flex; margin-bottom: 16px; }
.lb-footer-logo img { height: 54px; width: auto; display: block; }
footer.footer .lb-yazi-logo-lego  { font-size: 18px; padding: 8px 9px; }
footer.footer .lb-yazi-logo-books { font-size: 23px; }

.lb-footer-blurb {
    font-size: 14.5px;
    line-height: 1.65;
    color: rgba(36, 36, 36, .88) !important;
    max-width: 40ch;
    margin: 0 0 20px;
}

.lb-footer-sosyal { display: flex; gap: 10px; }
.lb-footer-sosyal a {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--lb-metin);
    color: #fff !important;
    transition: var(--lb-gecis);
}
.lb-footer-sosyal a:hover {
    background: var(--lb-kirmizi);
    color: #fff !important;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ── Bağlantı sütunları ───────────────────────────────────────────── */
.lb-footer-sutun h5 {
    font-size: 12.5px !important;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--lb-metin) !important;
    margin: 6px 0 16px;
}
.lb-footer-sutun ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.lb-footer-sutun a {
    font-size: 14.5px;
    color: rgba(36, 36, 36, .88) !important;
    text-decoration: none;
}
.lb-footer-sutun a:hover { color: var(--lb-metin) !important; text-decoration: underline; }

/* ── İletişim ─────────────────────────────────────────────────────── */
.lb-footer-iletisim .contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: rgba(36, 36, 36, .88);
    line-height: 1.5;
}
.lb-footer-iletisim svg { flex-shrink: 0; margin-top: 2px; }
.lb-footer-eksik { font-size: 13.5px; color: rgba(36, 36, 36, .62); font-style: italic; }

/* ── Alt şerit (koyu mor) ─────────────────────────────────────────── */
footer.footer .footer-bottom {
    background: var(--lb-mor) !important;
    color: rgba(255, 255, 255, .82) !important;
    padding: 20px 0;
    margin-top: 44px;
    border-top: none !important;
}
footer.footer .footer-bottom * { color: rgba(255, 255, 255, .82) !important; }
footer.footer .footer-bottom a { color: #fff !important; }
footer.footer .footer-bottom a:hover { color: var(--lb-sari) !important; }
footer.footer .footer-bottom p { font-size: 13px; margin: 0; }

/* ── Duyarlı ──────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .lb-footer-izgara { grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; }
    .lb-footer-iletisim { grid-column: span 3; }
}
@media (max-width: 700px) {
    .lb-footer-izgara { grid-template-columns: 1fr 1fr; gap: 30px; }
    .lb-footer-marka, .lb-footer-iletisim { grid-column: span 2; }
    footer.footer .footer-main { padding: 40px 0 32px; }
}
@media (max-width: 460px) {
    .lb-footer-izgara { grid-template-columns: 1fr; }
    .lb-footer-marka, .lb-footer-iletisim { grid-column: span 1; }
}

/* =====================================================================
   FOOTER RENK ÇAKIŞMASI DÜZELTMESİ
   Footer önce koyu mordu ve o dönemden kalan kurallar metni BEYAZA
   zorluyor:  footer.footer a { color:#fff !important }   → özgüllük 0,1,2
   Yeni sarı zemin kuralları daha düşük özgüllüklüydü (0,1,1), bu yüzden
   beyaz kazanıyor ve sarı üstünde beyaz yazı görünmüyordu.
   Aşağıdaki seçiciler daha yüksek özgüllükle o kuralları bastırır.
   ===================================================================== */

footer.footer .lb-footer-izgara,
footer.footer .lb-footer-izgara * {
    color: var(--lb-metin) !important;
}

footer.footer .lb-footer-blurb,
footer.footer .lb-footer-sutun a,
footer.footer .lb-footer-iletisim li,
footer.footer .lb-footer-iletisim span,
footer.footer .lb-footer-iletisim a {
    color: rgba(36, 36, 36, .88) !important;
}

footer.footer .lb-footer-sutun h5 {
    color: var(--lb-metin) !important;
}

footer.footer .lb-footer-sutun a:hover,
footer.footer .lb-footer-iletisim a:hover {
    color: var(--lb-metin) !important;
    text-decoration: underline;
}

footer.footer .lb-footer-eksik { color: rgba(36, 36, 36, .62) !important; }

/* Sosyal ikonlar koyu daire üzerinde BEYAZ kalmalı */
footer.footer .lb-footer-sosyal a,
footer.footer .lb-footer-sosyal a svg,
footer.footer .lb-footer-sosyal a * {
    color: #fff !important;
    stroke: currentColor;
}

/* Yazı amblemi kullanılırsa marka renkleri korunsun */
footer.footer .lb-yazi-logo-lego,
footer.footer .lb-yazi-logo-lego * { color: #fff !important; }
footer.footer .lb-yazi-logo-books { color: var(--lb-metin) !important; }

/* Alt şerit koyu mor — orada beyaz DOĞRU */
footer.footer .footer-bottom,
footer.footer .footer-bottom * { color: rgba(255, 255, 255, .82) !important; }
footer.footer .footer-bottom a { color: #fff !important; }
footer.footer .footer-bottom a:hover { color: var(--lb-sari) !important; }

/* =====================================================================
   1) YAPIŞKAN KATEGORİ ŞERİDİ — header yüksekliğine bağlandı
   Şerit sabit 76px'e yapışıyordu; logo büyüyünce header 100px oldu ve
   şeridin yarısı header'ın ALTINDA kaldı. Artık gerçek yükseklik JS ile
   ölçülüp --lb-header-h'ye yazılıyor, şerit ona yapışıyor.
   ===================================================================== */

:root { --lb-header-h: 100px; }

nav.lb-kat-nav { top: var(--lb-header-h); }

/* Bağlantıya atlarken başlığın altında kalmasın */
:target { scroll-margin-top: calc(var(--lb-header-h) + 56px); }

@media (max-width: 900px) {
    nav.lb-kat-nav { position: static; top: auto; }
}

/* =====================================================================
   2) ÖZEL KATEGORİ AÇILIR MENÜSÜ
   Native <select> tarayıcıya göre farklı görünüyor ve stillenemiyor.
   ===================================================================== */

.lb-secici { position: relative; flex-shrink: 0; }

.lb-secici-dugme {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    min-height: 48px;
    padding: 0 14px 0 20px;
    border: none;
    border-right: 1px solid var(--lb-cizgi);
    background: transparent;
    font-family: var(--lb-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--lb-metin);
    cursor: pointer;
    white-space: nowrap;
    max-width: 210px;
}
.lb-secici-dugme:hover { background: rgba(0, 0, 0, .035); }
.lb-secici-dugme svg { transition: transform .2s ease; flex-shrink: 0; color: var(--lb-metin-soluk); }
.lb-secici.acik .lb-secici-dugme svg { transform: rotate(180deg); }

.lb-secici-etiket {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lb-secici-liste {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 246px;
    max-height: 320px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--lb-cizgi);
    border-radius: var(--lb-radius);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
    list-style: none;
    margin: 0;
    padding: 6px;
    z-index: 960;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.lb-secici.acik .lb-secici-liste { opacity: 1; visibility: visible; transform: translateY(0); }

.lb-secici-secenek {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 13px;
    border-radius: 6px;
    font-size: 14.5px;
    color: var(--lb-metin);
    cursor: pointer;
    min-height: 44px;
}
.lb-secici-secenek:hover,
.lb-secici-secenek.vurgulu { background: var(--lb-zemin-alt); }
.lb-secici-secenek.secili { font-weight: 800; }
.lb-secici-secenek.secili::after {
    content: "";
    margin-left: auto;
    width: 7px; height: 12px;
    border: solid var(--lb-kirmizi);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

@media (max-width: 1080px) { .lb-secici { display: none; } }

/* =====================================================================
   3) YUKARI ÇIK DÜĞMESİ — LEGO kırmızısı
   ===================================================================== */

.back-to-top {
    background: var(--lb-kirmizi) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(227, 0, 11, .38) !important;
    transition: var(--lb-gecis);
    opacity: 0;
    visibility: hidden;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover {
    background: var(--lb-kirmizi-koyu) !important;
    transform: translateY(-3px);
}
.back-to-top i, .back-to-top svg { color: #fff !important; font-size: 21px; }

/* =====================================================================
   SEPETE EKLE — LEGO kırmızısı
   Yalnız "sepete ekle" eylemi. Turuncu diğer ikincil eylemlerde kalır.
   ===================================================================== */

.lb-sepete-ekle,
.lb-foto-sepet,
.add-to-cart-btn,
button.add-to-cart,
.lb-urun-kart .lb-btn-birincil {
    background: var(--lb-kirmizi) !important;
    border-color: var(--lb-kirmizi) !important;
    color: #fff !important;
}

.lb-sepete-ekle:hover,
.lb-foto-sepet:hover,
.add-to-cart-btn:hover,
button.add-to-cart:hover,
.lb-urun-kart .lb-btn-birincil:hover {
    background: var(--lb-kirmizi-koyu) !important;
    border-color: var(--lb-kirmizi-koyu) !important;
    color: #fff !important;
}

/* Geri bildirim durumları kırmızıyı ezmeye devam etsin */
.lb-foto-sepet.eklendi,
.lb-sepete-ekle.eklendi {
    background: var(--lb-basari) !important;
    border-color: var(--lb-basari) !important;
}
.lb-foto-sepet.hata,
.lb-sepete-ekle.hata {
    background: var(--lb-hata) !important;
    border-color: var(--lb-hata) !important;
}
.lb-foto-sepet[disabled],
.lb-sepete-ekle[disabled] { opacity: .75; }

/* =====================================================================
   MOBİL ÜRÜN KARTI — "Sepete Ekle"
   Mobil sürümde ürün kartlarında hiç sepet düğmesi yoktu.
   ===================================================================== */

.lb-mob-sepet {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 12px 0;
    border: none;
    border-radius: var(--lb-radius-hap);
    background: var(--lb-kirmizi);
    color: #fff;
    font-family: var(--lb-font);
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    min-height: 44px;          /* dokunma hedefi */
    transition: var(--lb-gecis);
}
.lb-mob-sepet:hover, .lb-mob-sepet:active { background: var(--lb-kirmizi-koyu); }
.lb-mob-sepet.eklendi { background: var(--lb-basari) !important; }
.lb-mob-sepet.hata    { background: var(--lb-hata) !important; }
.lb-mob-sepet[disabled] { opacity: .75; }

/* Mobil kart içi düzen: fiyat ile düğme arası nefes */
header.mobile-header ~ * .product-content,
.product-content { display: flex; flex-direction: column; gap: 4px; }

/* Hero görseli yoksa boş kutu yerine marka zemini */
.hero-slider .lb-hero-bos {
    background: var(--lb-sari);
    min-height: 180px;
}
.hero-slider .swiper-slide {
    background-size: cover;
    background-position: center;
    display: block;
}

/* =====================================================================
   MOBİL — TAM EKRAN (full-bleed) DÜZEN
   Önceki hâl her şeyi iç boşluğa sıkıştırdığı için cılız duruyordu.
   Hero ve bannerlar artık ekran kenarına dayanıyor, tipografi irileşti.
   ===================================================================== */

@media (max-width: 900px) {

    /* Kenardan kenara taşma yardımcısı */
    .lb-mob-tam,
    .hero-slider {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        border-radius: 0;
    }

    /* ── Hero: uzun ve tam ekran ─────────────────────────────────── */
    .hero-slider {
        height: 58vh;
        min-height: 340px;
        max-height: 520px;
        margin-top: 0;
        margin-bottom: 0;
        padding: 0;
        overflow: hidden;
    }
    .hero-slider .swiper,
    .hero-slider .hero-swiper,
    .hero-slider .swiper-wrapper { height: 100%; }
    .hero-slider .swiper-slide {
        height: 100%;
        background-size: cover;
        background-position: center;
        border-radius: 0;
    }
    .hero-slider .swiper-pagination { bottom: 14px !important; }
    .hero-slider .swiper-pagination-bullet {
        background: #fff !important;
        opacity: .55;
        width: 8px; height: 8px;
    }
    .hero-slider .swiper-pagination-bullet-active {
        opacity: 1;
        background: var(--lb-kirmizi) !important;
        width: 22px;
        border-radius: 4px;
    }

    /* ── Vitrin: tam ekran banner + üstte hap sekmeler ───────────── */
    /* Banner dosyalari 1600x800 (2:1). Kare/4:3 cerceve genisligin
       yarisini kirpip basligi kesiyordu; 16/9 %89unu gosteriyor. */
    .lb-mob-vitrin { aspect-ratio: 16 / 9; border-radius: 0; }
    .lb-mob-vitrin .lb-vitrin-sekmeler {
        top: 14px;
        padding: 4px;
        gap: 3px;
        max-width: calc(100% - 24px);
    }
    .lb-mob-vitrin .lb-vitrin-sekme {
        padding: 10px 15px;
        font-size: 13px;
        min-height: 42px;
    }

    /* ── Tipografi: irileştir ────────────────────────────────────── */
    .section-title,
    .lb-mob-baslik .section-title {
        font-size: 26px !important;
        font-weight: 900 !important;
        letter-spacing: -.03em;
        line-height: 1.12;
    }
    .lb-mob-baslik { padding: 0 16px; margin-bottom: 16px; }
    .lb-mob-baslik p {
        margin: 6px 0 0;
        font-size: 14.5px;
        line-height: 1.55;
        color: var(--lb-metin-soluk);
    }
    .section-header { padding: 0 16px; align-items: baseline; }
    .section-link { font-size: 14px; font-weight: 700; color: var(--lb-turuncu) !important; }

    /* Bölümler arası nefes */
    .section { margin-bottom: 40px; }
    .lb-mob-tam.section { margin-bottom: 44px; }

    /* ── Kategori çipleri: renkli ve iri ─────────────────────────── */
    .category-chips { padding: 0 16px; gap: 9px; }
    .category-chips .chip {
        padding: 11px 18px;
        border-radius: 999px;
        font-size: 14px;
        font-weight: 700;
        background: var(--lb-zemin-alt);
        color: var(--lb-metin) !important;
        border: none;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
    }
    .category-chips .chip.active {
        background: var(--lb-metin);
        color: #fff !important;
    }

    /* ── Ürün kartı: biraz daha iri ──────────────────────────────── */
    .product-name { font-size: 14.5px !important; font-weight: 600; }
    .price-current { font-size: 17px !important; font-weight: 800; }

    /* ── Arama çubuğu ────────────────────────────────────────────── */
    .mobile-search { padding: 0 16px 14px; }
}

/* Dar telefonda hero biraz daha kısa kalsın */
@media (max-width: 380px) {
    .hero-slider { height: 52vh; min-height: 300px; }
    .lb-mob-vitrin { aspect-ratio: 16 / 9; }
    .section-title { font-size: 23px !important; }
}


/* =====================================================================
   MOBİL DÜZELTMELER — beyaz boşluklar, ritim, mozaik
   (Hakan: header–arama arası beyaz boşluk / gereksiz ikinci arama
    çubuğu / banner ile çipler arasında boşluk yok / butonlar hâlâ
    turuncu / "+" işaretli slider mobilde yok)
   ===================================================================== */

/* Devralınan .mobile-header height:60px, içerik 64px istiyordu; arama
   satırının sticky eşiği 64px olduğu için aradan beyaz şerit sızıyordu. */
header.mobile-header { height: auto !important; min-height: 64px; }
.lb-mob-arama { top: var(--lb-mob-bar-h, 64px) !important; }
.lb-mob-arama button { background: var(--lb-kirmizi); }

@media (max-width: 900px) {

    /* Başlık artık sticky — fixed döneminden kalan üst dolgu boş bant bırakıyordu */
    .page-content { padding-top: 0 !important; }

    /* Banner ile kategori çipleri arasına nefes */
    .category-chips { margin-top: 26px; margin-bottom: 6px; }

    /* Turuncu kalıntılar → LEGO kırmızısı */
    .section-link,
    .section-link i,
    nav.bottom-nav a.active,
    nav.bottom-nav a.active i { color: var(--lb-kirmizi) !important; }

    /* Fiyat metni kırmızı değil koyu — her ürün indirimliymiş gibi durmasın */
    .price-current { color: var(--lb-metin) !important; }

    /* ── Mozaik: tam ekran, yatay kayan iri kartlar ────────────── */
    .lb-mob-mozaik { padding: 0; }
    .lb-mob-mozaik .lb-mozaik {
        display: flex;
        grid-template-columns: none;
        grid-template-rows: none;
        gap: 10px;
        padding: 0 16px 6px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .lb-mob-mozaik .lb-mozaik::-webkit-scrollbar { display: none; }
    /* Masaüstü mozaiğin "ilk kart iki satır kaplasın" kuralı burada geçersiz */
    .lb-mob-mozaik .lb-mozaik > * { grid-row: auto !important; grid-column: auto !important; }
    .lb-mob-mozaik .lb-foto-kart {
        flex: 0 0 74%;
        scroll-snap-align: center;
        aspect-ratio: 4 / 5;
        border-radius: 16px;
        overflow: hidden;
    }
    .lb-mob-mozaik .lb-foto-arti { width: 52px; height: 52px; background-size: 35px 35px; }
    /* Dokunmatikte hover yok; halka gorunmesin */
    .lb-foto-arti:hover { box-shadow: 0 2px 8px rgba(0,0,0,.22); transform: none; }
    .lb-mob-mozaik .lb-foto-panel { padding: 22px 16px 16px 74px; }
    .lb-mob-mozaik .lb-foto-ad { font-size: 15px; }
    .lb-mob-mozaik .lb-foto-fiyat { font-size: 17px; }
}


/* =====================================================================
   FİYAT METNİ — kırmızı DEĞİL koyu
   Devralınan sayfalarda fiyat, eylem rengiyle (eski turuncu) yazılıydı.
   Eylem rengi kırmızıya çekilince her ürün indirimliymiş gibi duruyordu;
   fiyat metni gövde rengine sabitlendi. Üstü çizili eski fiyat gri kalır.
   ===================================================================== */

.price-current,
.current-price,
.total-price,
.cart-item-price,
.summary-item-price,
.order-total,
.product-card .price-current,
.cart-item-price-info .current,
.favorite-price .current-price,
.order-product-price .total-price,
.lb-urun-fiyat {
    color: var(--lb-metin) !important;
}


/* =====================================================================
   ÜRÜN DETAY SAYFASI (/urun/<barkod>)
   Devralınan sayfa içi stiller duruyor; düzeni buradaki .lb-ud-* sınıfları
   sürüyor. Eski sınıflar (.main-image, .thumbnail-item, .btn-add-cart …)
   yalnızca JS kancası olarak korundu, görünümleri burada bastırılıyor.
   ===================================================================== */

.lb-ud { padding: 22px 0 64px; }

/* ── Sayfa yolu ──────────────────────────────────────────────────── */
.lb-ud-yol { margin-bottom: 22px; }
.lb-ud-yol .breadcrumb {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 7px; margin: 0; padding: 0; list-style: none;
    background: none; font-size: 13px;
}
.lb-ud-yol .breadcrumb-item { display: flex; align-items: center; gap: 7px; color: var(--lb-metin-soluk); }
.lb-ud-yol .breadcrumb-item + .breadcrumb-item::before { content: "›"; opacity: .5; }
.lb-ud-yol .breadcrumb-item a { color: var(--lb-metin-soluk); text-decoration: none; }
.lb-ud-yol .breadcrumb-item a:hover { color: var(--lb-kirmizi); text-decoration: underline; }
.lb-ud-yol .breadcrumb-item.active { color: var(--lb-metin); font-weight: 600; }

/* ── Ana ızgara ──────────────────────────────────────────────────── */
.lb-ud-izgara {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: 48px;
    align-items: start;
}

/* ── Galeri: solda dikey küçük resimler, sağda büyük görsel ──────── */
.lb-ud-galeri {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    position: sticky;
    top: calc(var(--lb-header-h, 100px) + 18px);
}
.lb-ud-galeri.tekli { grid-template-columns: minmax(0, 1fr); }

.lb-ud-kucukler {
    display: flex; flex-direction: column; gap: 10px;
    max-height: 560px; overflow-y: auto;
    scrollbar-width: none;
}
.lb-ud-kucukler::-webkit-scrollbar { display: none; }
.lb-ud-kucuk {
    flex: 0 0 auto;
    width: 82px; height: 82px;
    padding: 0; border: 2px solid var(--lb-cizgi);
    border-radius: 10px; background: var(--lb-zemin-alt);
    overflow: hidden; cursor: pointer;
    transition: var(--lb-gecis);
}
.lb-ud-kucuk img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-ud-kucuk:hover { border-color: var(--lb-metin-soluk); }
.lb-ud-kucuk.active { border-color: var(--lb-kirmizi); }

.lb-ud .lb-ud-ana {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--lb-zemin-alt);
    border-radius: var(--lb-radius);
    overflow: hidden;
    border: 1px solid var(--lb-cizgi);
    cursor: zoom-in;
    display: block;
    width: auto; height: auto; padding: 0;
}
.lb-ud .lb-ud-ana img {
    width: 100%; height: 100%;
    object-fit: contain;
    display: block;
    padding: 18px;
    transition: transform .4s ease;
}
.lb-ud .lb-ud-ana:hover img { transform: scale(1.04); }
.lb-ud-buyut {
    position: absolute; left: 14px; bottom: 14px;
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 13px; border-radius: var(--lb-radius-hap);
    background: rgba(255,255,255,.94);
    box-shadow: 0 1px 4px rgba(0,0,0,.14);
    font-size: 12px; font-weight: 700; color: var(--lb-metin);
    pointer-events: none;
}

/* ── Bilgi sütunu ────────────────────────────────────────────────── */
.lb-ud-bilgi { padding: 0; display: flex; flex-direction: column; }

.lb-ud-kat {
    align-self: flex-start;
    display: inline-block;
    padding: 5px 12px; margin-bottom: 12px;
    border-radius: var(--lb-radius-hap);
    background: var(--lb-sari);
    color: var(--lb-metin) !important;
    font-size: 12px; font-weight: 800;
    letter-spacing: .02em; text-transform: uppercase;
    text-decoration: none;
}

.lb-ud .lb-ud-baslik {
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 900;
    line-height: 1.14;
    letter-spacing: -.025em;
    margin: 0 0 14px;
    color: var(--lb-metin);
}

.lb-ud-kimlik {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
    padding-bottom: 20px; margin-bottom: 20px;
    border-bottom: 1px solid var(--lb-cizgi);
    font-size: 13.5px;
}
.lb-ud-sku { color: var(--lb-metin-soluk); }
.lb-ud-sku b { color: var(--lb-metin); font-weight: 700; font-variant-numeric: tabular-nums; }
.lb-ud .lb-ud-stok {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 11px; border-radius: var(--lb-radius-hap);
    font-size: 13px; font-weight: 700;
}
.lb-ud .lb-ud-stok.var { background: #E8F6EC; color: #1B7A38; }
.lb-ud .lb-ud-stok.yok { background: #FDECEC; color: #B3121B; }

/* ── Fiyat ───────────────────────────────────────────────────────── */
/* 13px metrik = ~24px optik (fiyatın alt iç boşluğu telafi edildi). */
.lb-ud .lb-ud-fiyat { margin: 0 0 13px; padding: 0; border: none; background: none; }
.lb-ud-fiyat-satir { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.lb-ud .lb-ud-fiyat .current-price {
    font-size: 36px; font-weight: 900; letter-spacing: -.03em;
    color: var(--lb-metin) !important; font-variant-numeric: tabular-nums;
}
.lb-ud .lb-ud-fiyat .old-price {
    font-size: 17px; color: var(--lb-metin-soluk); text-decoration: line-through;
}
.lb-ud .lb-ud-fiyat .discount-badge {
    background: var(--lb-kirmizi); color: #fff;
    padding: 5px 11px; border-radius: var(--lb-radius-hap);
    font-size: 12.5px; font-weight: 800;
}
.lb-ud-kdv { margin: 8px 0 0; font-size: 12.5px; color: var(--lb-metin-soluk); }

.lb-ud-fiyatsiz {
    display: flex; flex-direction: column; gap: 4px;
    padding: 16px 18px;
    background: var(--lb-zemin-alt);
    border: 1px dashed var(--lb-cizgi);
    border-radius: var(--lb-radius);
}
.lb-ud-fiyatsiz strong { font-size: 19px; font-weight: 800; }
.lb-ud-fiyatsiz span { font-size: 13.5px; color: var(--lb-metin-soluk); }
.lb-ud-uye { align-self: flex-start; }

/* ── Varyantlar ──────────────────────────────────────────────────── */
.lb-ud-varyant { margin-bottom: 22px; }
.lb-ud-varyant .variant-group { margin-bottom: 14px; }
.lb-ud-varyant .variant-group > label {
    display: block; margin-bottom: 8px;
    font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
    color: var(--lb-metin-soluk);
}
.lb-ud-varyant .variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.lb-ud-varyant .variant-btn {
    min-height: 44px; padding: 10px 18px;
    border: 2px solid var(--lb-cizgi); border-radius: var(--lb-radius-hap);
    background: #fff; font-family: var(--lb-font);
    font-size: 14px; font-weight: 700; color: var(--lb-metin);
    cursor: pointer; transition: var(--lb-gecis);
}
.lb-ud-varyant .variant-btn:hover { border-color: var(--lb-metin); }
.lb-ud-varyant .variant-btn.selected { border-color: var(--lb-kirmizi); background: var(--lb-kirmizi); color: #fff; }
.lb-ud-varyant .variant-btn.out-of-stock { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

/* ── Adet + satın al ─────────────────────────────────────────────── */
/* Sepete Ekle ile güven listesi arası 56px optik ile fazlaydı; ~40'a çekildi. */
.lb-ud-satinal { margin-bottom: 10px; }
.lb-ud .quantity-selector {
    display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
    margin: 0 0 14px; padding: 0; border: none; background: none;
}
.lb-ud .quantity-selector > label {
    margin: 0; font-size: 13px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .03em; color: var(--lb-metin-soluk);
}
.lb-ud .qty-input {
    display: flex; align-items: center;
    border: 2px solid var(--lb-cizgi); border-radius: var(--lb-radius-hap);
    overflow: hidden; background: #fff;
}
.lb-ud .qty-btn {
    width: 44px; height: 44px; border: none; background: none;
    font-family: var(--lb-font); font-size: 20px; font-weight: 700;
    color: var(--lb-metin); cursor: pointer; line-height: 1;
}
.lb-ud .qty-btn:hover { background: var(--lb-zemin-alt); }
.lb-ud .qty-input input {
    width: 54px; height: 44px; border: none; text-align: center;
    font-family: var(--lb-font); font-size: 16px; font-weight: 800;
    color: var(--lb-metin); background: none; outline: none;
    -moz-appearance: textfield;
}
.lb-ud .qty-input input::-webkit-outer-spin-button,
.lb-ud .qty-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lb-ud .stock-info { font-size: 12.5px; color: var(--lb-metin-soluk); }

.lb-ud .action-buttons { display: flex; gap: 10px; }
.lb-ud .btn-add-cart {
    flex: 1 1 auto;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 56px; padding: 0 26px;
    border: none; border-radius: var(--lb-radius-hap);
    background: var(--lb-kirmizi); color: #fff;
    font-family: var(--lb-font); font-size: 16px; font-weight: 800;
    cursor: pointer; transition: var(--lb-gecis);
}
.lb-ud .btn-add-cart:hover { background: var(--lb-kirmizi-koyu, #C40009); }
.lb-ud .btn-add-cart[disabled] { background: var(--lb-cizgi); color: var(--lb-metin-soluk); cursor: not-allowed; }
.lb-ud .btn-wishlist {
    flex: 0 0 auto;
    width: 56px; height: 56px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 2px solid var(--lb-cizgi); border-radius: var(--lb-radius-hap);
    background: #fff; color: var(--lb-metin); font-size: 22px;
    cursor: pointer; transition: var(--lb-gecis);
}
.lb-ud .btn-wishlist:hover { border-color: var(--lb-kirmizi); color: var(--lb-kirmizi); }
.lb-ud .btn-wishlist.active { border-color: var(--lb-kirmizi); background: var(--lb-kirmizi); color: #fff; }

.lb-ud .out-of-stock-message {
    margin-bottom: 24px; padding: 18px;
    background: var(--lb-zemin-alt); border-radius: var(--lb-radius);
    text-align: center; color: var(--lb-metin-soluk);
}

/* ── Güven şeridi ────────────────────────────────────────────────── */
.lb-ud-guven {
    display: grid; gap: 2px;
    margin: 0; padding: 6px 0 0;
    list-style: none;
    border-top: 1px solid var(--lb-cizgi);
}
.lb-ud-guven li {
    display: flex; align-items: flex-start; gap: 13px;
    padding: 13px 0;
}
.lb-ud-guven li + li { border-top: 1px solid var(--lb-cizgi); }
.lb-ud-guven i { font-size: 22px; color: var(--lb-kirmizi); line-height: 1.1; flex-shrink: 0; }
.lb-ud-guven span { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--lb-metin-soluk); }
.lb-ud-guven b { font-size: 14px; font-weight: 800; color: var(--lb-metin); }

/* ── Sekmeler ────────────────────────────────────────────────────── */
.lb-ud-sekmeler { margin-top: 56px; }
.lb-ud-sekme-cubugu {
    display: flex; gap: 4px; flex-wrap: wrap;
    border-bottom: 2px solid var(--lb-cizgi);
    margin-bottom: 26px;
}
.lb-ud-sekme {
    position: relative; bottom: -2px;
    padding: 13px 20px;
    border: none; background: none;
    border-bottom: 3px solid transparent;
    font-family: var(--lb-font); font-size: 15px; font-weight: 800;
    color: var(--lb-metin-soluk); cursor: pointer;
    transition: var(--lb-gecis);
}
.lb-ud-sekme:hover { color: var(--lb-metin); }
.lb-ud-sekme.aktif { color: var(--lb-metin); border-bottom-color: var(--lb-kirmizi); }

.lb-ud-panel { display: none; }
.lb-ud-panel.aktif { display: block; }
.lb-ud-metin { max-width: 68ch; font-size: 15px; line-height: 1.72; color: var(--lb-metin); }
.lb-ud-metin h3 { font-size: 16px; font-weight: 800; margin: 22px 0 7px; }
.lb-ud-metin h3:first-child { margin-top: 0; }
.lb-ud-metin p { margin: 0 0 12px; color: var(--lb-metin-soluk); }
.lb-ud-metin a { color: var(--lb-kirmizi); font-weight: 700; }
.lb-ud-bos {
    padding: 34px 24px; border: 1px dashed var(--lb-cizgi); border-radius: var(--lb-radius);
    background: var(--lb-zemin-alt); color: var(--lb-metin-soluk);
    text-align: center; font-size: 14.5px; margin: 0;
}

.lb-ud-kunye { width: 100%; max-width: 620px; border-collapse: collapse; font-size: 14.5px; }
.lb-ud-kunye tr + tr th, .lb-ud-kunye tr + tr td { border-top: 1px solid var(--lb-cizgi); }
.lb-ud-kunye th {
    width: 40%; padding: 13px 16px 13px 0;
    text-align: left; font-weight: 600; color: var(--lb-metin-soluk);
}
.lb-ud-kunye td { padding: 13px 0; font-weight: 700; }

/* ── Benzer ürünler ──────────────────────────────────────────────── */
.lb-ud-benzer { padding: 56px 0 0; background: none; }
.lb-ud-benzer .section-header { padding: 0; margin-bottom: 22px; }
.lb-ud-benzer .section-title { font-size: clamp(21px, 2.2vw, 28px) !important; font-weight: 900 !important; }

/* ── Dar ekran ───────────────────────────────────────────────────── */
@media (max-width: 980px) {
    .lb-ud-izgara { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .lb-ud-galeri {
        position: static;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .lb-ud-kucukler {
        order: 2;
        flex-direction: row; max-height: none;
        overflow-x: auto; padding-bottom: 4px;
    }
    .lb-ud-kucuk { width: 68px; height: 68px; }
    .lb-ud-buyut { display: none; }
    .lb-ud .lb-ud-fiyat .current-price { font-size: 30px; }
    .lb-ud .action-buttons { position: sticky; bottom: 0; }
    .lb-ud-sekmeler { margin-top: 40px; }
    .lb-ud-sekme-cubugu { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
    .lb-ud-sekme-cubugu::-webkit-scrollbar { display: none; }
    .lb-ud-sekme { white-space: nowrap; }
}


/* =====================================================================
   MOBİL ÜRÜN DETAY (/mobile/urun-detay.php)
   Telefonda /urun/<barkod> buraya yönleniyor; masaüstündeki düzenin
   mobil karşılığı. Devralınan sınıflar JS kancası olarak duruyor.
   ===================================================================== */

/* Görsel alanı tam ekran */
.product-detail .image-slider {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #fff;
    border-bottom: 1px solid var(--lb-cizgi);
}
.product-detail .image-swiper .swiper-slide { aspect-ratio: 1 / 1; }
.product-detail .image-swiper .swiper-pagination-bullet-active { background: var(--lb-kirmizi); }
.product-detail .favorite-btn-detail { width: 44px; height: 44px; }
.product-detail .favorite-btn-detail.active { color: var(--lb-kirmizi); }
.product-detail .discount-badge { background: var(--lb-kirmizi); border-radius: var(--lb-radius-hap); }

/* Bilgi bloğu */
.product-detail .product-info { padding: 20px 16px 22px; }
.product-detail .product-category {
    display: inline-block; margin-bottom: 10px;
    padding: 5px 11px; border-radius: var(--lb-radius-hap);
    background: var(--lb-sari); color: var(--lb-metin);
    font-size: 11.5px; font-weight: 800; letter-spacing: .03em;
}
.product-detail .product-name {
    font-size: 22px !important; font-weight: 900 !important;
    letter-spacing: -.025em; line-height: 1.2; color: var(--lb-metin);
    margin-bottom: 14px;
}
.product-detail .product-price-box { margin-bottom: 4px; }
.product-detail .price-current {
    font-size: 28px !important; font-weight: 900 !important;
    color: var(--lb-metin) !important; letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}
.product-detail .price-discount {
    background: var(--lb-kirmizi); color: #fff !important;
    padding: 4px 9px; border-radius: var(--lb-radius-hap);
    font-size: 12px; font-weight: 800;
}
.lb-mud-kdv { margin: 0 0 18px; font-size: 12.5px; color: var(--lb-metin-soluk); }
.lb-mud-fiyatsiz {
    display: flex; flex-direction: column; gap: 3px;
    margin-bottom: 18px; padding: 14px 16px;
    background: var(--lb-zemin-alt); border: 1px dashed var(--lb-cizgi);
    border-radius: var(--lb-radius);
}
.lb-mud-fiyatsiz strong { font-size: 17px; font-weight: 800; }
.lb-mud-fiyatsiz span { font-size: 13px; color: var(--lb-metin-soluk); }

.product-detail .variant-option.selected {
    border-color: var(--lb-kirmizi) !important;
    background: var(--lb-kirmizi) !important; color: #fff !important;
}
.product-detail .qty-btn { border-radius: 12px; }

/* Sekmeler */
.lb-mud-sekmeler { border-top: 8px solid var(--lb-zemin-alt); padding: 18px 0 4px; }
.lb-mud-cubuk {
    display: flex; gap: 4px; padding: 0 16px;
    border-bottom: 2px solid var(--lb-cizgi); margin-bottom: 18px;
    overflow-x: auto; scrollbar-width: none;
}
.lb-mud-cubuk::-webkit-scrollbar { display: none; }
.lb-mud-sekme {
    position: relative; bottom: -2px; white-space: nowrap;
    padding: 11px 14px; border: none; background: none;
    border-bottom: 3px solid transparent;
    font-family: var(--lb-font); font-size: 14.5px; font-weight: 800;
    color: var(--lb-metin-soluk); cursor: pointer;
}
.lb-mud-sekme.aktif { color: var(--lb-metin); border-bottom-color: var(--lb-kirmizi); }
.lb-mud-panel { display: none; padding: 0 16px 18px; }
.lb-mud-panel.aktif { display: block; }
.lb-mud-metin { font-size: 14.5px; line-height: 1.7; color: var(--lb-metin); }
.lb-mud-metin h3 { font-size: 15px; font-weight: 800; margin: 18px 0 6px; }
.lb-mud-metin h3:first-child { margin-top: 0; }
.lb-mud-metin p { margin: 0 0 11px; color: var(--lb-metin-soluk); }
.lb-mud-metin a { color: var(--lb-kirmizi); font-weight: 700; }
.lb-mud-bos {
    margin: 0; padding: 26px 18px; text-align: center;
    border: 1px dashed var(--lb-cizgi); border-radius: var(--lb-radius);
    background: var(--lb-zemin-alt); color: var(--lb-metin-soluk); font-size: 14px;
}
.lb-mud-kunye { width: 100%; border-collapse: collapse; font-size: 14px; }
.lb-mud-kunye tr + tr th, .lb-mud-kunye tr + tr td { border-top: 1px solid var(--lb-cizgi); }
.lb-mud-kunye th { width: 42%; padding: 11px 12px 11px 0; text-align: left; font-weight: 600; color: var(--lb-metin-soluk); }
.lb-mud-kunye td { padding: 11px 0; font-weight: 700; }

/* Benzer ürünler şeridi */
.lb-mud-benzer { border-top: 8px solid var(--lb-zemin-alt); padding: 20px 0 8px; }
.lb-mud-benzer-baslik {
    margin: 0 0 14px; padding: 0 16px;
    font-size: 20px; font-weight: 900; letter-spacing: -.025em;
}
.lb-mud-ray {
    display: flex; gap: 12px; padding: 0 16px 6px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.lb-mud-ray::-webkit-scrollbar { display: none; }
.lb-mud-kart {
    flex: 0 0 44%; scroll-snap-align: start;
    display: flex; flex-direction: column; gap: 7px;
    text-decoration: none; color: inherit;
}
.lb-mud-kart-gorsel {
    display: block; aspect-ratio: 1 / 1;
    background: var(--lb-zemin-alt); border-radius: 12px; overflow: hidden;
}
.lb-mud-kart-gorsel img { width: 100%; height: 100%; object-fit: contain; padding: 8px; display: block; }
.lb-mud-kart-ad {
    font-size: 13.5px; font-weight: 600; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lb-mud-kart-fiyat { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lb-mud-kart-fiyat.soluk { font-size: 13px; font-weight: 600; color: var(--lb-metin-soluk); }

/* Yapışkan satın al çubuğu */
.add-to-cart-bar {
    align-items: center; gap: 14px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--lb-cizgi);
}
.lb-mud-bar-fiyat {
    flex-shrink: 0; font-size: 19px; font-weight: 900;
    letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.add-to-cart-bar .add-to-cart-btn {
    background: var(--lb-kirmizi) !important;
    border-radius: var(--lb-radius-hap) !important;
    min-height: 52px; font-weight: 800;
}
.add-to-cart-bar .add-to-cart-btn[disabled] {
    background: var(--lb-cizgi) !important; color: var(--lb-metin-soluk) !important; opacity: 1;
}
.cart-popup-icon { background: var(--lb-kirmizi) !important; }


/* =====================================================================
   LİSTE SAYFASI BAŞLIĞI (/urunler, /kategori, /ara …)
   Devralınan .page-title 'Playfair Display' serif kullanıyordu — takı
   sitesinin sesi. Oyuncak/kitap mağazasının başlığı ana sayfadaki
   .lb-bolum-baslik ile aynı ritimde olmalı: Figtree, ağır, sıkı.
   ===================================================================== */

.page-header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-bottom: 28px;
}

h1.page-title,
.page-header .page-title {
    font-family: var(--lb-font) !important;
    font-size: clamp(28px, 3.4vw, 42px) !important;
    font-weight: 900 !important;
    letter-spacing: -.035em;
    line-height: 1.04;
    color: var(--lb-metin) !important;
    margin: 0 !important;
    text-wrap: balance;
}

/* Ürün sayısı: sarı hap — sayfanın tek neşeli detayı, başlıkla aynı satırda */
.page-header .page-count {
    margin: 0 !important;
    padding: 6px 13px;
    border-radius: var(--lb-radius-hap);
    background: var(--lb-sari);
    color: var(--lb-metin) !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
    align-self: center;
}

@media (max-width: 600px) {
    .page-header { gap: 10px; }
    h1.page-title, .page-header .page-title { font-size: 27px !important; }
}


/* =====================================================================
   DİĞER LİSTE BAŞLIKLARI — /yeni-urunler, /ara, /kategori
   Dört liste sayfası dört ayrı başlık deseni kullanıyordu. Hepsi
   /urunler ile aynı ritme çekildi: Figtree 900, sıkı, sola dayalı.
   /yeni-urunler'deki mor bant kaldırıldı — mor LEGO Books paletinde yok
   (devralınan takı sitesinden kalmıştı, alt bilgi de sarıya geçmişti).
   ===================================================================== */

section.page-header-section {
    background: none !important;
    padding: 36px 50px 0 !important;
    text-align: left !important;
}
section.page-header-section h1,
.search-header .search-title,
.category-header .category-title {
    font-family: var(--lb-font) !important;
    font-size: clamp(28px, 3.4vw, 42px) !important;
    font-weight: 900 !important;
    letter-spacing: -.035em;
    line-height: 1.04;
    color: var(--lb-metin) !important;
    margin: 0 !important;
    text-wrap: balance;
}
section.page-header-section p,
.search-header .search-meta {
    color: var(--lb-metin-soluk) !important;
    font-size: 15px;
    margin: 8px 0 0 !important;
}

/* Aranan kelime vurgulu kalsın */
.search-header .search-title span { color: var(--lb-kirmizi) !important; }

/* Sayfalama düğmeleri de marka renginde */
.pagination a:hover,
.pagination span.current { background: var(--lb-kirmizi) !important; color: #fff !important; }

@media (max-width: 600px) {
    section.page-header-section { padding: 24px 16px 0 !important; }
    section.page-header-section h1,
    .search-header .search-title,
    .category-header .category-title { font-size: 27px !important; }
}


/* =====================================================================
   GIRIS / UYELIK — bolunmus ekran (/giris)
   Solda form, sagda tam yukseklik banner. Devralinan .auth-card
   korunuyor (JS kancalari onda), yalniz cercevesi sadelestiriliyor.
   ===================================================================== */

.lb-giris-izgara {
    display: grid;
    grid-template-columns: minmax(420px, 40%) 1fr;
    align-items: stretch;
    min-height: calc(100vh - var(--lb-header-h, 100px) - 46px);
    background: #fff;
}

.lb-giris-sol {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 48px;
    min-width: 0;
}

/* Devralinan kart: bolunmus ekranda cerceve/golge gereksiz */
.lb-giris-sol .auth-card {
    width: 100%;
    max-width: 440px;
    margin: 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.lb-giris-sol .auth-header { text-align: left !important; padding: 0 !important; background: none !important; }
.lb-giris-sol .auth-header h1 {
    font-family: var(--lb-font) !important;
    font-size: 32px !important;
    font-weight: 900 !important;
    letter-spacing: -.03em;
    color: var(--lb-metin) !important;
    margin: 0 0 6px !important;
}
.lb-giris-sol .auth-header p { color: var(--lb-metin-soluk) !important; font-size: 14.5px; margin: 0 0 26px !important; }
.lb-giris-sol .auth-body { padding: 0 !important; }

/* Sekmeler: LEGO kirmizisi alt cizgi */
.lb-giris-sol .auth-tabs { border-bottom: 2px solid var(--lb-cizgi); margin-bottom: 26px; gap: 4px; }
.lb-giris-sol .auth-tab {
    font-family: var(--lb-font) !important;
    font-size: 15px; font-weight: 800;
    color: var(--lb-metin-soluk) !important;
    background: none !important;
    padding: 12px 18px;
}
.lb-giris-sol .auth-tab.active { color: var(--lb-metin) !important; }
.lb-giris-sol .auth-tab.active::after { background: var(--lb-kirmizi) !important; height: 3px; }

/* ── Banner paneli ────────────────────────────────────────────────── */
.lb-giris-banner {
    position: relative;
    overflow: hidden;
    background: var(--lb-sari);
    min-height: 420px;
}
.lb-giris-banner picture,
.lb-giris-banner img {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Banner dosyasi gelene kadar: sari marka paneli + LEGO tugla dokusu */
.lb-giris-yedek {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 14px; padding: 48px;
    text-align: center;
    background-color: var(--lb-sari);
    background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,.55) 0 11px, transparent 12px);
    background-size: 64px 64px;
}
.lb-giris-yedek-logo { width: auto !important; height: 72px !important; object-fit: contain !important; margin-bottom: 6px; }
.lb-giris-yedek h2 {
    font-size: clamp(26px, 2.6vw, 38px); font-weight: 900;
    letter-spacing: -.03em; color: var(--lb-metin); margin: 0; max-width: 16ch;
}
.lb-giris-yedek p { font-size: 15px; color: rgba(36,36,36,.78); margin: 0; max-width: 34ch; }

/* ── Dar ekran: banner gizlenir, form tam genislik ─────────────────── */
@media (max-width: 900px) {
    .lb-giris-izgara { grid-template-columns: 1fr; min-height: 0; }
    .lb-giris-banner { display: none; }
    .lb-giris-sol { padding: 32px 20px 48px; }
    .lb-giris-sol .auth-card { max-width: 100%; }
    .lb-giris-sol .auth-header h1 { font-size: 27px !important; }
}


/* =====================================================================
   BAŞLIK — görsel ikonlar (LEGO tuğlası)
   Çizgi SVG'ler currentColor ile renk alıyordu; PNG ikon almaz.
   Bu yüzden ikonun kendisi zemine göre hazırlanır, CSS yalnız boyutlar.
   ===================================================================== */

header.main-header .lb-aksiyon-ikon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}


/* =====================================================================
   HESABIM — TUGLA PANOSU (/hesabim)
   Sol kolon kirmizi bir LEGO plakasi, menu ogeleri ustune takilmis sari
   tuglalar. Devralinan markup korunuyor; .tab-link/.logout siniflari JS
   kancasi olarak duruyor, yalniz gorunumleri burada bastiriliyor.
   ===================================================================== */

section.account-section {
    padding: 34px 0 64px;
    background: #FFFDF6;               /* icerik alani sicak kirik beyaz */
}
section.account-section .account-container { gap: 26px; }

/* ── Sol kolon: kirmizi LEGO plakasi ─────────────────────────────── */
section.account-section .account-sidebar {
    width: 268px;
    padding: 18px 15px 22px;
    border-radius: 16px;
    background-color: var(--lb-kirmizi);
    background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,.20) 0 8px, transparent 9px);
    background-size: 38px 38px;
    box-shadow: 0 4px 0 #B00008, 0 12px 26px rgba(227,0,11,.20);
    align-self: flex-start;
}

/* Kullanici karti: plakanin ustunde beyaz tugla */
section.account-section .user-card {
    background: #fff;
    border-radius: 11px;
    padding: 16px 14px;
    margin-bottom: 16px;
    text-align: left;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 3px 0 rgba(0,0,0,.16);
}
section.account-section .user-avatar {
    width: 46px; height: 46px;
    flex-shrink: 0;
    margin: 0 !important;
    border-radius: 9px;                /* daire degil tugla */
    background: var(--lb-sari) !important;
    color: var(--lb-metin) !important;
    display: grid; place-items: center;
    font-family: var(--lb-font);
    font-size: 17px; font-weight: 900; letter-spacing: -.02em;
    border: none; box-shadow: inset 0 -2px 0 rgba(0,0,0,.10);
}
section.account-section .user-card h3 {
    font-family: var(--lb-font);
    font-size: 14.5px; font-weight: 900; letter-spacing: -.025em;
    color: var(--lb-metin);
    margin: 0 0 1px; line-height: 1.2;
    overflow-wrap: anywhere;
}
section.account-section .user-card p {
    font-size: 11px; color: var(--lb-metin-soluk);
    margin: 0; line-height: 1.3;
    overflow-wrap: anywhere;
}

/* ── Menu: sari tuglalar ─────────────────────────────────────────── */
section.account-section .account-nav {
    background: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}
section.account-section .account-nav a {
    position: relative;
    display: flex; align-items: center; gap: 9px;
    padding: 11px 40px 13px 13px;      /* sagda cikinti icin yer */
    margin-bottom: 8px;
    border: none; border-bottom: none;
    border-radius: 8px;
    background: var(--lb-sari);
    color: var(--lb-metin);
    font-family: var(--lb-font);
    font-size: 13.5px; font-weight: 800; letter-spacing: -.01em;
    box-shadow: 0 3px 0 #D9B92F;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
/* Tuglanin ustundeki iki cikinti */
section.account-section .account-nav a::after {
    content: "";
    position: absolute; right: 13px; top: 50%;
    width: 9px; height: 9px; border-radius: 50%;
    background: rgba(255,255,255,.62);
    box-shadow: -13px 0 0 rgba(255,255,255,.62);
    transform: translateY(-50%);
    pointer-events: none;
}
section.account-section .account-nav a i {
    width: auto; margin: 0;
    font-size: 17px;
    color: var(--lb-kirmizi);
    flex-shrink: 0;
}
/* Basilinca tugla oturuyor */
section.account-section .account-nav a:hover {
    background: #FFE45C;
    padding-left: 13px;                /* devralinan kayma iptal */
    transform: translateY(-1px);
    box-shadow: 0 4px 0 #D9B92F;
}
section.account-section .account-nav a:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #D9B92F;
}
/* Aktif sekme: beyaz tugla */
section.account-section .account-nav a.active {
    background: #fff;
    color: var(--lb-metin);
    box-shadow: 0 3px 0 #D7D0C6;
}
section.account-section .account-nav a.active i { color: var(--lb-kirmizi); }
section.account-section .account-nav a.active::after {
    background: rgba(36,36,36,.13);
    box-shadow: -13px 0 0 rgba(36,36,36,.13);
}
/* Cikis: plakaya gomulu, tugla degil */
section.account-section .account-nav a.logout {
    margin-top: 14px; margin-bottom: 0;
    background: rgba(255,255,255,.16);
    color: #fff;
    box-shadow: none;
    font-weight: 700;
}
section.account-section .account-nav a.logout i { color: #fff; }
section.account-section .account-nav a.logout::after { display: none; }
section.account-section .account-nav a.logout:hover {
    background: rgba(255,255,255,.28);
    transform: none;
    box-shadow: none;
}

/* ── Icerik karti ────────────────────────────────────────────────── */
section.account-section .content-card {
    border-radius: 14px;
    border: 1px solid var(--lb-cizgi);
    box-shadow: 0 2px 0 rgba(0,0,0,.05);
}
/* Kirmizi gradyan bant kalkti: baslik sade, sari tuglalarla yarismasin */
section.account-section .content-header {
    background: #fff !important;
    border-bottom: 1px solid var(--lb-cizgi);
    padding: 22px 28px 18px;
}
section.account-section .content-header h2 {
    font-family: var(--lb-font);
    font-size: 22px !important; font-weight: 900 !important;
    letter-spacing: -.03em;
    color: var(--lb-metin) !important;
    margin: 0 0 3px !important;
}
section.account-section .content-header p {
    font-size: 13.5px !important;
    color: var(--lb-metin-soluk) !important;
}
section.account-section .content-body { padding: 26px 28px; }

/* ── Dar ekran: tuglalar yan yana ızgaraya döner ─────────────────── */
@media (max-width: 992px) {
    section.account-section .account-sidebar { width: 100%; padding: 16px 14px 18px; }
    section.account-section .user-card { margin-bottom: 14px; }
    section.account-section .account-nav {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
        gap: 8px;
    }
    section.account-section .account-nav a {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        flex: none; min-width: 0;
        margin-bottom: 0;
        border-right: none;
        padding: 11px 34px 13px 12px;
        font-size: 12.5px;
    }
    section.account-section .account-nav a i { margin-bottom: 0; }
    section.account-section .account-nav a::after {
        right: 10px; width: 7px; height: 7px;
        box-shadow: -10px 0 0 rgba(255,255,255,.62);
    }
    section.account-section .account-nav a.active::after { box-shadow: -10px 0 0 rgba(36,36,36,.13); }
    section.account-section .account-nav a.logout { grid-column: 1 / -1; margin-top: 4px; justify-content: center; }
}
@media (max-width: 560px) {
    section.account-section .content-header { padding: 18px 18px 14px; }
    section.account-section .content-header h2 { font-size: 19px !important; }
    section.account-section .content-body { padding: 20px 18px; }
    section.account-section .account-nav { grid-template-columns: 1fr 1fr; }
}

/* ── ÜRÜN NİTELİKLERİ — kimlik satırının altında ──
   Panelde Ürün Düzenle › Özellikler'den girilen ad/değer çiftleri.
   Birden fazla nitelik YAN YANA sarıyor; her rozet "Ad: Değer".
   Etiket soluk, değer koyu — göz önce değeri yakalasın.
   Künye sekmesindeki tam tablo ayrıca duruyor.
   Nitelik yoksa liste hiç basılmıyor. */
.lb-ud-nitelik,
.lb-mud-nitelik {
    list-style: none;
    display: flex; flex-wrap: wrap;
    gap: 8px;
    /* ⚠ ÜST BOŞLUK YOK: üstteki `.lb-ud-kimlik` zaten 20px margin-bottom
       veriyor; buraya da margin-top koyunca 34px oluyordu (ölçüldü) ve
       çizgiyle rozet arası kopuk duruyordu. Alt boşluk ise hiç yoktu —
       rozetler fiyata yapışıyordu. 20 / 20 bölümün ritmiyle aynı. */
    /* 7px metrik = ~20px optik: fiyatın 36/54 satır kutusu
       zaten ~13px iç boşluk taşıyor (ölçüldü). */
    margin: 0 0 7px;
    padding: 0;
}
.lb-ud-nitelik li,
.lb-mud-nitelik li {
    display: inline-flex; align-items: baseline; gap: 5px;
    max-width: 100%;
    padding: 7px 13px;
    background: var(--lb-zemin-alt);
    border: 1px solid var(--lb-cizgi);
    border-radius: var(--lb-radius-hap);
    font-size: 13px; line-height: 1.35;
}
.lb-ud-nitelik .ad,
.lb-mud-nitelik .ad {
    color: var(--lb-metin-soluk);
    font-weight: 600;
    white-space: nowrap;
}
/* "Ad: Değer" — iki nokta işareti biçimin parçası, veride yok. */
.lb-ud-nitelik .ad::after,
.lb-mud-nitelik .ad::after { content: ':'; }
.lb-ud-nitelik .deger,
.lb-mud-nitelik .deger {
    color: var(--lb-metin);
    font-weight: 700;
    min-width: 0;
    word-break: break-word;
}

/* Mobil biraz daha sıkı */
.lb-mud-nitelik { gap: 7px; margin: 0 0 16px; }
.lb-mud-nitelik li { padding: 6px 11px; font-size: 12.5px; }

@media (max-width: 480px) {
    .lb-ud-nitelik li, .lb-mud-nitelik li { font-size: 12.5px; padding: 6px 11px; }
}

/* ── ÖZEL ALANLAR — müşteri girdisi (ürün sayfası) ──
   Satın alma kutusunun hemen üstünde; müşteri sepete eklemeden
   önce doldurur. Zorunlu alan boşsa kırmızı çerçeve + uyarı.
   Alan yoksa blok hiç basılmıyor. */
.lb-ud-ozel, .lb-mud-ozel {
    display: flex; flex-direction: column; gap: 14px;
    margin: 0 0 20px; padding: 16px 18px;
    background: var(--lb-zemin-alt);
    border: 1px solid var(--lb-cizgi);
    border-radius: var(--lb-radius);
}
.lb-ud-ozel-alan { display: flex; flex-direction: column; gap: 6px; }
.lb-ud-ozel-alan > label {
    font-size: 13px; font-weight: 700; color: var(--lb-metin); margin: 0;
}
.lb-ud-ozel-alan .zor { color: var(--lb-kirmizi); margin-left: 3px; }
.lb-ud-ozel-alan input,
.lb-ud-ozel-alan textarea {
    width: 100%; padding: 10px 12px;
    border: 1px solid var(--lb-cizgi); border-radius: 6px;
    font-size: 14px; font-family: inherit; color: var(--lb-metin);
    background: #fff; outline: none;
}
.lb-ud-ozel-alan input:focus,
.lb-ud-ozel-alan textarea:focus { border-color: var(--lb-kirmizi); }
.lb-ud-ozel-alan input.bos,
.lb-ud-ozel-alan textarea.bos { border-color: var(--lb-kirmizi); background: #FFF5F5; }
.lb-ud-ozel-alan textarea { resize: vertical; min-height: 72px; }
.lb-ud-ozel-alan .ipucu { font-size: 12px; color: var(--lb-metin-soluk); line-height: 1.45; }
.lb-ud-ozel-hata {
    margin: 0; font-size: 12.5px; font-weight: 600; color: var(--lb-kirmizi);
}

/* Sepette girilen değerler */
.cart-item-ozel {
    list-style: none; margin: 4px 0 6px; padding: 0;
    display: flex; flex-direction: column; gap: 2px;
}
.cart-item-ozel li { font-size: 12.5px; line-height: 1.4; }
.cart-item-ozel .ad { color: var(--lb-metin-soluk); }
.cart-item-ozel .ad::after { content: ':'; margin-right: 4px; }
.cart-item-ozel .deger { color: var(--lb-metin); font-weight: 600; }

/* Özel alan ücreti — etiket yanında ve sepette */
.lb-ud-ozel-alan .ek, .lb-mud-ozel .ek {
    margin-left: 6px; padding: 1px 7px; border-radius: 999px;
    background: #FEF3C7; color: #92400E; font-size: 11.5px; font-weight: 700;
}
.cart-item-ozel li.ek .deger { color: #92400E; }

/* ── MARKA — ürün kodunun yanında (kimlik satırı) ──
   `.lb-ud-sku` ile aynı görsel dil: etiket soluk, değer koyu.
   Marka kaydı varsa bağlantı, yoksa düz kalın metin. */
.lb-ud-marka { color: var(--lb-metin-soluk); }
.lb-ud-marka b,
.lb-ud-marka a { color: var(--lb-metin) !important; font-weight: 700; }
.lb-ud-marka a { text-decoration: none; border-bottom: 1px solid var(--lb-cizgi); }
.lb-ud-marka a:hover { color: var(--lb-kirmizi) !important; border-bottom-color: var(--lb-kirmizi); }

/* Mobil: başlığın altında kendi satırı */
.lb-mud-marka {
    font-size: 13px; color: var(--lb-metin-soluk);
    margin: -8px 0 14px;
}
.lb-mud-marka b,
.lb-mud-marka a { color: var(--lb-metin) !important; font-weight: 700; }
.lb-mud-marka a { text-decoration: none; border-bottom: 1px solid var(--lb-cizgi); }



