:root {
    --astro-offer-ink: var(--text-primary);
    --astro-offer-muted: var(--text-secondary);
    --astro-offer-line: var(--glass-border);
    --astro-offer-surface: var(--glass-bg);
    --astro-offer-input: var(--input-bg);
    --astro-offer-accent: var(--primary-color);
    --astro-offer-accent-soft: color-mix(in srgb, var(--astro-offer-accent) 14%, var(--astro-offer-surface));
    --astro-offer-warning: #f59e0b;
    --astro-offer-alert: #ef4444;
}

:root[data-theme="light"] {
    --astro-offer-accent: #0e7490;
    --astro-offer-warning: #92400e;
    --astro-offer-alert: #b91c1c;
}

:root[data-theme="light"] .astro-offer-chat {
    --eval-cyan: #0e7490;
    --eval-green: #047857;
    --eval-amber: #92400e;
    --eval-red: #b91c1c;
}

.astro-offer-catalog { color:var(--astro-offer-ink); font-variant-numeric:tabular-nums; }
.astro-offer-catalog h1, .astro-offer-catalog h2, .astro-offer-catalog h3 { color:var(--astro-offer-ink); letter-spacing:-.025em; text-wrap:balance; }
.astro-offer-catalog h1 { margin:0; font-size:clamp(1.65rem,2.4vw,2.35rem); line-height:1.04; font-weight:700; }
.astro-offer-catalog h2 { margin:0; font-size:1.1rem; line-height:1.15; font-weight:650; }
.astro-offer-catalog h3 { margin:0; font-size:.9rem; }
.astro-offer-catalog p { color:var(--astro-offer-muted); }
.astro-offer-catalog__eyebrow { margin:0 0 .35rem; color:var(--astro-offer-accent) !important; font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.astro-offer-status { display:inline-flex; min-height:2rem; align-items:center; padding:.25rem .55rem; border:1px solid var(--astro-offer-line); color:var(--astro-offer-muted); font-size:.78rem; font-weight:650; }
.astro-offer-status--demo { border-color:var(--astro-offer-warning); background:color-mix(in srgb, var(--astro-offer-warning) 16%, var(--astro-offer-surface)); color:var(--astro-offer-ink); }
.astro-offer-status--non-commercial { border-color:var(--astro-offer-alert); background:color-mix(in srgb, var(--astro-offer-alert) 12%, var(--astro-offer-surface)); color:var(--astro-offer-ink); }
.astro-offer-status--commercial, .astro-offer-status--included { border-color:var(--astro-offer-accent); background:var(--astro-offer-accent-soft); color:var(--astro-offer-ink); }
.astro-offer-status--pending { border-color:var(--astro-offer-warning); background:color-mix(in srgb, var(--astro-offer-warning) 16%, var(--astro-offer-surface)); color:var(--astro-offer-ink); }
.astro-offer-status--not-offerable { border-color:var(--astro-offer-alert); background:color-mix(in srgb, var(--astro-offer-alert) 14%, var(--astro-offer-surface)); color:var(--astro-offer-ink); }
.astro-offer-filters, .astro-offer-state, .astro-offer-comparison, .astro-offer-management, .astro-offer-product, .astro-offer-skeleton { border:1px solid var(--astro-offer-line); background:var(--astro-offer-surface); }
.astro-offer-filters { padding:.75rem; }
.astro-offer-filters label { display:grid; gap:.28rem; color:var(--astro-offer-muted); font-size:.76rem; font-weight:650; }
.astro-offer-filters input, .astro-offer-filters select { min-height:2.75rem; border:1px solid var(--astro-offer-line); border-radius:.3rem; background:var(--astro-offer-input); color:var(--astro-offer-ink); padding:.5rem .62rem; }
.astro-offer-filters input:focus, .astro-offer-filters select:focus, .astro-offer-button:focus-visible, .astro-offer-compare-toggle:focus-visible, .astro-offer-management summary:focus-visible, .astro-offer-disclosure summary:focus-visible { outline:3px solid var(--astro-offer-accent); outline-offset:2px; }
.astro-offer-product { display:grid; gap:.85rem; padding:1rem; background:var(--astro-offer-surface); box-shadow:0 .35rem 1.2rem color-mix(in srgb, var(--astro-offer-ink) 8%, transparent); }
.astro-offer-product:nth-child(3n + 2) { background:color-mix(in srgb, var(--astro-offer-accent) 4%, var(--astro-offer-surface)); }
.astro-offer-product__aliases { font-size:.83rem; }
.astro-offer-product__price { display:flex; align-items:baseline; gap:.4rem; margin:0; }
.astro-offer-product__price strong { color:var(--astro-offer-ink); font-size:1.35rem; letter-spacing:-.035em; }
.astro-offer-product__price span { font-size:.82rem; }
.astro-offer-product__facts { margin:0; }
.astro-offer-product__facts div { border-top:1px solid var(--astro-offer-line); padding-top:.45rem; }
.astro-offer-product__facts dt { color:var(--astro-offer-muted); font-size:.7rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.astro-offer-product__facts dd { margin:.15rem 0 0; font-size:.82rem; }
.astro-offer-product__inclusions { border-left:2px solid var(--astro-offer-accent); padding-left:.7rem; }
.astro-offer-product__inclusions ul, .astro-offer-disclosure ul, .astro-offer-comparison ul { padding-left:1rem; }
.astro-offer-product__inclusions li, .astro-offer-disclosure li, .astro-offer-comparison li { margin:.2rem 0; color:var(--astro-offer-muted); font-size:.83rem; }
.astro-offer-compare-toggle, .astro-offer-button { min-height:2.75rem; border:1px solid var(--astro-offer-accent); border-radius:.28rem; background:transparent; color:var(--astro-offer-accent); padding:.45rem .72rem; font:inherit; font-size:.82rem; font-weight:700; transition:background-color .18s ease, color .18s ease, transform .18s ease; }
.astro-offer-compare-toggle:hover, .astro-offer-button:hover:not(:disabled), .astro-offer-compare-toggle.is-selected { background:var(--astro-offer-accent-soft); }
.astro-offer-compare-toggle:active, .astro-offer-button:active:not(:disabled) { transform:translateY(1px); }
.astro-offer-button--primary { background:var(--astro-offer-accent); color:var(--button-primary-text, #fff); }
.astro-offer-button:disabled { cursor:not-allowed; opacity:.55; }
.astro-offer-disclosure, .astro-offer-management { border-top:1px solid var(--astro-offer-line); padding-top:.65rem; }
.astro-offer-disclosure summary, .astro-offer-management summary { cursor:pointer; color:var(--astro-offer-ink); font-weight:700; min-height:44px; display:flex; align-items:center; }
.astro-offer-disclosure summary:hover, .astro-offer-management summary:hover { background:var(--astro-offer-accent-soft); }
.astro-offer-disclosure summary:active, .astro-offer-management summary:active { transform:translateY(1px); }
.astro-offer-disclosure section { margin-top:.7rem; }
.astro-offer-option { border-top:1px solid var(--astro-offer-line); padding-top:.6rem; }
.astro-offer-option p { display:grid; grid-template-columns:auto 1fr auto; gap:.45rem; margin:.1rem 0; color:var(--astro-offer-ink); }
.astro-offer-option p span { color:var(--astro-offer-muted); font-size:.72rem; text-transform:uppercase; }
.astro-offer-option small { color:var(--astro-offer-muted); }
.astro-offer-state, .astro-offer-comparison, .astro-offer-skeleton { padding:1rem; }
.astro-offer-state--error { border-color:var(--astro-offer-alert); background:color-mix(in srgb, var(--astro-offer-alert) 10%, var(--astro-offer-surface)); }
.astro-offer-state--error h2, .astro-offer-state--error p { color:var(--astro-offer-alert); }
.astro-offer-skeleton { display:grid; gap:.65rem; }
.astro-offer-skeleton span { display:block; height:.85rem; background:linear-gradient(90deg,var(--astro-offer-input),var(--glass-highlight),var(--astro-offer-input)); background-size:200% 100%; animation:astro-offer-shimmer 1.2s infinite linear; }
.astro-offer-skeleton span:nth-child(2) { width:72%; }.astro-offer-skeleton span:nth-child(3) { width:48%; }
.astro-offer-comparison__grid article { border-left:2px solid var(--astro-offer-accent); padding:.5rem .7rem; background:var(--astro-offer-input); }
.astro-offer-comparison__note { margin-bottom:0; font-size:.82rem; }
.astro-offer-management { padding:1rem; background:var(--astro-offer-input); }
.astro-offer-management__stage { border-top:1px solid var(--astro-offer-line); padding-top:1rem; }
.astro-offer-management dl { display:grid; grid-template-columns:repeat(auto-fit,minmax(11rem,1fr)); gap:.55rem; margin:0; }
.astro-offer-management dt { color:var(--astro-offer-muted); font-size:.72rem; font-weight:700; text-transform:uppercase; }.astro-offer-management dd { margin:.2rem 0 0; overflow-wrap:anywhere; }
.astro-offer-management label { color:var(--astro-offer-muted); font-size:.85rem; }
.astro-offer-management label:has(input[type="checkbox"]) { display:inline-flex; align-items:center; gap:.55rem; min-height:44px; cursor:pointer; }
.astro-offer-management input[type="checkbox"] { width:1.1rem; height:1.1rem; margin:0; accent-color:var(--astro-offer-accent); }
.astro-offer-history table { width:100%; border-collapse:collapse; font-size:.82rem; }.astro-offer-history th, .astro-offer-history td { border-bottom:1px solid var(--astro-offer-line); padding:.5rem; text-align:left; vertical-align:top; }.astro-offer-history td:last-child { overflow-wrap:anywhere; }
@keyframes astro-offer-shimmer { to { background-position:-200% 0; } }
@media (prefers-reduced-motion: reduce) { .astro-offer-catalog *, .astro-offer-catalog *::before, .astro-offer-catalog *::after { animation-duration:.01ms !important; scroll-behavior:auto !important; transition-duration:.01ms !important; } }
