.qkz-ci-consent {
  --qkz-yellow: #e8b923;
  --qkz-ink: #111;
  --qkz-muted: #6b6b6b;
  --qkz-line: #e8e8ea;
  --qkz-bg: #fff;
  position: fixed;
  z-index: 100000;
  left: 12px;
  right: 12px;
  bottom: 12px;
  max-width: 440px;
  margin: 0 auto;
  padding: 0;
  background: var(--qkz-bg);
  color: var(--qkz-ink);
  border: 1px solid var(--qkz-line);
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.45;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  font-family: inherit;
}
.qkz-ci-consent[hidden] {
  display: none !important;
}
.qkz-ci-consent__inner {
  padding: 16px 16px 14px;
}
.qkz-ci-consent__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.qkz-ci-consent__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--qkz-yellow);
  flex: 0 0 auto;
}
.qkz-ci-consent h2 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--qkz-ink);
}
.qkz-ci-consent p {
  margin: 0 0 10px;
  color: #333;
}
.qkz-ci-consent a {
  color: var(--qkz-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.qkz-ci-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.qkz-ci-consent button {
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--qkz-yellow);
  color: var(--qkz-ink);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  line-height: 1.2;
}
.qkz-ci-consent button:hover {
  filter: brightness(0.97);
}
.qkz-ci-consent .qkz-ci-secondary {
  background: #f3f3f5;
  color: var(--qkz-ink);
}
.qkz-ci-consent .qkz-ci-ghost {
  background: transparent;
  color: var(--qkz-ink);
  border: 1px solid #cfcfd4;
}
.qkz-ci-consent__panel {
  border-top: 1px solid var(--qkz-line);
  padding: 12px 16px 14px;
  background: #fafafa;
}
.qkz-ci-consent__panel[hidden] {
  display: none !important;
}
.qkz-ci-consent__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--qkz-line);
}
.qkz-ci-consent__row:last-of-type {
  border-bottom: 0;
}
.qkz-ci-consent__row strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}
.qkz-ci-consent__row span {
  display: block;
  color: var(--qkz-muted);
  font-size: 12px;
}
.qkz-ci-consent__switch {
  position: relative;
  width: 42px;
  height: 24px;
  margin-top: 2px;
}
.qkz-ci-consent__switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.qkz-ci-consent__switch i {
  position: absolute;
  inset: 0;
  background: #c9c9ce;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.qkz-ci-consent__switch i::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.qkz-ci-consent__switch input:checked + i {
  background: var(--qkz-yellow);
}
.qkz-ci-consent__switch input:checked + i::after {
  transform: translateX(18px);
}
.qkz-ci-consent__switch input:disabled + i {
  opacity: 0.7;
  background: #222;
}
.qkz-ci-consent__switch input:disabled + i::after {
  transform: translateX(18px);
}
.qkz-ci-cookie-btn {
  position: fixed;
  z-index: 40; /* below theme cart/chat floaters (~9999+) */
  left: max(16px, env(safe-area-inset-left, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: none;
  overflow: visible;
  font-size: 0;
  line-height: 0;
  text-indent: 0;
}
.qkz-ci-cookie-btn__icon {
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  pointer-events: none;
  overflow: visible;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}
.qkz-ci-cookie-btn[hidden] {
  display: none !important;
}
.qkz-ci-cookie-btn:hover {
  background: transparent;
  border: 0;
  transform: scale(1.06);
}
.qkz-ci-cookie-btn:hover .qkz-ci-cookie-btn__icon {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}
/* Phone + tablet + small laptop: never cover cart/chat/icons */

@media (max-width: 1199px) {
  .qkz-ci-cookie-btn {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
/* Large desktop only — sit clear of left floaters */
@media (min-width: 1200px) {
  .qkz-ci-cookie-btn:not([hidden]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    left: max(20px, env(safe-area-inset-left, 0px));
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 480px) {
  .qkz-ci-consent {
    left: 8px;
    right: 8px;
    bottom: 8px;
    max-width: none;
  }
  .qkz-ci-consent__actions {
    flex-direction: column;
  }
  .qkz-ci-consent__actions button {
    width: 100%;
  }
}


/* Hide Pinkmart legacy cookie bar — QKZ CMP is the real consent UI */
.kt-cookies-bar,
.cookies-accept-btn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
