/**
 * Kepll — Keygraph / Kinetic Security (projects/dizayn.txt)
 */

/* Critical: bilingual toggle when Tailwind CDN is blocked */
[data-lang-only="tr"] {
  display: none !important;
}

html[lang="tr"] [data-lang-only="en"] {
  display: none !important;
}

html[lang="tr"] [data-lang-only="tr"] {
  display: inline !important;
}

html[lang="tr"] [data-lang-only="tr"].block {
  display: block !important;
}

html[lang="tr"] [data-lang-only="tr"].inline-block {
  display: inline-block !important;
}

html[lang="tr"] [data-lang-only="tr"].flex {
  display: flex !important;
}

/* Tailwind .hidden fallback — no !important so md:flex / sm:inline can override */
.hidden {
  display: none;
}

@media (min-width: 640px) {
  .hidden.sm\:inline {
    display: inline;
  }

  .hidden.sm\:block {
    display: block;
  }

  .hidden.sm\:flex {
    display: flex;
  }
}

@media (min-width: 768px) {
  .hidden.md\:flex {
    display: flex;
  }

  .hidden.md\:block {
    display: block;
  }

  .hidden.md\:inline {
    display: inline;
  }

  .hidden.md\:inline-flex {
    display: inline-flex;
  }

  .hidden.md\:grid {
    display: grid;
  }

  .md\:hidden {
    display: none;
  }
}

@media (min-width: 1024px) {
  .hidden.lg\:flex {
    display: flex;
  }

  .hidden.lg\:block {
    display: block;
  }

  .hidden.lg\:inline {
    display: inline;
  }
}

/* Screen-reader only (Tailwind sr-only fallback) */
.sr-only,
.kepll-skip:not(:focus):not(:focus-visible) {
  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;
}

.kepll-skip:focus,
.kepll-skip:focus-visible {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  overflow: visible;
  white-space: normal;
  border-radius: 0.5rem;
  background: #0d9488;
  color: #fff;
  padding: 0.5rem 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Close icon — no Material Symbols dependency */
.kepll-icon-close {
  display: inline-block;
  width: 1.125rem;
  height: 1.125rem;
  position: relative;
  color: currentColor;
}

.kepll-icon-close::before,
.kepll-icon-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.kepll-icon-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

body {
  background-color: #eae1dd;
  color: #1c1b1b;
}

.soft-shadow {
  box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.08);
}

.soft-shadow-deep {
  box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.12);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(10, 7, 6, 0.1);
}

/* Section & layout rules */
.kepll-section-divider {
  border-color: rgba(10, 7, 6, 0.1);
}

.kepll-rule {
  border-color: rgba(10, 7, 6, 0.1);
}

.kepll-rule-strong {
  border-color: rgba(10, 7, 6, 0.18);
}

.kepll-nav-divider {
  background-color: rgba(208, 196, 190, 0.85);
}

/* Header — Keygraph slim nav */
.kepll-header {
  border-bottom: 1px solid rgba(10, 7, 6, 0.1);
}

.kepll-header {
  overflow: visible;
}

.kepll-header-inner {
  min-height: 3.75rem;
  overflow: visible;
}

/* Logo — büyük marka, header şeridi aynı yükseklikte kalır */
.kepll-header-logo {
  display: block;
  height: 3.375rem;
  width: auto;
  max-width: min(52vw, 13.5rem);
  object-fit: contain;
}

@media (min-width: 768px) {
  .kepll-header-logo {
    height: 3.5rem;
    max-width: 14.5rem;
  }
}

.kepll-wordmark {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.kepll-header-nav {
  gap: 2rem;
}

.kepll-nav-link {
  color: #3a3431;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.kepll-nav-link:hover {
  color: #0a0706;
}

.kepll-header-cta {
  margin-left: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.kepll-header-cta::before {
  background-color: rgba(10, 7, 6, 0.14);
  content: "";
  height: 1rem;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
}

.kepll-header-links {
  align-items: center;
  display: flex;
  gap: 1.5rem;
}

/* Feature cards — tonal layer on cream (reference #D9D4C5 vs page #EAE1DD) */
.kepll-feature-card {
  background-color: #d9d4c5;
  border-radius: 1rem;
  min-height: 15.5rem;
}

.kepll-feature-card:hover {
  background-color: #d0cbb9;
}

/* Dashboard shell on marketing page */
.kepll-dashboard-shell {
  background-color: #fdf8f7;
  border: 1px solid rgba(10, 7, 6, 0.12);
  box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.12);
}

.kepll-dashboard-body {
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

@media (min-width: 768px) {
  .kepll-dashboard-body {
    flex-direction: row;
    min-height: 560px;
  }
}

.kepll-dashboard-sidebar {
  display: none;
  width: 13rem;
  flex-shrink: 0;
  flex-direction: column;
  border-right: 1px solid rgba(51, 65, 85, 0.5);
  background-color: #0f172a;
}

@media (min-width: 768px) {
  .kepll-dashboard-sidebar {
    display: flex;
  }
}

.kepll-dashboard-main {
  flex: 1 1 0%;
  overflow: hidden;
  background-color: #f1f5f9;
  padding: 1rem;
}

@media (min-width: 768px) {
  .kepll-dashboard-main {
    padding: 1.25rem;
  }
}

/* Buttons — Keygraph secondary / CTA */
.kepll-btn-cta {
  border: 1px solid #0a0706;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  padding: 0.5rem 1rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.kepll-btn-cta:hover {
  background-color: #0a0706;
  color: #ffffff;
}

.kepll-btn-secondary {
  border: 1px solid rgba(10, 7, 6, 0.22);
  border-radius: 0.5rem;
  background-color: rgba(247, 243, 241, 0.6);
  font-weight: 500;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.kepll-btn-secondary:hover {
  background-color: #f1edec;
  border-color: rgba(10, 7, 6, 0.35);
}

.kepll-btn-primary-solid {
  border-radius: 0.5rem;
  background-color: #231f1d;
  color: #ffffff;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.kepll-btn-primary-solid:hover {
  background-color: #0a0706;
}

/* Feature list rows */
.kepll-feature-list {
  border-top: 1px solid rgba(10, 7, 6, 0.14);
  padding-top: 2rem;
}

.kepll-feature-row {
  border-bottom: 1px solid rgba(10, 7, 6, 0.1);
  gap: 1rem;
  padding-bottom: 1.5rem;
  padding-top: 1.5rem;
}

@media (min-width: 768px) {
  .kepll-feature-row {
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }
}

/* Compliance badges */
.kepll-compliance-circle {
  border-radius: 9999px;
  background-color: #231f1d;
  color: #ffffff;
  text-align: center;
}

/* Hero display */
.kepll-display-xl {
  letter-spacing: -0.04em;
}

.kepll-badge-pill {
  border: 1px solid rgba(10, 7, 6, 0.14);
  background-color: #ece7e6;
  border-radius: 9999px;
}

.kepll-control-border {
  border: 1px solid rgba(10, 7, 6, 0.14);
}

/* Legacy aliases */
.kepll-btn-outline {
  border: 1px solid rgba(10, 7, 6, 0.22);
  border-radius: 0.5rem;
}

.kepll-btn-outline:hover {
  border-color: rgba(10, 7, 6, 0.4);
  background-color: #f1edec;
}

.kepll-btn-primary-outline {
  border: 1px solid #0a0706;
  border-radius: 0.5rem;
}

.kepll-btn-primary-outline:hover {
  background-color: #0a0706;
  color: #ffffff;
}

.gradient-text {
  font-style: italic;
  color: #3a3431;
  background: none;
  -webkit-text-fill-color: currentColor;
}

/* Footer — Keygraph layout */
.kepll-footer {
  background-color: #d9d4c5;
  border-top: 1px solid rgba(10, 7, 6, 0.1);
}

.kepll-footer-main {
  padding-bottom: 3rem;
  padding-top: 4rem;
}

.kepll-footer-col-title {
  color: #0a0706;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.kepll-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.kepll-footer-links a {
  color: #3a3431;
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.kepll-footer-links a:hover {
  color: #0a0706;
}

.kepll-footer-links a.kepll-footer-link-primary {
  color: #0a0706;
  font-weight: 500;
}

.kepll-footer-links a.kepll-footer-link-primary:hover {
  color: #3a3431;
}

.kepll-footer-bar {
  border-top: 1px solid rgba(10, 7, 6, 0.12);
  padding-bottom: 1.5rem;
  padding-top: 1.5rem;
}

/* Footer bar controls — unified pill groups (Keygraph) */
.kepll-footer-controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.kepll-footer-pill {
  align-items: center;
  background-color: rgba(234, 225, 221, 0.72);
  border: 1px solid rgba(10, 7, 6, 0.14);
  border-radius: 9999px;
  display: inline-flex;
  flex-shrink: 0;
  gap: 2px;
  padding: 3px;
}

.kepll-footer-pill-btn,
.kepll-footer-icon-btn {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 9999px;
  color: #3a3431;
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  height: 1.75rem;
  justify-content: center;
  line-height: 1;
  min-width: 1.75rem;
  padding: 0;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.kepll-footer-pill-btn:hover,
.kepll-footer-icon-btn:hover {
  background-color: rgba(10, 7, 6, 0.06);
  color: #0a0706;
}

.kepll-footer-icon-btn svg {
  display: block;
  height: 14px;
  width: 14px;
}

.kepll-footer-pill-btn .material-symbols-outlined {
  font-size: 15px;
  line-height: 1;
}

.kepll-lang-btn {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding-inline: 0.5rem;
  text-transform: uppercase;
}

.kepll-theme-btn-active,
.kepll-lang-btn-active {
  background-color: #0a0706;
  color: #ffffff;
}

.kepll-theme-btn-active:hover,
.kepll-lang-btn-active:hover {
  background-color: #231f1d;
  color: #ffffff;
}

.kepll-footer .kepll-badge-pill {
  background-color: rgba(234, 225, 221, 0.65);
  border-color: rgba(10, 7, 6, 0.16);
}

/* Footer logo — large brand mark */
.kepll-footer-logo {
  display: block;
  height: 4rem;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

@media (min-width: 768px) {
  .kepll-footer-logo {
    height: 5.5rem;
  }
}

@media (min-width: 1024px) {
  .kepll-footer-logo {
    height: 7rem;
  }
}

/* Theme toggle — see .kepll-footer-pill-btn */
@media (min-width: 768px) {
  .kepll-footer-main {
    padding-bottom: 4rem;
    padding-top: 5rem;
  }
}

html:not(.kepll-fonts-ready) body,
html:not(.kepll-fonts-ready) .font-body-md,
html:not(.kepll-fonts-ready) .font-body-lg,
html:not(.kepll-fonts-ready) .font-display-xl,
html:not(.kepll-fonts-ready) .font-display-lg,
html:not(.kepll-fonts-ready) .font-display-lg-mobile,
html:not(.kepll-fonts-ready) .font-headline-md {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

html:not(.kepll-icons-ready) .material-symbols-outlined {
  color: transparent;
  overflow: hidden;
  min-width: 1.25rem;
  min-height: 1.25rem;
}

.material-symbols-outlined.fill {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 10px;
}

html {
  scroll-behavior: smooth;
}

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

@media (max-width: 767px) {
  .kepll-display-xl {
    font-size: 2.5rem !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .kepll-display-xl {
    font-size: 4rem !important;
    line-height: 1.06 !important;
  }
}

/* ── Dark mode (Keygraph-style) ── */
html.dark {
  color-scheme: dark;
}

html.dark body {
  background-color: #0a0a0a;
  color: #e8e4e1;
}

html.dark .bg-background {
  background-color: #0a0a0a !important;
}

html.dark .bg-surface-container,
html.dark .bg-surface-container-low,
html.dark .bg-surface-bright {
  background-color: #141414 !important;
}

html.dark .bg-secondary-fixed {
  background-color: #111111 !important;
}

html.dark .bg-surface-container-high {
  background-color: #1a1a1a !important;
}

html.dark .text-primary {
  color: #ffffff !important;
}

html.dark .text-on-background {
  color: #e8e4e1 !important;
}

html.dark .text-on-surface,
html.dark .text-on-surface-variant {
  color: #a8a29e !important;
}

html.dark .text-on-primary {
  color: #0a0a0a !important;
}

html.dark .kepll-header {
  background-color: #0a0a0a;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html.dark .kepll-nav-link {
  color: #a8a29e;
}

html.dark .kepll-nav-link:hover {
  color: #ffffff;
}

html.dark .kepll-header-cta::before {
  background-color: rgba(255, 255, 255, 0.14);
}

html.dark .kepll-nav-divider {
  background-color: rgba(255, 255, 255, 0.12);
}

html.dark .kepll-section-divider,
html.dark .kepll-rule {
  border-color: rgba(255, 255, 255, 0.08);
}

html.dark .kepll-rule-strong {
  border-color: rgba(255, 255, 255, 0.14);
}

html.dark .kepll-feature-card {
  background-color: #141414;
}

html.dark .kepll-feature-card:hover {
  background-color: #1a1a1a;
}

html.dark .kepll-feature-list {
  border-top-color: rgba(255, 255, 255, 0.1);
}

html.dark .kepll-feature-row {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html.dark .kepll-dashboard-shell {
  background-color: #111111;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0px 24px 60px rgba(0, 0, 0, 0.45);
}

html.dark .kepll-btn-cta {
  border-color: rgba(255, 255, 255, 0.85);
  color: #ffffff;
}

html.dark .kepll-btn-cta:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #0a0a0a;
}

html.dark .kepll-btn-secondary {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

html.dark .kepll-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

html.dark .kepll-btn-primary-solid {
  background-color: #ffffff;
  color: #0a0a0a;
}

html.dark .kepll-btn-primary-solid:hover {
  background-color: #e8e4e1;
}

html.dark .kepll-btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
}

html.dark .kepll-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
}

html.dark .kepll-btn-primary-outline {
  border-color: rgba(255, 255, 255, 0.85);
  color: #ffffff;
}

html.dark .kepll-btn-primary-outline:hover {
  background-color: #ffffff;
  color: #0a0a0a;
}

html.dark .kepll-badge-pill {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

html.dark .kepll-control-border {
  border-color: rgba(255, 255, 255, 0.12);
}

html.dark .gradient-text {
  color: #a8a29e;
}

html.dark .glass-panel {
  background: rgba(20, 20, 20, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
}

html.dark .kepll-compliance-circle {
  background-color: #ffffff;
  color: #0a0a0a;
}

html.dark .kepll-footer {
  background-color: #0a0a0a;
  border-top-color: rgba(255, 255, 255, 0.08);
}

html.dark .kepll-footer-col-title {
  color: #ffffff;
}

html.dark .kepll-footer-links a {
  color: #a8a29e;
}

html.dark .kepll-footer-links a:hover {
  color: #ffffff;
}

html.dark .kepll-footer-links a.kepll-footer-link-primary {
  color: #ffffff;
}

html.dark .kepll-footer-links a.kepll-footer-link-primary:hover {
  color: #cdc5c1;
}

html.dark .kepll-footer-bar {
  border-top-color: rgba(255, 255, 255, 0.1);
}

html.dark .kepll-footer-pill {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

html.dark .kepll-footer-pill-btn,
html.dark .kepll-footer-icon-btn {
  color: #a8a29e;
}

html.dark .kepll-footer-pill-btn:hover,
html.dark .kepll-footer-icon-btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

html.dark .kepll-theme-btn-active,
html.dark .kepll-lang-btn-active {
  background-color: #ffffff;
  color: #0a0a0a;
}

html.dark .kepll-theme-btn-active:hover,
html.dark .kepll-lang-btn-active:hover {
  background-color: #e8e4e1;
  color: #0a0a0a;
}

html.dark .kepll-footer .kepll-badge-pill {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

html.dark .kepll-header-logo,
html.dark .kepll-footer-logo {
  filter: brightness(0) invert(1);
}

html.dark ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
}

html.dark .hover\:bg-surface-container-low:hover {
  background-color: #141414 !important;
}

html.dark .border-outline-variant {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Contact section */
.kepll-contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kepll-contact-detail-icon {
  align-items: center;
  background-color: rgba(10, 7, 6, 0.05);
  border-radius: 0.5rem;
  color: #3a3431;
  display: inline-flex;
  flex-shrink: 0;
  height: 2.25rem;
  justify-content: center;
  margin-top: 0.125rem;
  width: 2.25rem;
}

.kepll-contact-form-card {
  background-color: #f1edec;
}

.kepll-form-label {
  color: #0a0706;
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.kepll-form-input {
  background-color: rgba(253, 248, 247, 0.85);
  border: 1px solid rgba(10, 7, 6, 0.14);
  border-radius: 0.5rem;
  color: #1c1b1b;
  display: block;
  font-size: 14px;
  line-height: 1.5;
  padding: 0.625rem 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.kepll-form-input:focus {
  border-color: rgba(10, 7, 6, 0.35);
  box-shadow: 0 0 0 3px rgba(10, 7, 6, 0.08);
  outline: none;
}

.kepll-form-textarea {
  min-height: 8rem;
  resize: vertical;
}

.kepll-contact-status--success {
  color: #0f766e;
}

.kepll-contact-status--error {
  color: #ba1a1a;
}

html.dark .kepll-contact-detail-icon {
  background-color: rgba(255, 255, 255, 0.06);
  color: #a8a29e;
}

html.dark .kepll-contact-form-card {
  background-color: #141414;
}

html.dark .kepll-form-label {
  color: #ffffff;
}

html.dark .kepll-form-input {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: #e8e4e1;
}

html.dark .kepll-form-input:focus {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

html.dark .kepll-contact-status--success {
  color: #5eead4;
}

html.dark .kepll-contact-status--error {
  color: #fca5a5;
}

/* Honeypot + landing chart bars (CSP: no inline style attributes) */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.kepll-discount-bar:not(.kepll-discount-bar--open) {
  display: none;
}

.kepll-landing-bar-col {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  min-height: 0;
}

.kepll-landing-bar {
  width: 100%;
  min-height: 2px;
}

/* Discount bar — Keygraph landing */
.kepll-discount-bar {
  --kepll-db-bg: #0a0706;
  --kepll-db-text: #f4f0ef;
  --kepll-db-icon: #f4f0ef;
  --kepll-db-cta-bg: #ffffff;
  --kepll-db-cta-text: #0a0706;
  --kepll-db-countdown-bg: rgba(255, 255, 255, 0.12);
  --kepll-db-countdown-text: #ffffff;
  --kepll-db-close: #a8a29e;
  background: var(--kepll-db-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--kepll-db-text);
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 60;
}

.kepll-discount-bar-inner {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  min-height: 2.5rem;
  padding: 0.375rem 2.5rem 0.375rem 1rem;
}

.kepll-discount-bar-left {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  min-width: 0;
}

.kepll-discount-bar-promo {
  font-size: 0.75rem;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kepll-discount-bar-icon {
  color: var(--kepll-db-icon);
  flex-shrink: 0;
  font-size: 18px;
}

.kepll-discount-bar-countdown {
  display: none;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .kepll-discount-bar-countdown {
    display: flex;
  }
}

.kepll-discount-bar-box {
  background: var(--kepll-db-countdown-bg);
  border-radius: 0.375rem;
  color: var(--kepll-db-countdown-text);
  min-width: 2rem;
  padding: 0.125rem 0.25rem;
  text-align: center;
}

.kepll-discount-bar-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.kepll-discount-bar-label {
  display: block;
  font-size: 0.45rem;
  letter-spacing: 0.04em;
  line-height: 1;
  opacity: 0.85;
  text-transform: uppercase;
}

.kepll-discount-bar-cta {
  align-items: center;
  background: var(--kepll-db-cta-bg);
  border: 0;
  border-radius: 9999px;
  color: var(--kepll-db-cta-text);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 600;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  text-decoration: none;
  white-space: nowrap;
}

.kepll-discount-bar-phone {
  font-weight: 500;
  opacity: 0.85;
}

.kepll-discount-bar-close {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--kepll-db-close);
  cursor: pointer;
  display: inline-flex;
  height: 1.75rem;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
}

body.has-discount-bar .kepll-header--with-bar {
  top: 2.5rem;
}

/* Footer payment logos */
.kepll-footer-payments-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .kepll-footer-payments-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.kepll-footer-payment-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.375rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .kepll-footer-payment-logos {
    justify-content: flex-end;
  }
}

.kepll-footer-payment-logos__cell {
  flex: 0 0 auto;
  align-items: center;
  align-self: center;
  background: rgba(10, 7, 6, 0.04);
  border-radius: 0.375rem;
  box-sizing: border-box;
  display: flex;
  height: 1.75rem;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  padding: 0.1875rem 0.375rem;
  width: 2.875rem;
}

.kepll-footer-payment-logos__cell--wide {
  width: 3.75rem;
}

.kepll-footer-payment-logo {
  display: block;
  flex-shrink: 0;
  height: auto;
  margin: 0;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  width: auto;
  filter: grayscale(1) opacity(0.82);
}

html.dark .kepll-footer-payment-logos__cell {
  background: rgba(255, 255, 255, 0.06);
}

html.dark .kepll-footer-payment-logo {
  filter: brightness(0) invert(1) opacity(0.88);
}

/* Callback modal — layout handled inline in callback-modal.php (after Tailwind CDN) */
.kepll-callback-modal.hidden {
  display: none !important;
}

html.dark .kepll-callback-panel {
  background: #141414;
  border-color: rgba(255, 255, 255, 0.12);
}
