/*
Theme Name: Spor Yayınevi (Blocksy Child)
Template: blocksy
Description: Spor Yayınevi için Modern Sade tasarımı. Özel stiller ve yazı tipleri bu temadadır.
Version: 1.0.0
Text Domain: sporyayinevi
*/

/* ---------- Yazı tipi (sunucudan) ---------- */
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('fonts/manrope-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('fonts/manrope-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tasarım değişkenleri ---------- */
:root {
	--sy-bg: #f4f4f1;
	--sy-surface: #ffffff;
	--sy-field: #efefeb;
	--sy-ink: #1c1c1e;
	--sy-muted: #5f5f64;
	--sy-line: #e4e4df;
	--sy-dark: #1c1c1e;
	--sy-accent: #7a2a38;
	--sy-accent-ink: #5a1d29;
	--sy-accent-soft: #f6e9eb;
	--sy-radius: 16px;
	--theme-font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body {
	background-color: var(--sy-bg);
	color: var(--sy-ink);
	font-family: var(--theme-font-family);
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--theme-font-family); color: var(--sy-ink); letter-spacing: -0.02em; text-wrap: balance; }

/* ---------- Kargo bandı ---------- */
.sy-notice {
	background: var(--sy-accent);
	color: #fff;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	padding: 8px 16px;
}
/* Mobilde yazı tipi yüklenince satır sayısı değişip sayfa kaymasın diye iki satırlık yer baştan ayrılır. */
@media (max-width: 689px) {
	.sy-notice {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 52px;
		font-size: 13px;
		line-height: 18px;
	}
}

/* Blocksy'nin alttaki mağaza bildirimi yerine üstteki bant kullanılıyor */
.demo_store { display: none !important; }

/* ---------- Header ---------- */
#header [data-row] { background: var(--sy-surface); }
#header [data-row="bottom"] { border-top: 1px solid var(--sy-line); box-shadow: 0 1px 0 var(--sy-line); }
#header [data-row="middle"] > .ct-container {
	grid-template-columns: auto minmax(0, 1fr) auto !important;
	gap: 28px;
}
#header [data-row="middle"] [data-column="middle"] { justify-content: stretch; }
#header .ct-header-text { width: 100%; max-width: 640px; margin-inline: auto; }

/* Logo ve site adı yan yana */
#header .site-branding { display: flex; flex-direction: row; align-items: center; gap: 10px; }
#header .site-branding .site-title { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; margin: 0; }
#header .site-branding .site-title a { color: var(--sy-ink); }

#header .ct-header-account .ct-label { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; color: var(--sy-ink); }

/* Menü */
#header .ct-menu-link { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 15px; color: var(--sy-ink); }
#header .ct-menu-link:hover,
#header .current-menu-item > .ct-menu-link { color: var(--sy-accent); }

/* Masaüstünde sepet düğmesinde "Sepet" yazısı */
#header [data-device="desktop"] .ct-header-cart .ct-cart-item::after { content: "Sepet"; font-weight: 700; font-size: 15px; margin-left: 8px; }

@media (max-width: 999px) {
	#header [data-row="middle"] > .ct-container { gap: 8px; }
	#header .site-branding .site-title { font-size: 18px; }
	#header .site-branding img { max-height: 36px; width: auto; }
	#header .ct-header-text { max-width: none; }
}

.sy-search {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	height: 48px;
	padding: 0 18px;
	background: var(--sy-field);
	border-radius: 999px;
	color: var(--sy-muted);
	margin: 0;
}
.sy-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 0 !important;
	font-size: 15px;
	color: var(--sy-ink);
}
.sy-search input[type="search"]:focus { outline: none; }
.sy-search:focus-within { box-shadow: 0 0 0 3px var(--sy-accent-soft), 0 0 0 1px var(--sy-accent) inset; }
.ct-header-text:has(.sy-search) { flex: 1 1 auto; width: 100%; }
.ct-header-text:has(.sy-search) .entry-content { width: 100%; }

/* Sepet düğmesi: bordo hap */
#header .ct-header-cart .ct-cart-item {
	background: var(--sy-accent);
	color: #fff;
	border-radius: 999px;
	padding: 0 16px;
	height: 44px;
	--theme-icon-color: #fff;
	--theme-icon-hover-color: #fff;
	--theme-link-initial-color: #fff;
	--theme-link-hover-color: #fff;
}
#header .ct-header-cart .ct-cart-item:hover { background: var(--sy-accent-ink); }
#header .ct-header-cart .ct-cart-item .ct-label { color: #fff; font-weight: 700; }

/* Sepet sayısı: ikonun sağ üstünde beyaz rozet */
#header .ct-header-cart .ct-icon-container { position: relative; }
#header .ct-header-cart .ct-dynamic-count-cart {
	top: -9px;
	inset-inline-end: -11px;
	inset-inline-start: auto;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: #fff;
	color: var(--sy-accent);
	box-shadow: 0 0 0 2px var(--sy-accent);
	font-size: 11px;
	font-weight: 800;
	line-height: 18px;
	text-align: center;
}
#header .ct-header-cart .ct-cart-item:hover .ct-dynamic-count-cart { box-shadow: 0 0 0 2px var(--sy-accent-ink); }

/* Sepet açılır kutusu: beyaz kart */
#header .ct-header-cart .ct-cart-content {
	--theme-text-color: var(--sy-ink);
	--theme-link-initial-color: var(--sy-ink);
	--theme-link-hover-color: var(--sy-accent);
	--theme-border-color: var(--sy-line);
	background: var(--sy-surface) !important;
	color: var(--sy-ink);
	border: 1px solid var(--sy-line);
	border-radius: 16px;
	box-shadow: 0 18px 40px rgba(28, 28, 30, .14);
	padding: 18px;
}
#header .ct-cart-content .woocommerce-mini-cart-item { border-color: var(--sy-line); }
#header .ct-cart-content .woocommerce-mini-cart-item a:not(.remove):not(.ct-media-container) { color: var(--sy-ink); font-weight: 700; font-size: 15px; line-height: 1.35; }
#header .ct-cart-content .woocommerce-mini-cart-item a:not(.remove):not(.ct-media-container):hover { color: var(--sy-accent); }
#header .ct-cart-content .quantity,
#header .ct-cart-content .quantity .amount { color: var(--sy-muted); font-weight: 600; }
#header .ct-cart-content .remove { color: var(--sy-muted); }
#header .ct-cart-content .remove:hover { color: var(--sy-accent); }
#header .ct-cart-content .woocommerce-mini-cart__total { color: var(--sy-ink); text-transform: none; font-size: 15px; border-color: var(--sy-line); }
#header .ct-cart-content .woocommerce-mini-cart__total .amount { color: var(--sy-ink); font-weight: 800; }
#header .ct-cart-content .woocommerce-mini-cart__buttons .button {
	text-transform: none;
	letter-spacing: 0;
	font-size: 15px;
	font-weight: 700;
	border-radius: 999px;
	min-height: 44px;
	background: var(--sy-field);
	color: var(--sy-ink);
}
#header .ct-cart-content .woocommerce-mini-cart__buttons .button:hover { background: var(--sy-line); color: var(--sy-ink); }
#header .ct-cart-content .woocommerce-mini-cart__buttons .button.checkout { background: var(--sy-accent); color: #fff; }
#header .ct-cart-content .woocommerce-mini-cart__buttons .button.checkout:hover { background: var(--sy-accent-ink); color: #fff; }
#header .ct-cart-content .woocommerce-mini-cart__empty-message { color: var(--sy-muted); }

/* Giriş / kayıt penceresi */
#account-modal .ct-account-modal { border-radius: 16px; overflow: hidden; }
#account-modal .ct-account-modal ul li { letter-spacing: 0; }

/* Menü */
#header .ct-menu-link { font-weight: 600; font-size: 15px; }

#header [data-row="bottom"] > .ct-container { min-height: 50px; }

/* ---------- Ana sayfa ---------- */
.sy-home { display: flex; flex-direction: column; gap: 48px; padding-block: 32px 56px; }
.sy-home > * { margin-block: 0 !important; }
.sy-hero {
	background: var(--sy-surface);
	border-radius: 24px;
	padding: 56px !important;
	gap: 40px !important;
	align-items: center !important;
}
.sy-hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 16px; }
.sy-hero p { font-size: 18px; color: var(--sy-muted); max-width: 30em; margin: 0 0 24px; }
.sy-hero .wp-block-buttons { gap: 12px; }
.sy-btn-soft .wp-block-button__link { background: var(--sy-field) !important; color: var(--sy-ink) !important; }
.sy-btn-soft .wp-block-button__link:hover { background: var(--sy-line) !important; }
.sy-hero .wp-block-button__link { min-height: 48px; padding: 12px 26px; background: var(--sy-accent); color: #fff; }
.sy-hero .wp-block-button:not(.sy-btn-soft) .wp-block-button__link:hover { background: var(--sy-accent-ink); }

.sy-stack { position: relative; height: 320px; max-width: 420px; width: 100%; margin-inline: auto; }
.sy-stack a { position: absolute; display: block; aspect-ratio: 11 / 14; border-radius: 6px; overflow: hidden; box-shadow: 0 16px 32px rgba(0,0,0,.18); }
.sy-stack img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sy-stack .s1 { left: 0; top: 44px; width: 40%; }
.sy-stack .s3 { right: 0; top: 44px; width: 40%; }
.sy-stack .s2 { left: 27%; top: 0; width: 46%; z-index: 2; box-shadow: 0 20px 40px rgba(0,0,0,.26); }

.sy-sec-head { display: flex !important; justify-content: space-between !important; align-items: center !important; gap: 12px; margin-bottom: 18px !important; }
.sy-sec-head h2 { margin: 0; font-size: 26px; font-weight: 800; }
.sy-sec-head p { margin: 0; }
.sy-sec-head a { color: var(--sy-accent); font-weight: 700; white-space: nowrap; }

.sy-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sy-cat { background: var(--sy-surface); border-radius: var(--sy-radius); padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--sy-ink); transition: box-shadow .15s, transform .15s; }
.sy-cat:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-1px); color: var(--sy-ink); }
.sy-cat b { display: block; font-size: 17px; }
.sy-cat small { color: var(--sy-muted); font-size: 14px; }
.sy-cat svg { color: var(--sy-accent); flex-shrink: 0; }

.sy-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.sy-card { background: var(--sy-surface); border-radius: var(--sy-radius); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.sy-card-img { display: block; border-radius: 8px; overflow: hidden; background: var(--sy-field); aspect-ratio: 11 / 14; }
.sy-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sy-tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--sy-accent); background: var(--sy-accent-soft); padding: 3px 10px; border-radius: 999px; }
.sy-card-title { margin: 0; font-size: 15px; line-height: 1.35; font-weight: 700; flex: 1; letter-spacing: 0; }
.sy-card-title a { color: var(--sy-ink); }
.sy-card-title a:hover { color: var(--sy-accent); }
.sy-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sy-card-foot .sy-price { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; line-height: 1.2; }
.sy-price, .sy-price .amount { font-size: 17px; font-weight: 800; color: var(--sy-ink); }
.sy-price .amount { white-space: nowrap; }
.sy-price del, .sy-price del .amount { font-size: 13px; font-weight: 500; color: var(--sy-muted); }
.sy-price ins { text-decoration: none; }
.sy-add { width: 44px; height: 44px; flex-shrink: 0; border-radius: 999px; background: var(--sy-accent); color: #fff !important; display: flex !important; align-items: center; justify-content: center; padding: 0 !important; transition: background .15s; }
.sy-add:hover { background: var(--sy-accent-ink); }
.sy-add { position: relative; }
.sy-card .added_to_cart { display: none; }

.sy-best { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: sy; }
.sy-best li { counter-increment: sy; }
.sy-best a { background: var(--sy-surface); border-radius: var(--sy-radius); padding: 12px; display: flex; gap: 12px; align-items: center; color: var(--sy-ink); height: 100%; }
.sy-best a::before { content: counter(sy); font-size: 26px; font-weight: 800; color: var(--sy-accent); width: 22px; text-align: center; flex-shrink: 0; }
.sy-best img { width: 54px; aspect-ratio: 11 / 14; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.sy-best a > span { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sy-best b { font-size: 14px; line-height: 1.3; }
.sy-best .sy-price, .sy-best .sy-price .amount { font-size: 14px; }

.sy-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sy-perk { background: var(--sy-surface); border-radius: var(--sy-radius); padding: 18px 20px; display: flex; gap: 14px; align-items: center; }
.sy-perk svg { color: var(--sy-accent); flex-shrink: 0; }
.sy-perk b { display: block; }
.sy-perk small { color: var(--sy-muted); font-size: 14px; }

@media (max-width: 999px) {
	.sy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sy-best { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sy-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sy-hero { padding: 40px !important; }
}
@media (max-width: 689px) {
	.sy-home { gap: 36px; padding-block: 20px 40px; }
	.sy-hero { padding: 26px 22px !important; border-radius: 20px; gap: 20px !important; }
	.sy-hero .wp-block-column:last-child { order: -1; }
	.sy-hero p { font-size: 16px; margin-bottom: 18px; }
	.sy-hero .wp-block-button { flex: 1 1 auto; }
	.sy-hero .wp-block-button__link { width: 100%; }
	.sy-stack { height: 190px; max-width: 300px; }
	.sy-stack .s1, .sy-stack .s3 { top: 24px; }
	.sy-sec-head h2 { font-size: 21px; }
	.sy-cats { gap: 10px; }
	.sy-cat { padding: 14px 16px; }
	.sy-cat b { font-size: 15px; }
	.sy-cat small { font-size: 13px; }
	.sy-cat svg { display: none; }
	.sy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.sy-card { padding: 10px; gap: 8px; border-radius: 14px; }
	.sy-card-title { font-size: 14px; }
	.sy-price, .sy-price .amount { font-size: 15px; }
	.sy-best { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.sy-perks { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

.sy-home a,
.sy-best a,
.sy-sec-head a { text-decoration: none !important; }
.home .site-main > .ct-container-full,
.home [class*="ct-container"] > article { padding-top: 0 !important; }

/* ---------- Mağaza ve kategori sayfaları ---------- */
.hero-section[data-type="type-2"] { background: transparent !important; min-height: 0 !important; --min-height: 0px; }
.hero-section[data-type="type-2"] > [class*="ct-container"] { min-height: 0 !important; padding-block: 32px 4px !important; }
.hero-section[data-type="type-2"] .entry-header { text-align: left; align-items: flex-start; }
/* Başlık, ürün ızgarasıyla aynı genişlikte hizalı kalsın */
.hero-section[data-type="type-2"] > .entry-header {
	width: var(--theme-container-width, 88%);
	max-width: var(--theme-normal-container-max-width, 1290px);
	margin-inline: auto;
}
.hero-section .page-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.hero-section .page-description { color: var(--sy-muted); max-width: 60ch; }

.woocommerce [data-products],
[data-products] { --shop-columns: repeat(5, minmax(0, 1fr)) !important; gap: 16px !important; }
@media (max-width: 999px) {
	.woocommerce [data-products], [data-products] { --shop-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 689px) {
	.woocommerce [data-products], [data-products] { --shop-columns: repeat(2, minmax(0, 1fr)) !important; }
}
[data-products] .product {
	background: var(--sy-surface);
	border-radius: var(--sy-radius);
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
[data-products] .product figure { margin: 0; }
[data-products] .product .ct-media-container { border-radius: 8px; overflow: hidden; background: var(--sy-field); }
[data-products] .product .woocommerce-loop-product__title { font-size: 15px; line-height: 1.35; font-weight: 700; margin: 0; letter-spacing: 0; }
[data-products] .product .woocommerce-loop-product__title a { color: var(--sy-ink); }
[data-products] .product .price { display: flex; flex-direction: column; gap: 0; margin: 0; font-size: 17px; font-weight: 800; color: var(--sy-ink); line-height: 1.2; }
[data-products] .product .price del { font-size: 13px; font-weight: 500; color: var(--sy-muted); }
[data-products] .product .price ins { text-decoration: none; }
[data-products] .product .price .amount { white-space: nowrap; }
[data-products] .product .entry-meta { display: none; }
[data-products] .product .ct-woo-card-actions { margin-top: auto; }
[data-products] .product .ct-woo-card-actions .button {
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	width: 100%;
	min-height: 44px;
	border-radius: 999px;
	background: var(--sy-accent);
	color: #fff;
	font-weight: 700;
}
[data-products] .product .ct-woo-card-actions .button:hover { background: var(--sy-accent-ink); }
/* Sepete eklendikten sonra düğmenin yerine gelen "Sepetim" bağlantısı */
[data-products] .product .added_to_cart,
.single-product .summary .added_to_cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 20px;
	border-radius: 999px;
	background: var(--sy-accent-soft) !important;
	color: var(--sy-accent) !important;
	font-size: 15px;
	font-weight: 700;
	border: 0;
	text-decoration: none;
}
[data-products] .product .added_to_cart { width: 100%; }
[data-products] .product .added_to_cart::before,
.single-product .summary .added_to_cart::before { content: "✓"; }
[data-products] .product .added_to_cart:hover,
.single-product .summary .added_to_cart:hover { background: var(--sy-accent) !important; color: #fff !important; }
.single-product .summary .added_to_cart { min-height: 52px; }
.onsale { background: var(--sy-accent) !important; color: #fff !important; border-radius: 999px !important; font-weight: 700; }
.woocommerce-result-count { text-transform: none; letter-spacing: 0; color: var(--sy-muted); }
.woocommerce-ordering select { border-radius: 999px; background-color: var(--sy-surface); }

@media (max-width: 689px) {
	[data-products] { gap: 12px !important; }
	[data-products] .product { padding: 10px; gap: 8px; border-radius: 14px; }
	[data-products] .product .woocommerce-loop-product__title { font-size: 14px; }
	[data-products] .product .price { font-size: 15px; }
	[data-products] .product .ct-woo-card-actions .button { font-size: 14px; padding-inline: 8px; }
}

/* ---------- Ürün sayfası ---------- */
.single-product .product_title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.02em; }
.single-product .summary .price { font-size: 26px; font-weight: 800; color: var(--sy-ink); }
.single-product .summary .price del { font-size: 18px; font-weight: 500; color: var(--sy-muted); }
.single-product .summary .price ins { text-decoration: none; }
.single-product .woocommerce-product-gallery { border-radius: var(--sy-radius); overflow: hidden; }
.single-product .summary .single_add_to_cart_button { border-radius: 999px; min-height: 52px; padding-inline: 32px; background: var(--sy-accent); }
.single-product .summary .single_add_to_cart_button:hover { background: var(--sy-accent-ink); }
.single-product .summary .quantity input { border-radius: 999px; }
.ct-breadcrumbs { text-transform: none; letter-spacing: 0; font-size: 14px; }

.single-product .woocommerce-product-details__short-description { font-size: 15px; line-height: 1.6; }
.single-product .woocommerce-product-details__short-description p { margin: 0 0 6px; }
.single-product .woocommerce-product-details__short-description ul { margin: 6px 0; }
.single-product .woocommerce-product-details__short-description .product-header { margin: 0 0 8px; }
.single-product .woocommerce-product-details__short-description .product_title,
.single-product .woocommerce-product-details__short-description h3 { font-size: 22px; font-weight: 700; margin: 0; letter-spacing: -0.01em; }

.sy-book-info { background: var(--sy-surface); border-radius: var(--sy-radius); padding: 18px 20px; margin-block: 8px 20px; }
.sy-book-info h2 { font-size: 16px; font-weight: 800; margin: 0 0 8px; }
.sy-book-info table { margin: 0; border: 0; width: 100%; font-size: 15px; }
.sy-book-info th, .sy-book-info td { border: 0; border-bottom: 1px solid var(--sy-line); padding: 8px 0; background: none; vertical-align: top; }
.sy-book-info tr:last-child th, .sy-book-info tr:last-child td { border-bottom: 0; }
.sy-book-info th { width: 40%; font-weight: 600; color: var(--sy-muted); text-align: left; padding-right: 12px; }
.sy-book-info td p { margin: 0; }

/* XforWooCommerce seçim kutuları yalnızca seçenekli (varyasyonlu) ürünlerde kalsın */
.product-type-simple .ivpa-register,
.type-product.product-type-simple .ivpa-register,
.single-product .product-type-simple .ivpa-register { display: none !important; }

/* Kategori başlığında arka plan görseli gösterme */
.hero-section[data-type="type-2"] > figure { display: none !important; }
.hero-section[data-type="type-2"] > [class*="ct-container"] { padding-inline: 0; }

/* ---------- Footer ---------- */
.sy-footer { background: var(--sy-dark); color: #fff; }
.sy-footer-cols { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr; gap: 32px; padding-block: 48px 28px; font-size: 15px; }
.sy-footer-cols > div { display: flex; flex-direction: column; gap: 10px; }
.sy-footer-cols b { font-size: 15px; color: #fff; }
.sy-footer-cols a, .sy-footer-cols span { color: #b4b4b9; text-decoration: none; }
.sy-footer-cols a:hover { color: #fff; }
.sy-footer-cols .sy-footer-name { font-size: 19px; font-weight: 800; color: #fff; }
.sy-footer-cols .sy-footer-sub { margin-top: 14px; }
#footer [data-row="bottom"] { background: var(--sy-dark) !important; border-top: 1px solid #333336; }
#footer [data-row="bottom"] .ct-footer-copyright { color: #a0a0a6; font-size: 14px; }
#footer [data-row="bottom"] a { color: #a0a0a6; }
@media (max-width: 999px) { .sy-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 689px) { .sy-footer-cols { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 32px 20px; } }

/* ---------- Genel öğeler ---------- */
.ct-button,
.button,
button.button,
.wp-element-button,
.wp-block-button__link {
	border-radius: 999px !important;
	font-weight: 700;
}

/* ---------- Kartlarda sepet sayacı (− adet +) ---------- */
.sy-qty { display: none; }
.sy-in-cart > .add_to_cart_button,
.sy-in-cart > .added_to_cart { display: none !important; }
.sy-in-cart > .sy-qty {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 44px;
	border-radius: 999px;
	background: var(--sy-accent);
	color: #fff;
	padding: 0 4px;
}
[data-products] .sy-in-cart > .sy-qty { width: 100%; }
.sy-card .sy-in-cart > .sy-qty { width: 112px; flex-shrink: 0; }
.sy-qty-btn {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #fff;
	cursor: pointer;
}
.sy-qty-btn:hover { background: rgba(255, 255, 255, .16); }
.sy-qty-btn:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.sy-qty-n { min-width: 24px; text-align: center; font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.sy-qty.is-busy { opacity: .7; }
.sy-qty-tip {
	position: absolute;
	bottom: calc(100% + 8px);
	right: 0;
	width: max-content;
	max-width: 220px;
	padding: 8px 12px;
	border-radius: 10px;
	background: var(--sy-ink);
	color: #fff;
	font-size: 13px;
	line-height: 1.35;
	z-index: 5;
}
@media (max-width: 689px) {
	.sy-card .sy-in-cart > .sy-qty { width: 100%; }
	.sy-card .sy-card-foot.sy-in-cart { flex-direction: column; align-items: stretch; }
}

/* Sepete eklenirken: düğmenin ortasında tek bir dönen halka */
@keyframes sy-spin { to { transform: rotate(360deg); } }
.sy-add.loading > svg { opacity: 0; }
[data-products] .ct-woo-card-actions .button.loading { color: transparent !important; position: relative; }
.sy-add.loading::after,
[data-products] .ct-woo-card-actions .button.loading::after {
	content: "" !important;
	position: absolute !important;
	inset: 0 !important;
	width: 18px !important;
	height: 18px !important;
	margin: auto !important;
	padding: 0 !important;
	border: 2px solid rgba(255, 255, 255, .35) !important;
	border-top-color: #fff !important;
	border-radius: 50% !important;
	background: none !important;
	font-size: 0 !important;
	opacity: 1 !important;
	animation: sy-spin .7s linear infinite !important;
}
.sy-add.added::after,
[data-products] .ct-woo-card-actions .button.added::after { display: none !important; }

/* ---------- Ürün sayfası paylaşım satırı ---------- */
.sy-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sy-share-label { font-size: 14px; font-weight: 700; color: var(--sy-muted); margin-right: 4px; }
.sy-share-btn {
	position: relative;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--sy-field);
	color: var(--sy-ink) !important;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.sy-share-btn:hover, .sy-share-btn:focus-visible { background: var(--sy-accent); color: #fff !important; }
.sy-share-done { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 8px; background: var(--sy-ink); color: #fff; opacity: 0; pointer-events: none; transition: opacity .15s; }
.sy-share-copy.is-done .sy-share-done { opacity: 1; }
.sy-share { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.sy-share-row { display: flex; align-items: center; gap: 8px; }
.sy-wa-ask {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	padding: 0 20px;
	border-radius: 999px;
	background: var(--sy-surface);
	border: 1.5px solid var(--sy-line);
	color: var(--sy-ink) !important;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: border-color .15s, color .15s;
}
.sy-wa-ask svg { color: #1f9e55; }
.sy-wa-ask:hover { border-color: #1f9e55; color: #1f9e55 !important; }

/* XforWooCommerce rozetleri (ör. eski "Ön satış indirimi %20") kapakların üstüne biniyor; Blocksy'nin "İndirim" rozeti yeterli. */
.isb_sale_badge, [class*="isb_"][class*="badge"] { display: none !important; }

/* Mobil header: arama kutusu üst satırla tek blok, çizgiye yapışmadan */
#header [data-device="mobile"] [data-row="bottom"] {
	border-top: 0 !important;
	border-bottom: 1px solid var(--sy-line);
}
#header [data-device="mobile"] [data-row="bottom"] > .ct-container { min-height: 0; padding-block: 0 12px; }
#header [data-device="mobile"] .sy-search { height: 44px; }

/* iOS, 16 px'ten küçük yazılı alanlara dokununca sayfayı yakınlaştırır; mobilde tüm giriş alanları 16 px. */
@media (max-width: 999px) {
	input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="number"],
	input[type="password"], input[type="url"], select, textarea,
	.sy-search input[type="search"] { font-size: 16px !important; }
}

/* ---------- Blog (Spor Günlüğü) ---------- */
.entries .entry-card { border-radius: var(--sy-radius); overflow: hidden; background: var(--sy-surface); }
.entries .entry-card .entry-title { font-weight: 800; letter-spacing: -0.01em; }
.entries .entry-card .entry-meta,
.single-post .entry-header .entry-meta { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--sy-muted); }

/* ---------- Mobil yan menü: beyaz panel ---------- */
#offcanvas { background-color: rgba(28, 28, 30, .45) !important; }
#offcanvas .ct-panel-inner { background: var(--sy-surface) !important; box-shadow: 0 0 40px rgba(0, 0, 0, .18); }
#offcanvas .ct-panel-actions { border-bottom: 1px solid var(--sy-line); }
#offcanvas .ct-toggle-close { --theme-icon-color: var(--sy-ink); color: var(--sy-ink); }
#offcanvas .mobile-menu { --theme-link-initial-color: var(--sy-ink); --theme-link-hover-color: var(--sy-accent); --theme-link-active-color: var(--sy-accent); }
#offcanvas .mobile-menu li a { color: var(--sy-ink); font-size: 17px; font-weight: 700; padding-block: 12px; border-bottom: 1px solid var(--sy-line); }
#offcanvas .mobile-menu li a:hover,
#offcanvas .mobile-menu .current-menu-item > a { color: var(--sy-accent); }

/* ---------- Kurumsal sayfalar (Yayınevi) ---------- */
.sy-eyebrow { color: var(--sy-accent) !important; font-weight: 800; font-size: 14px !important; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 10px !important; }
.sy-facts > div { background: var(--sy-surface); border-radius: var(--sy-radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.sy-facts b { font-size: 20px; font-weight: 800; color: var(--sy-accent); }
.sy-facts span { color: var(--sy-muted); font-size: 15px; line-height: 1.5; }
.sy-prose { background: var(--sy-surface); border-radius: 24px; padding: 40px 48px !important; }
.sy-prose > * { max-width: 760px; }
.sy-prose h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 16px; }
.sy-prose p { font-size: 17px; line-height: 1.7; color: var(--sy-ink); margin: 0 0 14px; }
.sy-timeline { list-style: none; margin: 8px 0 0; padding: 0; position: relative; }
.sy-timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--sy-line); }
.sy-timeline li { position: relative; padding: 0 0 22px 36px; }
.sy-timeline li:last-child { padding-bottom: 0; }
.sy-timeline li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--sy-surface); border: 3px solid var(--sy-accent); }
.sy-timeline b { display: block; font-size: 17px; font-weight: 800; color: var(--sy-accent); margin-bottom: 4px; }
.sy-timeline p { margin: 0; font-size: 16px; }
.sy-cta { background: var(--sy-accent); color: #fff; border-radius: 24px; padding: 40px 48px !important; text-align: center; }
.sy-cta h2 { color: #fff; font-size: 28px; font-weight: 800; margin: 0 0 8px; }
.sy-cta p { color: rgba(255, 255, 255, .85); margin: 0 0 20px; }
.sy-cta .wp-block-buttons { justify-content: center; }
.sy-cta .wp-block-button__link { background: #fff; color: var(--sy-accent); font-weight: 700; border-radius: 999px; min-height: 48px; padding: 12px 28px; }
.sy-cta .wp-block-button__link:hover { background: var(--sy-accent-soft); color: var(--sy-accent-ink); }
@media (max-width: 689px) {
	.sy-facts { grid-template-columns: minmax(0, 1fr); }
	.sy-prose, .sy-cta { padding: 26px 22px !important; border-radius: 20px; }
	.sy-prose h2, .sy-cta h2 { font-size: 22px; }
	.sy-prose p { font-size: 16px; }
}

/* ---------- Sepet ve ödeme ---------- */
.woocommerce-cart .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout .ct-order-review {
	background: var(--sy-surface);
	border: 0 !important;
	border-radius: var(--sy-radius);
}
.woocommerce-cart .cart-collaterals,
.woocommerce-checkout .ct-order-review { --theme-border-color: var(--sy-line); }
.woocommerce form .input-text,
.woocommerce form select,
.woocommerce-cart #coupon_code,
.woocommerce .select2-container .select2-selection {
	border-radius: 10px !important;
	background: var(--sy-surface);
}
.woocommerce-cart #coupon_code { border-radius: 999px !important; padding-inline: 18px; }
.woocommerce-cart button[name="update_cart"] { background: var(--sy-field) !important; color: var(--sy-ink) !important; border-radius: 999px; }
.woocommerce-cart button[name="update_cart"]:disabled { opacity: .55; }
.woocommerce-message,
.woocommerce-info { border-radius: var(--sy-radius) !important; background: var(--sy-surface) !important; border-left: 4px solid var(--sy-accent) !important; }
.woocommerce-checkout #payment .payment_box,
.woocommerce-checkout #payment ul.payment_methods > li { border-radius: 12px; }

/* Sipariş alındı sayfası: banka bilgileri kartı */
.woocommerce-order .woocommerce-bacs-bank-details { background: var(--sy-surface); border-radius: var(--sy-radius); padding: 20px 24px; margin-block: 16px 24px; }
.woocommerce-order .wc-bacs-bank-details-heading { font-size: 20px; margin: 0 0 8px; }
.woocommerce-order .wc-bacs-bank-details-account-name { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.woocommerce-order .wc-bacs-bank-details { margin: 0; padding-left: 18px; }
.woocommerce-order .woocommerce-order-overview { border-radius: var(--sy-radius); overflow: hidden; background: var(--sy-surface); }

/* Ürün sayfası: stok kodu, kategoriler, etiketler (okunaklı kontrast, büyük harf yok) */
.single-product .product_meta { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--sy-ink); }
.single-product .product_meta { --theme-link-initial-color: var(--sy-muted); --theme-link-hover-color: var(--sy-accent); }
.single-product .product_meta a { color: var(--sy-muted) !important; opacity: 1 !important; text-transform: none; }
.single-product .product_meta a:hover { color: var(--sy-accent) !important; }

/* ---------- Yazarlar ve Uluslararası Yayın sayfaları ---------- */
.sy-page-head { padding-top: 8px; }
.sy-page-head h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 12px; }
.sy-page-head p:not(.sy-eyebrow) { font-size: 18px; color: var(--sy-muted); max-width: 40em; margin: 0; }
.sy-authors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sy-author { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; align-items: start; background: var(--sy-surface); border-radius: var(--sy-radius); padding: 20px; }
.sy-author img { width: 132px; height: 132px; object-fit: cover; object-position: top; border-radius: 14px; display: block; }
.sy-author h2 { font-size: 20px; font-weight: 800; margin: 0 0 8px; letter-spacing: -0.01em; }
.sy-author p { font-size: 15px; line-height: 1.6; color: var(--sy-muted); margin: 0 0 12px; }
.sy-author a { color: var(--sy-accent); font-weight: 700; text-decoration: none; }
.sy-author a:hover { color: var(--sy-accent-ink); }
.sy-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sy-link-card { display: flex; flex-direction: column; gap: 10px; background: var(--sy-surface); border-radius: var(--sy-radius); padding: 24px; color: var(--sy-ink) !important; text-decoration: none; border: 1.5px solid transparent; transition: border-color .15s; }
.sy-link-card:hover { border-color: var(--sy-accent); }
.sy-link-card img { height: 32px; width: auto; max-width: 140px; object-fit: contain; align-self: flex-start; }
.sy-link-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sy-accent-soft); color: var(--sy-accent); }
.sy-link-card b { font-size: 18px; font-weight: 800; }
.sy-link-card span:not(.sy-link-icon) { color: var(--sy-muted); font-size: 15px; line-height: 1.55; }
.sy-link-card em { margin-top: auto; font-style: normal; font-weight: 700; color: var(--sy-accent); }
@media (max-width: 999px) {
	.sy-authors { grid-template-columns: minmax(0, 1fr); }
	.sy-links { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 689px) {
	.sy-author { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 16px; }
	.sy-author img { width: 88px; height: 88px; }
	.sy-author h2 { font-size: 18px; }
	.sy-page-head p:not(.sy-eyebrow) { font-size: 16px; }
}

/* ---------- Çerez onayı ---------- */
.sy-cerez {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 99999;
	width: min(440px, calc(100vw - 32px));
	background: var(--sy-surface);
	color: var(--sy-ink);
	border-radius: var(--sy-radius);
	box-shadow: 0 18px 50px rgba(28, 28, 30, .22);
	padding: 20px;
	font-size: 14px;
	line-height: 1.55;
}
.sy-cerez[hidden] { display: none !important; }
.sy-cerez-text { margin: 0 0 14px; }
.sy-cerez-text a { color: var(--sy-accent); font-weight: 700; }
.sy-cerez-prefs { display: none; flex-direction: column; gap: 10px; margin: 0 0 14px; }
.sy-cerez.is-prefs .sy-cerez-prefs { display: flex; }
.sy-cerez-row { display: flex; gap: 10px; align-items: flex-start; background: var(--sy-bg); border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.sy-cerez-row input { margin-top: 3px; accent-color: var(--sy-accent); width: 18px; height: 18px; flex-shrink: 0; }
.sy-cerez-row b { display: block; }
.sy-cerez-row span { color: var(--sy-muted); font-size: 13px; }
.sy-cerez-row b { color: var(--sy-ink); font-size: 14px; }
.sy-cerez-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sy-cerez-btn {
	min-height: 44px;
	border: 0;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	background: var(--sy-accent);
	color: #fff;
}
.sy-cerez-btn:hover { background: var(--sy-accent-ink); }
.sy-cerez-btn.sy-cerez-link { grid-column: 1 / -1; order: 3; min-height: 32px; background: none; color: var(--sy-muted); font-weight: 600; text-decoration: underline; }
.sy-cerez-btn.sy-cerez-save { display: none; grid-column: 1 / -1; }
.sy-cerez.is-prefs .sy-cerez-link { display: none; }
.sy-cerez.is-prefs .sy-cerez-save { display: block; order: -1; background: var(--sy-field); color: var(--sy-ink); }
.sy-cerez.is-prefs .sy-cerez-save:hover { background: var(--sy-line); }

/* ---------- Yasal sayfalar ---------- */
.sy-yasal { font-size: 16px; line-height: 1.7; }
.sy-yasal h2 { font-size: 21px; font-weight: 800; margin: 32px 0 10px; letter-spacing: -0.01em; }
.sy-yasal ul { padding-left: 20px; }
.sy-yasal li { margin-bottom: 6px; }
.sy-yasal-tablo { width: 100%; border-collapse: collapse; background: var(--sy-surface); border-radius: 12px; overflow: hidden; margin: 8px 0 16px; font-size: 15px; }
.sy-yasal-tablo th, .sy-yasal-tablo td { padding: 10px 14px; border-bottom: 1px solid var(--sy-line); text-align: left; vertical-align: top; }
.sy-yasal-tablo tbody th { width: 34%; color: var(--sy-muted); font-weight: 600; }
.sy-yasal-tablo thead th { background: var(--sy-field); font-weight: 700; }
.sy-yasal-tablo tfoot th, .sy-yasal-tablo tfoot td { font-weight: 700; }
.sy-yasal-not { color: var(--sy-muted); font-size: 14px; }
.sy-dijital-onay { margin-top: 10px !important; }
.sy-sozlesme-kopya { margin-top: 24px; background: var(--sy-surface); border-radius: var(--sy-radius); padding: 16px 20px; font-size: 14px; }
.sy-sozlesme-kopya summary { cursor: pointer; font-weight: 700; }
@media (max-width: 689px) {
	.sy-yasal-tablo { font-size: 14px; }
	.sy-yasal-tablo th, .sy-yasal-tablo td { padding: 8px 10px; }
}

/* ---------- İletişim ---------- */
.sy-contact .sy-link-card a { color: var(--sy-accent); font-weight: 700; text-decoration: none; }
.sy-contact .sy-link-card span:not(.sy-link-icon) a { font-size: 16px; }
.sy-banka { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; margin: 0; font-size: 16px; }
.sy-banka dt { color: var(--sy-muted); font-weight: 600; }
.sy-banka dd { margin: 0; font-weight: 600; }
.sy-iban { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.sy-iban-copy { display: inline-grid; width: 32px; height: 32px; vertical-align: middle; margin-left: 6px; }
.sy-prose .wpforms-container { max-width: 640px; }
.sy-prose .wpforms-field input, .sy-prose .wpforms-field textarea { border-radius: 10px !important; }
.sy-prose .wpforms-submit { background: var(--sy-accent) !important; color: #fff !important; border-radius: 999px !important; padding: 12px 28px !important; font-weight: 700 !important; border: 0 !important; }
@media (max-width: 689px) { .sy-banka { grid-template-columns: minmax(0, 1fr); gap: 2px; } .sy-banka dd { margin-bottom: 8px; } }
