/* Doğal Gıda — Storefront üzerine marka stili */

:root {
    --dg-yesil: #2f5a2b;
    --dg-yesil-acik: #7c9440;
    --dg-kahve: #9c5a23;
    --dg-krem: #fefcef;
    --dg-krem-koyu: #f3eed9;
    --dg-koyu: #23301f;
    --dg-metin: #4d564a;
    --dg-cizgi: #e8e2cb;
    --dg-whatsapp: #25d366;
    --dg-fistik: #6bad0d;
    --dg-baslik-yazi: 'Lora', Georgia, 'Times New Roman', serif;
    --dg-govde-yazi: 'Nunito Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
    --dg-golge: 0 10px 30px rgba(35, 48, 31, .1);
}

body, button, input, select, textarea { font-family: var(--dg-govde-yazi); }
body { color: var(--dg-metin); }
h1, h2, h3, h4, h5, h6,
.site-title, .entry-title, .woocommerce-loop-product__title { font-family: var(--dg-baslik-yazi); color: var(--dg-koyu); font-weight: 700; }
a:focus, button:focus, input:focus, textarea:focus { outline-color: var(--dg-yesil-acik); }

.dg-ana svg, .dg-serit svg, .dg-alt svg, .dg-sabit svg, .dg-iletisim svg, .dg-dugme svg { width: 1em; height: 1em; flex: none; }

/* ---------- Üst şerit ve başlık ---------- */

.dg-serit { background: var(--dg-fistik); color: #fff; font-size: 13px; }
.dg-serit .col-full { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.dg-serit__slogan { display: inline-flex; align-items: center; gap: 8px; }
.dg-serit__iletisim { display: inline-flex; gap: 20px; }
.dg-serit a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; }

.site-header { border-bottom: 1px solid var(--dg-cizgi); padding-top: 1.4em; }
.site-header .site-branding img,
.site-header .site-logo-anchor img,
.site-header .custom-logo-link img { max-height: 96px; width: auto; max-width: none; }
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a { font-weight: 700; letter-spacing: .02em; }
.main-navigation ul.menu > li.current-menu-item > a { color: var(--dg-yesil); }
.site-header-cart .cart-contents .count { opacity: 1; }
.site-search .widget_product_search form input[type=search] { border-radius: 30px; background: #fff; border: 1px solid var(--dg-cizgi); box-shadow: none; }

/* ---------- Düğmeler ---------- */

.dg-dugme,
button.dg-dugme {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: 14px 30px;
    border: 2px solid var(--dg-yesil);
    border-radius: 40px;
    background: var(--dg-yesil);
    color: #fff;
    font: 800 13px/1 var(--dg-govde-yazi);
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.dg-dugme:hover { background: var(--dg-kahve); border-color: var(--dg-kahve); color: #fff; transform: translateY(-2px); }
.dg-dugme--cizgi { background: transparent; color: var(--dg-yesil); }
.dg-dugme--acik { background: #fff; border-color: #fff; color: var(--dg-koyu); }
.dg-dugme--whatsapp { background: var(--dg-whatsapp); border-color: var(--dg-whatsapp); }

.button, button, input[type=submit], .added_to_cart { border-radius: 30px; font-weight: 700; }

/* ---------- Ana sayfa ---------- */

body.dg-ana-sayfa { overflow-x: hidden; }
body.dg-ana-sayfa .site-header { margin-bottom: 0 !important; }
body.dg-ana-sayfa .site-main { margin-bottom: 0; }
.site-header .custom-logo-link img { border-radius: 50%; box-shadow: 0 0 0 1px var(--dg-cizgi); }
.dg-ana-sayfa .site-content > .col-full > .woocommerce { margin: 0; }

.dg-hero, .dg-afis { width: 100vw; margin-left: calc(50% - 50vw); }

.dg-hero { position: relative; height: 560px; background: var(--dg-krem-koyu); overflow: hidden; }
.dg-hero__slayt {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s, visibility 1s;
}
.dg-hero__slayt.aktif { opacity: 1; visibility: visible; }
.dg-hero__resim, .dg-hero__resim img { position: absolute; inset: 0; width: 100%; height: 100%; }
.dg-hero__resim img { object-fit: cover; object-position: center; }
.dg-sekme__yedek { margin: 0; padding: 30px 0; text-align: center; }
.dg-sekme.yukleniyor { min-height: 320px; opacity: .5; }
/* Slayt fotoğrafları açık zeminli; yazı ortadaki boşluğa krem bir kutu içinde oturur. */
.dg-hero__metin {
    position: relative;
    width: min(540px, 100% - 40px);
    padding: 38px 40px 40px;
    border-radius: 18px;
    background: rgba(254, 252, 239, .72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 18px 50px rgba(35, 48, 31, .14);
    text-align: center;
    color: var(--dg-metin);
}
.dg-hero__ust { display: inline-block; margin-bottom: 14px; padding: 6px 16px; border-radius: 30px; background: var(--dg-yesil-acik); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dg-hero h1, .dg-hero__baslik { margin: 0 0 .35em; color: var(--dg-koyu); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.14; }
.dg-hero em { color: var(--dg-kahve); font-weight: 500; }
.dg-hero p { margin: 0 0 24px; font-size: 17px; color: var(--dg-metin); }
.dg-hero__noktalar { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; gap: 10px; z-index: 2; }
.dg-hero__noktalar button { width: 12px; height: 12px; padding: 0; border: 2px solid var(--dg-yesil); border-radius: 50%; background: rgba(254, 252, 239, .9); cursor: pointer; }
.dg-hero__noktalar button.aktif { background: var(--dg-yesil); }

.dg-bolum { padding: 72px 0; }
.dg-baslik { margin: 0 auto 44px; text-align: center; }
.dg-baslik span, .dg-baslik__ust { display: block; margin-bottom: 6px; color: var(--dg-kahve); font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.dg-baslik h2 { margin: 0; font-size: clamp(28px, 3.6vw, 40px); }
.dg-baslik h2::after { content: ''; display: block; width: 64px; height: 3px; margin: 16px auto 0; border-radius: 3px; background: var(--dg-yesil-acik); }
.dg-bolum__dugme { margin-top: 36px; text-align: center; }

/* Kategoriler */
.dg-kategori-izgara { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.dg-kategori { width: 170px; }
/* Masaüstünde tüm kategoriler tek satırda (eşit genişlik), tablette dörderli. */
@media (min-width: 961px) {
    .dg-kategori-izgara { flex-wrap: nowrap; }
    .dg-kategori { flex: 1 1 0; width: auto; min-width: 0; max-width: 170px; }
    .dg-kategori strong { font-size: 17px; }
}
@media (min-width: 641px) and (max-width: 960px) {
    .dg-kategori { width: calc((100% - 3 * 24px) / 4); max-width: 170px; }
}
.dg-kategori { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; color: var(--dg-koyu); text-decoration: none; }
.dg-kategori__gorsel { display: block; width: 100%; max-width: 170px; aspect-ratio: 1; margin-bottom: 12px; border: 4px solid #fff; border-radius: 50%; overflow: hidden; background: var(--dg-krem-koyu); box-shadow: var(--dg-golge); transition: transform .25s, border-color .25s; }
.dg-kategori__gorsel img { width: 100%; height: 100%; object-fit: cover; }
.dg-kategori:hover .dg-kategori__gorsel { transform: translateY(-6px); border-color: var(--dg-yesil-acik); }
.dg-kategori strong { font: 700 19px var(--dg-baslik-yazi); }
.dg-kategori small { color: var(--dg-metin); font-size: 13px; }

/* Ürün sekmeleri */
.dg-urunler { padding-top: 24px; }
.dg-sekme-dugmeleri { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.dg-sekme-dugmeleri button { padding: 10px 22px; border: 1px solid var(--dg-cizgi); border-radius: 30px; background: #fff; color: var(--dg-koyu); font-size: 14px; font-weight: 700; cursor: pointer; }
.dg-sekme-dugmeleri button:hover, .dg-sekme-dugmeleri button.aktif { background: var(--dg-yesil); border-color: var(--dg-yesil); color: #fff; }
.dg-sekme { display: none; }
.dg-sekme.aktif { display: block; }

/* Ürün kartları (tüm mağaza) */
ul.products li.product { padding: 0 0 20px; border: 1px solid var(--dg-cizgi); border-radius: 10px; background: #fff; overflow: hidden; transition: box-shadow .25s, transform .25s; }
ul.products li.product:hover { box-shadow: var(--dg-golge); transform: translateY(-4px); }
ul.products li.product img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 16px; }
ul.products li.product .woocommerce-loop-product__title { padding: 0 14px; font-size: 18px; }
ul.products li.product .price { padding: 0 14px; color: var(--dg-yesil); font-weight: 800; }
ul.products li.product .button { margin-top: 4px; }
ul.products li.product .onsale { position: absolute; top: 12px; left: 12px; margin: 0; border: 0; border-radius: 30px; background: var(--dg-kahve); color: #fff; }
.dg-fiyat-yok { color: var(--dg-metin); font-size: 13px; font-weight: 600; }
.single-product div.product p.price { color: var(--dg-yesil); font-weight: 800; }

/* Afiş */
.dg-afis { position: relative; padding: 90px 0; background-size: cover; background-position: center; color: #fff; }
.dg-afis::before { content: ''; position: absolute; inset: 0; background: rgba(35, 48, 31, .78); }
.dg-afis__metin { position: relative; width: min(760px, 100% - 48px); margin: 0 auto; text-align: center; }
.dg-afis span { display: block; margin-bottom: 8px; color: #e3c56a; font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.dg-afis h2 { margin: 0 0 12px; color: #fff; font-size: clamp(28px, 4vw, 44px); }
.dg-afis p { margin: 0 0 26px; font-size: 17px; color: rgba(255, 255, 255, .9); }

/* Özellikler */
.dg-ozellikler { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dg-ozellik { padding: 30px 24px; border: 1px solid var(--dg-cizgi); border-radius: 10px; background: #fff; text-align: center; }
.dg-ozellik svg { margin-bottom: 14px; font-size: 40px; color: var(--dg-yesil-acik); }
.dg-ozellik h3 { margin: 0 0 6px; font-size: 19px; }
.dg-ozellik p { margin: 0; font-size: 14px; }
/* Dört kutu sırasıyla yeşil, sarı, kırmızı ve mavi tonlarında */
.dg-ozellik { border-width: 0; transition: transform .25s, box-shadow .25s; }
.dg-ozellik:hover { transform: translateY(-4px); box-shadow: var(--dg-golge); }
.dg-ozellik:nth-child(1) { background: #d9f0c6; }
.dg-ozellik:nth-child(1) svg { color: #3d7f26; }
.dg-ozellik:nth-child(2) { background: #ffeaa6; }
.dg-ozellik:nth-child(2) svg { color: #b07d00; }
.dg-ozellik:nth-child(3) { background: #ffd3cb; }
.dg-ozellik:nth-child(3) svg { color: #c4402f; }
.dg-ozellik:nth-child(4) { background: #cfe5fb; }
.dg-ozellik:nth-child(4) svg { color: #2a6bb3; }
.dg-ozellik h3 { color: var(--dg-koyu); }
.dg-ozellik p { color: #3d4639; }

/* Blog */
.dg-blog { padding-top: 0; }
.dg-yazi-izgara { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.dg-yazi { border: 1px solid var(--dg-cizgi); border-radius: 10px; background: #fff; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.dg-yazi:hover { box-shadow: var(--dg-golge); transform: translateY(-4px); }
.dg-yazi__gorsel { display: block; aspect-ratio: 12 / 7; overflow: hidden; }
.dg-yazi__gorsel img { width: 100%; height: 100%; object-fit: cover; }
.dg-yazi__govde { padding: 22px 24px 26px; }
.dg-yazi time { color: var(--dg-kahve); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dg-yazi h3 { margin: 6px 0 8px; font-size: 21px; }
.dg-yazi h3 a { color: var(--dg-koyu); text-decoration: none; }
.dg-yazi h3 a:hover { color: var(--dg-yesil); }
.dg-yazi p { margin: 0 0 12px; font-size: 15px; }
.dg-yazi__devam { display: inline-flex; align-items: center; gap: 6px; color: var(--dg-yesil); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }

/* Sık sorulan sorular */
.dg-sss { padding-top: 0; }
.dg-sss__liste { max-width: 820px; margin: 0 auto; }
.dg-sss__oge { margin-bottom: 12px; border: 1px solid var(--dg-cizgi); border-radius: 10px; background: #fff; }
.dg-sss__oge summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; cursor: pointer; list-style: none; }
.dg-sss__oge summary::-webkit-details-marker { display: none; }
.dg-sss__oge summary::after { content: '+'; font: 500 26px/1 var(--dg-baslik-yazi); color: var(--dg-yesil-acik); }
.dg-sss__oge[open] summary::after { content: '–'; }
.dg-sss__oge h3 { margin: 0; font-size: 18px; }
.dg-sss__oge p { margin: 0; padding: 0 24px 20px; }

/* Hakkımızda */
.dg-hakkinda { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: center; padding: 48px; margin-bottom: 72px; border-radius: 14px; background: var(--dg-krem-koyu); }
.dg-hakkinda img { border-radius: 50%; mix-blend-mode: multiply; }
.dg-hakkinda h2 { margin: 0 0 10px; font-size: 34px; }
.dg-hakkinda p { margin: 0 0 22px; font-size: 17px; }

/* ---------- İletişim ---------- */

.dg-tam { width: 100% !important; float: none !important; margin-right: 0 !important; }
.dg-iletisim { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; margin-bottom: 48px; }
.dg-iletisim__form { padding: 36px; border: 1px solid var(--dg-cizgi); border-radius: 12px; background: #fff; }
.dg-iletisim__form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--dg-koyu); }
.dg-iletisim__form input[type=text], .dg-iletisim__form input[type=tel], .dg-iletisim__form input[type=email], .dg-iletisim__form textarea { width: 100%; background: var(--dg-krem); border: 1px solid var(--dg-cizgi); box-shadow: none; border-radius: 6px; }
.dg-ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dg-not { font-size: 13px; }
.dg-gizli { position: absolute; left: -9999px; }
.dg-bildirim { padding: 14px 18px; border-left: 4px solid; font-weight: 700; }
.dg-bildirim--tamam { background: #eaf2dd; border-color: var(--dg-yesil-acik); color: #34521a; }
.dg-bildirim--hata { background: #fdecea; border-color: #d9534f; color: #8a2a27; }
.dg-harita iframe { display: block; width: 100%; height: 420px; border: 0; border-radius: 12px; }

.dg-alt__iletisim { margin: 0; list-style: none; }
.dg-alt__iletisim li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.dg-alt__iletisim svg { margin-top: 5px; font-size: 17px; color: var(--dg-yesil-acik); }
.dg-alt__iletisim--acik { margin-bottom: 24px; }
.dg-alt__iletisim--acik li { font-size: 17px; color: var(--dg-koyu); }

/* ---------- Alt bölüm ---------- */

.site-footer { padding-top: 0; }
.dg-alt { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1.2fr 1.2fr; gap: 36px; padding: 64px 0 44px; }
.dg-alt h4 { margin: 0 0 18px; color: #fff; font-size: 19px; }
.dg-alt ul { margin: 0; list-style: none; }
.dg-alt li { margin-bottom: 9px; }
.dg-alt a { text-decoration: none; }
.dg-alt__marka img { margin-bottom: 14px; border-radius: 50%; background: var(--dg-krem); }
.dg-alt__sosyal { display: flex; gap: 10px; margin-top: 16px; }
.dg-alt__sosyal a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; font-size: 18px; }
.dg-alt__sosyal a:hover { background: var(--dg-yesil-acik); border-color: var(--dg-yesil-acik); }
.dg-telif { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 20px 0 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }

/* ---------- Sabit butonlar ---------- */

.dg-sabit { position: fixed; right: 18px; bottom: 84px; z-index: 9990; display: flex; flex-direction: column; gap: 12px; }
.dg-sabit__buton { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; font-size: 26px; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); transition: transform .2s; }
.dg-sabit__buton:hover { color: #fff; transform: scale(1.08); }
.dg-sabit__buton--whatsapp { background: var(--dg-whatsapp); }
.dg-sabit__buton--ara { background: var(--dg-yesil); }

/* ---------- Hediye kutusu ---------- */

.dg-hk { margin: 4px 0 26px; padding: 14px 16px; border: 1.5px dashed #d6b98c; border-radius: 14px; background: linear-gradient(135deg, #fffaf0, var(--dg-krem)); }
.dg-hk__dugmeler { display: flex; flex-wrap: wrap; gap: 10px; }
.dg-hk__dugmeler .dg-hk__dugme { flex: 1 1 260px; width: auto; }
button.dg-hk__gor { flex: 0 0 auto; padding: 13px 20px; border: 0; border-radius: 40px; background: var(--dg-koyu); color: #fff; font-size: 15px; font-weight: 800; cursor: pointer; }
button.dg-hk__gor[hidden] { display: none; }
.dg-hk__bilgi { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--dg-metin); }

/* Kutu penceresindeki öneriler */
.dg-hk-oneri { margin: 0 -24px 16px; padding: 14px 0 6px 24px; background: var(--dg-krem); border-top: 1px solid var(--dg-cizgi); border-bottom: 1px solid var(--dg-cizgi); }
.dg-hk-oneri[hidden] { display: none; }
.dg-hk-oneri__baslik { margin: 0 24px 10px 0; font-weight: 800; color: var(--dg-koyu); font-size: 15px; }
.dg-hk-oneri__baslik small { display: block; font-weight: 400; font-size: 12px; color: var(--dg-metin); }
.dg-hk-oneri__liste { display: flex; gap: 10px; margin: 0; padding: 0 24px 10px 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; }
.dg-hk-oneri__liste .dg-hks__kart { flex: 0 0 168px; padding: 8px 8px 10px; scroll-snap-align: start; }
.dg-hk-oneri__liste .dg-hks__gorsel img { margin-bottom: 6px; }
.dg-hk-oneri__liste .dg-hks__kategori { display: none; }
.dg-hk-oneri__liste .dg-hks__ad { margin: 0 0 8px; font-family: var(--dg-baslik-yazi); font-size: 15px; font-weight: 700; line-height: 1.2; }
.dg-hk-oneri__liste .dg-hks__ad a { color: var(--dg-koyu); text-decoration: none; }
.dg-hk-oneri__liste .dg-hks__secenekler { gap: 4px; margin-bottom: 8px; }
.dg-hk-oneri__liste button.dg-hks__secenek { padding: 5px 2px; }
.dg-hk-oneri__liste button.dg-hks__secenek b { font-size: 12px; }
.dg-hk-oneri__liste button.dg-hks__secenek small { font-size: 10.5px; }
.dg-hk-oneri__liste button.dg-hks__ekle { padding: 8px 6px; font-size: 13px; }
.dg-hk-oneri__liste .dg-hks__kart.kutuda::before { top: 6px; left: 6px; font-size: 11px; }
.dg-hk svg, .dg-hk-rozet svg, .dg-hk-cubuk svg, .dg-hk-pencere svg, .dg-hk-sepet-bilgi svg { width: 1.15em; height: 1.15em; flex: none; }
button.dg-hk__dugme { display: inline-flex; align-items: center; gap: 10px; width: 100%; justify-content: center; padding: 13px 22px; border: 2px solid var(--dg-kahve); border-radius: 40px; background: #fff; color: var(--dg-kahve); font-size: 16px; font-weight: 800; cursor: pointer; transition: background .2s, color .2s, transform .15s; }
button.dg-hk__dugme:hover:not(:disabled) { background: var(--dg-kahve); color: #fff; }
button.dg-hk__dugme:active:not(:disabled) { transform: scale(.98); }
button.dg-hk__dugme:disabled { opacity: .55; cursor: not-allowed; font-weight: 700; font-size: 14px; }
button.dg-hk__dugme.eklendi { background: var(--dg-yesil); border-color: var(--dg-yesil); color: #fff; }
.dg-hk__avantajlar { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--dg-metin); }
.dg-hk__avantajlar li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.dg-hk__avantajlar svg { color: var(--dg-kahve); }

.dg-hk-rozet { display: inline-flex; align-items: center; gap: 5px; margin: 0 auto 8px; padding: 3px 10px; border-radius: 20px; background: #fbf1df; color: var(--dg-kahve); font-size: 12px; font-weight: 700; }

.dg-hk-cubuk { position: fixed; left: 50%; bottom: 18px; z-index: 9991; width: min(720px, calc(100% - 24px)); transform: translateX(-50%); }
.dg-hk-cubuk__metin strong { white-space: nowrap; }
.entry-content .dg-hks__ad a, .dg-hks__ad a { text-decoration: none; }
.dg-hks__yuvalar { max-width: 620px; }
.dg-hk-cubuk[hidden] { display: none; }
button.dg-hk-cubuk__ic { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 14px 10px 10px; border: 0; border-radius: 18px; background: var(--dg-koyu); color: #fff; text-align: left; box-shadow: 0 14px 34px rgba(0, 0, 0, .3); cursor: pointer; }
.dg-hk-cubuk__kutu { position: relative; display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 12px; background: #fbf1df; color: var(--dg-kahve); font-size: 24px; }
.dg-hk-cubuk__kutu img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; }
.dg-hk-cubuk__kutu b { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 11px; background: #e3c56a; color: var(--dg-koyu); font-size: 12px; }
.dg-hk-cubuk__metin { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.dg-hk-cubuk__metin strong { font-size: 15px; }
.dg-hk-cubuk__metin small { color: #cfd8c7; font-size: 12px; }
.dg-hk-cubuk__yuvalar { display: flex; gap: 3px; }
.dg-hk-cubuk__yuvalar span { width: 22px; height: 22px; border: 1.5px dashed rgba(255, 255, 255, .35); border-radius: 6px; overflow: hidden; }
.dg-hk-cubuk__yuvalar span.dolu { border: 2px solid #e3c56a; background: #fff; }
.dg-hk-cubuk__yuvalar span.devam, .dg-hks__yuvalar span.devam { opacity: .75; }
.dg-hk-cubuk__yuvalar img { width: 100%; height: 100%; object-fit: cover; }
.dg-hk__avantajlar a { display: inline-flex; align-items: center; gap: 6px; color: var(--dg-yesil); font-weight: 700; text-decoration: underline; }

/* Seçim sayfası */
.dg-hks { margin: 8px 0 40px; }
.dg-hks__durum { position: sticky; top: 8px; z-index: 50; margin-bottom: 28px; padding: 16px 18px; border-radius: 16px; background: var(--dg-koyu); color: #fff; box-shadow: var(--dg-golge); }
.admin-bar .dg-hks__durum { top: 40px; }
.dg-hks__durum-ust { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-bottom: 10px; }
.dg-hks__durum-ust strong { font-size: 18px; }
.dg-hks__durum-ust span { color: #e3c56a; font-weight: 700; font-size: 14px; }
.dg-hks__yuvalar { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.dg-hks__yuvalar span { aspect-ratio: 1; border: 1.5px dashed rgba(255, 255, 255, .35); border-radius: 10px; overflow: hidden; }
.dg-hks__yuvalar span.dolu { border: 2px solid #e3c56a; background: #fff; }
.dg-hks__yuvalar img { width: 100%; height: 100%; object-fit: cover; }
.dg-hks__islemler { display: flex; gap: 8px; margin-left: auto; }
.dg-hks__islemler button { padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 30px; background: transparent; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.dg-hks__islemler button:hover { background: rgba(255, 255, 255, .12); }
.dg-hks__islemler button[data-hk-bosalt] { border-color: #f0b4a8; color: #f6cdc4; }
.dg-hks__islemler button[hidden], .dg-hks__cikar[hidden], .dg-hk-bosalt[hidden] { display: none; }
.dg-hks__yuvalar span.dolu { cursor: pointer; }
.dg-hks__yuvalar span.dolu:hover { outline: 2px solid #f0b4a8; }
button.dg-hks__cikar { margin-top: 8px; padding: 4px; border: 0; background: none; color: #a33; font-size: 13px; font-weight: 700; text-decoration: underline; cursor: pointer; }
button.dg-hk-bosalt { display: block; width: 100%; margin-top: 10px; padding: 8px; border: 0; background: none; color: #a33; font-size: 14px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.dg-hks__ipucu { margin: 10px 0 0; color: #cfd8c7; font-size: 13px; }
.dg-hks__bos { padding: 20px; border-radius: 12px; background: var(--dg-krem-koyu); }
.dg-hks__izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.dg-hks__kart { position: relative; display: flex; flex-direction: column; margin: 0; padding: 12px 12px 14px; border: 1px solid var(--dg-cizgi); border-radius: 16px; background: #fff; text-align: center; transition: box-shadow .2s, border-color .2s; }
.dg-hks__kart:hover { box-shadow: var(--dg-golge); }
.dg-hks__kart.kutuda { border-color: #e3c56a; box-shadow: 0 0 0 2px #f3e3ad; }
.dg-hks__kart.kutuda::before { content: attr(data-hk-adet); position: absolute; top: 10px; left: 10px; z-index: 2; padding: 3px 10px; border-radius: 20px; background: var(--dg-yesil); color: #fff; font-size: 12px; font-weight: 800; }
.dg-hks__gorsel img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin: 0 0 10px; }
.dg-hks__kategori { color: var(--dg-kahve); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.dg-hks__ad { margin: 4px 0 10px; font-family: var(--dg-baslik-yazi); font-size: 18px; line-height: 1.25; }
.dg-hks__ad a { color: var(--dg-koyu); text-decoration: none; }
.dg-hks__secenekler { display: flex; gap: 8px; margin: auto 0 12px; }
button.dg-hks__secenek { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 8px 6px; border: 1.5px solid var(--dg-cizgi); border-radius: 12px; background: var(--dg-krem); color: var(--dg-koyu); line-height: 1.25; cursor: pointer; }
button.dg-hks__secenek b { font-size: 14px; }
button.dg-hks__secenek small { font-size: 12px; color: var(--dg-metin); }
button.dg-hks__secenek.secili { border-color: var(--dg-yesil); background: #eef4e6; box-shadow: inset 0 0 0 1px var(--dg-yesil); }
button.dg-hks__secenek.sigmaz { opacity: .45; }
button.dg-hks__ekle { padding: 11px 14px; font-size: 15px; }

/* Ana sayfa şeridi */
.dg-hk-serit { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 32px; margin: 0 auto 64px; padding: 40px 44px; border-radius: 22px; background: radial-gradient(circle at 85% 20%, #3d6b35, var(--dg-koyu) 70%); color: #fff; overflow: hidden; }
.dg-hk-serit svg { width: 1.1em; height: 1.1em; flex: none; }
.dg-hk-serit__metin span { color: #e3c56a; font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.dg-hk-serit__metin h2 { margin: 6px 0 16px; font-family: var(--dg-baslik-yazi); font-size: 38px; line-height: 1.15; color: #fff; }
.dg-hk-serit__etiketler { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.dg-hk-serit__etiketler li { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 30px; background: rgba(255, 255, 255, .08); font-size: 14px; font-weight: 700; }
.dg-hk-serit__etiketler svg { color: #e3c56a; }
.dg-hk-serit__dugme { background: #e3c56a; border-color: #e3c56a; color: var(--dg-koyu); }
.dg-hk-serit__dugme:hover { background: #fff; border-color: #fff; color: var(--dg-koyu); }
.dg-hk-serit__gorsel { display: block; }
.dg-hk-serit__gorsel img { display: block; width: 100%; max-height: 320px; object-fit: contain; border-radius: 18px; }
.dg-hk-serit__gorsel--kolaj { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; transform: rotate(-3deg); }
.dg-hk-serit__gorsel--kolaj img { aspect-ratio: 1; max-height: none; object-fit: cover; border: 4px solid #fff; border-radius: 16px; background: #fff; box-shadow: 0 12px 26px rgba(0, 0, 0, .3); }
.dg-hk-cubuk__git { padding: 8px 14px; border-radius: 30px; background: var(--dg-yesil-acik); font-size: 13px; font-weight: 800; white-space: nowrap; }
.dg-hk-cubuk.dolu .dg-hk-cubuk__git { background: #e3c56a; color: var(--dg-koyu); }
.dg-hk-cubuk.titret { animation: dg-hk-titret .5s ease; }
@keyframes dg-hk-titret { 0%, 100% { transform: translateX(-50%) scale(1); } 40% { transform: translateX(-50%) scale(1.04); } }
body.dg-hk-var .dg-sabit { bottom: 104px; }
body.dg-hk-var .site-footer { padding-bottom: 90px; }

.dg-hk-pencere { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: flex-end; justify-content: center; }
.dg-hk-pencere[hidden] { display: none; }
body.dg-hk-acik { overflow: hidden; }
.dg-hk-pencere__perde { position: absolute; inset: 0; background: rgba(20, 28, 18, .55); }
.dg-hk-pencere__kutu { position: relative; width: min(560px, 100%); max-height: 92vh; overflow-y: auto; padding: 26px 24px 22px; border-radius: 20px 20px 0 0; background: #fff; box-shadow: var(--dg-golge); }
button.dg-hk-pencere__kapat { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--dg-krem-koyu); color: var(--dg-koyu); font-size: 22px; line-height: 1; }
.dg-hk-pencere__ust { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-right: 36px; }
.dg-hk-pencere__ust img { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; }
.dg-hk-pencere__ikon { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 14px; background: #fbf1df; color: var(--dg-kahve); font-size: 32px; }
.dg-hk-pencere__ust h2 { margin: 0 0 2px; font-family: var(--dg-baslik-yazi); font-size: 22px; color: var(--dg-koyu); }
.dg-hk-pencere__ust p { margin: 0; font-size: 13px; color: var(--dg-metin); }
.dg-hk-liste { margin: 0 0 16px; padding: 0; list-style: none; }
.dg-hk-liste li { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; padding: 8px; border: 1px solid var(--dg-cizgi); border-radius: 12px; }
.dg-hk-liste li img { width: 56px; height: 56px; flex: none; object-fit: cover; border-radius: 8px; }
.dg-hk-liste li div { flex: 1; min-width: 0; line-height: 1.3; }
.dg-hk-liste li strong { display: block; font-size: 14px; color: var(--dg-koyu); }
.dg-hk-liste li small { font-size: 12px; color: var(--dg-metin); }
.dg-hk-liste__fiyat { font-weight: 800; font-size: 14px; color: var(--dg-yesil); white-space: nowrap; }
button.dg-hk-liste__sil { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: #f6e7e2; color: #a33; font-size: 18px; line-height: 1; }
.dg-hk-liste li.bos { justify-content: center; min-height: 58px; border-style: dashed; color: #a9a58f; font-size: 13px; }
.dg-hk-not { display: block; margin-bottom: 14px; }
.dg-hk-not span { display: block; margin-bottom: 6px; font-weight: 700; font-size: 14px; color: var(--dg-koyu); }
.dg-hk-not textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--dg-cizgi); border-radius: 10px; background: var(--dg-krem); font: inherit; resize: vertical; }
.dg-hk-not__sayac { display: block; text-align: right; font-size: 11px; color: #a9a58f; }
.dg-hk-toplam { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: 15px; }
.dg-hk-toplam strong { font-size: 20px; color: var(--dg-koyu); }
.dg-hk-hata { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #fbeaea; color: #8a2b2b; font-size: 14px; }
.dg-hk-hata[hidden] { display: none; }
button.dg-hk-sepete { justify-content: center; width: 100%; }
button.dg-hk-sepete:disabled { opacity: .5; cursor: not-allowed; }
.dg-hk-devam { display: block; margin-top: 12px; text-align: center; font-size: 14px; font-weight: 700; color: var(--dg-yesil); }
.dg-hk-sepet-bilgi { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 14px 16px; border-radius: 12px; background: #fbf1df; color: var(--dg-koyu); font-size: 15px; }
.dg-hk-sepet-bilgi svg { color: var(--dg-kahve); font-size: 22px; }

@media (min-width: 768px) {
    .dg-hk-pencere { align-items: center; }
    .dg-hk-pencere__kutu { border-radius: 20px; }
}
@media (max-width: 767px) {
    /* Mobilde Storefront'un alt çubuğunun üstünde durur. */
    .dg-hk-cubuk { bottom: 76px; }
    body.dg-hk-var .dg-sabit { bottom: 154px; }
    .dg-hk-cubuk__yuvalar { display: none; }
    .dg-hk-rozet { padding: 3px 7px; gap: 4px; font-size: 10.5px; white-space: nowrap; }
    .dg-hks__izgara { grid-template-columns: 1fr 1fr; gap: 12px; }
    .dg-hks__kart { padding: 8px 8px 10px; }
    .dg-hks__ad { font-size: 15px; }
    .dg-hks__secenekler { gap: 5px; }
    button.dg-hks__secenek { padding: 6px 2px; }
    button.dg-hks__secenek b { font-size: 12.5px; }
    button.dg-hks__secenek small { font-size: 11px; }
    button.dg-hks__ekle { padding: 9px 8px; font-size: 13px; }
    .dg-hks__yuvalar { gap: 4px; }
    .dg-hks__durum { padding: 12px 12px; }
    .admin-bar .dg-hks__durum { top: 8px; }
    .dg-hk-serit { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px; text-align: center; }
    .dg-hk-serit__metin h2 { font-size: 28px; }
    .dg-hk-serit__etiketler { justify-content: center; }
    .dg-hk-serit__etiketler li { font-size: 12.5px; padding: 6px 11px; }
    .dg-hk-serit__gorsel--kolaj { max-width: 220px; margin: 0 auto; gap: 8px; }
    button.dg-hk-cubuk__ic { gap: 12px; padding: 8px 10px 8px 8px; }
    .dg-hk-cubuk__git { padding: 7px 11px; font-size: 12px; }
}

/* ---------- Duyarlı düzen ---------- */

@media (min-width: 768px) {
    .dg-sabit { bottom: 20px; }
}

@media (max-width: 960px) {
    .dg-ozellikler { grid-template-columns: 1fr 1fr; }
    .dg-yazi-izgara { grid-template-columns: 1fr 1fr; }
    .dg-alt { grid-template-columns: 1fr 1fr; }
    .dg-iletisim { grid-template-columns: 1fr; gap: 36px; }
    .dg-serit__slogan { display: none; }
    .dg-serit .col-full { justify-content: center; }
}

@media (max-width: 767px) {
    ul.products { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    ul.products::before, ul.products::after { display: none; }
    ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; }
    ul.products li.product .woocommerce-loop-product__title { font-size: 16px; }
}

@media (max-width: 640px) {
    .dg-hero { height: 440px; }
    .dg-hero__metin { padding: 26px 22px 28px; }
    .dg-hero p { font-size: 15px; margin-bottom: 18px; }
    .dg-bolum { padding: 52px 0; }
    .dg-kategori-izgara { gap: 20px 14px; }
    .dg-kategori { width: calc(50% - 7px); }
    .dg-yazi-izgara, .dg-alt { grid-template-columns: 1fr; }
    .dg-ozellikler { grid-template-columns: 1fr; }
    .dg-hakkinda { grid-template-columns: 1fr; gap: 20px; padding: 28px 22px; text-align: center; }
    .dg-hakkinda img { margin: 0 auto; width: 150px; height: auto; }
    .dg-ikili { grid-template-columns: 1fr; gap: 0; }
    .dg-iletisim__form { padding: 24px 18px; }
    .site-header .custom-logo-link img { max-height: 70px; }
}

/* ---------- "Bütün Kategoriler" arama çubuğu (üst bölümün altı) ---------- */

.site-header { padding-bottom: 0; }
.dg-arama-serit { clear: both; padding: 14px 0; background: var(--dg-fistik); }
.dg-arama {
    position: relative;
    display: flex; align-items: center;
    max-width: 860px; height: 54px; margin: 0 auto;
    border-radius: 999px; background: #fff;
    box-shadow: 0 6px 20px rgba(35, 48, 31, .14);
}
.dg-arama__kategori { position: relative; height: 100%; flex: none; }
.dg-arama__dugme {
    display: flex; align-items: center; gap: 10px;
    height: 100%; padding: 0 20px 0 24px;
    border: 0; border-radius: 999px 0 0 999px; background: transparent;
    color: var(--dg-koyu); font: inherit; font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer;
}
.dg-arama__dugme:hover, .dg-arama__dugme:focus { background: transparent; color: var(--dg-yesil); }
.dg-arama__dugme svg { width: 20px; height: 20px; flex: none; color: var(--dg-yesil); }
.dg-arama__ok { transition: transform .2s; }
.dg-arama__kategori.acik .dg-arama__ok { transform: rotate(180deg); }
.dg-arama__kategori::after { content: ''; position: absolute; right: 0; top: 14px; bottom: 14px; width: 1px; background: var(--dg-cizgi); }

.dg-arama__liste {
    position: absolute; top: calc(100% + 10px); left: 0; z-index: 60;
    display: none; width: 300px; max-height: min(78vh, 600px); overflow-y: auto;
    margin: 0; padding: 8px; list-style: none;
    border: 1px solid var(--dg-cizgi); border-radius: 16px; background: #fff;
    box-shadow: 0 18px 40px rgba(35, 48, 31, .18);
}
.dg-arama__kategori.acik .dg-arama__liste { display: block; }
.dg-arama__liste li { margin: 0; }
.dg-arama__baslik { padding: 8px 12px 6px; color: var(--dg-metin); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.dg-arama__oge {
    display: flex; align-items: center; gap: 12px;
    padding: 7px 12px; border-radius: 10px;
    color: var(--dg-koyu); font-size: 15px; font-weight: 700; text-decoration: none !important;
}
.dg-arama__oge:hover, .dg-arama__oge:focus, .dg-arama__oge.secili { background: var(--dg-krem-koyu); color: var(--dg-yesil); }
.dg-arama__gorsel {
    display: grid; place-items: center; overflow: hidden;
    width: 36px; height: 36px; flex: none;
    border-radius: 50%; background: var(--dg-krem-koyu); color: var(--dg-yesil-acik);
}
.dg-arama__gorsel img { width: 100%; height: 100%; object-fit: cover; }
.dg-arama__ad { flex: 1; }
.dg-arama__oge small { min-width: 26px; padding: 1px 8px; border-radius: 999px; background: var(--dg-krem-koyu); color: var(--dg-metin); font-size: 12px; text-align: center; }
.dg-arama__oge--vurgu { color: var(--dg-kahve); }
.dg-arama__oge--vurgu .dg-arama__gorsel { box-shadow: 0 0 0 2px var(--dg-kahve); }

.dg-arama__metin {
    flex: 1; min-width: 0; height: 100%; padding: 0 18px;
    border: 0 !important; background: transparent !important; box-shadow: none !important;
    color: var(--dg-koyu); font-size: 15px;
}
.dg-arama__metin:focus { outline: none; }
.dg-arama:focus-within { box-shadow: 0 0 0 3px rgba(47, 90, 43, .25), 0 6px 20px rgba(35, 48, 31, .14); }
.dg-arama__ara {
    display: grid; place-items: center;
    width: 44px; height: 44px; margin-right: 5px; padding: 0; flex: none;
    border: 0; border-radius: 50%; background: var(--dg-yesil); color: #fff; cursor: pointer;
}
.dg-arama__ara:hover { background: var(--dg-koyu); color: #fff; }
.dg-arama__ara svg { width: 20px; height: 20px; }
/* ---------- Sözleşme sayfaları ---------- */

mark.dg-eksik { padding: 1px 6px; border-radius: 4px; background: #ffe9a6; color: #6b4a00; font-size: .92em; }
.page .entry-content table th { width: 34%; text-align: left; }
.dg-alt .dg-alt__sutun ul.menu { margin: 0; list-style: none; }

@media (max-width: 1100px) {
    .dg-alt { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 767px) {
    .dg-arama-serit { padding: 10px 0; }
    .dg-arama { height: 48px; }
    .dg-arama__dugme { gap: 6px; padding: 0 12px 0 16px; font-size: 14px; }
    .dg-arama__etiket { max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
    .dg-arama__uzun { display: none; }
    .dg-arama__metin { padding: 0 12px; font-size: 14px; }
    .dg-arama__ara { width: 38px; height: 38px; }
    .dg-arama__liste { position: fixed; top: auto; left: 12px; right: 12px; z-index: 1000; width: auto; max-height: calc(100vh - 300px); margin-top: 10px; }
    /* Mobilde logo ortalanır; menü düğmesi yok, sepet ve arama alttaki çubukta. */
    .site-header .site-branding { float: none !important; width: 100% !important; margin: 0 0 .8em !important; text-align: center; }
    .site-header .site-branding .custom-logo-link { display: inline-block; }
}

/* ---------- Masaüstü üst bölüm düzeni: logo | sepet ---------- */

@media (min-width: 768px) {
    body .site-header > .col-full { display: flex; align-items: center; gap: 26px; padding-bottom: 1.2em; }
    body .site-header > .col-full::before, body .site-header > .col-full::after { display: none; }
    body .site-header > .col-full > .site-branding { float: none !important; width: auto !important; margin: 0 !important; flex: none; }
    body .site-header > .col-full > .site-header-cart { float: none !important; width: auto !important; margin: 0 0 0 auto !important; flex: none; }
    body .site-header .site-header-cart .cart-contents { padding: .8em 0; white-space: nowrap; }
    body .site-header .site-header-cart .cart-contents .count { margin-right: 10px; }
}
