    :root {
      --brand: #DD3F5E;
      --brand-dark: #b82f4a;
      --ink: #202536;
      --ink-soft: #626b7c;
      --border: #e9eaf0;
      --surface: #ffffff;
      --bg: #f7f8fb;
    }

    [hidden] { display: none !important; }
    *, *::before, *::after { box-sizing: border-box; }
    html { min-width: 320px; }
    body { margin: 0; background: var(--bg); color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
    .site-header { background: var(--brand); color: #fff; position: relative; overflow: hidden; }
    .site-header::after { content: ""; position: absolute; height: 310px; width: 310px; border: 1px solid rgb(255 255 255 / 11%); border-radius: 50%; right: -140px; bottom: -225px; pointer-events: none; }
    .site-header::before { content: ""; position: absolute; height: 490px; width: 490px; border: 1px solid rgb(255 255 255 / 9%); border-radius: 50%; right: -220px; bottom: -360px; pointer-events: none; }
    .branding { padding: 24px 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgb(255 255 255 / 22%); position: relative; z-index: 1; }
    .brand-pharmacy { display: block; width: min(300px, 100%); height: auto; }
    .brand-city { display: block; width: 122px; max-width: 100%; height: auto; }
    .hero { padding: 46px 0 91px; position: relative; z-index: 1; }
    .hero-eyebrow { font-size: .76rem; letter-spacing: .15em; font-weight: 800; color: #fff; margin: 0 0 14px; }
    .hero h1 { margin: 0 0 14px; max-width: 750px; font-size: clamp(1.85rem, 4.2vw, 2.85rem); line-height: 1.15; font-weight: 780; letter-spacing: -.038em; }
    .hero p { margin: 0; color: rgb(255 255 255 / 92%); max-width: 685px; font-size: 1rem; line-height: 1.65; }
    .main-content { position: relative; margin-top: -49px; padding-bottom: 55px; z-index: 2; }
    .search-panel { border-radius: 18px; border: 1px solid rgb(229 229 236 / 65%); background: var(--surface); box-shadow: 0 13px 42px rgb(31 38 57 / 8%); padding: 27px 29px; }
    .field-label { display: block; color: #343c4e; font-size: .88rem; font-weight: 750; margin-bottom: 9px; }
    .search-wrap { position: relative; }
    .search-wrap input { border-radius: 11px; border: 1px solid #dfe2e9; min-height: 53px; padding: 12px 54px 12px 48px; box-shadow: none; color: var(--ink); font-size: .96rem; }
    .search-wrap input:focus, .sort-select:focus, .per-page-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .21rem rgb(221 63 94 / 12%); outline: none; }
    .search-icon { position: absolute; top: 50%; left: 16px; transform: translateY(-50%); width: 20px; height: 20px; pointer-events: none; color: #7b8190; }
    .clear-search { display: none; position: absolute; top: 50%; right: 10px; transform: translateY(-50%); border: 0; background: #f4f5f7; width: 33px; height: 33px; border-radius: 8px; color: #4e5564; font-size: 22px; line-height: 1; cursor: pointer; }
    .clear-search:hover { background: #f9e4e9; color: #a72b46; }
    .sort-select { border: 1px solid #dfe2e9; border-radius: 11px; height: 53px; color: var(--ink); background-color: #fff; }
    .section-meta { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin: 37px 0 17px; }
    .section-meta h2 { font-size: 1.25rem; letter-spacing: -.025em; margin: 0 0 6px; font-weight: 780; }
    .section-meta p { font-size: .87rem; color: var(--ink-soft); margin: 0; }
    .count-badge { border: 1px solid #f7ccd5; color: #ae2c48; background: #fff0f3; border-radius: 99px; padding: 8px 15px; font-size: .83rem; font-weight: 750; white-space: nowrap; }
    .data-panel { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 5px 24px rgb(26 35 58 / 3%); }
    .catalog-table { margin-bottom: 0; vertical-align: middle; --bs-table-bg: transparent; }
    .catalog-table thead th { padding: 20px 21px; background: #fafbfc; color: #616a7a; text-transform: uppercase; letter-spacing: .055em; font-size: .73rem; font-weight: 800; white-space: nowrap; border-bottom: 1px solid var(--border); }
    .catalog-table tbody td { padding: 19px 21px; border-bottom: 1px solid #f0f0f3; font-size: .92rem; color: #424a5a; }
    .catalog-table tbody tr:last-child td { border-bottom: 0; }
    .catalog-table tbody tr:hover { background: #fff9fa; }
    .item-number { color: #98a0ae !important; font-size: .85rem !important; font-weight: 600; width: 8%; }
    .item-name { font-weight: 700; color: #252c3a !important; line-height: 1.45; overflow-wrap: anywhere; }
    .item-presentation { color: #646e80 !important; line-height: 1.45; }
    .item-price { font-size: 1rem !important; white-space: nowrap; color: #b72c49 !important; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
    .list-footer { padding: 19px 23px; border-top: 1px solid var(--border); display: flex; gap: 20px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
    .shown-label { color: #737b8b; font-size: .86rem; margin: 0; }
    .pagination { margin: 0; gap: 5px; flex-wrap: wrap; }
    .page-link { border-radius: 8px !important; border-color: transparent; min-width: 37px; min-height: 37px; display: inline-flex; align-items: center; justify-content: center; color: #50596c; font-size: .85rem; font-weight: 650; }
    .page-link:hover { color: var(--brand-dark); background: #fcebf0; border-color: transparent; }
    .page-item.active .page-link { color: #fff; background: var(--brand); border-color: var(--brand); }
    .page-item.disabled .page-link { color: #adb3bf; background: transparent; }
    .tools-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
    .per-page-select { display: inline-block; width: auto; border-color: #dde0e8; color: #50596c; border-radius: 9px; }
    .hint { color: #7d8490; font-size: .82rem; margin: 0; }
    .empty-state, .error-state, .loading-state { text-align: center; padding: 55px 18px; }
    .empty-icon { width: 55px; height: 55px; display: grid; place-items: center; background: #fff0f3; color: var(--brand-dark); margin: 0 auto 15px; border-radius: 15px; }
    .empty-state h3, .error-state h3 { font-size: 1.08rem; font-weight: 750; }
    .empty-state p, .error-state p { font-size: .9rem; color: #758091; max-width: 590px; margin: 9px auto 0; }
    .bottom-footer { border-top: 1px solid #e5e7ee; background: #fff; padding: 23px 0; }
    .bottom-footer p { margin: 0; color: #788191; font-size: .82rem; line-height: 1.55; }
    .footer-dot { display: inline-block; background: var(--brand); height: 8px; width: 8px; border-radius: 99px; margin-right: 7px; }
    .note-iva { font-size: .78rem; color: #8e6370; }
    @media (max-width: 767.98px) {
      .branding { padding: 17px 0; gap: 12px; }
      .brand-pharmacy { width: 203px; }
      .brand-city { width: 85px; }
      .hero { padding: 30px 0 77px; }
      .hero h1 { letter-spacing: -.026em; }
      .hero p { font-size: .9rem; }
      .main-content { margin-top: -39px; }
      .search-panel { padding: 20px 17px; border-radius: 14px; }
      .section-meta { align-items: start; margin-top: 26px; }
      .section-meta h2 { font-size: 1.15rem; }
      .count-badge { font-size: .75rem; padding: 8px 11px; }
      .catalog-table thead { display: none; }
      .catalog-table, .catalog-table tbody { display: block; }
      .catalog-table tr { display: block; padding: 15px 18px; border-bottom: 1px solid #f0f0f3; }
      .catalog-table tr:last-child { border-bottom: 0; }
      .catalog-table tbody td { border: 0; padding: 0; display: block; }
      .catalog-table .item-number { font-size: .73rem !important; margin-bottom: 7px; }
      .catalog-table .item-number::before { content: "N° "; }
      .catalog-table .item-name { font-size: .91rem; margin: 0 0 10px; }
      .catalog-table .item-presentation { font-size: .82rem; margin-bottom: 11px; }
      .catalog-table .item-presentation::before { content: "Presentación: "; font-weight: 700; color: #858d9a; }
      .catalog-table .item-price { text-align: left; font-size: 1.1rem !important; }
      .list-footer { flex-direction: column; align-items: center; gap: 12px; padding: 17px 10px; }
      .tools-footer { gap: 11px; }
    }
    @media (max-width: 360px) { .brand-pharmacy { width: 180px; } .brand-city { width: 74px; } .count-badge { white-space: normal; } }
    @media (prefers-reduced-motion: no-preference) { .search-wrap input, .sort-select { transition: box-shadow .18s ease, border-color .18s ease; } }
