/* ==========================================================================
   İlaç Rehberi — ana stil dosyası
   Genel site + yönetim paneli + kurulum sihirbazı
   ========================================================================== */

:root {
    --c-bg: #f4f8fa;
    --c-surface: #ffffff;
    --c-ink: #0b2233;
    --c-ink-soft: #1c3547;
    --c-muted: #5d7182;
    --c-muted-2: #7b8fa0;
    --c-line: #e1e9ef;
    --c-line-strong: #cdd9e3;
    --c-brand: #0f766e;
    --c-brand-2: #0d9488;
    --c-brand-3: #14b8a6;
    --c-brand-soft: #e6f7f3;
    --c-brand-dark: #115e59;
    --c-navy: #081c2c;
    --c-navy-2: #0d2a3f;
    --c-accent: #f59e0b;
    --c-danger: #dc2626;
    --c-danger-soft: #fef2f2;
    --c-success: #15803d;
    --c-success-soft: #ecfdf3;
    --c-blue: #2563eb;
    --c-blue-soft: #eff6ff;
    --radius: 18px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow-xs: 0 1px 2px rgba(8, 28, 44, 0.05);
    --shadow-sm: 0 2px 8px -2px rgba(8, 28, 44, 0.08);
    --shadow: 0 16px 40px -24px rgba(8, 28, 44, 0.35);
    --shadow-lg: 0 30px 60px -30px rgba(8, 28, 44, 0.45);
    --font: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --container: 1180px;
    --header-h: 74px;
}

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

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

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.62;
    color: var(--c-ink);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg {
    max-width: 100%;
}

a {
    color: var(--c-brand);
    text-decoration: none;
}

a:hover {
    color: var(--c-brand-dark);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.5em;
    line-height: 1.22;
    letter-spacing: -0.022em;
    color: var(--c-ink);
    font-weight: 700;
}

p {
    margin: 0 0 1em;
}

ul, ol {
    margin: 0 0 1em;
    padding-left: 1.2em;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

::selection {
    background: #b9ede4;
    color: #052e2b;
}

:focus-visible {
    outline: 3px solid rgba(13, 148, 136, 0.35);
    outline-offset: 2px;
    border-radius: 6px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    background: var(--c-navy);
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
    transition: top 0.15s ease;
}

.skip-link:focus {
    top: 12px;
    color: #fff;
}

.container {
    width: min(var(--container), 100% - 40px);
    margin-inline: auto;
}

.site-main {
    min-height: 60vh;
}

.icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    display: inline-block;
    vertical-align: -0.18em;
}

.icon--lg {
    width: 26px;
    height: 26px;
}

.icon--sm {
    width: 16px;
    height: 16px;
}

/* --------------------------------------------------------------------------
   Butonlar
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 11px;
    border: 1px solid transparent;
    font-weight: 650;
    font-size: 14.5px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--c-brand), var(--c-brand-dark));
    box-shadow: 0 8px 20px -10px rgba(15, 118, 110, 0.8);
}

.btn--primary:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--c-brand-dark), #0b4f4a);
    box-shadow: 0 12px 24px -10px rgba(15, 118, 110, 0.7);
}

.btn--dark {
    color: #fff;
    background: var(--c-navy);
}

.btn--dark:hover {
    color: #fff;
    background: var(--c-navy-2);
}

.btn--outline {
    color: var(--c-ink);
    background: #fff;
    border-color: var(--c-line-strong);
}

.btn--outline:hover {
    color: var(--c-brand-dark);
    border-color: var(--c-brand-3);
    background: #fbfefd;
}

.btn--ghost {
    color: var(--c-ink-soft);
    background: transparent;
}

.btn--ghost:hover {
    background: #eef4f7;
    color: var(--c-ink);
}

.btn--soft {
    color: var(--c-brand-dark);
    background: var(--c-brand-soft);
}

.btn--soft:hover {
    background: #d3f2ea;
    color: var(--c-brand-dark);
}

.btn--danger {
    color: #fff;
    background: var(--c-danger);
}

.btn--danger:hover {
    background: #b91c1c;
    color: #fff;
}

.btn--danger-soft {
    color: #b91c1c;
    background: var(--c-danger-soft);
    border-color: #fecaca;
}

.btn--danger-soft:hover {
    background: #fee2e2;
}

.btn--sm {
    padding: 8px 13px;
    font-size: 13px;
    border-radius: 9px;
}

.btn--lg {
    padding: 14px 24px;
    font-size: 16px;
    border-radius: 13px;
}

.btn--block {
    width: 100%;
}

.btn--icon {
    padding: 10px;
    width: 42px;
    height: 42px;
}

/* --------------------------------------------------------------------------
   Etiketler
   -------------------------------------------------------------------------- */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 650;
    line-height: 1.4;
    letter-spacing: 0.01em;
    white-space: nowrap;
    background: #eef3f6;
    color: #40596b;
    border: 1px solid transparent;
}

.badge .icon {
    width: 13px;
    height: 13px;
}

.badge--green {
    background: #e9f9ef;
    color: #166534;
    border-color: #c7eed6;
}

.badge--blue {
    background: #eef5ff;
    color: #1d4ed8;
    border-color: #d8e6fe;
}

.badge--red {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fbd5d5;
}

.badge--orange {
    background: #fff7ed;
    color: #c2410c;
    border-color: #fed7aa;
}

.badge--amber {
    background: #fffbeb;
    color: #b45309;
    border-color: #fde68a;
}

.badge--purple {
    background: #f7f2ff;
    color: #6d28d9;
    border-color: #e9d5ff;
}

.badge--slate {
    background: #f1f5f9;
    color: #475569;
    border-color: #e2e8f0;
}

.badge--pdf {
    background: #fff1f2;
    color: #be123c;
    border-color: #fecdd3;
}

.badge--demo {
    background: #fffbeb;
    color: #92400e;
    border-color: #fde68a;
}

/* --------------------------------------------------------------------------
   Üst bilgi çubuğu
   -------------------------------------------------------------------------- */

.topbar {
    background: var(--c-navy);
    color: #c7d7e3;
    font-size: 12.5px;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 38px;
}

.topbar__note {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.topbar__note .icon {
    width: 15px;
    height: 15px;
    color: #5eead4;
}

.topbar__note span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar__links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
}

.topbar__links a {
    color: #c7d7e3;
    font-weight: 550;
}

.topbar__links a:hover {
    color: #fff;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
    color: var(--c-ink);
}

.brand:hover {
    color: var(--c-ink);
}

.brand__mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #14b8a6 0%, #0f766e 55%, #115e59 100%);
    box-shadow: 0 8px 18px -8px rgba(13, 148, 136, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.brand__mark .icon {
    width: 24px;
    height: 24px;
    transform: rotate(-12deg);
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand__name {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand__tagline {
    font-size: 10.5px;
    color: var(--c-muted);
    font-weight: 550;
    letter-spacing: 0.01em;
    margin-top: 2px;
}

.header-search {
    flex: 1 1 auto;
    max-width: 560px;
    position: relative;
}

.header-search__form {
    display: flex;
    align-items: center;
    background: #f2f6f8;
    border: 1px solid transparent;
    border-radius: 13px;
    padding: 4px 5px 4px 14px;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.header-search__form:focus-within {
    background: #fff;
    border-color: rgba(13, 148, 136, 0.55);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

.header-search__form > .icon {
    color: var(--c-muted-2);
    width: 18px;
    height: 18px;
}

.header-search__input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 8px 10px;
    font-size: 14.5px;
    outline: none;
}

.header-search__input::placeholder {
    color: #8fa2b1;
}

.header-search__button {
    border: 0;
    border-radius: 10px;
    padding: 9px 16px;
    background: var(--c-brand);
    color: #fff;
    font-size: 13.5px;
    font-weight: 650;
}

.header-search__button:hover {
    background: var(--c-brand-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex: 0 0 auto;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid transparent;
    color: var(--c-ink-soft);
}

.icon-btn:hover {
    background: #eef4f7;
}

.menu-toggle {
    display: none;
}

/* Arama önerileri */
.search-suggest {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    z-index: 60;
}

.search-suggest[hidden] {
    display: none;
}

.search-suggest__list {
    list-style: none;
    margin: 0;
    padding: 6px;
    max-height: 420px;
    overflow-y: auto;
}

.search-suggest__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--c-ink);
}

.search-suggest__item:hover,
.search-suggest__item.is-active {
    background: #eff9f6;
    color: var(--c-ink);
}

.search-suggest__icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--c-brand-soft);
    color: var(--c-brand-dark);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.search-suggest__main {
    min-width: 0;
    flex: 1;
}

.search-suggest__name {
    display: block;
    font-size: 13.5px;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggest__meta {
    display: block;
    font-size: 11.5px;
    color: var(--c-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggest__price {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--c-brand-dark);
    flex: 0 0 auto;
}

.search-suggest__empty {
    padding: 18px;
    color: var(--c-muted);
    font-size: 13.5px;
    text-align: center;
}

.search-suggest__all {
    display: block;
    padding: 11px 16px;
    border-top: 1px solid var(--c-line);
    font-size: 13px;
    font-weight: 650;
    background: #fbfdfe;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Navigasyon
   -------------------------------------------------------------------------- */

.main-nav {
    background: #fff;
    border-bottom: 1px solid var(--c-line);
}

.main-nav__inner {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.main-nav__inner::-webkit-scrollbar {
    display: none;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 13px 14px;
    font-size: 13.8px;
    font-weight: 600;
    color: #40596b;
    white-space: nowrap;
}

.nav-link .icon {
    width: 16px;
    height: 16px;
    color: #7b8fa0;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--c-brand-dark);
}

.nav-link.is-active .icon {
    color: var(--c-brand);
}

.nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -1px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--c-brand-2);
}

.mobile-nav {
    display: none;
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    padding: 8px 0 16px;
}

.mobile-nav.is-open {
    display: block;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 4px;
    color: var(--c-ink-soft);
    font-weight: 600;
    border-bottom: 1px solid #f0f4f7;
}

.mobile-nav a:last-child {
    border-bottom: 0;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 420px at 88% -10%, rgba(20, 184, 166, 0.2), transparent 62%),
        radial-gradient(700px 340px at 0% 0%, rgba(37, 99, 235, 0.07), transparent 55%),
        linear-gradient(180deg, #f0fbf8 0%, #f7fafc 78%);
    border-bottom: 1px solid #e6eef3;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(8, 28, 44, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 28, 44, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(700px 360px at 70% 30%, #000 30%, transparent 75%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 48px;
    align-items: center;
    padding: 54px 0 46px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(13, 148, 136, 0.25);
    color: var(--c-brand-dark);
    font-size: 12.5px;
    font-weight: 650;
    margin-bottom: 18px;
    box-shadow: var(--shadow-xs);
}

.hero__eyebrow .icon {
    width: 15px;
    height: 15px;
}

.hero__title {
    font-size: clamp(30px, 4.2vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 14px;
    max-width: 15ch;
}

.hero__title em {
    font-style: normal;
    color: var(--c-brand);
    position: relative;
}

.hero__lead {
    font-size: 16.5px;
    color: #476073;
    max-width: 56ch;
    margin-bottom: 26px;
}

.hero-search {
    max-width: 620px;
    position: relative;
}

.hero-search__form {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--c-line-strong);
    border-radius: 16px;
    padding: 7px 8px 7px 16px;
    box-shadow: 0 18px 40px -24px rgba(8, 28, 44, 0.4);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.hero-search__form:focus-within {
    border-color: var(--c-brand-2);
    box-shadow: 0 0 0 5px rgba(13, 148, 136, 0.12), 0 20px 40px -24px rgba(8, 28, 44, 0.4);
}

.hero-search__form > .icon {
    color: var(--c-muted-2);
    width: 21px;
    height: 21px;
}

.hero-search__input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    padding: 10px 8px;
    font-size: 16px;
}

.hero-search__input::placeholder {
    color: #90a3b2;
}

.hero-search__btn {
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--c-brand), var(--c-brand-dark));
    color: #fff;
    font-weight: 700;
    font-size: 14.5px;
    padding: 12px 22px;
    box-shadow: 0 10px 20px -12px rgba(13, 148, 136, 0.8);
}

.hero-search__btn:hover {
    background: linear-gradient(135deg, var(--c-brand-dark), #0b4f4a);
}

.hero__quick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--c-muted);
}

.hero__quick a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--c-line);
    color: #3d5668;
    font-weight: 600;
}

.hero__quick a:hover {
    border-color: var(--c-brand-3);
    color: var(--c-brand-dark);
    background: #fff;
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid rgba(8, 28, 44, 0.08);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.stat strong {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--c-ink);
}

.stat span {
    font-size: 11.5px;
    color: var(--c-muted);
    font-weight: 550;
}

.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 340px;
}

.hero__glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.28), transparent 65%);
    filter: blur(6px);
}

.mock-card {
    position: relative;
    width: min(360px, 100%);
    background: #fff;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 30px 70px -35px rgba(8, 28, 44, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.7);
    transform: rotate(1.6deg);
}

.mock-card__top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.mock-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(145deg, #ccfbf1, #99f6e4);
    color: #0f766e;
    display: grid;
    place-items: center;
}

.mock-card__title {
    font-size: 15px;
    font-weight: 750;
    line-height: 1.25;
}

.mock-card__sub {
    font-size: 11.5px;
    color: var(--c-muted);
}

.mock-card__price {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--c-ink);
    line-height: 1;
    margin: 8px 0 4px;
}

.mock-card__price small {
    font-size: 12px;
    font-weight: 600;
    color: var(--c-muted);
    letter-spacing: 0;
}

.mock-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.mock-card__bars {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--c-line);
    display: flex;
    align-items: flex-end;
    gap: 7px;
    height: 74px;
}

.mock-card__bars span {
    flex: 1;
    border-radius: 5px 5px 3px 3px;
    background: linear-gradient(180deg, #5eead4, #0d9488);
    opacity: 0.85;
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 13px;
    padding: 9px 13px;
    box-shadow: var(--shadow);
    font-size: 12px;
    font-weight: 650;
    color: var(--c-ink-soft);
    animation: float 5s ease-in-out infinite;
}

.floating-badge .icon {
    color: var(--c-brand);
    width: 18px;
    height: 18px;
}

.floating-badge--pdf {
    right: -6px;
    bottom: 34px;
    animation-delay: -1.5s;
}

.floating-badge--secure {
    left: -12px;
    top: 28px;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
    .floating-badge {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* --------------------------------------------------------------------------
   Bölümler
   -------------------------------------------------------------------------- */

.section {
    padding: 52px 0;
}

.section--tight {
    padding: 34px 0;
}

.section--alt {
    background: #fff;
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
}

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.section__eyebrow {
    display: block;
    font-size: 11.5px;
    font-weight: 750;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--c-brand);
    margin-bottom: 4px;
}

.section__title {
    font-size: clamp(21px, 2.4vw, 27px);
    letter-spacing: -0.03em;
    margin: 0;
}

.section__desc {
    margin: 5px 0 0;
    color: var(--c-muted);
    font-size: 14px;
}

.section__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 650;
    color: var(--c-brand-dark);
    white-space: nowrap;
    padding-bottom: 3px;
}

.section__link .icon {
    width: 16px;
    height: 16px;
    transition: transform 0.15s ease;
}

.section__link:hover .icon {
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Harf şeridi
   -------------------------------------------------------------------------- */

.letter-strip {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 16px 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    box-shadow: var(--shadow-xs);
}

.letter-strip__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--c-muted);
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.letter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 9px;
    border: 1px solid var(--c-line);
    background: #fbfdfe;
    color: #355063;
    font-size: 13px;
    font-weight: 700;
}

.letter-chip:hover {
    border-color: var(--c-brand-3);
    background: var(--c-brand-soft);
    color: var(--c-brand-dark);
}

.letter-chip--empty {
    opacity: 0.4;
    pointer-events: none;
}

.letter-chip__count {
    font-size: 10px;
    font-weight: 600;
    color: var(--c-muted-2);
}

/* --------------------------------------------------------------------------
   İlaç kartları
   -------------------------------------------------------------------------- */

.grid {
    display: grid;
    gap: 18px;
}

.grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid--cards {
    grid-template-columns: repeat(auto-fill, minmax(262px, 1fr));
}

.drug-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.15s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    overflow: hidden;
}

.drug-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(13, 148, 136, 0);
    transition: box-shadow 0.18s ease;
    pointer-events: none;
}

.drug-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: #cfe6e0;
}

.drug-card:hover::after {
    box-shadow: inset 0 0 0 1px rgba(13, 148, 136, 0.18);
}

.drug-card__top {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.drug-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: linear-gradient(145deg, #ecfdf9, #d5f5ee);
    color: var(--c-brand);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.drug-card__title {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -0.015em;
    margin: 0;
    color: var(--c-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.drug-card__company {
    font-size: 11.5px;
    color: var(--c-muted);
    margin: 3px 0 0;
}

.drug-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.drug-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #eef3f6;
}

.drug-card__price {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.drug-card__price small {
    font-size: 10px;
    color: var(--c-muted-2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.price {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--c-ink);
    line-height: 1.15;
}

.price--brand {
    color: var(--c-brand-dark);
}

.price--lg {
    font-size: 34px;
    letter-spacing: -0.04em;
}

.price--muted {
    font-size: 13px;
    color: var(--c-muted);
    font-weight: 600;
    letter-spacing: 0;
}

/* Liste satırı */
.drug-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.drug-row:hover {
    border-color: #cfe6e0;
    box-shadow: var(--shadow-sm);
}

.drug-row__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eef8f5;
    color: var(--c-brand);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.drug-row__main {
    flex: 1;
    min-width: 0;
}

.drug-row__name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--c-ink);
    margin-bottom: 3px;
}

.drug-row__name:hover {
    color: var(--c-brand-dark);
}

.drug-row__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    font-size: 12px;
    color: var(--c-muted);
}

.drug-row__meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.drug-row__meta .icon {
    width: 14px;
    height: 14px;
    color: #8ca0af;
}

.drug-row__side {
    flex: 0 0 auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.drug-row__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
}

/* --------------------------------------------------------------------------
   ATC kartları
   -------------------------------------------------------------------------- */

.atc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
}

.atc-card {
    display: flex;
    align-items: center;
    gap: 13px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    padding: 15px 16px;
    color: var(--c-ink);
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.atc-card:hover {
    color: var(--c-ink);
    border-color: #bfe3db;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.atc-card__code {
    width: 43px;
    height: 43px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--c-brand-soft);
    color: var(--c-brand-dark);
    font-size: 16px;
    font-weight: 800;
    flex: 0 0 auto;
    letter-spacing: -0.02em;
}

.atc-card__body {
    min-width: 0;
    flex: 1;
}

.atc-card__name {
    display: block;
    font-size: 13.5px;
    font-weight: 650;
    line-height: 1.35;
}

.atc-card__count {
    display: block;
    margin-top: 3px;
    font-size: 11.5px;
    color: var(--c-muted);
}

/* --------------------------------------------------------------------------
   Firma / etkin madde kartları
   -------------------------------------------------------------------------- */

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
}

.company-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    color: var(--c-ink);
}

.company-card:hover {
    color: var(--c-ink);
    border-color: #bfe3db;
    box-shadow: var(--shadow-sm);
}

.company-card__logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f0f6f8;
    color: #51697a;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
    flex: 0 0 auto;
    overflow: hidden;
}

.company-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-card__body {
    min-width: 0;
}

.company-card__name {
    display: block;
    font-size: 13.5px;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.company-card__meta {
    display: block;
    font-size: 11.5px;
    color: var(--c-muted);
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Yardımcı bileşenler
   -------------------------------------------------------------------------- */

.page-head {
    padding: 34px 0 26px;
}

.page-head__title {
    font-size: clamp(26px, 3.4vw, 36px);
    margin-bottom: 8px;
    letter-spacing: -0.035em;
}

.page-head__lead {
    color: var(--c-muted);
    max-width: 70ch;
    margin: 0;
    font-size: 15px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 18px 0 0;
    font-size: 12px;
    color: var(--c-muted);
}

.breadcrumb__item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.breadcrumb__item + .breadcrumb__item::before {
    content: "/";
    color: #b9c8d3;
    margin: 0 4px;
}

.breadcrumb a {
    color: var(--c-muted);
    font-weight: 550;
}

.breadcrumb a:hover {
    color: var(--c-brand-dark);
}

.breadcrumb__current {
    color: #355063;
    font-weight: 600;
    max-width: 48ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flash {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid var(--c-line);
    background: #fff;
    font-size: 13.5px;
    margin: 16px 0;
    box-shadow: var(--shadow-xs);
}

.flash__icon {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    margin-top: 1px;
}

.flash__body {
    flex: 1;
    min-width: 0;
    padding-top: 1px;
}

.flash__close {
    border: 0;
    background: transparent;
    color: var(--c-muted);
    padding: 2px;
    line-height: 0;
    border-radius: 6px;
}

.flash__close:hover {
    background: rgba(8, 28, 44, 0.06);
}

.flash--success {
    background: var(--c-success-soft);
    border-color: #bbf0cd;
}

.flash--success .flash__icon {
    background: #d1fae5;
    color: #047857;
}

.flash--error {
    background: var(--c-danger-soft);
    border-color: #fecaca;
}

.flash--error .flash__icon {
    background: #fee2e2;
    color: #b91c1c;
}

.flash--info {
    background: var(--c-blue-soft);
    border-color: #dbeafe;
}

.flash--info .flash__icon {
    background: #dbeafe;
    color: #1d4ed8;
}

.empty-state {
    text-align: center;
    padding: 54px 24px;
    background: #fff;
    border: 1px dashed var(--c-line-strong);
    border-radius: var(--radius);
}

.empty-state__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--c-brand-soft);
    color: var(--c-brand);
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.empty-state p {
    color: var(--c-muted);
    font-size: 14px;
    max-width: 46ch;
    margin: 0 auto 16px;
}

/* Filtreler */
.filters {
    position: sticky;
    top: 96px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-xs);
}

.filters__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--c-line);
}

.filter-group {
    margin-bottom: 16px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--c-muted);
    margin-bottom: 6px;
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--c-ink-soft);
    padding: 5px 0;
}

.filter-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--c-brand);
}

.results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.results-bar__count {
    font-size: 13.5px;
    color: var(--c-muted);
}

.results-bar__count strong {
    color: var(--c-ink);
}

.results-bar__sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--c-muted);
}

.select,
.input,
.textarea {
    width: 100%;
    border: 1px solid var(--c-line-strong);
    border-radius: 10px;
    background: #fff;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--c-ink);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input,
.select {
    height: 44px;
}

.textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.55;
}

.select {
    appearance: none;
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235d7182' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.select:focus,
.input:focus,
.textarea:focus {
    border-color: var(--c-brand-2);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

/* Sayfalama */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
    margin: 30px 0 6px;
}

.pagination__link,
.pagination__current,
.pagination__dots {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid var(--c-line);
    background: #fff;
    color: #3d5668;
    font-size: 13px;
    font-weight: 650;
}

.pagination__link:hover {
    border-color: var(--c-brand-3);
    color: var(--c-brand-dark);
    background: var(--c-brand-soft);
}

.pagination__link.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.pagination__current {
    background: var(--c-brand);
    border-color: var(--c-brand);
    color: #fff;
}

.pagination__dots {
    border-color: transparent;
    background: transparent;
    color: var(--c-muted);
}

.pagination__info {
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: var(--c-muted);
    margin-top: 6px;
}

/* --------------------------------------------------------------------------
   İlaç detay
   -------------------------------------------------------------------------- */

.detail-head {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 18px;
    box-shadow: var(--shadow-sm);
}

.detail-head__main {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    flex-wrap: wrap;
}

.detail-head__icon {
    width: 62px;
    height: 62px;
    border-radius: 17px;
    background: linear-gradient(145deg, #ecfdf9, #ccfbf1);
    color: var(--c-brand);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.detail-head__icon .icon {
    width: 30px;
    height: 30px;
}

.detail-head__body {
    flex: 1;
    min-width: 220px;
}

.detail-head__title {
    font-size: clamp(22px, 3vw, 31px);
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

.detail-head__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    font-size: 12.5px;
    color: var(--c-muted);
}

.detail-head__meta a {
    font-weight: 600;
}

.detail-head__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
    align-self: center;
}

.detail-head__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding: 22px 0 50px;
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.detail-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 96px;
}

.card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    overflow: hidden;
}

.card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--c-line);
    background: #fbfdfe;
}

.card__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 700;
    margin: 0;
}

.card__title .icon {
    width: 18px;
    height: 18px;
    color: var(--c-brand);
}

.card__body {
    padding: 20px;
}

.card__body--flush {
    padding: 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--c-line);
    border: 1px solid var(--c-line);
    border-radius: 12px;
    overflow: hidden;
}

.info-item {
    background: #fff;
    padding: 13px 15px;
    min-width: 0;
}

.info-item__label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--c-muted-2);
    margin-bottom: 3px;
}

.info-item__value {
    font-size: 13.5px;
    font-weight: 550;
    color: var(--c-ink-soft);
    overflow-wrap: anywhere;
}

.info-item__value a {
    font-weight: 650;
}

.price-panel {
    background: linear-gradient(155deg, #f0fdf9 0%, #e7f8f4 55%, #dff4ef 100%);
    border: 1px solid #c8ebe3;
    border-radius: var(--radius);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.price-panel::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -50px;
    top: -60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.25), transparent 70%);
}

.price-panel__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f766e;
    margin-bottom: 6px;
}

.price-panel__value {
    font-size: clamp(30px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: -0.045em;
    color: #0b3f3a;
    line-height: 1.05;
}


.price-panel__sub {
    font-size: 13px;
    font-weight: 650;
    color: #2f6f67;
    margin-top: 4px;
}

.price-panel__sub + .price-panel__date {
    margin-top: 8px;
}

.price-panel__date {
    font-size: 11.5px;
    color: #47766f;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.price-panel__note {
    font-size: 11px;
    color: #5b7f79;
    margin: 12px 0 0;
    padding-top: 10px;
    border-top: 1px dashed rgba(15, 118, 110, 0.25);
    line-height: 1.5;
}

.doc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.doc-card {
    border: 1px solid var(--c-line);
    border-radius: 13px;
    padding: 15px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doc-card__top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.doc-card__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #fff1f2;
    color: #be123c;
    flex: 0 0 auto;
}

.doc-card__icon--kt {
    background: #eff6ff;
    color: #1d4ed8;
}

.doc-card__title {
    font-size: 13.5px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.doc-card__sub {
    font-size: 11px;
    color: var(--c-muted);
    margin: 2px 0 0;
}

.doc-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 6px;
}

.doc-card__actions .btn {
    flex: 1;
    min-width: 88px;
}

.prose {
    font-size: 14.5px;
    line-height: 1.75;
    color: #243b4c;
    overflow-wrap: anywhere;
}

.prose > :first-child {
    margin-top: 0;
}

.prose > :last-child {
    margin-bottom: 0;
}

.prose h2 {
    font-size: 20px;
    margin: 1.6em 0 0.6em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid var(--c-line);
    letter-spacing: -0.02em;
}

.prose h3 {
    font-size: 16.5px;
    margin: 1.4em 0 0.45em;
}

.prose h4 {
    font-size: 15px;
    margin: 1.2em 0 0.4em;
}

.prose p {
    margin: 0 0 0.9em;
}

.prose ul,
.prose ol {
    margin: 0 0 1em;
    padding-left: 1.35em;
}

.prose li {
    margin-bottom: 0.35em;
}

.prose a {
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(15, 118, 110, 0.3);
    text-underline-offset: 2px;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    font-size: 13px;
}

.prose th,
.prose td {
    border: 1px solid var(--c-line);
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.prose th {
    background: #f6fafb;
    font-weight: 700;
}

.prose img {
    border-radius: 10px;
    height: auto;
}

.prose blockquote {
    margin: 1em 0;
    padding: 12px 16px;
    border-left: 3px solid var(--c-brand-3);
    background: #f4fbf9;
    color: #355063;
    border-radius: 0 10px 10px 0;
}

.prose .notice,
.notice {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #713f12;
    border-radius: 11px;
    padding: 12px 15px;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 1.2em;
}

.prose hr {
    border: 0;
    border-top: 1px solid var(--c-line);
    margin: 1.5em 0;
}

.clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price-history {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.price-history__row {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #f0f4f7;
    font-size: 12.5px;
}

.price-history__row:last-child {
    border-bottom: 0;
}

.price-history__date {
    color: var(--c-muted);
}

.price-history__bar {
    height: 7px;
    border-radius: 4px;
    background: #eef4f7;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.price-history__bar span {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #5eead4, #0d9488);
}

.price-history__value {
    font-weight: 700;
    color: var(--c-ink-soft);
    text-align: right;
    white-space: nowrap;
}

.sidebar-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    padding: 18px;
}

.sidebar-card__title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin-bottom: 12px;
}

.sidebar-card__title .icon {
    width: 15px;
    height: 15px;
    color: var(--c-brand);
}

.company-mini {
    display: flex;
    align-items: center;
    gap: 11px;
}

.company-mini__logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #f0f6f8;
    color: #51697a;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
    flex: 0 0 auto;
    overflow: hidden;
}

.company-mini__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-mini__name {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
}

.company-mini__link {
    font-size: 11.5px;
    color: var(--c-muted);
}

.atc-path {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.atc-path__item {
    position: relative;
    padding: 0 0 12px 20px;
    font-size: 12px;
    line-height: 1.4;
    color: #466173;
}

.atc-path__item::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #99f6e4;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #ccfbf1;
}

.atc-path__item::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 15px;
    bottom: -2px;
    width: 1px;
    background: #d7efe9;
}

.atc-path__item:last-child::after {
    display: none;
}

.atc-path__item:last-child {
    color: var(--c-ink);
    font-weight: 650;
    padding-bottom: 0;
}

.atc-path__code {
    font-weight: 750;
    color: var(--c-brand-dark);
    margin-right: 4px;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    border: 1px solid var(--c-line);
    background: #fff;
    color: #526b7c;
    display: grid;
    place-items: center;
}

.share-btn:hover {
    background: var(--c-brand-soft);
    color: var(--c-brand-dark);
    border-color: #bfe3db;
}

.share-btn .icon {
    width: 17px;
    height: 17px;
}

.side-note {
    background: #fff8ed;
    border: 1px solid #fde3b8;
    border-radius: 12px;
    padding: 13px 15px;
    font-size: 11.5px;
    line-height: 1.55;
    color: #7a4b12;
    display: flex;
    gap: 9px;
}

.side-note .icon {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    color: #b45309;
    margin-top: 1px;
}

/* --------------------------------------------------------------------------
   Doküman sayfası
   -------------------------------------------------------------------------- */

.document-page {
    padding: 24px 0 60px;
}

.document-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 16px;
}

.document-toolbar__title {
    font-size: 13px;
    font-weight: 650;
    color: #355063;
    display: flex;
    align-items: center;
    gap: 8px;
}

.document-toolbar__actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.document-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
    align-items: start;
}

.document-paper {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: clamp(22px, 4vw, 44px);
    box-shadow: var(--shadow-sm);
    min-height: 400px;
}

.document-paper__head {
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 2px solid #eef4f7;
}

.document-paper__kicker {
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-brand);
    margin-bottom: 5px;
}

.document-paper__title {
    font-size: clamp(21px, 2.8vw, 27px);
    margin-bottom: 6px;
}

.document-paper__meta {
    font-size: 12px;
    color: var(--c-muted);
}

.document-side {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.document-missing {
    text-align: center;
    padding: 40px 20px;
    border: 1px dashed var(--c-line-strong);
    border-radius: 14px;
    background: #fbfdfe;
}

.document-missing .icon {
    width: 38px;
    height: 38px;
    color: var(--c-muted-2);
    margin-bottom: 10px;
}

.document-missing h3 {
    font-size: 17px;
    margin-bottom: 5px;
}

.document-missing p {
    color: var(--c-muted);
    font-size: 13.5px;
    max-width: 42ch;
    margin: 0 auto 16px;
}

/* --------------------------------------------------------------------------
   Haberler
   -------------------------------------------------------------------------- */

.article-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.article-card__image {
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(120px 80px at 80% 20%, rgba(94, 234, 212, 0.55), transparent 70%),
        linear-gradient(135deg, #0f766e, #0b3f3a);
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.9);
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card__image .icon {
    width: 38px;
    height: 38px;
    opacity: 0.8;
}

.article-card__body {
    padding: 17px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--c-muted);
    margin-bottom: 7px;
}

.article-card__title {
    font-size: 15.5px;
    line-height: 1.35;
    margin-bottom: 7px;
    letter-spacing: -0.02em;
}

.article-card__title a {
    color: var(--c-ink);
}

.article-card__title a:hover {
    color: var(--c-brand-dark);
}

.article-card__excerpt {
    font-size: 12.5px;
    color: var(--c-muted);
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card__link {
    margin-top: auto;
    font-size: 12.5px;
    font-weight: 650;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.article-card__link .icon {
    width: 14px;
    height: 14px;
}

.article-hero {
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    padding: 34px 0 30px;
}

.article-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    font-size: 12px;
    color: var(--c-muted);
    margin-bottom: 10px;
}

.article-hero__title {
    font-size: clamp(26px, 3.6vw, 40px);
    letter-spacing: -0.035em;
    max-width: 26ch;
    margin-bottom: 12px;
}

.article-hero__lead {
    font-size: 16px;
    color: #476073;
    max-width: 70ch;
    margin: 0;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: start;
    padding: 34px 0 60px;
}

.article-body {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: clamp(22px, 4vw, 40px);
}

.article-body .prose {
    font-size: 15.5px;
}

.article-body__figure {
    margin: 0 0 24px;
    border-radius: 14px;
    overflow: hidden;
}

.article-body__figure img {
    width: 100%;
    height: auto;
    display: block;
}

.article-aside {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.related-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-list li {
    padding-bottom: 12px;
    border-bottom: 1px solid #eef3f6;
}

.related-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.related-list a {
    display: block;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
    color: var(--c-ink);
}

.related-list a:hover {
    color: var(--c-brand-dark);
}

.related-list time {
    display: block;
    font-size: 11px;
    color: var(--c-muted);
    margin-top: 4px;
}

/* --------------------------------------------------------------------------
   İletişim
   -------------------------------------------------------------------------- */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 24px;
    align-items: start;
    padding: 10px 0 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info__item {
    display: flex;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 13px;
    padding: 15px;
    align-items: flex-start;
}

.contact-info__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--c-brand-soft);
    color: var(--c-brand);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.contact-info__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin-bottom: 2px;
}

.contact-info__value {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--c-ink-soft);
    overflow-wrap: anywhere;
}

.contact-form {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 24px;
}

/* --------------------------------------------------------------------------
   Form alanları (genel)
   -------------------------------------------------------------------------- */

.field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.field:last-child {
    margin-bottom: 0;
}

.field__label {
    font-size: 12.5px;
    font-weight: 650;
    color: #355063;
}

.field__label .req {
    color: var(--c-danger);
    margin-left: 2px;
}

.field__hint {
    font-size: 11px;
    color: var(--c-muted);
    line-height: 1.5;
}

.field__error {
    font-size: 11.5px;
    color: var(--c-danger);
    font-weight: 550;
    display: flex;
    align-items: center;
    gap: 4px;
}

.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea {
    border-color: #f0a4a4;
    background: #fffafa;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    color: var(--c-ink-soft);
    cursor: pointer;
    line-height: 1.5;
}

.checkbox input {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    accent-color: var(--c-brand);
    flex: 0 0 auto;
}

.checkbox a {
    font-weight: 600;
    text-decoration: underline;
}

.form-note {
    font-size: 11.5px;
    color: var(--c-muted);
    background: #f6fafb;
    border: 1px solid var(--c-line);
    border-radius: 10px;
    padding: 10px 12px;
    line-height: 1.55;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   Alt bilgi
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--c-navy);
    color: #b9cbd8;
    font-size: 13px;
    margin-top: 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding: 48px 0 34px;
}

.footer-brand .brand {
    color: #fff;
    margin-bottom: 14px;
}

.footer-brand .brand__name {
    color: #fff;
}

.footer-brand .brand__tagline {
    color: #8fa8b9;
}

.footer-brand p {
    color: #9db3c2;
    font-size: 12.5px;
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: 36ch;
}

.footer-col h4 {
    color: #e8f1f6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-col a {
    color: #a9bdcb;
    font-size: 12.5px;
}

.footer-col a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 7px;
}

.social-links a {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    color: #b9cbd8;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.social-links .icon {
    width: 16px;
    height: 16px;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
    font-size: 11.5px;
    line-height: 1.7;
    color: #8fa8b9;
}

.footer-disclaimer strong {
    color: #d9e7ef;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 18px 0;
    font-size: 11.5px;
    color: #7f99aa;
}

.footer-bottom__links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: #9db3c2;
}

.footer-bottom a:hover {
    color: #fff;
}

/* --------------------------------------------------------------------------
   Yönetim girişi
   -------------------------------------------------------------------------- */

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    background: #f4f8fa;
}

.login-aside {
    position: relative;
    background:
        radial-gradient(600px 400px at 80% 10%, rgba(20, 184, 166, 0.35), transparent 65%),
        linear-gradient(150deg, #071a29 0%, #0b2f43 55%, #0f4a48 100%);
    color: #e6f2f7;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.login-aside::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(600px 400px at 60% 40%, #000, transparent 80%);
}

.login-aside > * {
    position: relative;
    z-index: 1;
}

.login-aside__title {
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.04em;
    color: #fff;
    max-width: 14ch;
    margin-bottom: 14px;
}

.login-aside__lead {
    color: #a9c6d4;
    max-width: 38ch;
    font-size: 14px;
    line-height: 1.7;
}

.login-aside__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.login-aside__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #cfe3ec;
}

.login-aside__feature .icon {
    width: 18px;
    height: 18px;
    color: #5eead4;
}

.login-main {
    display: grid;
    place-items: center;
    padding: 36px 24px;
}

.login-card {
    width: min(420px, 100%);
}

.login-card__brand {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 30px;
}

.login-card__title {
    font-size: 26px;
    letter-spacing: -0.03em;
    margin-bottom: 5px;
}

.login-card__lead {
    color: var(--c-muted);
    font-size: 13.5px;
    margin-bottom: 24px;
}

.login-form {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.login-card__footer {
    margin-top: 18px;
    text-align: center;
    font-size: 12px;
    color: var(--c-muted);
}

/* --------------------------------------------------------------------------
   Yönetim paneli
   -------------------------------------------------------------------------- */

.admin-body {
    background: #f3f7f9;
}

.admin-shell {
    min-height: 100vh;
}

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 264px;
    background: linear-gradient(180deg, #071a29 0%, #0a2233 100%);
    color: #b9cbd8;
    z-index: 60;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease;
}

.admin-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 19px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.admin-sidebar__brand .brand__mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.admin-sidebar__brand .brand__mark .icon {
    width: 20px;
    height: 20px;
}

.admin-sidebar__brand .brand__name {
    color: #fff;
    font-size: 16px;
}

.admin-sidebar__brand .brand__tagline {
    color: #7f9aab;
    font-size: 9.5px;
}

.admin-nav {
    flex: 1;
    overflow-y: auto;
    padding: 14px 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.admin-nav__group {
    margin-bottom: 16px;
}

.admin-nav__label {
    font-size: 9.5px;
    font-weight: 750;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #5f7b8e;
    padding: 0 10px;
    margin-bottom: 6px;
}

.admin-nav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 9px;
    color: #a9bfcd;
    font-size: 13px;
    font-weight: 550;
    margin-bottom: 2px;
}

.admin-nav__link .icon {
    width: 17px;
    height: 17px;
    color: #6f8b9e;
    flex: 0 0 auto;
}

.admin-nav__link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.admin-nav__link:hover .icon {
    color: #99f6e4;
}

.admin-nav__link.is-active {
    background: linear-gradient(90deg, rgba(13, 148, 136, 0.28), rgba(13, 148, 136, 0.12));
    color: #fff;
    box-shadow: inset 2px 0 0 #2dd4bf;
}

.admin-nav__link.is-active .icon {
    color: #5eead4;
}

.admin-nav__badge {
    margin-left: auto;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-sidebar__footer {
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.admin-sidebar__user {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.admin-sidebar__avatar {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(140deg, #14b8a6, #0f766e);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 750;
    flex: 0 0 auto;
}

.admin-sidebar__userinfo {
    min-width: 0;
    flex: 1;
}

.admin-sidebar__username {
    display: block;
    font-size: 12px;
    font-weight: 650;
    color: #e6f1f6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-sidebar__role {
    display: block;
    font-size: 10px;
    color: #7f9aab;
}

.admin-main {
    margin-left: 264px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 64px;
    padding: 0 26px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-line);
}

.admin-topbar__toggle {
    display: none;
}

.admin-topbar__title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-topbar__crumb {
    font-size: 11px;
    color: var(--c-muted);
    display: block;
    margin-top: 1px;
}

.admin-topbar__actions {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 9px 5px 5px;
    border-radius: 999px;
    border: 1px solid var(--c-line);
    background: #fff;
}

.admin-user__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(140deg, #14b8a6, #0f766e);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 10.5px;
    font-weight: 750;
}

.admin-user__name {
    font-size: 12px;
    font-weight: 650;
}

.admin-content {
    flex: 1;
    padding: 24px 26px 46px;
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
}

.admin-page__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.admin-page__title {
    font-size: 24px;
    letter-spacing: -0.03em;
    margin-bottom: 3px;
}

.admin-page__desc {
    font-size: 12.5px;
    color: var(--c-muted);
    margin: 0;
}

.admin-page__actions {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 14px;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.stat-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.stat-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--c-brand-soft);
    color: var(--c-brand);
}

.stat-card__icon .icon {
    width: 18px;
    height: 18px;
}

.stat-card__hint {
    font-size: 10.5px;
    color: var(--c-muted);
    font-weight: 600;
}

.stat-card__value {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--c-ink);
}

.stat-card__label {
    font-size: 11.5px;
    color: var(--c-muted);
    margin-top: 2px;
    font-weight: 550;
}

.panel {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 18px;
}

.panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--c-line);
    background: #fbfdfe;
}

.panel__title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    margin: 0;
}

.panel__title .icon {
    width: 16px;
    height: 16px;
    color: var(--c-brand);
}

.panel__body {
    padding: 16px;
}

.panel__body--flush {
    padding: 0;
}

.panel__link {
    font-size: 11.5px;
    font-weight: 650;
}

.admin-grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

/* Tablolar */
.table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    min-width: 720px;
}

.data-table th {
    text-align: left;
    padding: 10px 14px;
    background: #f7fafc;
    border-bottom: 1px solid var(--c-line);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--c-muted);
    white-space: nowrap;
}

.data-table td {
    padding: 11px 14px;
    border-bottom: 1px solid #eff4f7;
    vertical-align: middle;
}

.data-table tbody tr:last-child td {
    border-bottom: 0;
}

.data-table tbody tr:hover {
    background: #fbfdfe;
}

.data-table__name {
    font-size: 12.5px;
    font-weight: 650;
    color: var(--c-ink);
    display: block;
    max-width: 340px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.data-table__sub {
    display: block;
    font-size: 10.5px;
    color: var(--c-muted);
    margin-top: 1px;
}

.data-table__num {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-end;
}

.action-btn {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    border: 1px solid transparent;
    background: transparent;
    color: #6b8294;
    display: grid;
    place-items: center;
}

.action-btn:hover {
    background: #eef5f7;
    color: var(--c-ink);
}

.action-btn--danger:hover {
    background: var(--c-danger-soft);
    color: #b91c1c;
}

.action-btn .icon {
    width: 15px;
    height: 15px;
}

.table-empty {
    padding: 34px 20px;
    text-align: center;
    color: var(--c-muted);
    font-size: 12.5px;
}

/* Admin form */
.form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
    align-items: start;
}

.form-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.form-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 84px;
}

.form-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 14px;
    overflow: hidden;
}

.form-card__head {
    padding: 13px 16px;
    border-bottom: 1px solid var(--c-line);
    background: #fbfdfe;
}

.form-card__title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    margin: 0;
}

.form-card__title .icon {
    width: 16px;
    height: 16px;
    color: var(--c-brand);
}

.form-card__body {
    padding: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-grid .field--full {
    grid-column: 1 / -1;
}

.form-grid .field {
    margin-bottom: 0;
}

.form-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sticky-actions {
    position: sticky;
    bottom: 0;
    z-index: 20;
    margin-top: 18px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid var(--c-line);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 -8px 24px -18px rgba(8, 28, 44, 0.4);
}

.sticky-actions__spacer {
    flex: 1;
}

.help-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 11px;
    color: var(--c-muted);
    line-height: 1.65;
}

.help-list li {
    display: flex;
    gap: 6px;
    margin-bottom: 5px;
}

.help-list li::before {
    content: "•";
    color: var(--c-brand-3);
    font-weight: 700;
}

.file-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    border-radius: 9px;
    background: #f6fafb;
    border: 1px solid var(--c-line);
    font-size: 11.5px;
    margin-bottom: 8px;
    color: #355063;
}

.file-current .icon {
    width: 16px;
    height: 16px;
    color: #be123c;
}

.file-current a {
    margin-left: auto;
    font-weight: 650;
}

.counter {
    font-size: 10.5px;
    color: var(--c-muted-2);
    text-align: right;
    margin-top: 2px;
}

.counter.is-over {
    color: var(--c-danger);
    font-weight: 650;
}

.toggle {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--c-line);
    border-radius: 10px;
    background: #fbfdfe;
    cursor: pointer;
}

.toggle input {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    accent-color: var(--c-brand);
    flex: 0 0 auto;
}

.toggle__body {
    min-width: 0;
}

.toggle__label {
    display: block;
    font-size: 12px;
    font-weight: 650;
    color: var(--c-ink-soft);
}

.toggle__hint {
    display: block;
    font-size: 10.5px;
    color: var(--c-muted);
    margin-top: 1px;
}

/* Ayarlar sekmeleri */
.tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--c-line);
    overflow-x: auto;
    margin-bottom: 18px;
}

.tab {
    border: 0;
    background: transparent;
    padding: 10px 14px;
    font-size: 12.5px;
    font-weight: 650;
    color: var(--c-muted);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.tab:hover {
    color: var(--c-ink);
}

.tab.is-active {
    color: var(--c-brand-dark);
    border-bottom-color: var(--c-brand-2);
}

.tab-panel[hidden] {
    display: none;
}

/* Mesaj detay */
.message-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.message-meta__item {
    background: #f8fbfc;
    border: 1px solid var(--c-line);
    border-radius: 9px;
    padding: 9px 11px;
}

.message-meta__label {
    display: block;
    font-size: 9.5px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-muted);
}

.message-meta__value {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--c-ink-soft);
    overflow-wrap: anywhere;
}

.message-body {
    white-space: pre-line;
    font-size: 13.5px;
    line-height: 1.7;
    color: #2d4658;
    background: #fbfdfe;
    border: 1px solid var(--c-line);
    border-radius: 10px;
    padding: 14px;
}

/* Aktivite */
.activity-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.activity-item {
    display: flex;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #f0f4f7;
    font-size: 11.5px;
}

.activity-item:last-child {
    border-bottom: 0;
}

.activity-item__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2dd4bf;
    margin-top: 6px;
    flex: 0 0 auto;
}

.activity-item__body {
    min-width: 0;
}

.activity-item__text {
    color: #2d4658;
    line-height: 1.5;
}

.activity-item__time {
    color: var(--c-muted-2);
    font-size: 10px;
}

/* Demo uyarısı */
.demo-banner {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #854d0e;
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 11.5px;
    margin-bottom: 16px;
}

.demo-banner .icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

/* Import */
.import-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 18px;
}

.import-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 650;
    color: var(--c-muted);
}

.import-step__num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eef4f7;
    color: #6b8294;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 750;
}

.import-step.is-active .import-step__num {
    background: var(--c-brand);
    color: #fff;
}

.import-step.is-active {
    color: var(--c-brand-dark);
}

.import-step__line {
    width: 40px;
    height: 1px;
    background: var(--c-line-strong);
    margin: 0 10px;
}

.import-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.import-stat {
    background: #f8fbfc;
    border: 1px solid var(--c-line);
    border-radius: 10px;
    padding: 11px 12px;
}

.import-stat strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.import-stat span {
    font-size: 10.5px;
    color: var(--c-muted);
}

.error-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 220px;
    overflow-y: auto;
    font-size: 11.5px;
}

.error-list li {
    padding: 6px 0;
    border-bottom: 1px solid #f0f4f7;
    color: #8a2c2c;
    display: flex;
    gap: 8px;
}

.error-list li:last-child {
    border-bottom: 0;
}

/* --------------------------------------------------------------------------
   Kurulum sihirbazı
   -------------------------------------------------------------------------- */

.install-body {
    background:
        radial-gradient(800px 400px at 80% -10%, rgba(20, 184, 166, 0.18), transparent 60%),
        #f4f8fa;
    min-height: 100vh;
}

.install-wrap {
    width: min(860px, 100% - 32px);
    margin: 0 auto;
    padding: 38px 0 60px;
}

.install-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.install-head__title {
    font-size: 22px;
    letter-spacing: -0.03em;
    margin: 0;
}

.install-head__sub {
    font-size: 12px;
    color: var(--c-muted);
    margin: 1px 0 0;
}

.install-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.install-card__body {
    padding: clamp(20px, 4vw, 34px);
}

.install-steps {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 16px 24px;
    background: #fbfdfe;
    border-bottom: 1px solid var(--c-line);
    flex-wrap: wrap;
}

.install-step {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    font-weight: 650;
    color: var(--c-muted);
}

.install-step__num {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #eef4f7;
    display: grid;
    place-items: center;
    font-size: 10.5px;
    font-weight: 750;
    color: #6b8294;
}

.install-step.is-active {
    color: var(--c-brand-dark);
}

.install-step.is-active .install-step__num {
    background: var(--c-brand);
    color: #fff;
}

.install-step.is-done .install-step__num {
    background: #d1fae5;
    color: #047857;
}

.install-step__line {
    width: 30px;
    height: 1px;
    background: var(--c-line-strong);
    margin: 0 10px;
}

.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 11px;
    border: 1px solid var(--c-line);
    border-radius: 9px;
    font-size: 12.5px;
    background: #fbfdfe;
}

.check-item__icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.check-item__icon--ok {
    background: #d1fae5;
    color: #047857;
}

.check-item__icon--fail {
    background: #fee2e2;
    color: #b91c1c;
}

.check-item__value {
    margin-left: auto;
    font-size: 11px;
    color: var(--c-muted);
    font-weight: 600;
}

.install-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.install-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.install-summary__item {
    border: 1px solid var(--c-line);
    border-radius: 9px;
    padding: 10px 12px;
    background: #fbfdfe;
}

.install-summary__label {
    font-size: 9.5px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-muted);
}

.install-summary__value {
    font-size: 12.5px;
    font-weight: 650;
    color: var(--c-ink-soft);
    overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   Duyarlı tasarım
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 40px;
    }

    .hero__visual {
        display: none;
    }

    .hero__title {
        max-width: 20ch;
    }

    .grid--4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-side {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .document-layout {
        grid-template-columns: 1fr;
    }

    .document-side {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-aside {
        position: static;
    }

    .form-layout {
        grid-template-columns: 1fr;
    }

    .form-side {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-grid-2 {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer-col:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    :root {
        --header-h: 66px;
    }

    .header-actions {
        display: none;
    }

    .menu-toggle {
        display: grid;
        margin-left: auto;
    }

    .header-search {
        max-width: none;
        order: 3;
        flex: 1 0 100%;
        margin-bottom: 12px;
    }

    .site-header__inner {
        flex-wrap: wrap;
        gap: 10px;
        padding-top: 10px;
    }

    .main-nav {
        display: none;
    }

    .grid--3,
    .grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .login-page {
        grid-template-columns: 1fr;
    }

    .login-aside {
        display: none;
    }

    .login-main {
        min-height: 100vh;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        transform: translateX(-100%);
    }

    .admin-sidebar.is-open {
        transform: translateX(0);
        box-shadow: 20px 0 60px -20px rgba(0, 0, 0, 0.45);
    }

    .admin-main {
        margin-left: 0;
    }

    .admin-topbar {
        padding: 0 16px;
    }

    .admin-topbar__toggle {
        display: grid;
    }

    .admin-content {
        padding: 18px 16px 40px;
    }

    .admin-overlay {
        position: fixed;
        inset: 0;
        background: rgba(5, 20, 32, 0.5);
        z-index: 55;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .admin-overlay.is-open {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(var(--container), 100% - 28px);
    }

    .topbar__note {
        display: none;
    }

    .topbar__inner {
        justify-content: center;
    }

    .topbar__links {
        gap: 14px;
        font-size: 11.5px;
    }

    .brand__tagline {
        display: none;
    }

    .brand__name {
        font-size: 17px;
    }

    .hero__inner {
        padding: 32px 0 34px;
    }

    .hero__lead {
        font-size: 14.5px;
    }

    .hero__stats {
        gap: 10px 22px;
    }

    .stat strong {
        font-size: 18px;
    }

    .section {
        padding: 38px 0;
    }

    .section__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .grid--3,
    .grid--4,
    .grid--cards {
        grid-template-columns: 1fr;
    }

    .detail-head {
        padding: 18px;
    }

    .detail-head__actions {
        width: 100%;
        margin-left: 0;
    }

    .detail-side,
    .document-side,
    .form-side {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .doc-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 26px;
        padding: 34px 0 26px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-col:last-child {
        grid-column: auto;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .form-grid,
    .form-grid--3,
    .field-row,
    .message-meta {
        grid-template-columns: 1fr;
    }

    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .import-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .drug-row {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }

    .drug-row__side {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-left: 56px;
    }

    .price-history__row {
        grid-template-columns: 80px 1fr auto;
    }

    .install-summary {
        grid-template-columns: 1fr;
    }

    .admin-topbar__title {
        font-size: 14px;
    }

    .admin-user__name {
        display: none;
    }

    .admin-user {
        padding: 4px;
    }

    .admin-page__title {
        font-size: 21px;
    }

    .stat-card__value {
        font-size: 23px;
    }

    .sticky-actions {
        flex-wrap: wrap;
    }

    .login-main {
        padding: 24px 16px;
    }
}

@media print {
    .topbar,
    .site-header,
    .main-nav,
    .site-footer,
    .breadcrumb,
    .document-toolbar,
    .document-side,
    .flash,
    .skip-link {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .document-page {
        padding: 0;
    }

    .document-paper {
        border: 0;
        box-shadow: none;
        padding: 0;
    }

    .container {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   Ek bileşenler (ana sayfa ve listeler)
   -------------------------------------------------------------------------- */

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

a.drug-card,
a.drug-card:hover {
    color: inherit;
}

.search-suggest__link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    color: inherit;
}

.search-suggest__link:hover {
    color: inherit;
}

.home-split {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.popular-panel {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-xs);
}

.popular-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.popular-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eef3f6;
}

.popular-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.popular-list__rank {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: #f1f6f8;
    color: #526b7c;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 750;
    flex: 0 0 auto;
}

.popular-list li:nth-child(1) .popular-list__rank {
    background: #ccfbf1;
    color: #0f766e;
}

.popular-list__body {
    min-width: 0;
    flex: 1;
}

.popular-list__body a {
    display: block;
    font-size: 12.5px;
    font-weight: 650;
    color: var(--c-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popular-list__body a:hover {
    color: var(--c-brand-dark);
}

.popular-list__body span {
    display: block;
    font-size: 10.5px;
    color: var(--c-muted);
}

.feature-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 22px;
}

.feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature__icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--c-brand-soft);
    color: var(--c-brand);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.feature h3 {
    font-size: 13.5px;
    margin-bottom: 3px;
}

.feature p {
    font-size: 11.5px;
    color: var(--c-muted);
    margin: 0;
    line-height: 1.55;
}

.letter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
    gap: 8px;
}

.letter-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    aspect-ratio: 1;
    border-radius: 13px;
    background: #fff;
    border: 1px solid var(--c-line);
    color: var(--c-ink);
    font-size: 22px;
    font-weight: 800;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.letter-tile small {
    font-size: 9.5px;
    font-weight: 600;
    color: var(--c-muted);
    letter-spacing: 0;
}

.letter-tile:hover {
    color: var(--c-brand-dark);
    border-color: #bfe3db;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.letter-tile--empty {
    opacity: 0.42;
    pointer-events: none;
}

.letter-tile.is-current {
    background: var(--c-brand);
    border-color: var(--c-brand);
    color: #fff;
}

.letter-tile.is-current small {
    color: #ccfbf1;
}

.letter-nav {
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    margin-bottom: 16px;
}

.letter-nav a {
    min-width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    color: #466173;
}

.letter-nav a:hover {
    background: var(--c-brand-soft);
    color: var(--c-brand-dark);
}

.letter-nav a.is-current {
    background: var(--c-brand);
    color: #fff;
}

.letter-nav a.is-empty {
    opacity: 0.35;
    pointer-events: none;
}

.atc-tree {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.atc-tree__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 12px;
    color: #355063;
    border: 1px solid transparent;
}

.atc-tree__item:hover {
    background: #f4fbf9;
    border-color: #d7efe9;
    color: var(--c-brand-dark);
}

.atc-tree__code {
    font-size: 10.5px;
    font-weight: 750;
    color: var(--c-brand);
    background: var(--c-brand-soft);
    padding: 2px 5px;
    border-radius: 5px;
}

.atc-tree__count {
    margin-left: auto;
    font-size: 10px;
    color: var(--c-muted);
}

.related-drugs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.related-drugs .drug-row {
    padding: 11px 12px;
}

.related-drugs .drug-row__icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
}

.related-drugs .drug-row__name {
    font-size: 13px;
}

.related-drugs .price {
    font-size: 15px;
}

.page-narrow {
    max-width: 900px;
    margin: 0 auto;
}

.page-panel {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: clamp(20px, 4vw, 40px);
    box-shadow: var(--shadow-xs);
}

.page-panel .prose {
    font-size: 15px;
}

.pagination__link--prev .icon {
    transform: rotate(180deg);
}

@media (max-width: 900px) {
    .home-split {
        grid-template-columns: 1fr;
    }

    .feature-band {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 680px) {
    .letter-grid {
        grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    }

    .letter-tile {
        font-size: 19px;
        border-radius: 11px;
    }

    .feature-band {
        padding: 18px;
    }
}

.search-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.filters-mobile {
    display: none;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

@media (max-width: 900px) {
    .search-layout {
        grid-template-columns: 1fr;
    }

    .filters-mobile {
        display: block;
        margin-bottom: 10px;
    }

    .filters {
        position: static;
    }
}

.search-suggest__all-item {
    list-style: none;
    padding: 0;
}

.search-suggest__all-item .search-suggest__all {
    border-radius: 0 0 8px 8px;
}

/* Hero mock card taşma ve rozet konumları */
.mock-card__top > div {
    min-width: 0;
}

.mock-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.mock-card {
    overflow: hidden;
}

.floating-badge {
    z-index: 2;
}

.floating-badge--secure {
    left: -24px;
    top: -14px;
}

.floating-badge--pdf {
    right: -18px;
    bottom: -8px;
}

@media (max-width: 680px) {
    .floating-badge--secure,
    .floating-badge--pdf {
        display: none;
    }
}

/* Mobil ilaç fiyat özeti */
.detail-head__mobile-price {
    display: none;
}

.detail-head__mobile-label {
    display: block;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f766e;
    margin-bottom: 2px;
}

.detail-head__mobile-value {
    display: block;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #0b3f3a;
}

.detail-head__mobile-date {
    display: block;
    font-size: 10.5px;
    color: #47766f;
    margin-top: 2px;
}

.detail-head__mobile-note {
    font-size: 10.5px;
    color: #5b7f79;
    max-width: 24ch;
    line-height: 1.5;
}

@media (max-width: 1080px) {
    .detail-head__mobile-price {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
        margin-top: 16px;
        padding: 14px 16px;
        border-radius: 13px;
        border: 1px solid #c8ebe3;
        background: linear-gradient(155deg, #f0fdf9 0%, #e7f8f4 60%, #dff4ef 100%);
    }

    .detail-side .price-panel {
        display: none;
    }
}

@media (max-width: 680px) {
    .detail-head__mobile-price {
        align-items: flex-start;
        flex-direction: column;
    }

    .detail-head__mobile-note {
        max-width: none;
    }
}

.letter-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.letter-chip {
    position: relative;
    cursor: pointer;
}

.letter-chip input {
    position: absolute;
    opacity: 0;
    inset: 0;
}

.letter-chip span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 30px;
    border: 1px solid var(--c-line);
    border-radius: 8px;
    background: #fff;
    color: var(--c-ink);
    font-size: 12px;
    font-weight: 700;
    transition: .15s ease;
}

.letter-chip input:checked + span {
    border-color: var(--c-brand);
    background: var(--c-brand);
    color: #fff;
}

.letter-chip input:focus-visible + span {
    outline: 2px solid var(--c-brand);
    outline-offset: 2px;
}

.bot-steps {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 9px;
    font-size: 12.5px;
    color: var(--c-ink-soft);
}

.bot-steps li::marker {
    color: var(--c-brand);
    font-weight: 800;
}

.bot-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid var(--c-line);
    border-radius: 10px;
    background: var(--c-bg);
    font-size: 12px;
    color: var(--c-muted);
}

.bot-summary strong {
    color: var(--c-ink);
}
