/* Kalemin Kanatları — yalnızca WordPress / WooCommerce'e özgü stiller */

/* yönetim çubuğu açıkken sabit üst bar */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .flow-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header, body.admin-bar .flow-header { top: 46px; }
}
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* WooCommerce bildirimleri */
.kk-notices { margin-bottom: 18px; }
.woocommerce-message, .woocommerce-error, .woocommerce-info, .woocommerce-notices-wrapper > * {
  list-style: none; margin: 0 0 12px; padding: 14px 18px 14px 46px; position: relative; border-radius: 14px; font-size: 14.5px; line-height: 1.5;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
}
.woocommerce-message { border-color: rgba(47, 158, 98, .4); background: rgba(47, 158, 98, .1); }
.woocommerce-error { border-color: rgba(214, 69, 51, .4); background: rgba(214, 69, 51, .08); }
.woocommerce-info { border-color: rgba(196, 146, 44, .4); background: var(--gold-soft); }
.woocommerce-message::before, .woocommerce-error::before, .woocommerce-info::before { position: absolute; left: 16px; top: 13px; width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; }
.woocommerce-message::before { content: "✓"; background: #2f9e62; }
.woocommerce-error::before { content: "!"; background: #d64533; }
.woocommerce-info::before { content: "i"; background: var(--gold); }
.woocommerce-error li + li { margin-top: 4px; }
.woocommerce-message a.button, .woocommerce-info a.button { float: right; margin-left: 12px; color: var(--gold); font-weight: 700; text-decoration: underline; }
.auth-note.wc-notes { display: block; padding: 0; background: none; }
.auth-note.wc-notes:empty, .auth-note.wc-notes:not(:has(*)) { display: none; }

/* stok dışı */
.pd-stock.out { color: #d64533; }
.pd-stock.out i { background: #d64533; box-shadow: 0 0 0 4px rgba(214, 69, 51, .15); }
.pd-lead p + p { margin-top: 10px; }

/* blog: fotoğraflı kapak */
.pc-art.has-photo { padding: 0; }
.pc-art .pc-photo, .post-art.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-art.has-photo { position: relative; min-height: 360px; overflow: hidden; border-radius: 26px; }
.post-art.has-photo::after { display: none; }
.pc-art.has-photo::after { display: none; }
.post-tags { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.post-tags svg { width: 16px; height: 16px; color: var(--gold); }
.post-tags a { color: var(--ink-2); }
.nl-form.sm { padding: 4px; }
.nl-form.sm input { padding: 8px 10px; font-size: 14px; }
.post-list .post-card.is-feat { margin-bottom: 20px; }
.blog-cats-wp { margin-bottom: 24px; }

/* sayfalama */
.navigation.pagination { margin-top: 34px; }
.nav-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; }
.nav-links .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); background: var(--surface); font-weight: 600; font-size: 14px; color: var(--ink-2); }
.nav-links .page-numbers svg { width: 17px; height: 17px; }
.nav-links .page-numbers.current, .nav-links a.page-numbers:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.o-pages { display: flex; justify-content: space-between; gap: 10px; }

/* yorumlar (blog) */
.post-comments { max-width: 720px; margin-top: 40px; }
.post-comments .comment-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.post-comments .comment-body { padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.post-comments .comment-meta { font-size: 13px; color: var(--muted); }
.post-comments .comment-author img { border-radius: 50%; float: left; margin-right: 10px; }
.comment-respond { margin-top: 24px; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.comment-respond input[type=text], .comment-respond input[type=email], .comment-respond input[type=url], .comment-respond textarea { width: 100%; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink); }
.comment-respond .submit { padding: 12px 22px; border-radius: 999px; background: var(--gold-grad); background-size: 200% 100%; color: var(--on-gold); font-weight: 600; }

/* düz içerik sayfası */
.doc-article.plain { max-width: 900px; margin-bottom: 50px; }

/* hesap: rel satırı içerik alanında 3 sütun */
@media (min-width: 900px) {
  .acc-main .rel-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.set-page .set-price { margin: 18px 0 14px; color: var(--ink); }
.set-page .set-price del { color: var(--muted); }
.set-page .countdown { margin-bottom: 18px; }
.set-page .countdown div { background: var(--surface); border: 1px solid var(--line); }

/* kartla ödeme (PayTR iFrame) */
.pay-page .flow-title { align-items: center; }
.pay-frame { min-height: 480px; }
.pay-iframe { min-height: 420px; border-radius: 16px; overflow: hidden; background: #fff; }
.pay-iframe iframe { display: block; width: 100% !important; min-height: 600px; border: 0; }
.pay-page .secure-pill { display: inline-flex; }
.pay-error { padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(214, 69, 51, .4); background: rgba(214, 69, 51, .08); }
.pay-error strong { display: block; font-size: 16px; margin-bottom: 6px; }
.pay-error p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.pay-error-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
