/* Shared footer */
.akyol-site-footer,
body.home-v2 .akyol-site-footer,
body.tr-page-v2 .akyol-site-footer {
  background: #244866;
  border-top: 1px solid rgba(168, 198, 230, 0.28);
  text-align: left;
  padding: 28px max(20px, calc((100% - 1120px) / 2)) 40px;
  color: #b8c7db;
}

.akyol-site-footer .footer-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.akyol-site-footer .footer-brands a,
.akyol-site-footer .footer-brands a:link,
.akyol-site-footer .footer-brands a:visited {
  color: #a8d0ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  /* EN/AR/RU eski `nav a` stilleri buraya bulaşmasın */
  border: 0 !important;
  border-style: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline !important;
  align-items: unset !important;
  gap: 0 !important;
  line-height: 1.35;
}

.akyol-site-footer .footer-brands a:hover {
  color: #fff;
  text-decoration: none;
}

.akyol-site-footer .footer-sep {
  color: rgba(184, 199, 219, 0.55);
}

.akyol-site-footer .footer-inner p {
  margin: 0;
  font-size: 0.86rem;
  color: #b8c7db;
}

.akyol-site-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 12px;
}

.akyol-site-footer .footer-legal a {
  color: #d7e7f8 !important;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.akyol-site-footer .footer-legal a:hover {
  color: #fff !important;
  text-decoration: underline;
}

.akyol-site-footer .footer-brands a[href*="api-pnomatik"] { color: #10b981 !important; }
.akyol-site-footer .footer-brands a[href*="ultrafilter"] { color: #38bdf8 !important; }
.akyol-site-footer .footer-brands a[href*="izmac"] { color: #2563eb !important; }
.akyol-site-footer .footer-brands a[href*="koba"] { color: #ef4444 !important; }
.akyol-site-footer .footer-brands a[href*="ordel"] { color: #eab308 !important; }

.akyol-cookie-overlay {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 14, 26, 0.55);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.akyol-cookie-overlay.is-visible {
  opacity: 1;
}

.akyol-cookie-overlay.is-hiding {
  opacity: 0;
}

.akyol-cookie-banner {
  display: grid;
  gap: 14px;
  width: min(380px, calc(100vw - 40px));
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: #071b33;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  color: #fff;
  transform: scale(0.94);
  transition: transform 0.22s ease;
}

.akyol-cookie-overlay.is-visible .akyol-cookie-banner {
  transform: scale(1);
}

.akyol-cookie-copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.akyol-cookie-copy p {
  margin: 0;
  color: #d2deeb;
  font-size: 0.82rem;
  line-height: 1.45;
}

.akyol-cookie-copy a {
  color: #83c5ff;
  white-space: nowrap;
}

.akyol-cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.akyol-cookie-actions button,
.legal-cookie-reset {
  min-height: 40px;
  border: 1px solid #9eb4c9;
  border-radius: 8px;
  padding: 9px 12px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.akyol-cookie-actions button.is-primary {
  border-color: #1688e5;
  background: #1688e5;
}

.legal-cookie-reset {
  border-color: #1677c8;
  background: #1677c8;
  color: #fff;
}

.legal-consent {
  margin: 12px 0 16px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.04);
}

.legal-consent label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 0 !important;
  color: inherit;
  font-size: 0.84rem;
  font-weight: 500 !important;
  line-height: 1.45;
  cursor: pointer;
}

.legal-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #1688e5;
}

.legal-consent a {
  color: #1688e5;
  font-weight: 700;
}

html[dir="rtl"] .legal-consent label {
  text-align: right;
}

html[dir="rtl"] .akyol-site-footer {
  text-align: right;
}

html[dir="rtl"] .akyol-site-footer .footer-brands {
  justify-content: flex-end;
  justify-items: end;
}

@media (max-width: 900px) {
  .akyol-site-footer {
    padding: 22px 4% 32px;
  }

  /* Mobil: 3 sütun × 2 sıra (alt alta tek kolon değil) */
  .akyol-site-footer .footer-brands {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 12px;
    margin-bottom: 16px;
    justify-items: start;
  }

  .akyol-site-footer .footer-sep {
    display: none;
  }

  .akyol-site-footer .footer-brands a,
  .akyol-site-footer .footer-brands a:link,
  .akyol-site-footer .footer-brands a:visited {
    font-size: 0.84rem;
    line-height: 1.35;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    display: inline !important;
  }

  .akyol-site-footer .footer-legal {
    gap: 10px 16px;
  }

  .akyol-cookie-overlay {
    padding: 16px;
  }

  .akyol-cookie-banner {
    width: min(360px, calc(100vw - 32px));
    padding: 18px;
  }
}
