.cs-privacy {
  position: fixed;
  z-index: 1010;
  inset-inline-start: 16px;
  bottom: 16px;
  width: min(390px, calc(100vw - 32px));
  max-height: 70dvh;
  overflow: auto;
  box-sizing: border-box;
  padding: 16px;
  border: 1px solid #d7dfe6;
  border-radius: 12px;
  background: #fff;
  color: #263746;
  box-shadow: 0 4px 24px #172c3726;
  font: 14px/1.5 system-ui, sans-serif;
  overflow-wrap: anywhere;
}
.cs-privacy[hidden], .cs-privacy-open[hidden] { display: none !important; }
.cs-privacy-header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 12px; }
.cs-privacy p { margin: 8px 0; }
.cs-privacy-actions { display: flex; gap: 6px; }
.cs-privacy button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid #9baab4;
  border-radius: 7px;
  background: #f6f8fa;
  color: #263746;
  font: inherit;
  cursor: pointer;
}
.cs-privacy a { color: #425f73; font-size: 12px; text-decoration: underline; }
.cs-privacy-open {
  position: fixed;
  z-index: 1000;
  inset-inline-start: 8px;
  bottom: calc(6px + env(safe-area-inset-bottom, 0px));
  border: 1px solid #d7dfe6;
  border-radius: 6px;
  background: #fff;
  color: #425f73;
  padding: 4px 7px;
  font: 11px system-ui, sans-serif;
  cursor: pointer;
}
@media (max-width: 900px) {
  body[data-page="checkout"] { --cs-privacy-nav-h: 0px; }
  .cs-privacy { z-index: 1160; }
  .cs-privacy, .cs-privacy-open {
    bottom: calc(var(--cs-privacy-nav-h, max(var(--shell-tabbar-h, 58px), 68px)) + env(safe-area-inset-bottom, 0px) + 8px);
  }
}
@media (max-width: 600px) {
  .cs-privacy {
    inset-inline-start: 12px;
    width: calc(100vw - 24px);
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.4;
  }
  .cs-privacy p { margin: 5px 0 7px; }
  .cs-privacy-open { max-width: 160px; }
}
