/* OZ Site Core: styles for the shortcodes and the cookie banner. Fonts are inherited from the theme. */
:root {
  --oz-ink: #1d1d1f;
  --oz-mute: #5f5f64;
  --oz-line: #d2d2d7;
  --oz-soft: #f5f5f7;
  --oz-cream: #f3eee7;
  --oz-bronze: #9c6b43;
  --oz-focus: #0071e3;
  --oz-radius: 16px;
}

/* ---------- Legal pages ---------- */
.oz-legal { max-width: 760px; color: var(--oz-ink); font-size: 17px; line-height: 1.7; }
.oz-legal h2 { font-size: 24px; line-height: 1.25; margin: 2.2em 0 .6em; scroll-margin-top: 100px; }
.oz-legal h3 { font-size: 18px; margin: 1.6em 0 .4em; }
.oz-legal p, .oz-legal ul, .oz-legal ol { margin: 0 0 1em; }
.oz-legal ul, .oz-legal ol { padding-inline-start: 1.3em; }
.oz-legal li { margin-bottom: .35em; }
.oz-legal a { color: var(--oz-ink); text-decoration: underline; text-underline-offset: 3px; }
.oz-legal section { scroll-margin-top: 100px; }
.oz-legal section:first-of-type h2 { margin-top: 1em; }
.oz-updated { color: var(--oz-mute); font-size: 14px; }
.oz-missing { background: #fff4d6; color: #6b4f12; padding: 0 .3em; border-radius: 4px; font-weight: 600; }
.oz-toc { background: var(--oz-soft); border-radius: var(--oz-radius); padding: 18px 22px; margin: 1em 0 2em; font-size: 15px; }
.oz-toc ol { margin: .6em 0 0; columns: 2; column-gap: 24px; }
@media (max-width: 600px) { .oz-toc ol { columns: 1; } }
.oz-callout { background: var(--oz-cream); border-radius: var(--oz-radius); padding: 14px 18px; }
.oz-contact { display: grid; gap: 6px; margin: 0 0 1em; padding: 16px 20px; border: 1px solid var(--oz-line); border-radius: var(--oz-radius); }
.oz-contact div { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.oz-contact dt { min-width: 8.5em; color: var(--oz-mute); }
.oz-contact dd { margin: 0; font-weight: 600; }
.oz-table-wrap { overflow-x: auto; margin: 1em 0; }
.oz-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.oz-table th, .oz-table td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--oz-line); vertical-align: top; }
.oz-table th { background: var(--oz-soft); font-weight: 600; }
.oz-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Cancellation page ---------- */
.oz-lead { font-size: 19px; }
.oz-summary { background: var(--oz-cream); border-radius: var(--oz-radius); padding: 16px 20px; margin-bottom: 1.5em; }
.oz-summary ul { margin: .5em 0 0; }
.oz-way { border: 1px solid var(--oz-line); border-radius: var(--oz-radius); padding: 20px 22px; margin: 0 0 14px; }
.oz-way h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 .6em; font-size: 20px; }
.oz-way__n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--oz-ink); color: #fff; font-size: 15px; flex: none; }
.oz-form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.oz-form input[type=text], .oz-form input[type=tel], .oz-form input[type=email], .oz-form textarea {
  width: 100%; box-sizing: border-box; min-height: 48px; padding: 12px 14px; font-size: 16px; font-family: inherit;
  border: 1px solid var(--oz-line); border-radius: 12px; background: #fff; color: var(--oz-ink);
}
.oz-form small, .oz-help { display: block; color: var(--oz-mute); font-size: 13px; margin-top: 4px; }
.oz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 600px) { .oz-grid { grid-template-columns: minmax(0, 1fr); } }
.oz-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border-radius: 999px; border: 0; background: var(--oz-ink); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.oz-btn:hover { background: #000; }
.oz-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.oz-notice { border-radius: var(--oz-radius); padding: 14px 18px; margin: 0 0 1.2em; }
.oz-notice--ok { background: #e8f6ee; color: #14532d; }
.oz-notice--err { background: #fdecec; color: #7f1d1d; }

/* ---------- Q&A ---------- */
.oz-faq { max-width: 820px; }
.oz-faq__title { font-size: clamp(26px, 3vw, 36px); margin: 0 0 .6em; }
.oz-faq__item { border-bottom: 1px solid var(--oz-line); }
.oz-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; }
.oz-faq__item summary::-webkit-details-marker { display: none; }
.oz-faq__item summary h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.4; }
.oz-faq__icon { position: relative; width: 14px; height: 14px; flex: none; }
.oz-faq__icon::before, .oz-faq__icon::after { content: ""; position: absolute; inset: 6px 0 auto; height: 2px; background: currentColor; transition: transform .2s; }
.oz-faq__icon::after { transform: rotate(90deg); }
.oz-faq__item[open] .oz-faq__icon::after { transform: rotate(0deg); }
.oz-faq__a p { margin: 0 0 18px; color: var(--oz-mute); line-height: 1.7; }

/* ---------- Footer legal links ---------- */
.oz-footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 14px; }
.oz-footer-legal ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.oz-footer-legal a { color: inherit; }
.oz-cancel-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid currentColor; border-radius: 999px; font-weight: 700; text-decoration: none !important; }

/* ---------- Focus ---------- */
.oz-legal :focus-visible, .oz-footer-legal :focus-visible, .oz-faq :focus-visible, .oz-cc :focus-visible { outline: 2px solid var(--oz-focus); outline-offset: 2px; }

/* ---------- Cookie banner ---------- */
.oz-cc[hidden] { display: none !important; }
.oz-cc { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: flex-end; justify-content: center; padding: 16px; pointer-events: none; }
.oz-cc__veil { position: absolute; inset: 0; background: rgba(20, 20, 22, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s; }
.oz-cc--blocking { pointer-events: auto; }
.oz-cc--blocking .oz-cc__veil { opacity: 1; }
.oz-cc:not(.oz-cc--blocking) .oz-cc__veil { display: none; }
.oz-cc__box { position: relative; pointer-events: auto; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; box-sizing: border-box; background: #fff; color: var(--oz-ink); border-radius: 22px; padding: 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); font-size: 15px; line-height: 1.6; }
.oz-cc__box:focus { outline: none; }
.oz-cc__title { margin: 0 0 6px; font-size: 20px; line-height: 1.3; }
.oz-cc__text { margin: 0 0 16px; color: #3a3a3e; }
.oz-cc__text a { color: inherit; text-decoration: underline; }
.oz-cc__prefs { display: grid; gap: 8px; margin: 0 0 16px; }
.oz-cc__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 1px solid var(--oz-line); border-radius: 14px; cursor: pointer; }
.oz-cc__row strong { display: block; }
.oz-cc__row span { display: block; color: var(--oz-mute); font-size: 13px; }
.oz-cc__always { flex: none; font-size: 13px; color: var(--oz-mute); white-space: nowrap; }
.oz-cc__switch { appearance: none; -webkit-appearance: none; flex: none; width: 46px; height: 28px; border-radius: 999px; background: #c9c9ce; position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.oz-cc__switch::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: inset-inline-start .2s; }
.oz-cc__switch:checked { background: var(--oz-ink); }
.oz-cc__switch:checked::after { inset-inline-start: 21px; }
.oz-cc__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.oz-cc__btn { min-height: 48px; padding: 0 14px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; }
.oz-cc__btn--solid { background: var(--oz-ink); color: #fff; border: 0; }
.oz-cc__btn--ghost { grid-column: 1 / -1; background: #fff; color: var(--oz-ink); border: 1.5px solid var(--oz-line); }
.oz-cc__btn[hidden] { display: none; }
@media (max-width: 420px) { .oz-cc__actions { grid-template-columns: minmax(0, 1fr); } .oz-cc { padding: 10px; } .oz-cc__box { padding: 20px; } }
html.oz-cc-lock, html.oz-cc-lock body { overflow: hidden !important; }
@media (prefers-reduced-motion: reduce) { .oz-cc__veil, .oz-cc__switch, .oz-cc__switch::after, .oz-faq__icon::before, .oz-faq__icon::after { transition: none; } }
