/* AhorraGo · Mascotas. Color, jerarquía y disposición de la interfaz pública. */
:root {
    color-scheme: light;
    --page: #fbf8f2;
    --panel: #ffffff;
    --ink: #203d35;
    --muted: #586c61;
    --line: #dce4dd;
    --brand: #21634f;
    --brand-soft: #eaf2eb;
    --action: #21634f;
    --action-dark: #174b3c;
    --on-action: #ffffff;
    --success: #21634f;
    --success-soft: #edf5ee;
    --soft: #f1f4ee;
    --green: var(--brand);
    --green-soft: var(--brand-soft);
    --logo-shadow: var(--ink);
    --stone: var(--brand);
    --warning: #7b5a24;
    --warning-soft: #f7f0df;
    --shadow: 0 4px 20px rgb(32 61 53 / 4%);
}
:root[data-theme="dark"], body.dark {
    color-scheme: dark;
    --page: #131d19;
    --panel: #1c2a23;
    --ink: #e7eee8;
    --muted: #a9b9ad;
    --line: #35463b;
    --brand: #a7d2b5;
    --brand-soft: #2a3e31;
    --action: #a7d2b5;
    --action-dark: #bfdcc8;
    --on-action: #182e22;
    --success: #a7d2b5;
    --success-soft: #263a2e;
    --soft: #233329;
    --green: var(--brand);
    --green-soft: var(--brand-soft);
    --logo-shadow: var(--ink);
    --stone: var(--brand);
    --warning: #e8ce95;
    --warning-soft: #383224;
    --shadow: 0 4px 20px rgb(0 0 0 / 8%);
}
body, body.dark { background: var(--page); color: var(--ink); font-family: "Segoe UI", system-ui, -apple-system, sans-serif; font-size: 15px; line-height: 1.5; }
body .app-shell { width: calc(100% - 64px); max-width: 1440px; padding: 0 0 48px; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, [role="button"]:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
svg.lucide { width: 18px; height: 18px; stroke-width: 1.7; flex-shrink: 0; }
body .topbar { gap: 24px; padding: 24px 0; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
body .brand { min-width: 205px; gap: 10px; }
body .brand-icon, body.dark .brand-icon { width: 42px; height: 42px; border-radius: 13px; background: var(--brand); color: var(--on-action); box-shadow: none; }
body .brand-title { font-size: 26px; font-weight: 700; letter-spacing: -.9px; }
body .brand-subtitle { margin-top: 5px; font-size: 11px; }
body .nav-tabs-app { gap: 6px; justify-content: center; font-size: 13px; }
body .nav-tabs-app button { padding: 10px 12px; border: 0; border-radius: 10px; font-weight: 500; }
body .nav-tabs-app button.active { background: var(--brand-soft); color: var(--brand); }
body .nav-tabs-app button:hover { color: var(--brand); background: var(--soft); }
body .top-actions { gap: 8px; align-items: center; }
body .icon-btn, body.dark .icon-btn { width: 40px; height: 40px; background: var(--panel); color: var(--ink); border-radius: 12px; box-shadow: none; }
body .theme-toggle, body.dark .theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; padding: 0 12px; font-size: 13px; font-weight: 600; white-space: nowrap; }
body .home-intro { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; margin: 0 0 22px; gap: 24px; }
body .home-kicker, body .landing-kicker { display: flex; align-items: center; gap: 8px; color: var(--brand); font-size: 12px; font-weight: 600; text-transform: none; letter-spacing: .04em; margin-bottom: 10px; }
body .home-title { font-size: clamp(27px, 2.5vw, 36px); line-height: 1.2; font-weight: 650; letter-spacing: -1px; }
body .home-subtitle { margin-top: 10px; font-size: 14px; }
body .home-actions { gap: 8px; }
body .action-chip, body.dark .action-chip { min-height: 42px; border-radius: 11px; padding: 8px 12px; box-shadow: none; font-size: 13px; font-weight: 500; background: var(--panel); color: var(--ink); }
body .frescura { max-width: 680px; margin: 10px 0 0; padding: 0; background: transparent; color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.6; border-radius: 0; }
body .frescura::before { width: 6px; height: 6px; flex-shrink: 0; background: var(--brand); }
body .frescura.vieja { background: transparent; color: var(--muted); }
body .frescura.vieja::before { background: var(--warning); }
body .hero-search { display: grid; grid-template-columns: minmax(0,1fr) 114px; gap: 10px; max-width: none; margin-bottom: 28px; }
body .search-input-wrap, body.dark .search-input-wrap { display: flex; min-height: 56px; min-width: 0; padding: 0 18px; background: var(--panel); border-radius: 12px; box-shadow: none; }
body .search-input-wrap:focus-within { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
body .search-input-wrap input { min-width: 0; font-size: 15px; }
body .search-input-wrap input::placeholder { color: var(--muted); }
body .clear-btn { display: grid; min-width: 32px; min-height: 40px; place-items: center; }
body .btn-go, body.dark .btn-go, body .details-btn.primary, body.dark .details-btn.primary { min-height: 42px; border-radius: 10px; border: 1px solid var(--action); background: var(--action); color: var(--on-action); font-weight: 600; box-shadow: none; }
body .btn-go:hover, body.dark .btn-go:hover, body .details-btn.primary:hover { background: var(--action-dark); border-color: var(--action-dark); color: var(--on-action); }
body .btn-outline-go { min-height: 40px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: transparent; font-size: 13px; font-weight: 500; }
body .content-grid { grid-template-columns: 208px minmax(0,1fr) 264px; gap: 24px; align-items: start; }
body .content-grid > *, body .product-card > * { min-width: 0; }
body .filters { gap: 20px; position: static; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
body .section-title { font-size: 15px; font-weight: 600; margin-bottom: 0; }
body .filter-block > label { font-size: 12px; font-weight: 600; text-transform: none; letter-spacing: 0; margin-bottom: 7px; }
body .form-check-label { font-size: 12px; font-weight: 400; text-transform: none; letter-spacing: 0; margin-bottom: 0; line-height: 1.7; }
body .form-check { margin-bottom: 6px; }
body .form-check-input { background-color: var(--panel); border-color: var(--muted); }
body .form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
body .form-select, body .form-control, body.dark .form-select, body.dark .form-control { min-height: 40px; font-size: 12px; border-radius: 9px; background-color: var(--panel); color: var(--ink); border-color: var(--line); }
body.dark .form-select option { background: var(--panel); color: var(--ink); }
body .form-select:disabled, body.dark .form-select:disabled { color: var(--muted); background-color: var(--soft); border-color: var(--line); }
body .link-clear { font-weight: 500; font-size: 12px; }
body .alert-box { background: var(--soft); border-radius: 12px; padding: 12px; }
body .alert-box p { font-size: 12px; margin: 8px 0; }
body .results-head { gap: 10px; margin: 0 0 14px; min-height: 40px; }
body #contadorTexto { font-size: 13px; font-weight: 500; }
body .view-toggle, body.dark .view-toggle { display: flex; background: var(--soft); padding: 3px; border-radius: 10px; }
body .view-toggle button { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 7px 9px; font-size: 12px; font-weight: 500; }
body .view-toggle button.active, body.dark .view-toggle button.active { background: var(--panel); color: var(--brand); box-shadow: 0 1px 4px rgb(0 0 0 / 5%); }
body .results-list { gap: 18px; }
body .product-card, body.dark .product-card { display: block; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; box-shadow: none; }
body .product-info, body.dark .product-info { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 12px 20px; padding: 22px; background: transparent; align-items: start; }
body .product-image-box, body.dark .product-image-box { grid-column: 1; grid-row: 1 / 3; width: 110px; height: 130px; min-height: 0; background: #ffffff; border: 1px solid #e9ede8; border-radius: 12px; padding: 10px; }
body .product-image { width: 100%; height: 108px; max-width: 100%; max-height: 108px; object-fit: contain; }
body .product-summary { grid-column: 2; min-width: 0; }
body .product-eyebrow { margin: 0 0 6px; font-size: 11px; font-weight: 500; color: var(--muted); }
body .product-name { display: block; overflow: visible; -webkit-line-clamp: unset; margin: 0 0 10px; color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.45; letter-spacing: -.25px; overflow-wrap: anywhere; }
body .product-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; font-size: 12px; }
body .product-meta > div { padding: 3px 8px; background: var(--soft); border-radius: 6px; }
body .product-actions { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body .details-btn, body.dark .details-btn { display: inline-flex; gap: 6px; min-width: 40px; min-height: 40px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); color: var(--muted); font-size: 12px; font-weight: 500; white-space: nowrap; }
body .details-btn:hover, body.dark .details-btn:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
body .details-btn.primary { padding-inline: 14px; }
body .details-btn.primary.added, body.dark .details-btn.primary.added { color: var(--brand); background: var(--brand-soft); border-color: var(--line); }
body .prices-table, body.dark .prices-table { display: block; border-left: 0; border-top: 1px solid var(--line); background: var(--panel); }
/* El desplegable nativo también funciona con teclado y sin eventos JavaScript. */
body .other-stores { border-top: 1px solid var(--line); }
body .other-stores-toggle { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 16px; list-style: none; cursor: pointer; color: var(--brand); background: var(--panel); font-size: 13px; font-weight: 600; line-height: 1.5; }
body .other-stores-toggle::-webkit-details-marker { display: none; }
body .other-stores-toggle:hover { background: var(--soft); }
body .other-stores-toggle:focus-visible { outline: 3px solid var(--brand); outline-offset: -4px; border-radius: 6px; }
body .other-stores-toggle svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .15s ease; }
body .other-stores-hide, body .other-stores[open] .other-stores-show { display: none; }
body .other-stores[open] .other-stores-hide { display: inline; }
body .other-stores[open] .other-stores-toggle svg { transform: rotate(180deg); }
body .prices-header, body .price-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(100px, 132px) 110px; align-items: center; gap: 14px; padding: 14px 22px; }
body .prices-header { color: var(--muted); padding-block: 10px; font-size: 10px; font-weight: 500; letter-spacing: .09em; }
body .price-row {
    grid-template-areas: "store amount action" "date amount action";
    row-gap: 3px;
    border-top: 1px solid var(--line);
}
body .offer-store { grid-area: store; align-self: end; }
body .offer-amount { grid-area: amount; font-variant-numeric: tabular-nums; }
body .offer-date { grid-area: date; align-self: start; font-size: 12px; line-height: 1.4; color: var(--muted); }
body .offer-date time { white-space: nowrap; }
body .price-row > a, body .price-row > span { grid-area: action; }
body .table-offer { display: grid; gap: 2px; }
body .table-offer + .table-offer { margin-top: 8px; }
body .table-offer .offer-date { grid-area: auto; }
body .table-store-link { color: inherit; text-underline-offset: .2em; }
body .table-store-link:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
body .price-row.is-best { box-shadow: inset 3px 0 var(--brand); }
body .price-row.is-best { background: var(--success-soft); }
body .store-name { font-size: 15px; font-weight: 600; display: block; overflow-wrap: anywhere; }
body .best-pill { display: inline-block; margin: 2px 0 0; padding: 0; border-radius: 0; font-size: 10px; font-weight: 600; background: transparent; color: var(--brand); }
body .offer-pill { margin: 4px 0 0 6px; padding: 2px 6px; background: var(--warning-soft); color: var(--warning); font-size: 10px; font-weight: 500; }
body .price-value { font-size: 17px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
body .price-value.best { color: var(--brand); }
body .reference-price { font-size: 12px; font-weight: 400; color: var(--muted); }
body .original-price { font-size: 11px; }
body .buy-btn, body.dark .buy-btn { display: inline-flex; align-items: center; min-height: 38px; padding: 8px; border-radius: 8px; border: 1px solid var(--line); color: var(--brand); background: var(--panel); font-size: 11px; font-weight: 600; text-align: center; white-space: nowrap; }
body .buy-btn:hover, body.dark .buy-btn:hover { background: var(--brand); color: var(--on-action); border-color: var(--brand); }
body .compare-note, body .reference-price.comparing { color: var(--muted); }
body .compare-note { margin: 8px 16px; background: var(--soft); }
body .side-panel { position: sticky; top: 20px; gap: 16px; }
body .panel-card, body.dark .panel-card { padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: none; }
body .panel-title { font-size: 16px; font-weight: 600; line-height: 1.4; }
body .panel-card p, body .optimal-list, body .total-line { font-size: 12px; }
body .total-value { font-size: 25px; font-weight: 650; }
body .side-panel .panel-card:has(.history-chart), body .side-panel .panel-card:has(.reason-list) { display: none; }
body .empty-state, body.dark .empty-state, body .start-action, body.dark .start-action { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: none; font-size: 14px; }
body .start-action h3 { font-size: 18px; font-weight: 600; }
body .results-context, body.dark .results-context { background: var(--soft); border: 0; border-radius: 12px; box-shadow: none; }
body .context-pill { background: var(--panel); font-size: 11px; font-weight: 500; }
body .categories-title { font-size: 32px; font-weight: 650; letter-spacing: -1px; }
body .categories-copy { color: var(--muted); font-size: 14px; }
body .category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
body .category-group-title { font-weight: 600; font-size: 18px; margin: 20px 0 0; }
body .category-card, body.dark .category-card { min-height: 195px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; box-shadow: none; background: var(--panel); }
body .category-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: none; }
body .category-card h3 { font-size: 18px; font-weight: 600; }
body .category-card p { color: var(--muted); font-size: 13px; }
body .category-chip, body.dark .category-chip, body .subcategory-chip, body.dark .subcategory-chip { background: var(--soft); color: var(--brand); border: 1px solid var(--line); border-radius: 8px; min-height: 36px; padding: 6px 10px; font-weight: 500; }
body .category-open { min-height: 40px; color: var(--brand); font-weight: 600; font-size: 12px; }
body .landing-hero { padding: 40px 0 60px; }
body .landing-kicker { justify-content: center; margin-bottom: 20px; }
body .landing-title { font-size: clamp(34px,4.5vw,60px); font-weight: 600; letter-spacing: -2px; line-height: 1.12; margin-bottom: 20px; }
body .landing-title span { color: var(--brand); }
body .landing-subtitle { max-width: 510px; margin: 0 auto 36px; font-size: 15px; line-height: 1.7; }
body .verticals-grid { max-width: 1020px; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; text-align: left; }
body .vertical-card { text-align: left; padding: 24px; border: 1px solid var(--line); border-radius: 16px; box-shadow: none; }
body .vertical-card[data-vertical="mascotas"] { order: -1; grid-column: 1 / -1; display: grid; grid-template-columns: 64px minmax(0,1fr) auto; align-items: center; column-gap: 20px; border-color: var(--brand); background: var(--brand-soft); }
body .vertical-card[data-vertical="mascotas"] .vertical-icon { grid-column: 1; grid-row: 1 / 3; margin: 0; }
body .vertical-card[data-vertical="mascotas"] .vertical-name { grid-column: 2; margin: 0 0 5px; }
body .vertical-card[data-vertical="mascotas"] .vertical-desc { grid-column: 2; }
body .vertical-cta { grid-column: 3; grid-row: 1 / 3; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--brand); }
body .vertical-card:hover { transform: none; border-color: var(--brand); box-shadow: var(--shadow); }
body .vertical-name { font-size: 20px; font-weight: 600; }
body .vertical-desc { font-size: 12px; line-height: 1.6; }
body .vertical-card.disabled { filter: none; opacity: 1; background: var(--page); color: var(--muted); }
body .vertical-card.disabled .vertical-icon { color: var(--muted); }
body .vertical-card.disabled .badge { background: var(--soft) !important; color: var(--muted); font-size: 10px; font-weight: 500; padding: 6px 8px; }
body .results-table-wrap, body.dark .results-table-wrap { border-radius: 16px; box-shadow: none; }
body .table-product-name { font-size: 13px; font-weight: 600; }
body .results-table th { font-size: 11px; font-weight: 500; }
body .utility-card, body.dark .utility-card { border-radius: 16px; box-shadow: none; background: var(--panel); }
@media (max-width: 1359px) {
    body .content-grid { grid-template-columns: 200px minmax(0,1fr); }
    body .side-panel { grid-column: 2; grid-template-columns: 1fr; position: static; }
    body .nav-tabs-app { gap: 0; }
    body .nav-tabs-app button { padding-inline: 9px; }
}
@media (max-width: 1024px) {
    body .app-shell { width: calc(100% - 40px); }
    body .topbar { display: grid; grid-template-columns: 1fr auto; padding: 18px 0; margin-bottom: 24px; }
    body .brand { min-width: 0; }
    body .brand-title { font-size: 24px; }
    body .brand-icon, body.dark .brand-icon { width: 38px; height: 38px; }
    body .content-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
    body .filters { padding: 0; gap: 16px; background: transparent; border: 0; }
    body .filters:not(.mobile-collapsed) { padding: 16px; background: var(--panel); border: 1px solid var(--line); }
    body .mobile-filter-toggle { min-height: 44px; font-size: 13px; font-weight: 500; }
    body .side-panel { grid-column: 1; }
    body .home-intro { display: grid; grid-template-columns: 1fr; gap: 12px; }
    body .home-actions { justify-content: flex-start; }
    body .home-actions .action-chip { flex: 0 1 auto; }
    body .hero-search { grid-template-columns: minmax(0,1fr) 100px; margin-bottom: 20px; }
    body .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    body .mobile-menu { box-shadow: none; margin-top: 10px; }
    body .mobile-menu button { font-weight: 500; }
}
@media (max-width: 600px) {
    body .app-shell { width: calc(100% - 28px); }
    body .topbar { gap: 8px; padding: 16px 0; margin-bottom: 22px; }
    body .brand-title { font-size: 22px; }
    body .brand-icon, body.dark .brand-icon { width: 34px; height: 34px; border-radius: 10px; }
    body .top-actions { gap: 6px; }
    body .top-actions > [aria-label="Perfil"] { display: none; }
    body .theme-toggle, body.dark .theme-toggle { padding: 0 9px; font-size: 12px; }
    body .home-title { font-size: 28px; }
    body .home-subtitle { font-size: 13px; }
    body .home-kicker { font-size: 11px; }
    body .hero-search { grid-template-columns: minmax(0,1fr) 74px; gap: 8px; }
    body .hero-search .btn-go { font-size: 13px; }
    body .search-input-wrap, body.dark .search-input-wrap { padding: 0 12px; gap: 8px; min-height: 50px; }
    body .search-input-wrap input { font-size: 16px; }
    body .product-info, body.dark .product-info { grid-template-columns: 82px minmax(0,1fr); gap: 12px 14px; padding: 16px; }
    body .product-image-box, body.dark .product-image-box { width: 82px; height: 110px; grid-row: 1; padding: 8px; }
    body .product-image { height: 92px; max-height: 92px; }
    body .product-name { font-size: 16px; line-height: 1.45; letter-spacing: -.15px; }
    body .product-eyebrow { font-size: 10px; }
    body .product-actions { grid-column: 1 / -1; gap: 8px; }
    body .product-actions .primary { flex: 1; }
    body .product-actions .details-btn { min-width: 42px; min-height: 42px; }
    body .secondary-label { display: none; }
    body .prices-header, body .price-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 14px 16px; }
    body .price-row { grid-template-areas: "store amount" "date action"; }
    body .offer-store, body .offer-amount { align-self: start; }
    body .offer-amount, body .prices-header > :nth-child(2) { text-align: right; }
    body .prices-header > :empty { display: none; }
    body .offer-date { align-self: center; }
    body .price-row .buy-btn { min-height: 44px; padding-inline: 14px; font-size: 12px; }
    body .prices-header { display: grid; font-size: 9px; padding-block: 9px; }
    body .store-name { font-size: 15px; }
    body .price-value { font-size: 20px; line-height: 1.2; }
    body .buy-btn { min-height: 40px; font-size: 10px; }
    body .results-head { align-items: center; }
    body .view-toggle button { min-height: 36px; padding: 6px; font-size: 11px; }
    body .category-grid { grid-template-columns: 1fr; }
    body .category-card { padding: 20px; }
    body .landing-hero { padding-top: 16px; }
    body .landing-title { letter-spacing: -1.2px; }
    body .verticals-grid { grid-template-columns: 1fr; }
    body .vertical-card[data-vertical="mascotas"] { grid-template-columns: 48px minmax(0,1fr); padding: 20px; gap: 10px 14px; }
    body .vertical-cta { grid-column: 1 / -1; grid-row: 3; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 6px; }
    body .vertical-card.disabled { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* El enlace de cada fila pertenece sólo a la oferta de esa tienda. */
body .price-row { position: relative; isolation: isolate; }
body .price-row .buy-btn::after { content: ""; position: absolute; inset: 0; }
body .price-row:has(.buy-btn:hover) { background-color: var(--brand-soft); }
body .product-store-link { color: inherit; text-decoration: none; }
body .product-store-link:hover, body .product-store-link:focus-visible { color: var(--brand); text-decoration: underline; }
body .product-image-box > a { display: grid; place-items: center; width: 100%; height: 100%; }
body .price-history-btn { position: relative; z-index: 1; display: block; width: fit-content; min-height: 32px; padding: 3px 0; border: 0; background: transparent; color: var(--brand); font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
body .offer-date small { font-size: inherit; }
body .table-alternatives { margin-top: 8px; }
body .table-alternatives > summary { cursor: pointer; color: var(--brand); }
body .table-option { margin-top: 8px; }
body .results-table .product-actions { display: flex; flex-wrap: wrap; }
.history-dialog { width: min(92vw, 460px); max-height: 80vh; padding: 24px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.history-dialog::backdrop { background: rgb(0 0 0 / 45%); }
.history-dialog form { float: right; margin-left: 12px; }
.history-dialog h2 { font-size: 1.25rem; }
.history-dialog table { width: 100%; }
.history-dialog caption { caption-side: top; color: var(--muted); }
.history-dialog th, .history-dialog td { padding: 5px 0; border-bottom: 1px solid var(--line); }
.history-dialog tr > :last-child { text-align: right; }
body .price-row.is-best .buy-btn { background: var(--action); color: var(--on-action); border-color: var(--action); }
body .table-option { position: relative; isolation: isolate; }
body .table-option .table-store-link::after { content: ""; position: absolute; inset: 0; }

body .unconfirmed-offer { font-size: 11px; color: var(--warning); max-width: 18ch; line-height: 1.3; }

body .site-footer { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin: 48px 0 96px; padding-top: 16px; border-top: 1px solid var(--border, rgba(127,127,127,.25)); font-size: 13px; }
body .site-footer a, body.info-page a, .info-page a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
body main.info-page { max-width: 68ch; padding-top: 32px; padding-bottom: 64px; line-height: 1.6; }
.info-page h1 { font-size: 28px; margin: 16px 0 24px; }
.info-page h2 { font-size: 19px; margin: 32px 0 8px; }
