/* Exchange policy — the dialog (mockup 03b) and the same content on the /exchange-policy/ page itself. */

/* Dialog shell ------------------------------------------------------------ */
.oo-dialog {
  width: min(100% - 2rem, 38.75rem); max-height: min(90vh, 60rem);
  padding: 0; overflow: auto; overscroll-behavior: contain;
  background: var(--oo-burgundy-deep); color: var(--oo-text);
  border: 1px solid var(--oo-line); border-radius: 0.25rem;
}
.oo-dialog::backdrop { background: var(--oo-overlay); }
.oo-dialog[open] { display: grid; gap: 1.5rem; padding: 1.75rem 1.5rem 2rem; }

.oo-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.oo-dialog__head .oo-eyebrow { font-size: 0.75rem; margin-bottom: 0.25rem; }
.oo-dialog__title { font-family: var(--oo-font-display); font-weight: 400; font-size: 1.75rem; line-height: 1.2; color: var(--oo-text-strong); }
.oo-dialog__close {
  flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: grid; place-items: center; padding: 0;
  background: none; border: 1px solid var(--oo-line); color: var(--oo-text-strong);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.oo-dialog__close:hover, .oo-dialog__close:focus-visible { border-color: var(--oo-gold); color: var(--oo-gold); }
.oo-dialog__ok { width: 100%; }

/* Policy content (page HTML from data/pages/exchange-policy.html) --------- */
.oo-policy { display: grid; gap: 1.25rem; font-size: 0.875rem; line-height: 1.7; }
.oo-policy__intro { color: var(--oo-text-muted); }
.oo-policy__section { display: grid; gap: 0.75rem; padding-top: 1.25rem; border-top: 1px solid var(--oo-line); }
.oo-policy__heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; font-size: 1rem; font-weight: 500; line-height: 1.4; color: var(--oo-text-strong); }
.oo-policy__tag { font-size: 0.8125rem; font-weight: 400; color: var(--oo-text-muted); }
.oo-policy__tag--gold { color: var(--oo-gold); }
.oo-policy p { color: var(--oo-text); }
.oo-policy .oo-stars { gap: 0.5rem; color: var(--oo-text-muted); }

.oo-policy__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-block: 0.25rem 0.5rem; }
.oo-policy__photos figure { display: grid; gap: 0.5rem; align-content: start; }
.oo-policy__photos .oo-placeholder,
.oo-policy__photos img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.oo-policy__photo--round { border-radius: 50%; }
.oo-policy__photos figcaption { font-size: 0.75rem; line-height: 1.5; color: var(--oo-text-muted); }

@media (min-width: 48em) {
  .oo-dialog[open] { padding: 2.25rem 2.25rem 2rem; }
  .oo-dialog__title { font-size: 2rem; }
  .oo-policy__intro, .oo-policy p { font-size: 0.875rem; }
  .oo-policy__photos figcaption { font-size: 0.8125rem; }
}

/* The page itself (page-exchange-policy.php, the no-JS fallback): same content, no dialog shell. */
.oo-policy-page { max-width: 38.75rem; }
.oo-policy-page .oo-h2-en { margin: 0.25rem 0 1.5rem; }
