.polis-legal-page{max-width:76ch;margin:clamp(28px,6vw,80px) auto;padding:0 20px;line-height:1.6}
.polis-legal-page h1{font-size:clamp(2rem,7vw,3.8rem);line-height:1.08}
.polis-legal-page address{font-style:normal;margin-top:24px}
.polis-legal-index{margin:28px 0 42px;padding:12px clamp(16px,4vw,28px);border:1px solid #665244;border-radius:12px;background:#1a1613}
.polis-legal-index ol{margin:0;padding-inline-start:1.55em}
.polis-legal-index a{display:inline-block;padding-block:4px}
.polis-legal-section{margin-block:36px;scroll-margin-top:9rem}
.polis-legal-section h2{margin-bottom:12px;line-height:1.15}
.polis-legal-section p{margin-block:0 12px}
.polis-cookie-table{margin-block:18px;overflow-x:auto;border:1px solid #665244;border-radius:10px}
.polis-cookie-table table{min-width:42rem;width:100%;border-collapse:collapse;text-align:left;font-size:.95rem;line-height:1.45}
.polis-cookie-table th,.polis-cookie-table td{padding:10px 12px;vertical-align:top;border-bottom:1px solid #3a3028}
.polis-cookie-table th{color:#fff3e8}
.polis-cookie-table thead{background:#30251e}
.polis-cookie-table tbody th{width:24%;overflow-wrap:anywhere}
.polis-cookie-table tbody tr:last-child>*{border-bottom:0}
.polis-cookie-table:focus-visible{outline:2px solid #ffac6b;outline-offset:3px}
.polis-legal-section .polis-cookie-settings{font:inherit;min-height:44px;padding:8px 14px;color:#21170f;background:#ffac6b;border:0;border-radius:6px;cursor:pointer}
.polis-cookie-banner div{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center}
.polis-cookie-banner,.polis-consent-dialog{color:#f5eee7;background:#1a1613;border:1px solid #665244;border-radius:12px;padding:18px}
.polis-cookie-banner{position:fixed;z-index:10000;bottom:max(12px,env(safe-area-inset-bottom));inset-inline:12px;max-width:620px;margin-inline:auto;box-shadow:0 5px 25px #000a}
.polis-cookie-banner p,.polis-consent-dialog p{margin:0 0 8px}
.polis-cookie-banner button,.polis-consent-dialog button,.polis-withdrawal button{font:inherit;min-height:44px;padding:6px 12px;color:#f5eee7;background:#30251e;border:1px solid #8e7564;border-radius:6px;cursor:pointer}
.polis-cookie-banner div{margin-top:10px}
.polis-consent-dialog{max-width:min(36rem,calc(100% - 24px));max-height:calc(100% - 24px)}
.polis-consent-dialog::backdrop{background:#0009}
.polis-consent-dialog label,.polis-withdrawal label{display:block;margin:10px 0}
.polis-consent-dialog a,.polis-consent-dialog button{margin:6px 10px 6px 0;color:inherit}
.polis-withdrawal input{display:block;font:inherit;min-height:44px;margin-top:4px;padding:6px 10px;background:#28211c;color:#fff;border:1px solid #8e7564;border-radius:4px}
.polis-checkout-summary :focus-visible,.polis-consent-dialog :focus-visible,.polis-cookie-banner :focus-visible{outline:2px solid #ffac6b;outline-offset:3px}

.polis-checkout-summary {
  position: fixed;
  inset: 0;
  margin: auto;
  box-sizing: border-box;
  width: min(35rem, calc(100% - 24px));
  max-width: none;
  max-height: calc(100% - 24px);
  max-height: calc(100dvh - 24px);
  padding: clamp(18px, 4vw, 32px);
  overflow: auto;
  overscroll-behavior: contain;
  color: #f5eee7;
  background: #1a1613;
  border: 1px solid #665244;
  border-radius: 16px;
  color-scheme: dark;
}
.polis-checkout-summary::backdrop { background: #080605c9; }
.polis-checkout-summary form { display: grid; gap: 18px; }
.polis-checkout-summary h2 {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -.025em;
}
.polis-checkout-summary h2:focus { outline: none; }
.polis-checkout-details { display: grid; gap: 14px; }
.polis-checkout-details:empty, .polis-checkout-status:empty { display: none; }
.polis-checkout-ticket {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px 16px;
  padding: 14px 16px;
  border: 1px solid #594435;
  border-radius: 10px;
  background: #241c16;
}
.polis-checkout-ticket h3 { margin: 3px 0 0; font-size: clamp(1.2rem, 4vw, 1.6rem); line-height: 1.12; }
.polis-checkout-ticket p { margin: 0; }
.polis-checkout-offer { color: #ffbc89; font-size: .82rem; font-weight: 700; }
.polis-checkout-total { text-align: end; }
.polis-checkout-total strong { display: block; white-space: nowrap; font-size: clamp(1.15rem, 4vw, 1.6rem); line-height: 1.15; font-variant-numeric: tabular-nums; }
.polis-checkout-ticket > p {
  grid-column: 1 / -1;
  padding-top: 10px;
  border-top: 1px dashed #665244;
  color: #dacbbe;
  font-size: .9rem;
  line-height: 1.45;
}
.polis-checkout-checks { display: grid; gap: 6px; }
.polis-checkout-checks a { color: #f5eee7; text-decoration: underline; text-underline-offset: .2em; }
.polis-checkout-checks label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding-block: 5px;
  color: #e8ded5;
  font-size: .9rem;
  line-height: 1.42;
  cursor: pointer;
}
.polis-checkout-checks input { inline-size: 17px; block-size: 17px; margin: 2px 0 0; accent-color: #ffac6b; }
.polis-checkout-amount { display: grid; gap: 6px; font-size: .9rem; }
.polis-checkout-amount input {
  box-sizing: border-box;
  width: min(100%, 12rem);
  min-height: 44px;
  padding: 6px 12px;
  font: inherit;
  color: inherit;
  background: #241c16;
  border: 1px solid #8e7564;
  border-radius: 6px;
}
.polis-checkout-status { margin: 0; color: #dacbbe; font-size: .9rem; }
.polis-checkout-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #4d3d32;
}
.polis-checkout-actions button {
  min-height: 44px;
  padding: 8px 14px;
  font: inherit;
  font-size: .94rem;
  color: #f5eee7;
  background: transparent;
  border: 1px solid #8e7564;
  border-radius: 7px;
  cursor: pointer;
}
.polis-checkout-actions button[type=submit] {
  background: #ffac6b;
  border-color: #ffac6b;
  color: #21170f;
  font-weight: 700;
}
.polis-checkout-actions button:disabled { opacity: .58; cursor: default; }
@media (max-width: 420px) {
  .polis-checkout-actions button { flex: 1 1 auto; }
}
