.privacy-banner {
  position: fixed;
  left: auto;
  right: 20px;
  bottom: 20px;
  width: calc(100% - 40px);
  max-width: 380px;
  z-index: 110;
  background: rgba(240, 253, 250, .98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #134e4a;
  border: 1px solid #99d5cb;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, .18), 0 8px 10px -6px rgba(15, 23, 42, .1);
  transition: bottom .25s ease-in-out;
}
.privacy-banner[hidden], .privacy-banner [hidden] { display: none !important; }
.privacy-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.privacy-banner strong { font-size: 14px; font-weight: 700; color: #0f766e; }
.privacy-banner p { margin: 4px 0 0; font-size: 12px; line-height: 1.45; }
.privacy-banner a { color: inherit; text-decoration: underline; }
.privacy-actions { display: flex; gap: 8px; justify-content: flex-end; }
.privacy-actions button {
  min-height: 36px;
  min-width: 76px;
  padding: 6px 14px;
  border: 1px solid #0f766e;
  border-radius: 6px;
  background: white;
  color: #134e4a;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease;
}
.privacy-actions button:hover { background: #ccfbf1; }
.privacy-actions button:disabled { opacity: .5; cursor: not-allowed; }
.privacy-settings { border: 0; background: none; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; }
.privacy-banner button:focus-visible, .privacy-settings:focus-visible { outline: 3px solid #0f766e; outline-offset: 3px; }

/* Keep clear of sticky CTA when visible */
body:has(.mobile-purchase.visible) .privacy-banner,
body:has(#floating-cta.visible) .privacy-banner {
  bottom: 84px;
}

/* Pertahankan tampilan mobile seperti sebelumnya: full-width bar di bottom */
@media (max-width: 640px) {
  .privacy-banner {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    border-radius: 0;
    border-width: 1px 0 0 0;
    border-color: #99d5cb;
    padding: 9px 12px;
    box-shadow: 0 -4px 18px rgba(15, 23, 42, .12);
  }
  .privacy-banner-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    justify-content: space-between;
  }
  .privacy-banner strong { font-size: 13px; color: inherit; }
  .privacy-banner p { margin: 3px 0 0; font-size: 11px; line-height: 1.4; }
  .privacy-actions {
    gap: 7px;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .privacy-actions button {
    min-height: 38px;
    min-width: 72px;
    padding: 7px 10px;
    flex: 1;
  }
  body:has(.mobile-purchase.visible) .privacy-banner,
  body:has(#floating-cta.visible) .privacy-banner {
    bottom: 78px;
  }
}
