/* OEM.az cookie razılığı paneli: kompüterdə aşağı solda (sağda çat düyməsi var), telefonda aşağı menyunun üstündə. */
.oem-consent { position: fixed; left: 16px; bottom: 16px; z-index: 1090; width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; padding: 18px 20px; background: #fff; color: #1f2937; border: 1px solid #e3e8ef; border-radius: 16px; box-shadow: 0 18px 40px rgba(15, 23, 42, .22); font-size: .95rem; line-height: 1.5; }
.oem-consent[hidden] { display: none; }
.oem-consent-title { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: #111827; font-size: 1.05rem; font-weight: 800; }
.oem-consent-title .bi { color: #dc3545; font-size: 1.2rem; line-height: 1; }
.oem-consent-title:focus { outline: none; }
.oem-consent-text { margin: 0 0 14px; color: #4b5563; }
.oem-consent-text a { color: #b02a37; font-weight: 600; text-underline-offset: 3px; }
.oem-consent-settings { display: grid; gap: 8px; margin: 0 0 14px; }
.oem-consent-settings[hidden] { display: none; }
.oem-consent-option { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border: 1px solid #e9edf2; border-radius: 12px; background: #fafbfd; }
.oem-consent-option input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: #dc3545; cursor: pointer; }
.oem-consent-option input:disabled { cursor: default; }
.oem-consent-option label { display: grid; gap: 2px; min-width: 0; cursor: pointer; }
.oem-consent-option label span { color: #6b7280; font-size: .88rem; }
.oem-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.oem-consent-btn { flex: 1 1 140px; min-height: 44px; padding: 0 16px; border: 1px solid #cbd3dd; border-radius: 10px; background: #fff; color: #1f2937; font-size: .95rem; font-weight: 700; line-height: 1.2; }
.oem-consent-btn:hover { background: #f3f6fb; }
.oem-consent-btn--primary { border-color: transparent; background: var(--oem-danger, #dc3545); color: #fff; }
.oem-consent-btn--primary:hover { background: #b02a37; color: #fff; }
.oem-consent-btn[data-consent-action="save"] { flex-basis: 100%; }
.oem-consent-btn--link { flex: 1 1 100%; min-height: 40px; border: 0; background: none; color: #145da6; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.oem-consent-btn--link:hover { background: none; color: #0f4a85; }
.oem-consent-btn[hidden] { display: none; }
.oem-consent :is(a, button, input):focus-visible { outline: 2px solid #145da6; outline-offset: 2px; }
.footer .oem-consent-open { cursor: pointer; }

@media (max-width: 767.98px) {
  .oem-consent { left: 8px; right: 8px; width: auto; bottom: calc(var(--mb-h, 64px) + var(--mb-safe, 0px) + 8px); max-height: calc(100vh - var(--mb-h, 64px) - var(--mb-safe, 0px) - 24px); padding: 16px; }
}

@media print {
  .oem-consent { display: none !important; }
}
