/* Kozmetik Rehberim (kozmetikrehberim.com) – onayli tasarim: optik-rehber/tasarim-kozmetikrehberim.html */
:root {
    --kr-ink: #3A1B33;
    --kr-muted: #5C4357;
    --kr-soft: #7A6175;
    --kr-blush: #FBF1EE;
    --kr-line: #F0E3E0;
    --kr-chip: #EAD6D1;
    --kr-box: #F7E7E3;
    --kr-pink-text: #E6CFE0;
    --kr-dark-line: #5E3E57;
    --kr-coral: #F2A08F;
    --accent: #B23A28;
    --kr-display: "Bricolage Grotesque", Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--kr-ink); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--kr-ink); }
a:hover { color: var(--accent); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.kr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kr-skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.kr-skip:focus { left: 8px; }
.kr-wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.kr-display { font-family: var(--kr-display); letter-spacing: -0.03em; font-weight: 800; }
.kr-h2 { font-family: var(--kr-display); font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.03em; font-weight: 800; line-height: 1.1; }

/* Header */
.kr-header { border-bottom: 1px solid var(--kr-line); background: #fff; position: relative; z-index: 20; }
.kr-header .kr-wrap { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.kr-logo { text-decoration: none; display: flex; align-items: baseline; font-family: var(--kr-display); font-size: 25px; font-weight: 800; letter-spacing: -0.03em; color: var(--kr-ink); }
.kr-logo:hover { color: var(--kr-ink); }
.kr-logo span { color: var(--accent); }
.kr-logo img { max-height: 44px; width: auto; }
.kr-nav { display: flex; flex-wrap: wrap; gap: 4px 26px; font-size: 15px; font-weight: 600; }
.kr-nav a { text-decoration: none; padding: 10px 0; }
.kr-nav a[aria-current] { color: var(--accent); }
.kr-header__right { display: flex; align-items: center; gap: 12px; }
.kr-pill { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--kr-ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; }
.kr-pill:hover { background: var(--accent); color: #fff; }
.kr-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--kr-line); border-radius: 12px; background: #fff; color: var(--kr-ink); align-items: center; justify-content: center; cursor: pointer; }
.kr-burger svg { width: 22px; height: 22px; }
.kr-burger__close { display: none; }
.kr-header.is-open .kr-burger__open { display: none; }
.kr-header.is-open .kr-burger__close { display: block; }

/* Butonlar */
.kr-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; text-decoration: none; font-weight: 700; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.kr-btn--dark { background: var(--kr-ink); color: #fff; }
.kr-btn--dark:hover { background: var(--accent); color: #fff; }
.kr-btn--ghost { border: 1.5px solid var(--kr-ink); color: var(--kr-ink); background: transparent; }
.kr-btn--ghost:hover { background: var(--kr-ink); color: #fff; }
.kr-link { font-weight: 700; text-underline-offset: 4px; }

/* Hero */
.kr-hero { background: var(--kr-blush); }
.kr-hero .kr-wrap { padding-top: 64px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.kr-hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.kr-hero h1 { font-family: var(--kr-display); font-size: clamp(40px, 5.4vw, 70px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
.kr-hero h1 span { color: var(--accent); }
.kr-hero__lead { font-size: 18px; color: var(--kr-muted); max-width: 540px; }
.kr-search { display: flex; flex-wrap: wrap; gap: 10px; background: #fff; border-radius: 20px; padding: 10px; box-shadow: 0 10px 30px rgba(58, 27, 51, 0.10); max-width: 620px; }
.kr-search label { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; padding: 0 12px; min-width: 0; }
.kr-search input { flex: 1; min-width: 0; min-height: 48px; border: 0; font: inherit; font-size: 16px; color: var(--kr-ink); background: transparent; }
.kr-search input:focus { outline: none; }
.kr-search:focus-within { box-shadow: 0 0 0 3px var(--accent), 0 10px 30px rgba(58, 27, 51, 0.10); }
.kr-search button { min-height: 52px; padding: 0 26px; border: 0; border-radius: 14px; background: var(--accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.kr-search button:hover { background: var(--kr-ink); }
.kr-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.kr-chips__label { color: var(--kr-soft); margin-right: 4px; }
.kr-chip { text-decoration: none; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--kr-chip); }
.kr-chip:hover { border-color: var(--accent); }
.kr-hero__grid { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.kr-hero__photo { grid-row: span 2; min-height: 420px; border-radius: 28px; background: var(--kr-box); overflow: hidden; }
.kr-hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kr-hero__card { border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.kr-hero__card--light { background: #fff; box-shadow: 0 8px 24px rgba(58, 27, 51, 0.08); }
.kr-hero__card--light:hover { color: var(--kr-ink); box-shadow: 0 0 0 2px var(--accent), 0 8px 24px rgba(58, 27, 51, 0.08); }
.kr-hero__card--dark { background: var(--kr-ink); color: #fff; justify-content: space-between; }
.kr-hero__card--dark:hover { color: #fff; background: #4A2541; }
.kr-hero__eyebrow { font-size: 13px; color: var(--kr-soft); }
.kr-hero__card--dark .kr-hero__eyebrow, .kr-hero__card--dark .kr-hero__sub { color: var(--kr-pink-text); font-size: 14px; }
.kr-hero__card--dark .kr-hero__eyebrow { font-size: 13px; }
.kr-hero__card strong { font-weight: 700; }
.kr-hero__card--dark strong { font-family: var(--kr-display); font-size: 24px; }

/* Degerler */
.kr-values { padding-top: 72px; padding-bottom: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.kr-value { display: flex; flex-direction: column; gap: 12px; }
.kr-value__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--kr-blush); display: flex; align-items: center; justify-content: center; }
.kr-value__icon svg { width: 24px; height: 24px; }
.kr-value h3 { font-family: var(--kr-display); font-size: 22px; font-weight: 700; }
.kr-value p { color: var(--kr-muted); }

/* Bolumler */
.kr-section { padding-top: 48px; padding-bottom: 48px; }
.kr-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }

/* Kategoriler */
.kr-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.kr-cat { text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.kr-cat__img { aspect-ratio: 1 / 1; border-radius: 22px; background: var(--kr-box); overflow: hidden; display: block; }
.kr-cat__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.kr-cat:hover .kr-cat__img img { transform: scale(1.04); }
.kr-cat__name { font-weight: 700; font-size: 17px; }

/* Etken madde bandi */
.kr-dark { background: var(--kr-ink); color: #fff; border-radius: 32px; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; gap: 32px; }
.kr-dark .kr-section__head { margin-bottom: 0; }
.kr-dark p { color: var(--kr-pink-text); }
.kr-dark a { color: #fff; }
.kr-ings { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.kr-ing { text-decoration: none; color: #fff; border: 1px solid var(--kr-dark-line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 6px; height: 100%; }
.kr-ing:hover { border-color: var(--kr-coral); color: #fff; }
.kr-ing strong { font-family: var(--kr-display); font-size: 21px; font-weight: 700; }
.kr-ing span { font-size: 14px; color: var(--kr-pink-text); }
.kr-ings--light .kr-ing { color: var(--kr-ink); border-color: var(--kr-line); background: #fff; }
.kr-ings--light .kr-ing span { color: var(--kr-muted); }
.kr-ings--light .kr-ing:hover { border-color: var(--accent); color: var(--kr-ink); }

/* SSS */
.kr-faq { display: flex; flex-wrap: wrap; gap: 40px; }
.kr-faq__intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.kr-faq__intro p { color: var(--kr-muted); }
.kr-faq__list { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; }
.kr-qa { border-top: 1px solid var(--kr-line); padding: 12px 0; }
.kr-qa:last-child { border-bottom: 1px solid var(--kr-line); }
.kr-qa h3 { font-size: 18px; }
.kr-qa button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-size: 18px; font-weight: 700; min-height: 56px; align-items: center; width: 100%; font-family: inherit; color: var(--kr-ink); }
.kr-qa button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.kr-qa button::after { content: "+"; font-size: 24px; color: var(--accent); flex: none; width: 24px; text-align: center; }
.kr-qa button[aria-expanded="true"]::after { content: "−"; }
.kr-qa__panel { color: var(--kr-muted); max-width: 680px; padding: 0 0 14px; }
.kr-qa__panel[hidden] { display: none; }

/* Yazi kartlari */
.kr-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.kr-post { text-decoration: none; display: flex; flex-direction: column; gap: 14px; }
.kr-post__img { aspect-ratio: 16 / 10; border-radius: 22px; background: var(--kr-box); overflow: hidden; display: block; }
.kr-post__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kr-post__tag { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.kr-post__title { font-family: var(--kr-display); font-size: 22px; font-weight: 700; line-height: 1.2; }
.kr-post__excerpt { color: var(--kr-muted); font-size: 15px; }

/* Rehber ol bandi */
.kr-join { background: var(--kr-blush); border-radius: 32px; padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.kr-join > div:first-child { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.kr-join p { color: var(--kr-muted); max-width: 560px; }
.kr-join__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Seffaflik */
.kr-trust-wrap { padding-top: 24px; padding-bottom: 64px; }
.kr-trust { border: 1px solid var(--kr-line); border-radius: 22px; padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; }
.kr-trust strong { font-family: var(--kr-display); font-size: 20px; }
.kr-trust p { flex: 1 1 520px; color: var(--kr-muted); font-size: 15px; }

/* Ic sayfa basligi */
.kr-pagehead { background: var(--kr-blush); }
.kr-pagehead .kr-wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 14px; }
.kr-crumbs { font-size: 14px; color: var(--kr-soft); }
.kr-crumbs a { color: var(--kr-soft); }
.kr-pagehead h1 { font-family: var(--kr-display); font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; }
.kr-pagehead p { color: var(--kr-muted); font-size: 18px; max-width: 680px; }
.kr-pagehead .kr-search { margin-top: 8px; }

/* Makale (etken madde, yazi, icerik sayfasi, yasal) */
.kr-article { max-width: 760px; padding-top: 40px; padding-bottom: 64px; }
.kr-article__hero { aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: var(--kr-box); margin-bottom: 28px; }
.kr-article__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kr-prose { font-size: 17px; color: var(--kr-muted); }
.kr-prose h2, .kr-prose h3 { font-family: var(--kr-display); color: var(--kr-ink); letter-spacing: -0.02em; margin: 28px 0 8px; line-height: 1.2; }
.kr-prose h2 { font-size: 26px; }
.kr-prose h3 { font-size: 21px; }
.kr-prose p, .kr-prose ul, .kr-prose ol { margin: 0 0 14px; }
.kr-prose a { color: var(--accent); }
.kr-prose img { border-radius: 16px; height: auto; }
.kr-note { margin-top: 28px; padding: 16px 20px; border-radius: 16px; background: var(--kr-blush); color: var(--kr-muted); font-size: 14px; }
.kr-meta { color: var(--kr-soft); font-size: 14px; }
.kr-legal__doc { border: 1px solid var(--kr-line); border-radius: 22px; padding: 28px 32px; margin-bottom: 20px; scroll-margin-top: 24px; }
.kr-legal__doc h2 { font-family: var(--kr-display); font-size: 24px; margin-bottom: 8px; }

/* Kategori sayfasi bos durumu */
.kr-soon { border: 1.5px dashed var(--kr-chip); border-radius: 22px; padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; color: var(--kr-muted); }
.kr-subhead { font-family: var(--kr-display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 18px; }
.kr-empty { color: var(--kr-muted); }

/* Arama sonuclari */
.kr-results { display: flex; flex-direction: column; gap: 40px; padding-top: 40px; padding-bottom: 64px; }
.kr-results ul.kr-plain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.kr-results ul.kr-plain a { font-weight: 700; }

/* Iletisim formu */
.kr-contact { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 40px; padding-bottom: 64px; }
.kr-contact__intro { flex: 1 1 300px; min-width: 0; color: var(--kr-muted); }
.kr-form { flex: 2 1 480px; min-width: 0; background: var(--kr-blush); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.kr-form h2 { font-family: var(--kr-display); font-size: 24px; }
.kr-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.kr-field input, .kr-field select, .kr-field textarea { min-height: 48px; border: 1px solid var(--kr-chip); border-radius: 12px; padding: 0 14px; font: inherit; font-weight: 400; font-size: 16px; background: #fff; color: var(--kr-ink); width: 100%; }
.kr-field textarea { padding: 12px 14px; min-height: 140px; resize: vertical; }
.kr-field.has-error input, .kr-field.has-error textarea { border-color: #B3261E; }
.kr-error { color: #B3261E; font-size: 13px; font-weight: 600; }
.kr-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--kr-muted); }
.kr-check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--accent); }
.kr-alert { border-radius: 14px; padding: 14px 16px; font-size: 15px; font-weight: 600; }
.kr-alert--ok { background: #E3F1EA; color: #14532D; }
.kr-alert--err { background: #FBE9E7; color: #8C1D18; }
.kr-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* 404 */
.kr-404 { padding-top: 96px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.kr-404 p { color: var(--kr-muted); font-size: 18px; }

/* Footer */
.kr-footer { background: var(--kr-ink); color: var(--kr-pink-text); font-size: 14px; }
.kr-footer .kr-wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 32px 48px; justify-content: space-between; }
.kr-footer__brand { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.kr-footer__logo { font-family: var(--kr-display); font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.kr-footer__logo span { color: var(--kr-coral); }
.kr-news { flex: 1 1 360px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 24px; }
.kr-news label.kr-news__title { color: #fff; font-weight: 700; font-size: 15px; }
.kr-news__row { display: flex; flex-wrap: wrap; gap: 8px; }
.kr-news__row input { flex: 1 1 200px; min-height: 48px; border: 0; border-radius: 12px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--kr-ink); }
.kr-news__row button { min-height: 48px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--kr-coral); color: var(--kr-ink); font: inherit; font-weight: 700; cursor: pointer; }
.kr-news__row button:hover { background: #fff; }
.kr-news .kr-check { color: var(--kr-pink-text); }
.kr-news .kr-check a { color: #fff; }
.kr-news__msg { font-weight: 600; color: #fff; }
.kr-news__msg--err { color: #FFC9BE; }
.kr-footer__legal { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid var(--kr-dark-line); padding-top: 20px; align-items: center; }
.kr-footer__legal a, .kr-footer__legal button { color: var(--kr-pink-text); }
.kr-footer__legal a:hover, .kr-footer__legal button:hover { color: #fff; }
.kr-footer__legal button { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.kr-footer__copy { margin-left: auto; }

/* Cerez bildirimi */
.kr-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 720px; margin: 0 auto; background: #fff; color: var(--kr-ink); border: 1px solid var(--kr-line); border-radius: 18px; box-shadow: 0 12px 40px rgba(58, 27, 51, 0.18); padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; font-size: 14px; z-index: 50; }
.kr-cookie[hidden] { display: none; }
.kr-cookie > div:first-child { flex: 1 1 320px; }
.kr-cookie__actions { display: flex; gap: 8px; }
.kr-cookie button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--kr-ink); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.kr-cookie .kr-cookie__reject { background: #fff; color: var(--kr-ink); border: 1.5px solid var(--kr-ink); }

/* Mobil */
@media (max-width: 900px) {
    .kr-burger { display: inline-flex; }
    .kr-header .kr-wrap { flex-wrap: nowrap; }
    .kr-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--kr-line); flex-direction: column; gap: 0; padding: 8px 24px 16px; box-shadow: 0 16px 30px rgba(58, 27, 51, 0.08); }
    .kr-header.is-open .kr-nav { display: flex; }
    .kr-nav a { padding: 14px 0; border-bottom: 1px solid var(--kr-line); }
    .kr-nav a:last-child { border-bottom: 0; }
}
@media (max-width: 600px) {
    .kr-wrap { padding-left: 16px; padding-right: 16px; }
    .kr-logo { font-size: 19px; }
    .kr-header .kr-wrap { gap: 10px; }
    .kr-header__right { gap: 8px; }
    .kr-pill { padding: 0 14px; font-size: 14px; }
    .kr-hero__card { padding: 16px; }
    .kr-hero__card--light strong { font-size: 15px; }
    .kr-hero__card--dark strong { font-size: 20px; }
    .kr-hero .kr-wrap { padding-top: 36px; padding-bottom: 48px; gap: 32px; }
    .kr-hero__text, .kr-hero__grid, .kr-faq__intro, .kr-faq__list, .kr-form, .kr-contact__intro { flex-basis: 100%; }
    .kr-search label { flex-basis: 100%; }
    .kr-search button { width: 100%; }
    .kr-hero__photo { min-height: 300px; }
    .kr-values, .kr-posts, .kr-ings { grid-template-columns: minmax(0, 1fr); }
    .kr-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kr-form { padding: 24px 18px; }
    .kr-trust { padding: 22px; }
    .kr-footer__copy { margin-left: 0; flex-basis: 100%; }
}
