/* Native catalog CoA presentation; Core owns rendering and interaction. */
.ovr-shop-coa-trigger:focus-visible, .ovr-shop-coa-dialog :is(a, button, summary):focus-visible {
    outline: 3px solid #177948; outline-offset: 3px;
}
.ovr-shop-coa-dialog:not([open]), .ovr-shop-coa-dialog [hidden] { display: none; }
.ovr-shop-coa-dialog {
    box-sizing: border-box; width: min(1060px, calc(100% - 32px)); max-width: 1060px;
    height: min(900px, calc(100dvh - 64px)); max-height: calc(100dvh - 64px);
    margin: auto; padding: 0; display: flex; flex-direction: column;
    border: 1px solid #cddbc6; border-radius: 10px; background: #fff; color: #254a36;
    overflow: hidden; box-shadow: 0 24px 90px #08251d45; font-family: var(--sans, sans-serif);
}
.ovr-shop-coa-dialog::backdrop { background: #183c2dcc; backdrop-filter: blur(3px); }
.ovr-shop-coa-header { position: relative; flex-shrink: 0; padding: 28px 86px 24px 26px; background: #fbfcf6; }
.ovr-shop-coa-header .ovr-shop-coa-eyebrow {
    margin: 0 0 6px; color: #007452; font-size: 10px; font-weight: 700;
    line-height: 1.5; letter-spacing: .08em; text-transform: uppercase;
}
.ovr-shop-coa-header h2 { margin: 0; line-height: 1; }
.ovr-shop-coa-header [data-coa-artwork] { display: block; max-width: 360px; }
.ovr-shop-coa-header [data-coa-artwork]:empty { display: none; }
.ovr-shop-coa-header [data-coa-artwork] svg {
    display: block; width: auto; max-width: 100%; height: 32px; max-height: 32px; color: #254a36;
    margin: 0; padding: 0; border: 0; object-fit: contain;
}
.ovr-shop-coa-close {
    position: absolute; top: 22px; right: 22px; display: flex; align-items: center; justify-content: center;
    box-sizing: border-box; width: 44px; height: 44px; padding: 10px;
    border: 1px solid #dce6d2; border-radius: 50%; background: #fff; color: #6b8555; cursor: pointer;
}
.ovr-shop-coa-status { flex: 1; min-height: 0; overflow: auto; padding: 26px; }
.ovr-shop-coa-status p { margin-top: 0; }
.ovr-shop-coa-status a { color: #007452; }
.ovr-shop-coa-report-bar {
    display: flex; align-items: center; justify-content: flex-end;
    flex-shrink: 0; padding: 10px 26px; border-bottom: 1px solid #e1e6db; background: #fff;
}
.ovr-shop-coa-report-bar a { flex-shrink: 0; color: #007452; font-size: 12px; font-weight: 600; text-decoration: none; }
.ovr-shop-coa-preview { display: flex; flex-direction: column; flex: 1; min-height: 0; background: #e9ede3; }
.ovr-shop-coa-preview-tools { flex-shrink: 0; padding: 16px 20px 12px; text-align: center; }
.ovr-shop-coa-preview-tools p { margin: 0; color: #6b7d55; font-size: 11px; line-height: 1.5; white-space: nowrap; }
.ovr-shop-coa-dialog iframe { display: block; width: 100%; min-height: 0; flex: 1; border: 0; background: #e9ede3; }
.ovr-shop-coa-footer { flex-shrink: 0; padding: 18px 26px; background: #fff; color: #6b7d55; font-size: 10px; line-height: 1.5; }
body.ovr-modal-open { overflow: hidden; }
@media (max-width: 600px), (max-height: 600px) {
    .ovr-shop-coa-dialog { width: calc(100% - 24px); height: calc(100dvh - 32px); max-height: calc(100dvh - 32px); }
    .ovr-shop-coa-header { padding: 16px 74px 16px 18px; }
    .ovr-shop-coa-close { top: 12px; right: 12px; }
    .ovr-shop-coa-report-bar { padding: 10px 18px; gap: 8px; }
    .ovr-shop-coa-preview-tools { padding: 10px 12px; }
    .ovr-shop-coa-footer { padding: 12px 18px; }
}
@media (max-width: 600px) {
    .ovr-shop-coa-preview-hint {
        position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
        overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
    }
}
@media (max-height: 500px) {
    .ovr-shop-coa-header { padding: 12px 74px 12px 16px; }
    .ovr-shop-coa-header [data-coa-artwork] svg { height: 28px; max-height: 28px; }
    .ovr-shop-coa-preview-tools { padding: 8px; }
    .ovr-shop-coa-footer { padding: 8px 16px; }
}
