/* Bulma üzerine eklenen özgün stiller; okunabilir kaynak, iki boşluk girinti. */
:root {
  --ink: #252039;
  --muted: #696476;
  --purple: #6842ce;
  --purple-dark: #4b2b9a;
  --lavender: #f1edfc;
  --line: #e7e3ed;
  --paper: #ffffff;
  --bulma-primary-h: 256deg;
  --bulma-primary-s: 59%;
  --bulma-primary-l: 53%;
  --bulma-body-background-color: #ffffff;
  --bulma-body-color: #252039;
  --bulma-scheme-main: #ffffff;
  --bulma-text: #252039;
  --bulma-border: #e7e3ed;
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
  background: var(--paper);
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}

* {
  box-sizing: border-box;
}

a {
  color: var(--purple-dark);
  text-underline-offset: 4px;
}

a:hover {
  color: var(--purple);
}

button,
input,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #9f80e8;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1180px, calc(100% - 64px));
  max-width: 1180px !important;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  padding: 12px 20px;
  background: var(--ink);
  color: white;
  z-index: 100;
}

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

.top-strip {
  padding: 9px 0;
  background: var(--lavender);
  font-size: 12px;
  color: #544270;
}

.top-strip span {
  float: right;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
}

.navbar {
  min-height: 86px;
  background: transparent;
}

.brand {
  gap: 12px;
  padding-left: 0;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -1px;
  color: var(--ink);
}

.brand img {
  width: 38px;
  height: 38px;
  max-height: none;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 2px;
  line-height: 1.5;
  margin-top: -2px;
}

.brand-dot {
  color: var(--purple);
}

.navbar-item {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding-right: 14px;
  padding-left: 14px;
}

.navbar-item.brand {
  font-size: 25px;
  padding-left: 0;
}

.navbar-item.nav-source {
  color: var(--purple);
  padding-right: 0;
}

.navbar-burger {
  border: none;
  background: transparent;
  width: 58px;
  height: 58px;
  margin: auto 0 auto auto;
  color: var(--ink);
}

.main-content {
  padding-bottom: 80px;
}

.home-hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 76px 0 65px;
}

.eyebrow {
  color: var(--purple-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 17px;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin: 0 7px 1px 0;
  background: var(--purple);
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
}

.home-hero h1 {
  font-size: clamp(38px, 4.7vw, 62px);
  letter-spacing: -2.8px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.home-hero h1 span {
  color: var(--purple);
}

.hero-lead,
.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  border-radius: 8px;
  font-weight: 600;
  min-height: 45px;
}

.button.is-primary {
  background: var(--purple);
  color: #ffffff;
  border-color: var(--purple);
}

.button.is-primary:hover {
  background: var(--purple-dark);
}

.button.is-white {
  border: 1px solid var(--line);
  color: var(--ink);
  background: white;
}

.button.is-medium {
  font-size: 14px;
  min-height: 49px;
}

.hero-actions .button span {
  margin-left: 18px;
}

.hero-caption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 19px;
}

.hero-panel {
  padding: 30px 34px 24px;
  background: #f2eff9;
  border: 1px solid #e3dbf5;
  border-radius: 15px;
  position: relative;
  box-shadow: 10px 10px 0 #faf8fd;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  color: var(--purple-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  align-items: center;
  margin-bottom: 23px;
}

.panel-icon {
  font-size: 36px;
  line-height: 1;
  font-weight: 400;
}

.hero-panel h2 {
  font-size: 31px;
  letter-spacing: -1px;
  margin-bottom: 13px;
}

.hero-panel > p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 24px;
}

.hero-panel > a {
  display: flex;
  align-items: center;
  gap: 17px;
  border-top: 1px solid #dcd4ee;
  padding: 14px 0;
  color: var(--ink);
  font-size: 14px;
}

.hero-panel > a span {
  color: var(--purple);
  font-size: 11px;
}

.hero-panel > a span:last-child {
  margin-left: auto;
  font-size: 19px;
}

.panel-foot {
  padding-top: 12px;
  font-size: 10px;
  color: var(--muted);
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 27px 0;
  border-block: 1px solid var(--line);
}

.stats-bar > div {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.stats-bar > div:first-child {
  padding-left: 0;
  border: none;
}

.stats-bar strong {
  font-size: 30px;
  font-weight: 700;
  display: block;
  line-height: 1.2;
}

.stats-bar span {
  font-size: 12px;
  color: var(--muted);
}

.content-section {
  margin-top: 65px;
}

.content-section > h2 {
  font-size: 29px;
  letter-spacing: -0.7px;
  margin-bottom: 20px;
}

.content-section p {
  margin-bottom: 16px;
}

.section-intro {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  font-size: 13px;
  font-weight: 650;
  color: var(--purple-dark);
}

.search-box {
  padding: 22px 25px;
  background: #f8f6fc;
  border-radius: 10px;
  margin: 10px 0 25px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.search-row {
  display: flex;
  gap: 10px;
}

.input,
.select select {
  border-color: #d8d2e2;
  border-radius: 7px;
  color: var(--ink);
  background: white;
  box-shadow: none;
  min-height: 48px;
  font-size: 14px;
}

.input::placeholder {
  color: #797182;
}

.medicine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.medicine-card {
  border: 1px solid var(--line);
  padding: 23px;
  border-radius: 11px;
  transition:
    border-color 160ms,
    transform 160ms;
  background: white;
}

.medicine-card:hover {
  border-color: #b8a2e4;
  transform: translateY(-2px);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
  margin-bottom: 20px;
}

.ingredient-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  color: #654891;
  background: #f4f0fc;
}

.mini-arrow {
  color: #8b7c9e;
}

.medicine-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.medicine-card h3 a {
  color: var(--ink);
}

.medicine-card p {
  color: var(--muted);
  font-size: 12px;
  min-height: 22px;
  margin-bottom: 22px;
}

.explainer-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fcfbfe;
  margin-top: 65px;
}

.explainer-band h2 {
  font-size: 31px;
  letter-spacing: -0.7px;
  margin-bottom: 18px;
}

.explainer-band p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.compare-mini > div {
  padding: 22px 25px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  margin-bottom: 12px;
}

.compare-mini span {
  font-size: 11px;
  color: var(--purple-dark);
}

.compare-mini strong {
  font-size: 14px;
  display: block;
  margin: 7px 0;
}

.compare-mini p {
  font-size: 11px;
  margin: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 25px;
}

.steps-grid article {
  padding-top: 20px;
  border-top: 2px solid #d6c9ef;
}

.steps-grid article > span {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
}

.steps-grid h3 {
  margin: 16px 0 12px;
  font-size: 18px;
}

.steps-grid p {
  color: var(--muted);
  font-size: 13px;
}

.research-item {
  border-left: 3px solid #c8b4ee;
  padding: 4px 0 4px 25px;
  margin: 25px 0;
  max-width: 900px;
}

.research-item .eyebrow {
  margin-bottom: 9px;
  font-size: 10px;
  letter-spacing: 1px;
}

.research-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.research-item p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

.citation {
  display: inline;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  vertical-align: super;
  color: var(--purple-dark);
}

.fine-print {
  color: var(--muted);
  font-size: 12px;
  margin-top: 18px;
}

.safety-band {
  display: flex;
  gap: 45px;
  align-items: center;
  background: #30243f;
  padding: 35px 40px;
  border-radius: 12px;
  margin-top: 65px;
  color: white;
}

.safety-band h2 {
  color: white;
  font-size: 30px;
  margin-bottom: 14px;
}

.safety-band .eyebrow {
  color: #cfc0f3;
  margin-bottom: 12px;
}

.safety-band p {
  font-size: 14px;
  color: #e1dbe7;
  max-width: 720px;
}

.safety-band .citation {
  color: #dfcfff;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq summary {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  padding-right: 15px;
}

.faq p {
  color: var(--muted);
  font-size: 14px;
  padding-top: 13px;
  max-width: 900px;
}

.source-group {
  margin-top: 25px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.source-group summary {
  font-size: 17px;
  font-weight: 650;
  cursor: pointer;
}

.source-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 35px;
  margin-top: 24px;
}

.source-list li {
  display: flex;
  gap: 11px;
  border-bottom: 1px solid #f1edf6;
  padding: 0 0 12px;
  font-size: 12px;
  overflow-wrap: anywhere;
  scroll-margin-top: 115px;
}

.source-number {
  color: var(--purple);
  font-size: 11px;
  min-width: 25px;
}

.source-list small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}

:target.source-list li,
.source-list li:target {
  background: #f5f0ff;
  padding: 12px;
  border-radius: 7px;
}

.breadcrumb {
  margin-top: 30px;
  margin-bottom: 0;
  font-size: 12px;
}

.page-heading {
  padding: 43px 0 28px;
  max-width: 900px;
}

.page-heading h1 {
  font-size: clamp(32px, 4vw, 47px);
  letter-spacing: -1.7px;
  margin-bottom: 18px;
}

.updated {
  font-size: 11px;
  color: var(--muted);
  margin-top: 20px;
}

.page-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
  border-block: 1px solid var(--line);
  padding: 17px 0;
  font-size: 13px;
  font-weight: 600;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  gap: 40px;
}

.article-layout .content-section {
  margin-top: 43px;
}

.article-layout .content-section h2 {
  font-size: 24px;
}

.article-layout p {
  font-size: 15px;
}

.article-layout .fine-print {
  font-size: 12px;
}

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

.article-aside {
  padding-top: 43px;
}

.aside-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  background: #fcfbfe;
}

.aside-card h2 {
  font-size: 24px;
  margin-bottom: 18px;
}

.aside-card dt {
  color: var(--muted);
  font-size: 11px;
}

.aside-card dd {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.aside-card p:last-child {
  font-size: 11px;
  color: var(--muted);
  margin-top: 14px;
}

.aside-note {
  padding: 22px;
  font-size: 12px;
  color: var(--muted);
}

.aside-note a {
  display: block;
  margin-top: 10px;
}

.price-table {
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 20px;
  max-width: 100%;
}

.price-table table {
  min-width: 790px;
  margin-bottom: 0;
  background: white;
  color: var(--ink);
  font-size: 12px;
}

.price-table caption {
  text-align: left;
  padding: 15px 18px;
  font-size: 11px;
  color: var(--muted);
  background: #fbf9fd;
}

.price-table th,
.price-table td {
  border-color: var(--line);
  color: var(--ink);
  padding: 15px 16px;
  vertical-align: middle;
}

.price-table thead th {
  font-size: 10px;
  color: var(--muted);
  background: #f6f3fb;
}

.price-table tbody th {
  max-width: 340px;
  min-width: 220px;
  font-weight: 600;
}

.price-table small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  margin-top: 5px;
}

.barcode,
.price-cell {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.unavailable {
  font-size: 10px;
  white-space: normal;
  color: var(--muted);
}

.medical-alert {
  background: #faf2eb;
  border-left: 3px solid #ae693f;
  padding: 21px 24px;
  border-radius: 0 7px 7px 0;
  margin: 25px 0;
}

.medical-alert strong {
  font-size: 14px;
  color: #774d35;
}

.medical-alert p {
  font-size: 13px;
  color: #765743;
  margin: 8px 0 0;
}

.directory-controls {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #faf8fd;
  border-radius: 10px;
}

.select {
  display: block;
  height: auto;
}

.select select {
  width: 100%;
}

.result-count {
  margin: 22px 0;
  font-size: 12px;
  color: var(--muted);
}

.empty-state {
  padding: 60px 20px;
  text-align: center;
}

.empty-state h2 {
  font-size: 23px;
  margin-bottom: 14px;
}

.empty-state p {
  margin-bottom: 25px;
  color: var(--muted);
}

.ingredient-guides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ingredient-guide {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
}

.ingredient-guide h2 {
  font-size: 26px;
  margin-bottom: 17px;
}

.ingredient-guide p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #faf9fc;
  padding: 50px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 35px;
}

.footer-brand {
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 10px;
}

.footer-brand span {
  color: var(--purple);
}

.footer-grid p:not(.footer-brand) {
  font-size: 12px;
  color: var(--muted);
}

.footer-grid h2 {
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 18px;
}

.footer-grid a {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 20px;
  color: var(--muted);
  font-size: 10px;
  display: flex;
  gap: 70px;
  justify-content: space-between;
}

.footer-bottom p:last-child {
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .navbar {
    min-height: 76px;
  }

  .navbar-brand {
    width: 100%;
    min-height: 76px;
  }

  .navbar-menu {
    box-shadow: none;
    padding-bottom: 20px;
    background: white;
  }

  .navbar-menu .navbar-item {
    padding: 13px 0;
  }

  .home-hero {
    gap: 35px;
  }

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

  .article-aside {
    display: none;
  }

  .safety-band {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
}

@media (max-width: 767px) {
  .container {
    width: calc(100% - 36px);
  }

  .top-strip {
    font-size: 10px;
  }

  .top-strip span {
    display: none;
  }

  .home-hero {
    grid-template-columns: 1fr;
    padding: 43px 0;
    gap: 32px;
  }

  .home-hero h1 {
    font-size: clamp(35px, 8.5vw, 55px);
    letter-spacing: -1.9px;
  }

  .hero-lead,
  .lead {
    font-size: 15px;
  }

  .hero-panel {
    padding: 26px;
    box-shadow: none;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 22px 20px;
  }

  .stats-bar > div {
    padding-left: 16px;
  }

  .stats-bar > div:nth-child(3) {
    padding-left: 0;
    border: none;
  }

  .stats-bar strong {
    font-size: 26px;
  }

  .content-section {
    margin-top: 43px;
  }

  .content-section > h2 {
    font-size: 25px;
  }

  .section-intro {
    flex-direction: column;
    gap: 0;
    margin-bottom: 15px;
  }

  .search-box {
    padding: 18px;
  }

  .medicine-grid,
  .article-layout .medicine-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .medicine-card {
    padding: 18px;
  }

  .medicine-card h3 {
    font-size: 20px;
  }

  .medicine-card p {
    min-height: 40px;
  }

  .explainer-band {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 20px;
    margin-top: 45px;
  }

  .explainer-band h2 {
    font-size: 28px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .steps-grid article {
    padding-top: 13px;
  }

  .steps-grid h3 {
    margin-top: 10px;
  }

  .source-list,
  .ingredient-guides {
    grid-template-columns: 1fr;
  }

  .safety-band {
    padding: 27px;
    margin-top: 43px;
  }

  .research-item {
    padding-left: 17px;
  }

  .directory-controls {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 15px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }

  .page-heading {
    padding: 30px 0 24px;
  }

  .page-heading h1 {
    letter-spacing: -1px;
  }

  .page-tabs {
    gap: 9px 20px;
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .medicine-grid,
  .article-layout .medicine-grid {
    grid-template-columns: 1fr;
  }

  .medicine-card p {
    min-height: 0;
  }

  .hero-actions .button {
    width: 100%;
  }

  .search-row .button {
    padding-inline: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .medicine-card {
    transition: none;
  }
}

@media print {
  .site-header,
  .top-strip,
  .site-footer,
  .article-aside,
  .hero-actions,
  .page-tabs {
    display: none;
  }

  .container {
    width: 100%;
  }

  .article-layout {
    display: block;
  }

  .price-table {
    overflow: visible;
  }

  .price-table table {
    min-width: 0;
  }
}

/* Fiyat tablosunun kaynaklarına teşekkür. */
.source-thanks {
  padding: 15px 18px;
  margin-top: 16px;
  border: 1px solid #e4dbf7;
  border-radius: 8px;
  background: #f7f3ff;
  color: #222;
  font-size: 13px;
}

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