/* ==========================================================================
   ACTO Pharma — Kataloglar ve Broşürler (kapak ızgarası)
   Kapak görselleri öne çıkar; kart çerçevesi yok.
   ========================================================================== */

.acl {
  --acl-ink: #0f1f4d;
  --acl-heading: #14234a;
  --acl-muted: #5c6b8a;
  --acl-soft: #8492a8;
  --acl-blue: #223e99;
  --acl-blue-dark: #1b358c;
  --acl-cyan: #00b1eb;
  --acl-line: #dde6f3;
  --acl-line-soft: #ecf1f9;
  --acl-field: #f4f7fc;
  --acl-ease: cubic-bezier(.22, .61, .36, 1);

  padding-block: clamp(36px, 5vw, 64px);
  background: #fff;
  color: var(--acl-ink);
  font-family: "Google Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.acl [hidden] { display: none !important; }

.acl a { color: inherit; text-decoration: none; }

.acl__inner {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}

@media (min-width: 1920px) {
  .acl__inner { width: min(1440px, 100% - 32px); }
}

/* --------------------------------------------------------------------------
   Başlık
   -------------------------------------------------------------------------- */
.acl__head {
  max-width: 68ch;
  margin-bottom: 26px;
}

.acl h2 {
  margin: 0;
  color: var(--acl-heading);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.acl__lead {
  margin: 10px 0 0;
  color: var(--acl-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Araç çubuğu — tek satır, kompakt
   -------------------------------------------------------------------------- */
.acl__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding-block: 14px;
  border-block: 1px solid var(--acl-line);
  margin-bottom: 10px;
}

.acl__search {
  position: relative;
  display: flex;
  flex: 1 1 240px;
  align-items: center;
  min-width: 0;
}

.acl__search > i {
  position: absolute;
  inset-inline-start: 15px;
  color: var(--acl-soft);
  font-size: 15px;
  pointer-events: none;
}

.acl__search input {
  width: 100%;
  height: 42px;
  padding: 8px 44px 8px 42px;
  border: 1px solid transparent;
  border-radius: 11px;
  outline: 0;
  background: var(--acl-field);
  color: var(--acl-ink);
  font: inherit;
  font-size: 14px;
  transition: background-color .15s var(--acl-ease), border-color .15s var(--acl-ease), box-shadow .15s var(--acl-ease);
}

.acl__search input::placeholder { color: #97a4ba; }
.acl__search input:hover { background: #eef3fb; }

.acl__search input:focus {
  border-color: #b6c8e6;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(34, 62, 153, .08);
}

.acl__search input::-webkit-search-cancel-button { display: none; }

.acl__search-clear {
  position: absolute;
  inset-inline-end: 9px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e4eaf5;
  color: #4c5c80;
  font-size: 10px;
  cursor: pointer;
  transition: background-color .15s var(--acl-ease), color .15s var(--acl-ease);
}

.acl__search-clear:hover { background: var(--acl-blue); color: #fff; }

/* Tür: segment kontrol */
.acl__tabs {
  display: flex;
  flex: none;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 11px;
  background: #f1f5fc;
}

.acl-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #4a5a75;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s var(--acl-ease), color .15s var(--acl-ease), box-shadow .15s var(--acl-ease);
}

.acl-tab small {
  color: inherit;
  font-size: 11.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  opacity: .6;
}

.acl-tab:hover { color: var(--acl-blue); }

.acl-tab.is-active {
  background: #fff;
  color: var(--acl-blue);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 31, 77, .12);
}

/* Marka ve kategori: açılır liste */
.acl__selects {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

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

.acl-icon {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--acl-blue);
  opacity: .75;
}

.acl__select-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  color: #5c6b8a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.acl__select-field {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.acl__select-field select {
  appearance: none;
  min-width: 150px;
  max-width: 240px;
  height: 38px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--acl-line);
  border-radius: 10px;
  outline: 0;
  background: #fff;
  color: var(--acl-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: border-color .15s var(--acl-ease), box-shadow .15s var(--acl-ease);
}

.acl__select-field select:hover { border-color: #b9c8e4; }

.acl__select-field select:focus-visible {
  border-color: var(--acl-blue);
  box-shadow: 0 0 0 3px rgba(34, 62, 153, .12);
}

.acl-icon--chevron {
  position: absolute;
  inset-inline-end: 11px;
  width: 12px;
  height: 12px;
  color: #7b89a2;
  opacity: 1;
  pointer-events: none;
}


.acl-tab:focus-visible,
.acl__search-clear:focus-visible,
.acl-card__title a:focus-visible,
.acl-card__open:focus-visible,
.acl-card__download:focus-visible,
.acl__reset:focus-visible,
.acl-card__cover:focus-visible {
  outline: 2px solid var(--acl-cyan);
  outline-offset: 2px;
}

.acl__count {
  margin: 0 0 6px;
  color: var(--acl-soft);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Kapak ızgarası
   -------------------------------------------------------------------------- */
.acl__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.acl-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.acl-card__cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 10px;
  background: #eef2f9;
  box-shadow: 0 1px 2px rgba(15, 31, 77, .12), 0 14px 28px -18px rgba(15, 31, 77, .5);
  transition: transform .22s var(--acl-ease), box-shadow .22s var(--acl-ease);
}

.acl-card__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .35s var(--acl-ease);
}

.acl-card__img {
  opacity: 0;
  transition: opacity .28s var(--acl-ease), transform .35s var(--acl-ease);
}

/* Ürün fotoğrafı: kırpılmadan, beyaz zemin üzerinde tam görünür. */
.acl-card__cover--product { background: #fff; }
.acl-card__cover--product .acl-card__img--product {
  width: 100%;
  height: 100%;
  padding: 7%;
  object-fit: contain;
  object-position: center;
}

.acl-card__cover.is-loaded .acl-card__img { opacity: 1; }

/* Yükleme durumu: yumuşak shimmer + dönen halka */
.acl-card__loader {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background: linear-gradient(100deg, #e9eff8 28%, #f7faff 48%, #e9eff8 68%);
  background-size: 220% 100%;
  animation: aclShimmer 1.3s linear infinite;
  transition: opacity .3s var(--acl-ease);
  pointer-events: none;
}

.acl-card__cover.is-loaded .acl-card__loader {
  opacity: 0;
  animation: none;
  visibility: hidden;
  transition: opacity .3s var(--acl-ease), visibility 0s linear .3s;
}

.acl-card__spinner {
  width: 26px;
  height: 26px;
  border: 2.5px solid rgba(34, 62, 153, .18);
  border-top-color: var(--acl-blue);
  border-radius: 50%;
  animation: aclSpin .8s linear infinite;
}

@keyframes aclSpin { to { transform: rotate(360deg); } }
@keyframes aclShimmer { to { background-position: -120% 0; } }

/* First PDF page rendered by pdf.js when no curated cover exists. */
.acl-card__canvas {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  background: #fff;
}

.acl-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #a9b7cb;
  font-size: 34px;
}

/* Aynı seri kapağını paylaşan farklı ürünler: adı kapağın üstünde göster. */
.acl-card__caption {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  bottom: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  padding: 26px 11px 10px;
  background: linear-gradient(to top, rgba(9, 18, 36, .9) 14%, rgba(9, 18, 36, .62) 58%, rgba(9, 18, 36, 0) 100%);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.32;
  text-align: start;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
  opacity: 0;
  transition: opacity .28s var(--acl-ease);
  pointer-events: none;
}

/* Katalog kapağının üstünde ek ürün fotoğrafı. */
.acl-card__product {
  position: absolute;
  z-index: 3;
  top: 10px;
  inset-inline-end: 10px;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  padding: 5px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 18px -8px rgba(15, 31, 77, .55), 0 0 0 1px rgba(15, 31, 77, .1);
  overflow: hidden;
  pointer-events: none;
}

.acl-card__product img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
}

.acl-card__cover.is-loaded .acl-card__caption { opacity: 1; }

.acl-card:hover .acl-card__cover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(15, 31, 77, .12), 0 22px 40px -20px rgba(15, 31, 77, .55);
}

.acl-card:hover .acl-card__cover img { transform: scale(1.02); }

.acl-card__badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  inset-inline-start: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--acl-blue);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .03em;
  backdrop-filter: blur(4px);
}

.acl-card__title {
  margin: 12px 0 0;
  color: var(--acl-heading);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.acl-card__title a { transition: color .15s var(--acl-ease); }
.acl-card__title a:hover { color: var(--acl-blue); }

.acl-card__meta {
  margin: 3px 0 0;
  color: var(--acl-soft);
  font-size: 12px;
  line-height: 1.4;
}

.acl-card__updated {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 4px 0 0;
  color: #7b8ba1;
  font-size: 11.5px;
  line-height: 1.4;
}

.acl-card__updated i { font-size: 11px; flex: none; }

/* Aktif dil gösterilir; diğer dil sürümleri burada listelenir. */
.acl-card__langs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding-top: 8px;
  border-block-start: 1px solid var(--acl-line-soft);
}

.acl-card__langs-label {
  color: #93a1b6;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
}

.acl-card__lang {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid var(--acl-line);
  border-radius: 999px;
  background: #fff;
  color: #485a75;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.3;
  transition: border-color .15s var(--acl-ease), background-color .15s var(--acl-ease), color .15s var(--acl-ease);
}

.acl-card__lang img {
  display: block;
  width: 16px;
  height: 11px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(15, 31, 77, .12);
}

.acl-card__lang:hover {
  border-color: var(--acl-blue);
  background: var(--acl-blue);
  color: #fff;
}

.acl-card__lang:focus-visible { outline: 2px solid var(--acl-cyan); outline-offset: 2px; }

.acl-card__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 10px;
}

.acl-card__open,
.acl-card__download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .15s var(--acl-ease), border-color .15s var(--acl-ease), color .15s var(--acl-ease);
}

.acl-card__open i,
.acl-card__download i { font-size: 12px; }

.acl-card__open {
  padding: 0 12px;
  border: 1px solid #c3d2ea;
  background: #fff;
  color: var(--acl-blue);
}

.acl-card__open:hover {
  border-color: var(--acl-blue);
  background: var(--acl-blue);
  color: #fff;
}

.acl-card__download {
  padding: 0 9px;
  color: #5a6b88;
}

.acl-card__download:hover { background: #eef3ff; color: var(--acl-blue); }

/* --------------------------------------------------------------------------
   Daha fazla göster
   -------------------------------------------------------------------------- */
.acl__more {
  display: flex;
  justify-content: center;
  padding-top: 26px;
  margin-top: 26px;
  border-block-start: 1px solid var(--acl-line-soft);
}

.acl__more-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 7px 0 22px;
  border: 1px solid var(--acl-line);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  color: var(--acl-heading);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 31, 77, .06), 0 12px 24px -18px rgba(15, 31, 77, .45);
  transition: transform .18s var(--acl-ease), border-color .18s var(--acl-ease), box-shadow .18s var(--acl-ease), color .18s var(--acl-ease);
}

.acl__more-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e8f0fd;
  color: var(--acl-blue);
  transition: background-color .18s var(--acl-ease), color .18s var(--acl-ease), transform .18s var(--acl-ease);
}

.acl__more-icon svg { width: 15px; height: 15px; color: inherit; opacity: 1; }

.acl__more-btn:hover {
  border-color: var(--acl-blue);
  color: var(--acl-blue);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(15, 31, 77, .08), 0 18px 30px -18px rgba(15, 31, 77, .5);
}

.acl__more-btn:hover .acl__more-icon {
  background: var(--acl-blue);
  color: #fff;
  transform: translateY(2px);
}

.acl__more-btn:active { transform: translateY(0); }

.acl__more-btn:focus-visible { outline: 2px solid var(--acl-cyan); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .acl__more-btn,
  .acl__more-icon { transition: none; }
  .acl__more-btn:hover { transform: none; }
  .acl__more-btn:hover .acl__more-icon { transform: none; }
}

/* --------------------------------------------------------------------------
   Boş durum
   -------------------------------------------------------------------------- */
.acl__empty {
  padding: 56px 20px;
  text-align: center;
}

.acl__empty i {
  display: block;
  margin-bottom: 12px;
  color: #a3b0c4;
  font-size: 30px;
}

.acl__empty h3 {
  margin: 0;
  color: var(--acl-heading);
  font-size: 17px;
  font-weight: 600;
}

.acl__empty p {
  margin: 8px 0 20px;
  color: var(--acl-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.acl__reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--acl-line);
  border-radius: 999px;
  background: #fff;
  color: var(--acl-blue);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s var(--acl-ease), border-color .15s var(--acl-ease), color .15s var(--acl-ease);
}

.acl__reset:hover {
  border-color: var(--acl-blue);
  background: var(--acl-blue);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Destek bloğu
   -------------------------------------------------------------------------- */
.acl-support {
  padding-block: clamp(30px, 4vw, 52px);
  background: #f4f7fd;
  border-block-start: 1px solid #e1e8f4;
}

.acl-support__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}

@media (min-width: 1920px) {
  .acl-support__inner { width: min(1440px, 100% - 32px); }
}

.acl-support__copy h2 {
  margin: 0;
  color: #14234a;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.acl-support__copy p {
  margin: 8px 0 0;
  max-width: 62ch;
  color: #5c6b8a;
  font-size: 13.5px;
  line-height: 1.65;
}

.acl-support__actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 10px;
}

.acl-support__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: #223e99;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .15s var(--acl-ease), color .15s var(--acl-ease), border-color .15s var(--acl-ease);
}

.acl-support__btn i { font-size: 12px; }
.acl-support__btn:hover { background: #1b358c; }

.acl-support__btn--ghost {
  border: 1px solid #c3d2ea;
  background: #fff;
  color: #223e99;
}

.acl-support__btn--ghost:hover { border-color: #223e99; background: #eef3ff; color: #1b358c; }

/* --------------------------------------------------------------------------
   Duyarlı
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .acl__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
  .acl__bar { gap: 10px; }

  .acl__search { flex: 1 1 100%; }
  .acl__tabs { flex: 0 0 auto; }
  .acl__selects { flex: 1 1 auto; }
  .acl__select { flex: 1 1 0; }
  .acl__select-field { flex: 1; }
  .acl__select-field select { min-width: 0; width: 100%; max-width: none; }

  .acl-support__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 767.98px) {
  .acl__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
  }

  .acl-card__title { font-size: 13.5px; }
  .acl-card__actions { flex-wrap: wrap; }
}

@media (max-width: 575.98px) {
  .acl__tabs { flex: 1 1 100%; }
  .acl-tab { flex: 1; justify-content: center; }
  .acl__selects { flex: 1 1 100%; }
  .acl__select { flex: 1 1 100%; }
}

@media (max-width: 479.98px) {
  .acl-support__actions { width: 100%; }
  .acl-support__btn { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .acl-card__cover,
  .acl-card__cover img,
  .acl-card__img,
  .acl-tab,
  .acl__reset,
  .acl-support__btn { transition: none; }
  .acl-card:hover .acl-card__cover { transform: none; }
  .acl-card__loader { animation: none; background: #eef2f9; }
  .acl-card__spinner { animation-duration: 1.6s; }
}

/* ==========================================================================
   Sayfa içi okuyucu (modal)
   ========================================================================== */
.acl-reader {
  /* Dialog body dışına taşındığı için değişkenleri burada da tanımla. */
  --acl-ink: #0f1f4d;
  --acl-heading: #14234a;
  --acl-muted: #5c6b8a;
  --acl-soft: #8492a8;
  --acl-blue: #223e99;
  --acl-cyan: #00b1eb;
  --acl-line: #dde6f3;
  --acl-ease: cubic-bezier(.22, .61, .36, 1);

  width: min(1120px, 100vw - 32px);
  max-width: none;
  height: min(88vh, 900px);
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  color: var(--acl-ink);
  font-family: "Google Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  box-shadow: 0 32px 80px -32px rgba(8, 18, 38, .55);
}

.acl-reader::backdrop { background: rgba(8, 18, 38, .62); backdrop-filter: blur(3px); }

/* Diyalog tam ekranda tüm ekranı kaplasın (sabit ölçüler geçersiz). */
.acl-reader:fullscreen,
.acl-reader.is-fullscreen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  border-radius: 0;
}

.acl-reader.is-fullscreen .acl-reader__body iframe { background: #eef2f9; }

.acl-reader__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px 10px 16px;
  border-bottom: 1px solid #e3ebf6;
  background: #fff;
}

.acl-reader__identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.acl-reader__badge {
  flex: none;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--acl-blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}

.acl-reader__title {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  color: var(--acl-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.acl-reader__langs {
  display: flex;
  flex: none;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}

.acl-reader__lang {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 9px;
  border: 1px solid var(--acl-line);
  border-radius: 999px;
  background: #fff;
  color: #4a5a75;
  font: inherit;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .15s var(--acl-ease), background-color .15s var(--acl-ease), color .15s var(--acl-ease);
}

.acl-reader__lang img {
  display: block;
  width: 16px;
  height: 11px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(15, 31, 77, .12);
}

.acl-reader__lang:hover { border-color: var(--acl-blue); color: var(--acl-blue); }

.acl-reader__lang.is-active {
  border-color: var(--acl-blue);
  background: var(--acl-blue);
  color: #fff;
}

.acl-reader__actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 6px;
}

.acl-reader__action {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--acl-line);
  border-radius: 9px;
  background: #fff;
  color: var(--acl-blue);
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s var(--acl-ease), border-color .15s var(--acl-ease), color .15s var(--acl-ease);
}

.acl-reader__action:hover { border-color: var(--acl-blue); background: #eef3ff; }

.acl-reader__action:focus-visible,
.acl-reader__lang:focus-visible { outline: 2px solid var(--acl-cyan); outline-offset: 2px; }

.acl-reader__body {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #eef2f9;
}

.acl-reader__body iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* PDF yüklenene kadar dönen halka */
.acl-reader__loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f7fafe, #e9eef7);
  transition: opacity .25s var(--acl-ease), visibility 0s linear .25s;
}

.acl-reader__body.is-ready .acl-reader__loading {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.acl-reader__spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(34, 62, 153, .16);
  border-top-color: var(--acl-blue);
  border-radius: 50%;
  animation: aclSpin .8s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .acl-reader__spinner { animation-duration: 1.6s; }
}

.acl-reader[open] { display: flex; flex-direction: column; }

@media (max-width: 767.98px) {
  .acl-reader {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
  }

  .acl-reader__bar { gap: 8px; padding: 8px 10px; }
  .acl-reader__title { font-size: 12.5px; }
  .acl-reader__langs { order: 3; width: 100%; margin-inline-start: 0; overflow-x: auto; padding-bottom: 2px; }
  .acl-reader__bar { flex-wrap: wrap; }
}
