/* İxir Güzellik teması — temel: yazı tipleri, değişkenler, tipografi, düğmeler, formlar, çerez bandı.
   Yazı tipleri yerel (OFL lisanslı variable woff2); CDN kullanılmaz. */

@font-face {
    font-family: "Oswald";
    font-style: normal;
    font-weight: 200 700;
    font-display: swap;
    src: url("../fonts/oswald-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Oswald";
    font-style: normal;
    font-weight: 200 700;
    font-display: swap;
    src: url("../fonts/oswald-latin-wght-normal.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;
}
@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/roboto-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/roboto-latin-wght-normal.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;
}
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/montserrat-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/montserrat-latin-wght-normal.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;
}

:root {
    --ix-gold: #ab8c3e;
    --ix-gold-dark: #8f7430;
    --ix-rose: #c9808b;
    --ix-rose-text: #c4727f;
    --ix-navy: #1b2639;
    --ix-blush: #ecd6d4;
    --ix-wine: #7b4c54;
    --ix-gray: #6c6c6c;
    --ix-line: #d9d9d9;
    --ix-green: #3b963f;
    --ix-font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
    --ix-font-head: "Oswald", "Roboto", system-ui, sans-serif;
    --ix-font-hero: "Montserrat", "Roboto", system-ui, sans-serif;
    --ix-container: 1200px;
    --ix-gutter: 20px;
}

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

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

body {
    margin: 0;
    font-family: var(--ix-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ix-navy);
    background: #fff;
    overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; }

.container {
    width: 100%;
    max-width: calc(var(--ix-container) + var(--ix-gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--ix-gutter);
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
    position: absolute; left: 8px; top: -60px; z-index: 2000;
    background: #fff; color: #000; padding: 10px 16px; border-radius: 4px;
}
.skip-link:focus { top: 8px; }

:focus-visible { outline: 2px solid var(--ix-gold); outline-offset: 3px; }

.ico { display: inline-block; flex: none; vertical-align: middle; }
.ico-sm { width: 20px; height: 20px; }
.ico-xl { width: 34px; height: 34px; }

/* Başlık ve metin bileşenleri */
.ix-title {
    font-family: var(--ix-font-head);
    font-weight: 700;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--ix-navy);
}
.ix-title--xl { font-size: clamp(32px, 3.5vw, 50px); color: #000; }
.ix-title--gold { color: var(--ix-gold); }
.ix-title--rose { color: var(--ix-rose-text); }

.ix-subtitle {
    margin-top: 12px;
    font-family: var(--ix-font-head);
    font-weight: 300;
    font-size: 22px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ix-rose-text);
}

.ix-eyebrow {
    font-family: var(--ix-font-head);
    font-weight: 300;
    font-size: clamp(22px, 2.1vw, 30px);
    letter-spacing: 3px;
    color: var(--ix-rose-text);
}
.ix-eyebrow--line { font-size: 22px; color: var(--ix-gray); letter-spacing: 2px; text-transform: uppercase; padding-bottom: 10px; border-bottom: 2px solid #ccc; max-width: 75%; }

.ix-section { padding: 60px 0; }
.ix-meta { margin: 0 0 16px; color: var(--ix-gray); font-size: 14px; }

/* Düğmeler */
.btn-gold, .btn-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 30px;
    border: 0;
    border-radius: 0;
    background: var(--ix-gold);
    color: #fff;
    font-family: var(--ix-font-head);
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}
.btn-gold:hover { background: var(--ix-gold-dark); }
.btn-green { background: var(--ix-green); }
.btn-green:hover { background: #2e7a32; }
.btn-pill { border-radius: 30px; font-family: var(--ix-font-body); font-weight: 700; font-size: 14px; letter-spacing: 0; padding: 12px 28px; }
.btn-block { flex: 1 1 0; border-radius: 30px; font-family: var(--ix-font-body); font-weight: 700; font-size: 16px; letter-spacing: 0; padding: 12px 20px; }

/* Zengin metin (panelden gelen içerik) */
.ix-prose { font-size: 16px; line-height: 1.75; }
.ix-prose > * + * { margin-top: 14px; }
.ix-prose h1, .ix-prose h2, .ix-prose h3, .ix-prose h4 {
    font-family: var(--ix-font-head);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--ix-navy);
}
.ix-prose h1 { font-size: 38px; }
.ix-prose h2 { font-size: 32px; margin-top: 28px; }
.ix-prose h3 { font-size: 24px; margin-top: 22px; }
.ix-prose h4 { font-size: 19px; }
.ix-prose p { font-size: 16px; }
.ix-prose a { color: #1a56db; }
.ix-prose ul, .ix-prose ol { padding-left: 1.3em; }
.ix-prose ul { list-style: disc; }
.ix-prose img { border-radius: 4px; }
.ix-prose table { width: 100%; border-collapse: collapse; }
.ix-prose th, .ix-prose td { padding: 14px 15px; text-align: left; border-bottom: 1px solid var(--ix-navy); }
.ix-prose th { font-weight: 400; }
.ix-prose td:last-child { text-align: right; white-space: nowrap; }
.ix-prose hr { margin: 28px 0; border: 0; border-top: 1px solid var(--ix-line); }

/* Formlar (CMS form partial'ı) */
.site-form { width: 100%; margin-top: 10px; }
.form-grid { display: flex; flex-wrap: wrap; gap: 24px 30px; }
.form-item { display: flex; flex-direction: column; flex: 1 1 280px; min-width: 0; }
.form-item label, .form-item > span { margin-bottom: 6px; font-size: 12px; font-weight: 700; color: #4a5568; }
.form-item input:not([type="checkbox"]):not([type="radio"]),
.form-item textarea,
.form-item select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #c8c8c8;
    border-radius: 2px;
    background: #ececec;
    font: inherit;
    font-size: 15px;
    color: #111;
}
.form-item textarea { min-height: 140px; resize: vertical; }
.form-item input:focus, .form-item textarea:focus, .form-item select:focus { outline: 2px solid var(--ix-gold); outline-offset: 0; background: #fff; }
.form-choice { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 4px; font-size: 14px; font-weight: 400; }
.form-error { margin-top: 4px; font-size: 12px; color: #c0392b; }
.form-success { padding: 14px 18px; margin-bottom: 18px; background: #e6f4ea; color: #1e6b34; border-radius: 4px; }
.form-submit { margin-top: 24px; padding: 12px 34px; border: 0; background: var(--ix-gold); color: #fff; font-family: var(--ix-font-head); font-size: 17px; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; }
.form-submit:hover { background: var(--ix-gold-dark); }

/* Çerez Tercih Merkezi (KVKK/GDPR) — zorunlu bileşen; sınıf adları ve data-* kancaları theme.js ile eşleşir */
.cookie-consent { position: fixed; inset: auto 0 0; z-index: 3000; }
.cookie-consent[hidden] { display: none; }
.cc-banner { max-width: 1140px; margin: 0 auto 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; background: #fff; border: 1px solid #e3d6d6; border-top: 4px solid var(--ix-gold); border-radius: .5rem; box-shadow: 0 1rem 2.5rem -1rem rgba(0,0,0,.45); padding: 1.25rem; }
.cc-banner[hidden] { display: none; }
.cc-banner-body { flex: 1 1 380px; }
.cc-title { display: block; font-family: var(--ix-font-head); font-size: 1.15rem; letter-spacing: .5px; }
.cc-text { margin: .35rem 0 0; font-size: .875rem; color: #495057; }
.cc-banner-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-left: auto; }
.cc-btn { min-height: 42px; padding: .6rem 1.25rem; border: 1px solid #d5c6c6; border-radius: 2rem; background: #fff; font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
.cc-btn:hover { border-color: var(--ix-navy); }
.cc-btn-accept { background: var(--ix-gold); border-color: var(--ix-gold); color: #fff; }
.cc-modal { position: fixed; inset: 0; z-index: 3100; display: grid; place-items: center; padding: 1rem; }
.cc-modal[hidden] { display: none; }
.cc-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.cc-modal-panel { position: relative; width: min(620px, 100%); max-height: 88vh; overflow-y: auto; background: #fff; border-radius: .5rem; padding: 1.75rem; }
.cc-modal-close { position: absolute; top: .75rem; right: .75rem; width: 38px; height: 38px; border: 1px solid #ddd; border-radius: 50%; background: #fff; cursor: pointer; }
.cc-modal-title { margin: 0 0 .5rem; font-family: var(--ix-font-head); font-size: 1.4rem; }
.cc-modal-lead { font-size: .875rem; color: #495057; }
.cc-cat { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid #eee; }
.cc-cat-info { flex: 1; }
.cc-cat-info strong { display: block; }
.cc-cat-info span { font-size: .8rem; color: #6c757d; }
.cc-always { font-size: .75rem; font-weight: 600; background: #f3ece6; border-radius: 2rem; padding: .35rem .75rem; }
.cc-switch { position: relative; width: 48px; height: 26px; flex: 0 0 auto; }
.cc-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.cc-slider { position: absolute; inset: 0; border-radius: 2rem; background: #ced4da; transition: background-color .2s ease; }
.cc-slider::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.cc-switch input:checked + .cc-slider { background: var(--ix-gold); }
.cc-switch input:checked + .cc-slider::after { transform: translateX(22px); }
.cc-modal-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.cc-modal-policy { display: inline-block; margin-top: 1rem; font-size: .8rem; }
.footer-cookie { border: 0; background: none; padding: 0; color: inherit; font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; }

/* Mobilde üç buton tek satırda kalır (alt alta kırılmaz) */
@media (max-width: 767.98px) {
    .cc-banner { margin: 0; border-radius: .5rem .5rem 0 0; padding: 1rem; gap: .75rem; }
    .cc-banner-actions { flex-wrap: nowrap; gap: .4rem; margin-left: 0; width: 100%; }
    .cc-banner-actions .cc-btn { flex: 1 1 0; min-width: 0; padding: .5rem .35rem; font-size: .72rem; white-space: nowrap; }
    .cc-banner-actions .cc-btn svg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
