/* ==========================================================================
   Ayaz Kitabevi — ana stiller
   ========================================================================== */

:root {
	/* Logodan alınan renkler: Ayaz laciverti #164768, mürekkep siyahı #0B0B0C, buz mavisi */
	--ayk-tea: #164768;        /* ana renk: Ayaz laciverti */
	--ayk-tea-dark: #0D2E45;
	--ayk-ink: #0B0B0C;
	--ayk-body: #2C3640;
	--ayk-muted: #5B6774;
	--ayk-paper: #F6F8FA;
	--ayk-card: #FFFFFF;
	--ayk-cream: #EEF4F8;      /* açık buz paneli */
	--ayk-sand: #E3EDF4;       /* buz mavisi: karşılama zemini, lacivert üstünde yazı */
	--ayk-line: #DDE4EA;
	--ayk-field: #C3CDD6;
	--ayk-sesame: #E3EDF4;
	--ayk-lilac: #BFD7E8;      /* kırağı: başlık vurgusu */
	--ayk-green: #1E6B45;
	--ayk-light: #F6F8FA;
	--ayk-rule: #DDE4EA;
	--ayk-margin: #DDE4EA;
	--ayk-serif: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ayk-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ayk-hand: "Montserrat", system-ui, sans-serif;
	--ayk-radius: 10px;
	--ayk-radius-lg: 14px;
	--ayk-radius-btn: 8px;
	--ayk-wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--ayk-paper);
	color: var(--ayk-ink);
	font-family: var(--ayk-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--ayk-tea); text-decoration: none; }
a:hover { color: var(--ayk-tea-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 3px solid var(--ayk-sesame); outline-offset: 2px;
	outline-offset: 2px;
}

h1, h2, h3, h4 { font-family: var(--ayk-serif); font-weight: 400; line-height: 1.15; color: var(--ayk-ink); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; width: auto; height: auto; margin: 0;
	z-index: 1000; top: 8px; left: 8px; padding: 12px 18px;
	background: var(--ayk-ink); color: var(--ayk-light); border-radius: var(--ayk-radius-btn);
}

.ayk-container { max-width: var(--ayk-wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Form öğeleri ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"],
input[type="number"], input[type="url"], select, textarea {
	font: inherit;
	color: var(--ayk-ink);
	background: #fff;
	border: 1.5px solid var(--ayk-field);
	border-radius: 12px;
	padding: 10px 14px;
	min-height: 46px;
	max-width: 100%;
}
textarea { min-height: 120px; }
input:focus, select:focus, textarea:focus { border-color: var(--ayk-ink); outline: none; }

/* ---------- Düğmeler ---------- */
.ayk-btn, .button, button[type="submit"], input[type="submit"], .wp-element-button, .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 26px;
	border: 0;
	border-radius: var(--ayk-radius-btn);
	background: var(--ayk-ink);
	color: var(--ayk-light);
	font-family: var(--ayk-sans);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.ayk-btn:hover, .button:hover, button[type="submit"]:hover, input[type="submit"]:hover, .wp-element-button:hover, .wp-block-button__link:hover {
	background: var(--ayk-tea);
	color: var(--ayk-light);
}
.ayk-btn--primary { background: var(--ayk-tea); min-height: 52px; padding: 0 28px; }
.ayk-btn--primary:hover { background: var(--ayk-tea-dark); }
.ayk-btn--outline { background: transparent; color: var(--ayk-ink); border: 1.5px solid var(--ayk-ink); min-height: 52px; }
.ayk-btn--outline:hover { background: var(--ayk-ink); color: var(--ayk-light); }
.ayk-btn--sesame { background: var(--ayk-sesame); color: var(--ayk-ink); min-height: 52px; }
.ayk-btn--sesame:hover { background: #fff; color: var(--ayk-ink); }
.ayk-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.ayk-link-strong { font-weight: 700; }
.ayk-muted { color: var(--ayk-muted); }
.ayk-kicker {
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--ayk-tea);
}
.ayk-kicker--light { color: var(--ayk-tea); }
.ayk-kicker--hand { font-family: var(--ayk-hand); font-size: 28px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ayk-tea); margin-bottom: 10px; }
/* Fosforlu kalem vurgusu */
.ayk-hl { background: linear-gradient(transparent 56%, var(--ayk-sesame) 56%, var(--ayk-sesame) 92%, transparent 92%); padding: 0 .08em; }

/* ---------- Üst çubuk ---------- */
.ayk-topbar { background: var(--ayk-tea); color: var(--ayk-light); font-size: 13px; }
.ayk-topbar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.ayk-topbar a { color: var(--ayk-light); }
.ayk-topbar a:hover { color: #fff; text-decoration: underline; }
.ayk-topbar-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---------- Üst bilgi ---------- */
.ayk-header { background: var(--ayk-paper); border-bottom: 1px solid var(--ayk-line); position: relative; z-index: 50; }
.ayk-header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 20px; padding-bottom: 18px; }
.ayk-header-brand { display: flex; align-items: center; }
.ayk-brand { display: flex; align-items: center; gap: 12px; color: var(--ayk-ink); }
.ayk-brand:hover { color: var(--ayk-ink); }
.ayk-brand-text { display: flex; flex-direction: column; line-height: 1; }
.ayk-brand-name { font-family: var(--ayk-serif); font-weight: 700; font-size: 26px; letter-spacing: -0.5px; }
.ayk-brand-tagline { font-size: 12px; color: var(--ayk-muted); margin-top: 5px; font-style: italic; }
.custom-logo-link img, .ayk-brand-logo { max-height: 78px; height: 78px; width: auto; display: block; }

.ayk-search { flex: 1 1 320px; display: flex; min-width: 0; }
.ayk-search input[type="search"] {
	flex: 1; min-width: 0; height: 48px; border-radius: var(--ayk-radius-btn) 0 0 999px; border-right: 0; padding: 0 18px; font-size: 15px;
}
.ayk-search button {
	min-height: 48px; height: 48px; border-radius: 0 999px 999px 0; padding: 0 22px;
}
.ayk-search button .ayk-icon { display: none; }
.ayk-search--inline { max-width: 560px; margin: 24px 0; }

.ayk-header-actions { display: flex; align-items: center; gap: 8px; }
.ayk-icon-btn {
	width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: var(--ayk-radius-btn); color: var(--ayk-ink);
}
.ayk-icon-btn:hover { background: var(--ayk-cream); color: var(--ayk-ink); }

.ayk-cart-link {
	display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px;
	border-radius: var(--ayk-radius-btn); background: var(--ayk-cream); color: var(--ayk-ink); font-weight: 600; font-size: 14px; white-space: nowrap;
}
.ayk-cart-link:hover { background: var(--ayk-sand); color: var(--ayk-ink); }
.ayk-cart-count {
	min-width: 24px; height: 24px; padding: 0 7px; border-radius: var(--ayk-radius-btn); background: var(--ayk-sesame); color: var(--ayk-ink);
	display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}
.ayk-cart-total .woocommerce-Price-amount { font-weight: 700; }

.ayk-menu-toggle {
	display: none; width: 46px; height: 46px; min-height: 46px; padding: 0; border: 0; border-radius: var(--ayk-radius-btn);
	background: transparent; color: var(--ayk-ink); align-items: center; justify-content: center; cursor: pointer;
}
.ayk-menu-toggle:hover { background: var(--ayk-cream); color: var(--ayk-ink); }

/* ---------- Ana menü ---------- */
.ayk-nav .ayk-container { padding-bottom: 14px; }
.ayk-menu, .ayk-menu ul { list-style: none; margin: 0; padding: 0; }
.ayk-menu { display: flex; flex-wrap: wrap; gap: 4px 26px; font-size: 15px; font-weight: 600; }
.ayk-menu > li { position: relative; }
.ayk-menu a { display: inline-block; padding: 6px 0; color: var(--ayk-ink); }
.ayk-menu a:hover, .ayk-menu .current-menu-item > a, .ayk-menu .current-menu-ancestor > a, .ayk-menu .current-product_cat-ancestor > a { color: var(--ayk-tea); }
.ayk-menu .menu-item-has-children > a::after { content: " ▾"; font-size: 12px; }
.ayk-menu .sub-menu {
	position: absolute; top: 100%; left: -16px; min-width: 220px; padding: 10px;
	background: var(--ayk-card); border: 1px solid var(--ayk-line); border-radius: 16px;
	box-shadow: 0 18px 40px rgba(22, 71, 104, .12);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .15s ease; z-index: 60;
}
.ayk-menu li:hover > .sub-menu, .ayk-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ayk-menu .sub-menu a { display: block; padding: 9px 12px; border-radius: 10px; font-weight: 500; }
.ayk-menu .sub-menu a:hover { background: var(--ayk-cream); }

/* ---------- Ana sayfa: hero ---------- */
.ayk-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 56px; }
.ayk-hero-text { flex: 1 1 460px; min-width: 0; }
.ayk-hero-title { margin: 0; font-size: clamp(40px, 6vw, 76px); line-height: 1.03; letter-spacing: -1.5px; }
.ayk-hero-lead { margin: 24px 0 32px; font-size: 18px; color: #3A4652; max-width: 540px; }
.ayk-hero-art {
	flex: 1 1 420px; min-width: 0; height: 440px; position: relative; overflow: hidden;
	border-radius: var(--ayk-radius); border: 1px solid var(--ayk-line); box-shadow: 0 18px 40px rgba(22, 71, 104, .10);
	background-color: #fff;
	background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, var(--ayk-rule) 31px, var(--ayk-rule) 32px);
}
.ayk-hero-margin { position: absolute; top: 0; bottom: 0; left: 56px; width: 2px; background: var(--ayk-margin); }
/* Raf yerine yatan tükenmez kalem */
.ayk-hero-pen { position: absolute; left: 7%; bottom: 40px; width: 89%; height: 26px; }
.ayk-shelf {
	position: absolute; left: 76px; right: 5%; bottom: 64px; top: 32px;
	display: flex; align-items: flex-end; justify-content: center; gap: 2%;
}
.ayk-shelf-book { display: block; flex: 0 1 30%; min-width: 0; }
.ayk-shelf-book--center { flex-basis: 38%; }
.ayk-shelf-book img { transition: transform .2s ease; }
a.ayk-shelf-book:hover img { transform: translateY(-8px); }
.ayk-shelf-book .ayk-img { aspect-ratio: auto; }
.ayk-shelf-book .ayk-img img { width: 100%; height: auto; max-height: 340px; object-fit: contain; object-position: bottom center; }
.ayk-shelf-book--center .ayk-img img { max-height: 360px; }
.ayk-shelf-book .ayk-img--placeholder { aspect-ratio: 2 / 3; border-radius: 4px 10px 10px 4px; overflow: hidden; box-shadow: 0 20px 32px rgba(22, 71, 104, .22); }

/* ---------- Kitap görseli kutusu (her yerde aynı) ----------
   Görsel kırpılmaz; seçilen orandaki kutuya ortalanır. Açık zeminli tanıtım
   görsellerinin zemini, “multiply” harmanlamasıyla sayfa rengine karışır. */
.ayk-img {
	display: flex; align-items: center; justify-content: center; width: 100%;
	aspect-ratio: var(--ayk-img-ratio, 1 / 1); overflow: hidden;
}
.ayk-img img {
	display: block; width: 100%; height: 100%; object-fit: contain;
	mix-blend-mode: multiply; background: transparent; border-radius: 0; box-shadow: none;
}
.ayk-img--placeholder { aspect-ratio: var(--ayk-img-ratio, 1 / 1); }
.ayk-img--placeholder .ayk-cover { height: 100%; }

/* Kapak yer tutucusu */
.ayk-cover {
	display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 100%;
	padding: 10% 9%; font-family: var(--ayk-serif); font-size: clamp(14px, 1.6vw, 22px); line-height: 1.15;
}
.ayk-cover-author { font-family: var(--ayk-sans); font-size: 12px; opacity: .85; }
.ayk-cover--murekkep { background: var(--ayk-tea); color: #fff; }
.ayk-cover--fosforlu { background: var(--ayk-sesame); color: var(--ayk-ink); }
.ayk-cover--lavanta { background: #A9C2D4; color: var(--ayk-ink); }
.ayk-cover--kursun { background: #1E2A33; color: var(--ayk-light); }
.ayk-cover--kagit { background: #fff; color: var(--ayk-ink); border: 1px solid var(--ayk-line); }
.ayk-cover--acik { background: var(--ayk-sand); color: var(--ayk-ink); }

/* ---------- Güven şeridi ---------- */
.ayk-trust {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px;
	background: var(--ayk-line); border: 1px solid var(--ayk-line); border-radius: var(--ayk-radius); overflow: hidden;
}
.ayk-trust-item { background: var(--ayk-card); padding: 20px 24px; display: flex; flex-direction: column; gap: 2px; }
.ayk-trust-item span { font-size: 14px; color: var(--ayk-muted); }

/* ---------- Bölümler ---------- */
.ayk-section { padding-top: 72px; }
.ayk-section--last { padding-bottom: 80px; }
.ayk-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.ayk-section-title { margin: 0 0 24px; font-size: clamp(28px, 3vw, 36px); }
.ayk-section-head .ayk-section-title { margin: 0; }

.ayk-cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ayk-cat-tile {
	display: flex; flex-direction: column; justify-content: space-between; min-height: 128px; padding: 20px;
	border-radius: 16px; transition: transform .15s ease, box-shadow .15s ease;
}
.ayk-cat-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(22, 71, 104, .14); }
.ayk-cat-name { font-family: var(--ayk-serif); font-size: 23px; font-weight: 600; line-height: 1.1; overflow-wrap: anywhere; hyphens: auto; }
.ayk-cat-count { font-size: 13px; font-weight: 600; margin-top: 12px; }
.ayk-tone-0, .ayk-tone-0:hover { background: var(--ayk-tea); color: #fff; }
.ayk-tone-1, .ayk-tone-1:hover { background: var(--ayk-sesame); color: var(--ayk-ink); }
.ayk-tone-2, .ayk-tone-2:hover { background: var(--ayk-card); color: var(--ayk-ink); border: 1px solid var(--ayk-line); }
.ayk-tone-3, .ayk-tone-3:hover { background: #1E2A33; color: var(--ayk-light); }
.ayk-tone-4, .ayk-tone-4:hover { background: var(--ayk-sand); color: var(--ayk-ink); }
.ayk-tone-5, .ayk-tone-5:hover { background: var(--ayk-cream); color: var(--ayk-ink); }
.ayk-cat-parent { display: block; font-family: var(--ayk-sans); font-size: 12px; font-weight: 600; opacity: .8; margin-bottom: 2px; }
/* Kategori sayısı 4'ün katı değilse eklenen “Tüm kategoriler” kutusu */
.ayk-cat-tile--all, .ayk-cat-tile--all:hover { background: transparent; color: var(--ayk-ink); border: 1.5px dashed var(--ayk-field); }
.ayk-cat-tile--all:hover { border-color: var(--ayk-ink); }

/* ---------- Söz vitrini (kayan) ---------- */
.ayk-quotes {
	color: var(--ayk-ink); border-radius: var(--ayk-radius-lg); overflow: hidden; position: relative;
	border: 1px solid var(--ayk-line); box-shadow: 0 18px 40px rgba(22, 71, 104, .08);
	background-color: #fff;
	background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, var(--ayk-rule) 31px, var(--ayk-rule) 32px);
}
.ayk-quotes::before { content: ""; position: absolute; top: 0; bottom: 0; left: 64px; width: 2px; background: var(--ayk-margin); z-index: 0; pointer-events: none; }
.ayk-quotes-viewport { overflow: hidden; touch-action: pan-y; }
.ayk-quotes-track { display: flex; transition: transform .6s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
.ayk-quote-slide {
	flex: 0 0 100%; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px;
	padding: 48px 56px 28px 104px;
}
.ayk-quote-body { flex: 1 1 480px; min-width: 0; }
.ayk-quotes blockquote { margin: 0; }
.ayk-quotes blockquote p { margin: 0; font-family: var(--ayk-hand); font-weight: 600; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.2; color: var(--ayk-tea); }
.ayk-quotes blockquote footer { margin-top: 14px; color: var(--ayk-body); font-size: 16px; }
.ayk-quotes cite { font-style: italic; }
.ayk-quote-book { margin: 0; color: var(--ayk-ink); font-size: clamp(28px, 3.4vw, 42px); }
.ayk-quote-author { margin: 8px 0 0; color: var(--ayk-muted); font-size: 17px; }
.ayk-quote-desc { margin: 14px 0 0; color: var(--ayk-body); max-width: 560px; }
.ayk-quote-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.ayk-quote-price { font-size: 22px; font-weight: 700; color: var(--ayk-ink); }
.ayk-quote-price del { color: var(--ayk-muted); font-size: 16px; font-weight: 500; margin-right: 6px; }
.ayk-quote-price ins { text-decoration: none; }
.ayk-quotes .ayk-quote-actions .button { background: var(--ayk-tea) !important; color: #fff !important; min-height: 48px; }
.ayk-quotes .ayk-quote-actions .button:hover { background: var(--ayk-tea-dark) !important; }
.ayk-quotes .ayk-quote-actions .added_to_cart { color: var(--ayk-tea); margin: 0; }
.ayk-quote-more { color: var(--ayk-tea); font-weight: 700; }
.ayk-quote-more:hover { color: var(--ayk-tea-dark); }
.ayk-quote-cover {
	flex: 0 1 280px; min-width: 200px; display: block; background: #fff; border: 1px solid var(--ayk-line); border-radius: var(--ayk-radius); padding: 18px;
}
.ayk-quote-cover .ayk-img { aspect-ratio: 1 / 1; }
.ayk-quotes-nav { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 24px 28px; }
.ayk-quotes-prev, .ayk-quotes-next {
	width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: var(--ayk-radius-btn); border: 1.5px solid var(--ayk-field);
	background: #fff; color: var(--ayk-ink); font-size: 18px;
}
.ayk-quotes-prev:hover, .ayk-quotes-next:hover { background: var(--ayk-tea); color: #fff; border-color: var(--ayk-tea); }
.ayk-quotes-dots { display: flex; gap: 4px; }
.ayk-quotes-dot {
	width: 28px; height: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; position: relative; cursor: pointer;
}
.ayk-quotes-dot::before {
	content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
	border-radius: 3px; background: var(--ayk-field); transition: all .2s ease;
}
.ayk-quotes-dot:hover { background: transparent; }
.ayk-quotes-dot.is-active::before { background: var(--ayk-tea); width: 22px; margin-left: -11px; }

/* ---------- Çok okunanlar ---------- */
.ayk-best { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ayk-best-card {
	display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: var(--ayk-radius);
	background: var(--ayk-card); border: 1px solid var(--ayk-line); color: var(--ayk-ink); height: 100%;
}
.ayk-best-card:hover { border-color: var(--ayk-field); box-shadow: 0 12px 24px rgba(22, 71, 104, .08); color: var(--ayk-ink); }
.ayk-best-cover { width: 104px; flex: none; position: relative; display: block; }
.ayk-best-cover .ayk-img img { mix-blend-mode: multiply; }
.ayk-best-card .ayk-img { background: var(--ayk-card); }
.ayk-best-rank {
	position: absolute; top: -6px; left: -6px; width: 30px; height: 30px; border-radius: var(--ayk-radius-btn);
	background: var(--ayk-sesame); color: var(--ayk-ink); font-family: var(--ayk-serif); font-size: 16px; font-weight: 700;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(22, 71, 104, .2);
}
.ayk-best-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ayk-best-info strong { line-height: 1.35; overflow-wrap: anywhere; }
.ayk-best-info .ayk-muted { font-size: 14px; }
.ayk-best-price { font-weight: 700; margin-top: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.ayk-best-price del { color: var(--ayk-muted); font-weight: 500; font-size: 14px; order: 2; }
.ayk-best-price ins { text-decoration: none; order: 1; }
.ayk-best-price .screen-reader-text { order: 3; }

/* Bülten */
.ayk-newsletter {
	background: var(--ayk-cream); border-radius: var(--ayk-radius-lg); padding: 48px;
	display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.ayk-newsletter-text { flex: 1 1 380px; }
.ayk-newsletter-text h2 { margin: 0; font-size: 32px; }
.ayk-newsletter-text p { margin: 10px 0 0; color: #3A4652; }
.ayk-newsletter-form { flex: 1 1 380px; }
.ayk-newsletter-form form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.ayk-newsletter-form input[type="email"], .ayk-newsletter-form input[type="text"] { flex: 1 1 220px; border-radius: var(--ayk-radius-btn); padding: 0 18px; height: 52px; }

/* ---------- Sayfalar ---------- */
.ayk-page { padding-top: 32px; padding-bottom: 80px; }
.ayk-page-head { margin-bottom: 28px; }
.ayk-page-title { margin: 8px 0 0; font-size: clamp(34px, 4.5vw, 52px); letter-spacing: -1px; }
.ayk-page-desc { color: #3A4652; max-width: 680px; margin-top: 10px; }
.ayk-entry-content { max-width: 760px; font-size: 17px; line-height: 1.75; color: var(--ayk-body); }
.ayk-entry-content--wide { max-width: none; }
.ayk-entry-content > * + * { margin-top: 1em; }
.ayk-entry-content h2 { font-size: 30px; margin-top: 1.6em; }
.ayk-entry-content h3 { font-size: 24px; margin-top: 1.4em; }
.ayk-entry-content blockquote { margin-left: 0; padding-left: 20px; border-left: 3px solid var(--ayk-sesame); font-family: var(--ayk-serif); font-size: 21px; }

/* Blog */
.ayk-blog-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.ayk-blog-main { flex: 999 1 560px; min-width: 0; }
.ayk-blog-side { flex: 1 1 260px; max-width: 320px; }
.ayk-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.ayk-post-card { background: var(--ayk-card); border: 1px solid var(--ayk-line); border-radius: var(--ayk-radius); overflow: hidden; }
.ayk-post-thumb img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ayk-post-body { padding: 20px 22px 24px; }
.ayk-post-meta { margin: 0; font-size: 13px; color: var(--ayk-muted); }
.ayk-post-title { margin: 6px 0 8px; font-size: 22px; }
.ayk-post-title a { color: var(--ayk-ink); }
.ayk-post-excerpt { color: var(--ayk-body); font-size: 15px; }
.ayk-single-thumb { margin: 0 0 32px; }
.ayk-single-thumb img { border-radius: var(--ayk-radius-lg); display: block; }
.navigation.pagination, .post-navigation { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.nav-links .page-numbers, .post-navigation a {
	min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: var(--ayk-radius-btn); border: 1.5px solid var(--ayk-field); color: var(--ayk-ink); font-weight: 700;
}
.nav-links .page-numbers.current { background: var(--ayk-ink); border-color: var(--ayk-ink); color: var(--ayk-light); }
.post-navigation .nav-links { justify-content: space-between; }

.ayk-comments { max-width: 760px; margin-top: 56px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { padding: 18px 0; border-bottom: 1px solid var(--ayk-line); }
.comment-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea { width: 100%; }

.ayk-404 { text-align: left; max-width: 720px; }

/* Widget'lar */
.ayk-widget { margin-bottom: 28px; }
.ayk-widget .widget-title, .ayk-widget h2 {
	margin: 0 0 12px; font-family: var(--ayk-sans); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700;
}
.ayk-widget ul { list-style: none; margin: 0; padding: 0; }
.ayk-widget li { padding: 5px 0; }
.ayk-widget li a { color: var(--ayk-ink); }
.ayk-widget li a:hover { color: var(--ayk-tea); }

/* ---------- Alt bilgi ---------- */
.ayk-footer { background: #0D2E45; color: #D6E2EB; }
.ayk-footer a { color: #D6E2EB; }
.ayk-footer a:hover { color: #fff; }
.ayk-footer-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px;
	padding-top: 56px; padding-bottom: 32px; font-size: 14px;
}
.ayk-footer-name { font-family: var(--ayk-serif); font-size: 24px; font-weight: 700; color: var(--ayk-light); line-height: 1.2; }
.ayk-footer-brand p { margin: 10px 0 0; font-style: italic; }
.ayk-footer-title { margin: 0 0 10px; font-family: var(--ayk-sans); font-size: 14px; font-weight: 700; color: var(--ayk-light); }
.ayk-footer-menu { list-style: none; margin: 0; padding: 0; line-height: 2; }
.ayk-footer-address { line-height: 1.6; padding-top: 6px; }
.ayk-footer-bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 28px;
	border-top: 1px solid #24577A; font-size: 13px; color: #9FB8CA;
}

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
	.ayk-header-inner { gap: 12px 8px; padding-top: 12px; padding-bottom: 12px; }
	.ayk-menu-toggle { display: inline-flex; order: 1; }
	.ayk-header-brand { order: 2; flex: 1; min-width: 0; }
	.ayk-header-actions { order: 3; }
	.ayk-search { order: 4; flex: 1 1 100%; }
	.ayk-brand-name { font-size: 21px; }
	.ayk-brand-tagline { display: none; }
	.custom-logo-link img, .ayk-brand-logo { max-height: 50px; height: 50px; }
	.ayk-cart-label, .ayk-cart-total { display: none; }
	.ayk-cart-link { padding: 0 12px; height: 46px; }
	.ayk-search button { padding: 0 16px; }
	.ayk-search button .ayk-icon { display: block; }
	.ayk-search-label { position: absolute; left: -9999px; }

	.ayk-nav { display: none; border-top: 1px solid var(--ayk-line); background: var(--ayk-paper); }
	.ayk-nav.is-open { display: block; }
	.ayk-nav .ayk-container { padding-top: 8px; padding-bottom: 16px; }
	.ayk-menu { flex-direction: column; gap: 0; font-size: 17px; }
	.ayk-menu > li { border-bottom: 1px solid var(--ayk-line); }
	.ayk-menu a { display: block; padding: 13px 0; }
	.ayk-menu .menu-item-has-children > a::after { content: ""; }
	.ayk-menu .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
		background: transparent; padding: 0 0 10px 14px; min-width: 0;
	}
	.ayk-menu .sub-menu a { padding: 8px 0; font-size: 15px; }

	.ayk-topbar-text { display: none; }
	.ayk-topbar-inner { justify-content: center; }

	.ayk-hero { padding-top: 32px; padding-bottom: 32px; gap: 32px; }
	.ayk-hero-art { height: 340px; flex-basis: 100%; }
	.ayk-hero-margin { left: 30px; }
	.ayk-hero-pen { bottom: 26px; height: 20px; }
	.ayk-shelf { left: 44px; right: 4%; bottom: 44px; top: 20px; }
	.ayk-shelf-book .ayk-img img { max-height: 250px; }
	.ayk-shelf-book--center .ayk-img img { max-height: 270px; }
	.ayk-best { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ayk-quote-slide { padding: 32px 24px 20px 52px; gap: 24px; }
	.ayk-quotes::before { left: 30px; }
	.ayk-quote-cover { flex: 1 1 100%; max-width: 300px; margin: 0 auto; order: -1; }
	.ayk-section { padding-top: 52px; }
	.ayk-newsletter { padding: 32px 24px; }
}

@media (max-width: 600px) {
	.ayk-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.ayk-best { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) {
	.ayk-container { padding-left: 16px; padding-right: 16px; }
	.ayk-hero-art { height: 270px; }
	.ayk-shelf-book .ayk-img img { max-height: 190px; }
	.ayk-shelf-book--center .ayk-img img { max-height: 205px; }
	.ayk-cat-tile { min-height: 104px; padding: 14px; }
	.ayk-cat-name { font-size: 18px; }
	.ayk-quote-cover { max-width: 220px; }
	.ayk-btn-row .ayk-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Yazarlarımız ---------- */
.ayk-authors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid #111; border-left: 1px solid #111; }
.ayk-authors li { border-right: 1px solid #111; border-bottom: 1px solid #111; }
.ayk-author { display: flex; align-items: center; gap: 14px; padding: 18px; color: #111; height: 100%; background: #fff; }
.ayk-author:hover { background: var(--ayk-cream); color: #111; }
.ayk-author-initial { width: 48px; height: 48px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 300; }
.ayk-author-initial--0 { background: var(--ayk-sesame); color: #111; }
.ayk-author-initial--1 { background: #111; color: #F6F8FA; }
.ayk-author-initial--2 { background: var(--ayk-cream); color: #111; box-shadow: inset 0 0 0 1px #111; }
.ayk-author-text { display: flex; flex-direction: column; min-width: 0; }
.ayk-author-text strong { font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.ayk-author-text span { font-size: 14px; color: var(--ayk-muted); }

/* ---------- Yayın paketleri ---------- */
.ayk-packages { border: 1px solid #111; background: #fff; display: flex; flex-wrap: wrap; }
.ayk-packages-head { flex: 1 1 340px; padding: 44px; background: var(--ayk-cream); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ayk-packages-head .ayk-section-title { margin: 0; }
.ayk-packages-text { margin: 6px 0 18px; color: var(--ayk-body); max-width: 520px; }
.ayk-package-list { flex: 999 1 520px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ayk-package { padding: 32px 28px; border-left: 1px solid #111; display: flex; flex-direction: column; gap: 10px; }
.ayk-package h3 { margin: 0; font-size: 24px; }
.ayk-package h3 a { color: #111; }
.ayk-package p { margin: 0; color: var(--ayk-body); font-size: 15px; flex: 1; }
.ayk-package-price { font-size: 20px; font-weight: 600; }
.ayk-package .ayk-btn { align-self: flex-start; }
.ayk-btn--primary { background: var(--ayk-sesame) !important; color: #111 !important; }
.ayk-btn--primary:hover { background: #111 !important; color: #fff !important; }

@media (max-width: 900px) {
	.ayk-authors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ayk-packages-head { padding: 28px 24px; }
	.ayk-package { border-left: 0; border-top: 1px solid #111; }
}
@media (max-width: 480px) {
	.ayk-author { padding: 14px 12px; gap: 10px; }
	.ayk-author-initial { width: 40px; height: 40px; font-size: 18px; }
}

/* Ana menüde yazarlar ve yayın paketleri bağlantıları: kategorilerden ince bir çizgiyle ayrılır */
.ayk-menu .ayk-menu-extra--first { margin-left: auto; padding-left: 26px; border-left: 1px solid #111; }
.ayk-menu .ayk-menu-extra > a { font-weight: 600; }
.ayk-menu .ayk-menu-extra > a:hover { color: #111; box-shadow: inset 0 -3px 0 var(--ayk-sesame); }
@media (max-width: 900px) {
	.ayk-menu .ayk-menu-extra--first { margin-left: 0; padding-left: 0; border-left: 0; border-top: 2px solid #111; }
}


/* ==========================================================================
   Ayaz Kitabevi kimliği (temel stillerin üzerine)
   ========================================================================== */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.02em; }
body { font-size: 15.5px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline-color: var(--ayk-tea); box-shadow: none; }
.ayk-topbar { background: var(--ayk-tea); color: var(--ayk-sand); }
.ayk-topbar a { color: var(--ayk-sand); }
.ayk-kicker { color: var(--ayk-tea); }
.ayk-hl { background: linear-gradient(transparent 58%, var(--ayk-lilac) 58%, var(--ayk-lilac) 92%, transparent 92%); color: var(--ayk-tea); padding: 0 .06em; }
.ayk-hero-title { font-weight: 800; letter-spacing: -.035em; }
.ayk-cart-count { background: var(--ayk-tea); color: var(--ayk-sand); }
.ayk-best-rank { background: var(--ayk-tea); color: var(--ayk-sand); }
.ayk-btn--primary { background: var(--ayk-tea) !important; color: var(--ayk-sand) !important; }
.ayk-btn--primary:hover { background: var(--ayk-tea-dark) !important; color: #fff !important; }

/* Karşılama: buz mavisi zemin, lacivert raf, logodaki açık kitap tepesi ve kırağı pırıltıları */
.ayk-hero-art {
	background: var(--ayk-sand); background-image: none; border: 0; box-shadow: none; border-radius: var(--ayk-radius-lg);
}
.ayk-hero-shelf { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: var(--ayk-tea); }
.ayk-hero-shelf::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--ayk-tea-dark); }
.ayk-shelf { left: 6%; right: 6%; top: 132px; bottom: 70px; }
.ayk-shelf-book .ayk-img img { max-height: 236px; }
.ayk-shelf-book--center .ayk-img img { max-height: 246px; }
.ayk-peak { position: absolute; left: 0; top: 6px; width: 100%; height: 118px; color: var(--ayk-tea); overflow: visible; }
.ayk-peak path { vector-effect: non-scaling-stroke; }
.ayk-peak path { opacity: .45; }
.ayk-peak .ayk-peak-main { opacity: 1; }
.ayk-frost { position: absolute; inset: 0 0 70px; pointer-events: none; color: var(--ayk-tea); }
.ayk-frost svg { position: absolute; width: 14px; height: 14px; animation: ayk-twinkle 3.6s ease-in-out infinite; }
.ayk-frost svg:nth-child(1) { left: 8%;  top: 18px;  animation-delay: -.4s; }
.ayk-frost svg:nth-child(2) { left: 18%; top: 46px;  width: 10px; height: 10px; animation-delay: -1.7s; }
.ayk-frost svg:nth-child(3) { right: 15%; top: 14px; width: 18px; height: 18px; animation-delay: -2.6s; }
.ayk-frost svg:nth-child(4) { right: 9%; top: 52px; width: 9px;  height: 9px;  animation-delay: -1.1s; }
.ayk-frost svg:nth-child(5) { left: 26%; top: 18px; width: 8px;  height: 8px;  animation-delay: -3.1s; }
@keyframes ayk-twinkle {
	0%, 100% { opacity: .2; transform: scale(.8); }
	50%      { opacity: .7; transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) { .ayk-frost svg { animation: none; opacity: .5; } }

/* Kapak yer tutucuları */
.ayk-cover--mor { background: var(--ayk-tea); color: var(--ayk-sand); }
.ayk-cover--krem { background: var(--ayk-sand); color: var(--ayk-tea); }
.ayk-cover--kagit { background: #fff; color: var(--ayk-ink); border: 1px solid var(--ayk-line); }
.ayk-cover--komur { background: var(--ayk-ink); color: var(--ayk-sand); }
.ayk-cover--lila { background: var(--ayk-lilac); color: var(--ayk-tea); }
.ayk-cover--erik { background: #3E6F8E; color: #fff; }

/* Raf tonları */
.ayk-tone-0, .ayk-tone-0:hover { background: var(--ayk-tea); color: var(--ayk-sand); border: 0; }
.ayk-tone-1, .ayk-tone-1:hover { background: var(--ayk-sand); color: var(--ayk-tea); border: 0; }
.ayk-tone-2, .ayk-tone-2:hover { background: #fff; color: var(--ayk-ink); border: 1px solid var(--ayk-line); }
.ayk-tone-3, .ayk-tone-3:hover { background: var(--ayk-ink); color: var(--ayk-sand); border: 0; }
.ayk-tone-4, .ayk-tone-4:hover { background: var(--ayk-lilac); color: var(--ayk-tea); border: 0; }
.ayk-tone-5, .ayk-tone-5:hover { background: #3E6F8E; color: #fff; border: 0; }
.ayk-cat-tile--all, .ayk-cat-tile--all:hover { border-color: var(--ayk-field); color: var(--ayk-tea); }
.ayk-cat-name { font-family: var(--ayk-sans); font-weight: 700; font-size: 20px; }

/* Söz vitrini: lacivert pano, buz mavisi yazı */
.ayk-quotes { background: var(--ayk-tea); background-image: none; color: var(--ayk-sand); border: 0; box-shadow: none; border-radius: var(--ayk-radius-lg); }
.ayk-quotes::before { display: none; }
.ayk-quote-slide { padding: 52px 56px 28px; }
.ayk-quotes .ayk-kicker--light { color: var(--ayk-lilac); }
.ayk-quotes blockquote p { font-family: var(--ayk-sans); font-weight: 500; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.3; color: var(--ayk-sand); }
.ayk-quotes blockquote footer { color: #C9DBE8; }
.ayk-quote-book { color: var(--ayk-sand); }
.ayk-quote-author, .ayk-quote-desc { color: #C9DBE8; }
.ayk-quote-price { color: var(--ayk-sand); }
.ayk-quote-price del { color: #9FB8CA; }
.ayk-quotes .ayk-quote-actions .button { background: var(--ayk-sand) !important; color: var(--ayk-tea) !important; }
.ayk-quotes .ayk-quote-actions .button:hover { background: #fff !important; color: var(--ayk-tea) !important; }
.ayk-quotes .ayk-quote-actions .added_to_cart { color: var(--ayk-sand); }
.ayk-quote-more, .ayk-quote-more:hover { color: var(--ayk-sand); }
.ayk-quote-cover { background: var(--ayk-sand); border: 0; border-radius: var(--ayk-radius); }
.ayk-quotes-prev, .ayk-quotes-next { background: transparent; color: var(--ayk-sand); border-color: rgba(227, 237, 244, .5); }
.ayk-quotes-prev:hover, .ayk-quotes-next:hover { background: var(--ayk-sand); color: var(--ayk-tea); border-color: var(--ayk-sand); }
.ayk-quotes-dot::before { background: rgba(227, 237, 244, .4); border-radius: 999px; }
.ayk-quotes-dot.is-active::before { background: var(--ayk-sand); }

/* Yazarlarımız ve yayın paketleri (Ayaz renkleri) */
.ayk-authors { border: 0; gap: 12px; }
.ayk-authors li { border: 0; }
.ayk-author { border: 1px solid var(--ayk-line); border-radius: var(--ayk-radius); }
.ayk-author:hover { background: var(--ayk-cream); }
.ayk-author-initial { border-radius: 50%; font-weight: 600; }
.ayk-author-initial--0 { background: var(--ayk-tea); color: var(--ayk-sand); }
.ayk-author-initial--1 { background: var(--ayk-sand); color: var(--ayk-tea); }
.ayk-author-initial--2 { background: var(--ayk-lilac); color: var(--ayk-tea); box-shadow: none; }
.ayk-packages { border: 1px solid var(--ayk-line); border-radius: var(--ayk-radius-lg); overflow: hidden; }
.ayk-packages-head { background: var(--ayk-sand); }
.ayk-package { border-left: 1px solid var(--ayk-line); }
.ayk-package h3 a { color: var(--ayk-tea); }
.ayk-menu .ayk-menu-extra--first { border-left-color: var(--ayk-field); }
.ayk-menu .ayk-menu-extra > a:hover { color: var(--ayk-tea); box-shadow: inset 0 -3px 0 var(--ayk-lilac); }

/* Alt bilgi */
.ayk-footer { background: var(--ayk-tea-dark); color: #D6E2EB; }
.ayk-footer a { color: #D6E2EB; }
.ayk-footer-bottom { border-top-color: #24577A; color: #9FB8CA; }

@media (max-width: 900px) {
	.ayk-shelf { top: 110px; bottom: 56px; }
	.ayk-hero-shelf { height: 56px; }
	.ayk-peak { height: 98px; top: 6px; }
	.ayk-frost { bottom: 56px; }
	.ayk-shelf-book .ayk-img img { max-height: 170px; }
	.ayk-shelf-book--center .ayk-img img { max-height: 180px; }
	.ayk-quote-slide { padding: 32px 24px 20px; }
	.ayk-package { border-left: 0; border-top: 1px solid var(--ayk-line); }
}

/* ---------- Çok okunanlar kartları: düzenli hiza ----------
   Görsel sol alta hizalı; kitap adı üstte (en fazla 2 satır), fiyat kartın
   en altında. Böylece dört kartta da adlar ve fiyatlar aynı çizgide durur. */
.ayk-best-card { align-items: stretch; }
.ayk-best-cover { align-self: flex-end; }
.ayk-best-cover .ayk-img { justify-content: flex-start; align-items: flex-end; }
.ayk-best-cover .ayk-img img { object-position: left bottom; }
.ayk-best-rank { top: auto; bottom: -6px; left: -6px; }
.ayk-best-info { align-self: stretch; padding: 2px 0; }
.ayk-best-info strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.ayk-best-price { margin-top: auto; padding-top: 8px; }

/* Boş kenarları yok sayılan görsel: kitap kutuyu oranını bozmadan doldurur */
.ayk-trim { position: relative; display: block; overflow: hidden; flex: none; max-width: 100%; max-height: 100%; }
.ayk-trim--w { width: 100%; height: auto; }
.ayk-trim--h { height: 100%; width: auto; }
.ayk-img .ayk-trim img, .woocommerce ul.products li.product a .ayk-trim img, .ayk-trim img.ayk-trim-img {
	position: absolute !important; width: var(--iw) !important; height: var(--ih) !important; max-width: none !important; max-height: none !important;
	min-width: 0 !important; min-height: 0 !important; left: var(--il) !important; top: var(--it) !important; right: auto !important; bottom: auto !important;
	margin: 0 !important; padding: 0 !important; border: 0 !important; transform: none !important;
	object-fit: fill !important; object-position: 0 0 !important; aspect-ratio: auto !important;
}

/* Dar ekranlarda karşılama rafı alçalır: tepe çizgisi kitapların üstünde kalsın */
@media (max-width: 600px) {
	.ayk-peak { top: 4px; height: 44px; }
	.ayk-peak path { stroke-width: 1.2; }
	.ayk-peak .ayk-peak-main { stroke-width: 3.5; }
	.ayk-frost svg:nth-child(2), .ayk-frost svg:nth-child(4) { top: 30px; }
}

/* Açılamayan görsel: adı yazan bozuk kutu yerine yedek kapak */
.ayk-img:not(.is-broken) > .ayk-img-fallback { display: none !important; }
.ayk-img.is-broken > .ayk-trim, .ayk-img.is-broken > img { display: none !important; }
.ayk-img img, .woocommerce img { color: transparent; }
.ayk-best-cover .ayk-img.is-broken .ayk-cover--yedek { width: 80%; font-size: 10px; line-height: 1.2; padding: 9px 8px; font-weight: 600; }
.ayk-best-cover .ayk-img.is-broken .ayk-cover-author { display: none; }
