#loka-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding: 16px;
  background: transparent;
  pointer-events: none;
}

.loka-cb-inner {
  background: #2C1A0E;
  color: #FAF6F1;
  border-radius: 20px;
  padding: 24px 28px;
  max-width: 820px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(44,26,14,0.35);
  pointer-events: all;
}

.loka-cb-main {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.loka-cb-text {
  flex: 1;
  min-width: 200px;
}

.loka-cb-title {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #FAF6F1;
  margin-bottom: 6px;
}

.loka-cb-intro {
  font-size: 0.83rem;
  color: rgba(250,246,241,0.72);
  line-height: 1.55;
  margin: 0 0 6px;
}

.loka-cb-policy-link {
  font-size: 0.78rem;
  color: #C4956A;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.loka-cb-policy-link:hover {
  color: #FAF6F1;
}

.loka-cb-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.loka-cb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 50px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.18s;
  white-space: nowrap;
}

.loka-cb-btn--primary {
  background: #C4956A;
  color: #2C1A0E;
}

.loka-cb-btn--primary:hover {
  background: #FAF6F1;
  color: #2C1A0E;
}

.loka-cb-btn--outline {
  background: transparent;
  color: rgba(250,246,241,0.8);
  border: 1.5px solid rgba(250,246,241,0.25);
}

.loka-cb-btn--outline:hover {
  border-color: rgba(250,246,241,0.6);
  color: #FAF6F1;
}

.loka-cb-panel {
  border-top: 1px solid rgba(250,246,241,0.12);
  margin-top: 18px;
  padding-top: 18px;
}

.loka-cb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(250,246,241,0.07);
}

.loka-cb-row:last-of-type {
  border-bottom: none;
}

.loka-cb-row-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.loka-cb-row-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #FAF6F1;
}

.loka-cb-row-desc {
  font-size: 0.77rem;
  color: rgba(250,246,241,0.55);
  line-height: 1.45;
}

.loka-cb-always-on {
  font-size: 0.72rem;
  font-weight: 700;
  color: #7BAF7A;
  white-space: nowrap;
  flex-shrink: 0;
}

.loka-cb-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}

.loka-cb-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.loka-cb-toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(250,246,241,0.2);
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s;
}

.loka-cb-toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: #FAF6F1;
  border-radius: 50%;
  transition: transform 0.2s;
}

.loka-cb-toggle input:checked + .loka-cb-toggle-slider {
  background: #7BAF7A;
}

.loka-cb-toggle input:checked + .loka-cb-toggle-slider::before {
  transform: translateX(18px);
}

.loka-cb-save {
  margin-top: 16px;
  width: 100%;
}

@media (max-width: 600px) {
  .loka-cb-inner {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .loka-cb-main {
    flex-direction: column;
    gap: 16px;
  }

  .loka-cb-actions {
    width: 100%;
    justify-content: stretch;
  }

  .loka-cb-btn {
    flex: 1;
    font-size: 0.78rem;
    padding: 9px 10px;
  }
}
