/* ============================================================
   DifaKids Mağaza Sitesi — Marka Kimliği
   Palet:  --krem #FBF6EC (zemin) · --lacivert #1B2A4A (metin/başlık)
           --teal #1F6F6B (ana marka rengi) · --mercan #FF7A59 (aksiyon/CTA)
           --sari #FFC94A (rozet/indirim) · --acikteal #E4F3F1 (kart zemini)
   Tipografi: "Fraunces" (başlıklarda, sıcak/karakterli serif) +
              "Manrope" (gövde ve arayüz, temiz/yuvarlak sans)
   İmza öğe: Ürün bedenleri "kıyafet etiketi" biçiminde rozet olarak
             gösterilir — gerçek bir giysi etiketinin ipli/delikli
             formunu andıran bir chip.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --krem: #FBF6EC;
    --lacivert: #1B2A4A;
    --teal: #1F6F6B;
    --teal-koyu: #164F4C;
    --mercan: #FF7A59;
    --mercan-koyu: #E85F3D;
    --sari: #FFC94A;
    --acikteal: #E4F3F1;
    --gri: #8A8F98;
    --beyaz: #FFFFFF;
    --radius: 16px;
    --golge: 0 4px 20px rgba(27, 42, 74, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    background: var(--krem);
    color: var(--lacivert);
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, .baslik-font {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.01em;
}
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid var(--mercan); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

/* ---------- Üst Bilgi Şeridi ---------- */
.ust-serit {
    background: var(--lacivert);
    color: var(--krem);
    font-size: 13px;
    padding: 8px 0;
}
.ust-serit .container { display: flex; justify-content: space-between; align-items: center; }
.ust-serit a { opacity: 0.85; }
.ust-serit a:hover { opacity: 1; }
.ust-serit-linkler { display: flex; gap: 20px; }

/* ---------- Header ---------- */
header.site-header {
    background: var(--beyaz);
    position: sticky; top: 0; z-index: 50;
    box-shadow: var(--golge);
}
.header-ic {
    display: flex; align-items: center; gap: 32px;
    max-width: 1240px; margin: 0 auto;
    padding: 16px 24px;
}
.logo { display: flex; align-items: baseline; gap: 6px; flex-shrink: 0; }
.logo span.baslik-font { font-size: 26px; color: var(--teal); font-weight: 700; }
.logo span.logo-kids { font-family: 'Fraunces', serif; font-size: 26px; color: var(--mercan); font-style: italic; }

.arama-kutusu {
    flex: 1;
    display: flex;
    background: var(--acikteal);
    border-radius: 999px;
    overflow: hidden;
    max-width: 560px;
}
.arama-kutusu input {
    flex: 1; border: none; background: transparent; padding: 12px 20px;
    font-family: 'Manrope', sans-serif; font-size: 14px; color: var(--lacivert);
}
.arama-kutusu input:focus { outline: none; }
.arama-kutusu button {
    border: none; background: var(--teal); color: var(--beyaz);
    padding: 0 22px; cursor: pointer; font-weight: 700;
}
.arama-kutusu button:hover { background: var(--teal-koyu); }

.header-aksiyonlar { display: flex; gap: 22px; align-items: center; flex-shrink: 0; }
.header-aksiyon { display: flex; flex-direction: column; align-items: center; font-size: 11px; gap: 3px; position: relative; }
.header-aksiyon svg { width: 22px; height: 22px; stroke: var(--lacivert); }
.header-aksiyon:hover svg { stroke: var(--mercan); }
.sepet-sayac {
    position: absolute; top: -6px; right: -10px;
    background: var(--mercan); color: var(--beyaz);
    font-size: 10px; font-weight: 800;
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* ---------- Kategori Menüsü ---------- */
.kategori-menu {
    background: var(--teal); color: var(--beyaz);
}
.kategori-menu .container { display: flex; gap: 28px; padding: 12px 24px; font-size: 14px; font-weight: 600; overflow-x: auto; }
.kategori-menu a { white-space: nowrap; opacity: 0.92; }
.kategori-menu a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Hero / Slider ---------- */
.hero {
    background: linear-gradient(135deg, var(--acikteal) 0%, var(--krem) 60%);
    padding: 56px 24px;
    overflow: hidden;
}
.hero-ic {
    max-width: 1240px; margin: 0 auto;
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.hero h1 { font-size: 44px; line-height: 1.15; color: var(--lacivert); }
.hero h1 em { color: var(--mercan); font-style: italic; }
.hero p { margin-top: 16px; font-size: 16px; color: var(--gri); max-width: 420px; }
.hero-cta {
    display: inline-block; margin-top: 26px;
    background: var(--mercan); color: var(--beyaz);
    padding: 14px 30px; border-radius: 999px; font-weight: 700;
    box-shadow: 0 10px 24px rgba(255, 122, 89, 0.35);
}
.hero-cta:hover { background: var(--mercan-koyu); }
.hero-gorsel {
    position: relative; border-radius: 24px; overflow: hidden;
    aspect-ratio: 4/3; background: var(--sari);
}
.hero-gorsel img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Beden Etiketi (imza öğe) ---------- */
.beden-etiket {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--beyaz); border: 1.5px dashed var(--teal);
    border-radius: 6px 6px 6px 0;
    padding: 4px 10px 4px 8px;
    font-size: 12px; font-weight: 700; color: var(--teal-koyu);
    position: relative;
}
.beden-etiket::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--krem); border: 1.5px solid var(--teal);
}

/* ---------- Bölüm Başlıkları ---------- */
.bolum { padding: 48px 24px; }
.bolum-baslik { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
.bolum-baslik h2 { font-size: 28px; }
.bolum-baslik a { font-size: 14px; font-weight: 700; color: var(--teal); }
.bolum-baslik a:hover { text-decoration: underline; }

/* ---------- Kategori Izgarası ---------- */
.kategori-izgara {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    max-width: 1240px; margin: 0 auto;
}
.kategori-kart {
    background: var(--beyaz); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--golge); transition: transform .2s ease;
    text-align: center;
}
.kategori-kart:hover { transform: translateY(-4px); }
.kategori-kart .gorsel-alan { aspect-ratio: 1/1; background: var(--acikteal); overflow: hidden; }
.kategori-kart .gorsel-alan img { width: 100%; height: 100%; object-fit: cover; }
.kategori-kart .ad { padding: 14px 10px; font-weight: 700; font-size: 14px; }

/* ---------- Ürün Izgarası ---------- */
.urun-izgara {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    max-width: 1240px; margin: 0 auto;
}
.urun-kart {
    background: var(--beyaz); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--golge); display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.urun-kart:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(27,42,74,0.14); }
.urun-kart .gorsel-alan { position: relative; aspect-ratio: 3/4; background: var(--acikteal); overflow: hidden; }
.urun-kart .gorsel-alan img { width: 100%; height: 100%; object-fit: cover; }
.urun-kart .indirim-rozet {
    position: absolute; top: 12px; left: 12px;
    background: var(--sari); color: var(--lacivert);
    font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px;
}
.favori-btn {
    position: absolute; top: 10px; right: 10px;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,0.92); border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: transform .15s ease;
    padding: 0; z-index: 2;
}
.favori-btn:hover { transform: scale(1.1); }
.favori-btn svg {
    width: 18px; height: 18px; fill: none; stroke: var(--lacivert); stroke-width: 1.8;
    transition: fill .15s ease, stroke .15s ease;
}
.favori-btn.aktif svg { fill: var(--mercan); stroke: var(--mercan); }
.favori-btn-buyuk {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1.5px solid var(--teal); border-radius: 10px;
    background: var(--beyaz); padding: 12px 18px; cursor: pointer;
    font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 700; color: var(--teal-koyu);
    margin-top: 10px;
}
.favori-btn-buyuk svg { width: 18px; height: 18px; fill: none; stroke: var(--teal-koyu); stroke-width: 1.8; }
.favori-btn-buyuk.aktif { border-color: var(--mercan); color: var(--mercan-koyu); }
.favori-btn-buyuk.aktif svg { fill: var(--mercan); stroke: var(--mercan); }
.urun-kart .icerik { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.urun-kart .marka { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gri); font-weight: 700; }
.urun-kart .ad { font-size: 15px; font-weight: 700; line-height: 1.35; }
.urun-kart .fiyat-satir { margin-top: auto; display: flex; align-items: baseline; gap: 8px; }
.urun-kart .fiyat { font-size: 17px; font-weight: 800; color: var(--teal-koyu); }
.urun-kart .eski-fiyat { font-size: 13px; color: var(--gri); text-decoration: line-through; }
.urun-kart .bedenler { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

.sepete-ekle-btn {
    width: 100%; border: none; background: var(--teal); color: var(--beyaz);
    padding: 12px; border-radius: 10px; font-weight: 700; cursor: pointer;
    font-family: 'Manrope', sans-serif; font-size: 14px;
    transition: background .15s ease;
}
.sepete-ekle-btn:hover { background: var(--teal-koyu); }
.sepete-ekle-btn:disabled { background: var(--gri); cursor: not-allowed; }

/* ---------- Ürün Detay ---------- */
.urun-detay { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1100px; margin: 0 auto; padding: 40px 24px; }
.urun-detay-gorsel { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; background: var(--acikteal); }
.urun-detay-gorsel img { width: 100%; height: 100%; object-fit: cover; }
.urun-detay-bilgi h1 { font-size: 30px; margin-bottom: 8px; }
.urun-detay-bilgi .fiyat-satir { display: flex; align-items: baseline; gap: 12px; margin: 16px 0; }
.urun-detay-bilgi .fiyat { font-size: 30px; font-weight: 800; color: var(--teal-koyu); }
.urun-detay-bilgi .eski-fiyat { font-size: 18px; color: var(--gri); text-decoration: line-through; }
.urun-detay-bilgi .aciklama { color: var(--gri); line-height: 1.7; margin: 20px 0; }
.beden-secim { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 24px; }
.beden-secim label {
    border: 1.5px solid var(--teal); border-radius: 8px; padding: 8px 16px;
    font-size: 13px; font-weight: 700; cursor: pointer; color: var(--teal-koyu);
}
.beden-secim input { display: none; }
.beden-secim input:checked + label { background: var(--teal); color: var(--beyaz); }
.beden-secim label.tukendi { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; border-style: dashed; }

/* ---------- Sepet Sayfası ---------- */
.sepet-sayfa { max-width: 1100px; margin: 0 auto; padding: 40px 24px; display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.sepet-satir { display: flex; gap: 16px; background: var(--beyaz); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; box-shadow: var(--golge); }
.sepet-satir img { width: 90px; height: 110px; object-fit: cover; border-radius: 10px; }
.sepet-satir-bilgi { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.sepet-satir-bilgi .ad { font-weight: 700; }
.miktar-kontrol { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.miktar-kontrol button { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--teal); background: var(--beyaz); color: var(--teal); font-weight: 800; cursor: pointer; }
.sil-link { color: var(--mercan-koyu); font-size: 13px; font-weight: 700; cursor: pointer; align-self: flex-start; margin-left: auto; }

.siparis-ozet { background: var(--beyaz); border-radius: var(--radius); padding: 24px; box-shadow: var(--golge); position: sticky; top: 100px; }
.siparis-ozet h3 { margin-bottom: 16px; }
.ozet-satir { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--acikteal); }
.ozet-satir.toplam { font-size: 18px; font-weight: 800; border-bottom: none; padding-top: 14px; }
.odemeye-gec-btn {
    width: 100%; margin-top: 18px; border: none; background: var(--mercan); color: var(--beyaz);
    padding: 14px; border-radius: 10px; font-weight: 800; font-size: 15px; cursor: pointer;
}
.odemeye-gec-btn:hover { background: var(--mercan-koyu); }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--lacivert); color: var(--krem); margin-top: 60px; }
.footer-ic { max-width: 1240px; margin: 0 auto; padding: 56px 24px 24px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-ic h4 { font-family: 'Manrope', sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sari); margin-bottom: 16px; }
.footer-ic ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-ic ul a { opacity: 0.8; }
.footer-ic ul a:hover { opacity: 1; }
.footer-alt { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 24px; text-align: center; font-size: 13px; opacity: 0.7; }

/* ---------- Boş Durumlar ---------- */
.bos-durum { text-align: center; padding: 80px 24px; }
.bos-durum h2 { margin-bottom: 10px; }
.bos-durum p { color: var(--gri); margin-bottom: 24px; }

/* ---------- Metin İçerik Sayfaları (SSS, İade, Gizlilik vb.) ---------- */
.sayfa-icerik { max-width: 820px; margin: 40px auto; padding: 0 24px; }
.sayfa-icerik h1 { font-size: 30px; margin-bottom: 6px; }
.sayfa-icerik .guncelleme-tarihi { font-size: 13px; color: var(--gri); margin-bottom: 32px; }
.sayfa-icerik h2 { font-size: 19px; color: var(--teal-koyu); margin: 32px 0 12px; }
.sayfa-icerik h3 { font-size: 15px; margin: 20px 0 8px; }
.sayfa-icerik p, .sayfa-icerik li { font-size: 15px; line-height: 1.75; color: var(--lacivert); }
.sayfa-icerik ul, .sayfa-icerik ol { padding-left: 22px; margin: 8px 0 16px; }
.sayfa-icerik li { margin-bottom: 6px; }
.sayfa-icerik strong { color: var(--teal-koyu); }
.sayfa-icerik a { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.sayfa-icerik .bilgi-kutusu {
    background: var(--acikteal); border-radius: 12px; padding: 16px 20px; margin: 20px 0; font-size: 14px;
}

/* SSS akordeon */
.sss-liste { margin-top: 24px; }
.sss-madde {
    background: var(--beyaz); border-radius: 12px; box-shadow: var(--golge);
    margin-bottom: 12px; overflow: hidden;
}
.sss-madde summary {
    padding: 16px 20px; font-weight: 700; cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center; font-size: 15px;
}
.sss-madde summary::-webkit-details-marker { display: none; }
.sss-madde summary::after { content: '+'; font-size: 20px; color: var(--teal); font-weight: 400; }
.sss-madde[open] summary::after { content: '−'; }
.sss-madde .cevap { padding: 0 20px 18px; font-size: 14px; color: var(--gri); line-height: 1.7; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero-ic { grid-template-columns: 1fr; }
    .kategori-izgara, .urun-izgara { grid-template-columns: repeat(2, 1fr); }
    .urun-detay { grid-template-columns: 1fr; }
    .sepet-sayfa { grid-template-columns: 1fr; }
    .footer-ic { grid-template-columns: 1fr 1fr; }
    .arama-kutusu { display: none; }
}
@media (max-width: 560px) {
    .kategori-izgara, .urun-izgara { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hero h1 { font-size: 30px; }
    .footer-ic { grid-template-columns: 1fr; }
}

/* ---------- Anasayfa Slider (style.css dosyasının SONUNA ekle) ---------- */
.hero-slider { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/3; background: var(--acikteal); }
.hero-slider .slider-wrapper { position: relative; width: 100%; height: 100%; }
.hero-slider .slide { display: none; width: 100%; height: 100%; }
.hero-slider .slide.active { display: block; }
.hero-slider .slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.85); border: none; width: 38px; height: 38px; border-radius: 50%;
    cursor: pointer; font-size: 16px; color: var(--lacivert); z-index: 2;
    display: flex; align-items: center; justify-content: center; transition: background .15s ease;
}
.slider-btn:hover { background: var(--beyaz); }
.prev-btn { left: 14px; }
.next-btn { right: 14px; }
.slider-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.6); cursor: pointer; transition: background .15s ease, transform .15s ease; display: inline-block; }
.dot.active { background: var(--beyaz); transform: scale(1.25); }
.hero-slider-yan { border-radius: 24px; overflow: hidden; aspect-ratio: 4/3; }
.hero-slider-yan img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) {
    .hero-slider, .hero-slider-yan { aspect-ratio: 16/10; }
}

/* ---------- Slider Tam Genişlik (style.css dosyasının SONUNA ekle) ---------- */
.hero-ic.hero-ic-tam { grid-template-columns: 1fr; }
.hero-ic.hero-ic-tam .hero-slider { aspect-ratio: 150/25; }
@media (max-width: 960px) {
    .hero-ic.hero-ic-tam .hero-slider { aspect-ratio: 16/10; }
}
/* ---------- Tam Genişlik Slider'da Üst/Alt Boşluğu Azalt (style.css SONUNA ekle) ---------- */
.hero:has(.hero-ic-tam) { padding: 16px 24px; }