/* 2.10.35 — Siborg ortak tasarım katmanı (sgs "spatial" sistemi DIŞINDAKİ sayfalar: ürün, mağaza, yasal, SSS, blog, 404).
   sgs sayfaları (ana sayfa, sütunlar, sektörler, paketler, vaka, iletişim, rehberler) kendi sistemini kullanır; burada
   yalnız body:not(.sgs) kapsamı vardır → aynı öğe iki kaynaktan ezilmez. Sepet / ödeme / hesap sayfalarına dokunulmaz. */
:root {
	--sg-bg-primary: #0c1a1e; --sg-bg-secondary: #111417; --sg-surface: #ffffff; --sg-surface-soft: #f3f7f8; --sg-surface-teal: #e6f7f6;
	--sg-text-primary: #0b1720; --sg-text-secondary: #3d4f5c; --sg-text-on-dark: #e9edf0; --sg-text-on-dark-2: #c3d6d8;
	--sg-accent: #10c0ba; --sg-accent-hover: #2fd3cd; --sg-accent-ink: #0a7c78; --sg-accent-on: #04201f; --sg-accent-glow: #8ff0cd;
	--sg-border: #e3e9ee; --sg-shadow-sm: 0 1px 2px rgba(11, 23, 32, .05); --sg-shadow-md: 0 12px 28px rgba(11, 23, 32, .10);
	--sg-radius-sm: 10px; --sg-radius-md: 14px; --sg-radius-lg: 20px;
	--sg-space-1: 4px; --sg-space-2: 8px; --sg-space-3: 12px; --sg-space-4: 16px; --sg-space-5: 24px; --sg-space-6: 32px; --sg-space-7: 48px;
}

/* ---- Odak (klavye) ---- */
body:not(.sgs) a:focus-visible, body:not(.sgs) button:focus-visible, body:not(.sgs) summary:focus-visible { outline: 2px solid var(--sg-accent-ink); outline-offset: 2px; }

/* ---- İçerik sayfaları (yasal, SSS, blog, 404): başlık hiyerarşisi ve okunurluk ---- */
body:not(.sgs):not(.woocommerce-page) .entry-title, body:not(.sgs).error404 .page-title, body:not(.sgs).archive .page-title, body:not(.sgs).blog .page-title {
	color: var(--sg-text-primary); font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.5rem) !important; font-weight: 700 !important; line-height: 1.2 !important; letter-spacing: -.01em;
}
body:not(.sgs):not(.woocommerce-page) .entry-content { color: #24333d; line-height: 1.72; }
body:not(.sgs):not(.woocommerce-page) .entry-content > p, body:not(.sgs):not(.woocommerce-page) .entry-content > ul, body:not(.sgs):not(.woocommerce-page) .entry-content > ol { max-width: 72ch; }
body:not(.sgs):not(.woocommerce-page) .entry-content h2 { color: var(--sg-text-primary); font-size: clamp(1.3rem, 1.1rem + .6vw, 1.65rem); font-weight: 700; line-height: 1.3; margin: 1.6em 0 .5em; }
body:not(.sgs):not(.woocommerce-page) .entry-content h3 { color: var(--sg-text-primary); font-size: 1.15rem; font-weight: 650; line-height: 1.35; margin: 1.3em 0 .4em; }
body:not(.sgs):not(.woocommerce-page) .entry-content a { color: var(--sg-accent-ink); text-underline-offset: 3px; }

/* ---- Ürün sayfası (tek ürün) ---- */
body.single-product .product_title { color: var(--sg-text-primary) !important; font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem) !important; font-weight: 700 !important; line-height: 1.2 !important; letter-spacing: -.01em; margin-bottom: 10px !important; }
body.single-product .summary .price { color: var(--sg-text-primary) !important; font-size: 1.35rem !important; font-weight: 750 !important; }
body.single-product .summary .woocommerce-product-details__short-description { color: var(--sg-text-secondary); font-size: 16px; line-height: 1.6; }
body.single-product .summary .single_add_to_cart_button, body.single-product .summary a.button, body.single-product .summary .sg-cm-cta a.button {
	background: var(--sg-accent) !important; color: var(--sg-accent-on) !important; border: 1px solid var(--sg-accent) !important; border-radius: 12px !important;
	min-height: 48px; padding: 0 22px !important; font-size: 16px !important; font-weight: 600 !important; line-height: 46px !important; box-shadow: none !important; text-decoration: none !important;
	transition: background-color .2s ease, border-color .2s ease;
}
body.single-product .summary .single_add_to_cart_button:hover, body.single-product .summary a.button:hover { background: var(--sg-accent-hover) !important; border-color: var(--sg-accent-hover) !important; }
body.single-product .woocommerce-tabs ul.tabs li a { color: var(--sg-text-secondary) !important; font-weight: 600; }
body.single-product .woocommerce-tabs ul.tabs li.active a { color: var(--sg-text-primary) !important; }
body.single-product .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--sg-accent) !important; }
body.single-product .woocommerce-Tabs-panel { color: #24333d; line-height: 1.7; }
body.single-product .woocommerce-Tabs-panel h3 { color: var(--sg-text-primary); font-size: 1.2rem; font-weight: 700; margin: 1.4em 0 .45em; }
body.single-product .woocommerce-Tabs-panel ul, body.single-product .woocommerce-Tabs-panel ol { max-width: 72ch; }
body.single-product .woocommerce-Tabs-panel details { border: 1px solid var(--sg-border); border-radius: var(--sg-radius-sm); padding: 12px 16px; margin: 8px 0; background: var(--sg-surface); }
body.single-product .woocommerce-Tabs-panel details summary { cursor: pointer; font-weight: 650; color: var(--sg-text-primary); }
body.single-product .woocommerce-Tabs-panel details[open] summary { margin-bottom: 6px; }
body.single-product .woocommerce-Tabs-panel .sg-cm-copy > p:last-child { display: flex; flex-wrap: wrap; gap: 10px; }
body.single-product .woocommerce-Tabs-panel .sg-cm-copy a.button { border-radius: 12px !important; min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px !important; font-weight: 600; text-decoration: none !important; }
/* İlgili ürünler: mağaza kartlarıyla aynı düğme dili */
body.single-product .related ul.products li.product a.button { border-radius: 12px !important; min-height: 44px; padding: 0 16px !important; font-size: 15px !important; font-weight: 600 !important; line-height: 44px !important; background: var(--sg-accent) !important; color: var(--sg-accent-on) !important; box-shadow: none !important; text-decoration: none !important; }
body.single-product .related ul.products li.product { border-radius: var(--sg-radius-md) !important; }
body.single-product .woocommerce-Tabs-panel .sg-cm-copy a.button.alt { background: var(--sg-accent) !important; color: var(--sg-accent-on) !important; }
body.single-product .woocommerce-Tabs-panel .sg-cm-copy a.button:not(.alt) { background: transparent !important; color: var(--sg-text-primary) !important; border: 1px solid var(--sg-border) !important; }

/* ---- Alt bilgi + güven şeridi: sgs sayfalarıyla aynı petrol aile (sgs.css / sgs-v2.css "Döngü 19") ---- */
body:not(.sgs) .site-footer, body:not(.sgs) .site-footer .site-below-footer-wrap, body:not(.sgs) .site-footer .site-primary-footer-wrap, body:not(.sgs) .site-footer .site-above-footer-wrap { background: var(--sg-bg-primary) !important; }
body:not(.sgs) #page > #content ~ div:not([class]) { background: var(--sg-bg-primary) !important; border-top-color: rgba(255, 255, 255, .07) !important; }
body:not(.sgs) .site-footer .site-below-footer-wrap, body:not(.sgs) .site-footer .site-primary-footer-wrap { border-top-color: rgba(255, 255, 255, .08) !important; }
body:not(.sgs) .site-footer a, body:not(.sgs) #page > #content ~ div:not([class]) a { color: var(--sg-text-on-dark-2) !important; text-decoration: none; }
body:not(.sgs) .site-footer a:hover, body:not(.sgs) #page > #content ~ div:not([class]) a:hover { color: var(--sg-accent-glow) !important; text-decoration: underline; text-underline-offset: 3px; }
body:not(.sgs) .site-footer a:focus-visible { outline: 2px solid var(--sg-accent-glow); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
	body:not(.sgs) .single_add_to_cart_button, body:not(.sgs) a.button { transition: none !important; }
}
