.compra-page { margin: 0; background: var(--muted); color: var(--ink); font: 16px/1.55 system-ui, sans-serif; }
.compra-page *, .compra-page *::before, .compra-page *::after { box-sizing: border-box; }
.compra-page :focus-visible { outline: 3px solid var(--info); outline-offset: 3px; }
.compra-page h1, .compra-page h2, .compra-page h3, .compra-page p { margin: 0; }
.compra-page a { color: var(--brand-ink); text-underline-offset: .2em; }
.compra-page a.search-button { color: var(--ink); }
.compra-page :is(button, a.search-button, a.search-secondary) { min-height: 44px; }
.compra-wrap { width: min(var(--measure), calc(100% - 32px)); margin-inline: auto; }
.compra-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.compra-header nav, .compra-footer .compra-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.compra-header img { display: block; max-width: 42vw; height: auto; }
.compra-hero { padding: clamp(36px, 7vw, 80px) 0; color: var(--surface); background: radial-gradient(ellipse at 100% 0%, #235541 0, var(--ink) 68%); }
.compra-intro { max-width: 1120px; }
.compra-intro h1 { margin-block: 8px 12px; max-width: 22ch; font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -.05em; }
.compra-intro > p { max-width: 60ch; color: #e2eee7; }
.compra-intro .compra-eyebrow { color: #a6f0b3; font-weight: 750; }
.compra-intro a { color: #a6f0b3; }
.compra-intro .search-button { margin-top: 20px; }
.compra-hero :focus-visible, .compra-footer :focus-visible, .compra-cookies :focus-visible { outline-color: #a6f0b3; }
.compra-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(16px, 3vw, 28px); box-shadow: var(--shadow); }
.compra-wizard-wrap, .compra-results, .compra-faq { padding-block: 26px; }
.compra-wizard { max-width: 700px; margin-inline: auto; }
.compra-progress { display: grid; gap: 8px; margin-bottom: 24px; font-weight: 700; color: var(--brand-ink); }
.compra-progress progress { width: 100%; min-height: 12px; accent-color: var(--brand-ink); }
.compra-wizard fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.compra-wizard legend { margin-bottom: 12px; padding: 0; font-size: clamp(1.35rem, 4vw, 1.9rem); font-weight: 760; line-height: 1.2; }
.compra-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 8px; margin: 10px 0; }
.compra-choice { display: flex; gap: 8px; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid #9ca9a2; border-radius: var(--field-radius); cursor: pointer; }
.compra-choice:has(:checked) { background: #e0f5e6; border-color: var(--brand-ink); font-weight: 700; }
.compra-choice:has(:disabled) { border-color: var(--border); color: var(--support); cursor: default; }
.compra-choice input { margin: 0; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--brand-ink); }
.compra-field { display: grid; gap: 4px; min-width: 0; font-weight: 700; margin-block: 8px; }
.compra-page input:not([type="checkbox"], [type="radio"]), .compra-page select { width: 100%; min-height: 44px; min-width: 0; padding: 8px 10px; border: 1px solid #7b8a82; border-radius: var(--field-radius); background: var(--surface); color: var(--ink); font: inherit; }
.compra-muted, .compra-source { color: var(--support); }
.compra-notice { padding-top: 16px; }
.compra-form-error { color: #a12626; }
.compra-navigation { margin-top: 16px; justify-content: space-between; }
.compra-results-title { display: grid; gap: 4px; margin-bottom: 16px; }
.compra-modelos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 16px; }
.compra-modelo { min-width: 0; display: grid; align-content: start; gap: 14px; }
.compra-modelo-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.compra-modelo-head h3 { font-size: 1.4rem; line-height: 1.2; margin-bottom: 4px; }
.compra-score { flex: 0 0 auto; padding: 4px 9px; border-radius: var(--pill); background: #e0f5e6; color: var(--brand-ink); font-weight: 750; font-size: .875rem; }
.compra-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(175px, 100%), 1fr)); gap: 8px; }
.compra-price-grid div { padding: 8px 12px; background: var(--muted); border-radius: var(--field-radius); }
.compra-page small { display: block; color: var(--support); }
.compra-source { font-size: .85rem; overflow-wrap: anywhere; }
.compra-detail { padding: 8px 0; border-top: 1px solid var(--border); }
.compra-detail summary, .compra-faq summary { cursor: pointer; font-weight: 730; }
.compra-detail[open] > p, .compra-faq details p { margin-top: 8px; }
.compra-detail ul { padding-left: 20px; }
.compra-specs { display: grid; gap: 8px; }
.compra-specs dd { margin: 0; }
.compra-specs dt { font-weight: 700; }
.compra-attention { background: #fff2d8; color: #613a00; border-radius: var(--field-radius); padding: 8px 12px; }
.compra-comparador, .compra-explicar, .compra-compare-scroll { margin-top: 20px; }
.compra-compare-scroll { max-width: 100%; overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--field-radius); }
.compra-compare-table { width: 100%; border-collapse: collapse; }
.compra-compare-table caption { text-align: left; font-weight: 700; padding: 12px; }
.compra-compare-table th, .compra-compare-table td { border-top: 1px solid var(--border); padding: 10px 12px; min-width: 125px; vertical-align: top; text-align: left; }
.compra-compare-table thead th { background: var(--muted); }
.compra-inline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.compra-inline input { flex: 1 1 200px; }
.compra-page button[aria-pressed="true"] { background: #e0f5e6; color: var(--brand-ink); }
.compra-page .compra-avisos { margin: 22px 0; color: var(--support); font-size: .875rem; }
.compra-faq details { border-block-start: 1px solid var(--border); padding-block: 12px; }
.compra-footer, .compra-cookies { background: var(--ink); color: var(--surface); padding: 12px 0; }
.compra-footer .compra-wrap { justify-content: flex-start; flex-wrap: wrap; }
.compra-footer a, .compra-cookies a { color: #a6f0b3; }
.compra-cookies .search-actions { margin-top: 8px; }
.home-page .compra-home { margin-top: 24px; border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(16px, 3vw, 32px); background: #eaf6ee; box-shadow: var(--shadow); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.home-page .compra-home h2 { font-size: clamp(1.3rem, 3vw, 2rem); }
.home-page .compra-home p { margin-top: 4px; }
