/* AlmaMed PaginationStyle 1.0.0. Presentation only; retain native links and Alpine handlers. */
body .toolbar.toolbar-products {
    --amp-surface:#fff; --amp-text:#354c48; --amp-muted:#60736f;
    --amp-line:#d3dfdc; --amp-hover:#edf7f4; --amp-accent:#007f72;
    --amp-active-text:#fff; --amp-focus:#009b8b;
}
html[data-am-theme="dark"] body .toolbar.toolbar-products {
    --amp-surface:var(--amd-surface,#1d272e);
    --amp-text:var(--amd-text,#e8eff1); --amp-muted:var(--amd-muted,#b0c1c8);
    --amp-line:var(--amd-line,#45565e); --amp-hover:var(--amd-raised,#233037);
    --amp-accent:#007f72; --amp-focus:#79dccb;
}
/* The amount exists only on the bottom toolbar in AlmaMed Listing. */
body .toolbar.toolbar-products:has(> .toolbar-amount) {
    display:grid!important; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
    align-items:center!important; gap:16px!important; width:100%!important;
    padding:20px 0!important; margin:20px 0 0!important;
    border-top:1px solid var(--amp-line)!important;
    font-family:Inter,Arial,sans-serif;
}
body .toolbar.toolbar-products:has(> .toolbar-amount)>* {
    grid-column:auto!important; order:0!important; min-width:0;
}
body .toolbar.toolbar-products .toolbar-amount {
    margin:0!important; font-size:13px!important; line-height:1.5!important;
    color:var(--amp-muted)!important;
}
body .toolbar.toolbar-products .toolbar-number {color:var(--amp-text)!important;font-weight:600}
body .toolbar.toolbar-products nav.pages {
    display:flex!important; align-items:center!important; justify-content:center!important;
    gap:6px!important; margin:0!important;
}
body .toolbar.toolbar-products nav.pages ol {
    display:inline-flex!important; align-items:center!important; gap:6px!important;
    margin:0!important; padding:0!important; list-style:none!important;
}
body .toolbar.toolbar-products nav.pages li {margin:0!important;padding:0!important}
body .toolbar.toolbar-products nav.pages a {
    display:inline-flex!important; align-items:center!important; justify-content:center!important;
    min-width:44px!important; height:44px!important; padding:0 10px!important; margin:0!important;
    border:1px solid var(--amp-line)!important; border-radius:9px!important;
    background:var(--amp-surface)!important; background-image:none!important;
    color:var(--amp-text)!important; box-shadow:none!important; text-decoration:none!important;
    font:500 14px/1 Inter,Arial,sans-serif!important;
    transition:background-color .15s ease,border-color .15s ease;
}
body .toolbar.toolbar-products nav.pages a:not([aria-disabled="true"]):not([aria-current="page"]):hover {
    background:var(--amp-hover)!important;border-color:var(--amp-focus)!important;
}
body .toolbar.toolbar-products nav.pages a[aria-current="page"] {
    background:var(--amp-accent)!important;border-color:var(--amp-accent)!important;
    color:var(--amp-active-text)!important;font-weight:700!important;
}
body .toolbar.toolbar-products nav.pages a[aria-disabled="true"] {
    opacity:.4!important;pointer-events:none!important;
}
body .toolbar.toolbar-products nav.pages a svg {width:20px!important;height:20px!important;color:inherit!important;stroke:currentColor!important}
body .toolbar.toolbar-products nav.pages a span {color:inherit!important}
body .toolbar.toolbar-products .limiter {justify-self:end; margin:0!important;color:var(--amp-muted)!important}
body .toolbar.toolbar-products .limiter label {display:flex!important;align-items:center!important;gap:10px!important;font-size:13px!important;color:var(--amp-muted)!important}
body .toolbar.toolbar-products .limiter label>span {margin:0!important;color:var(--amp-muted)!important}
body .toolbar.toolbar-products select.limiter-options {
    min-width:76px!important;width:auto!important;height:44px!important;margin:0!important;
    border:1px solid var(--amp-line)!important;border-radius:9px!important;
    background-color:var(--amp-surface)!important;color:var(--amp-text)!important;
    padding:8px 32px 8px 12px!important;font:500 13px/1.4 Inter,Arial,sans-serif!important;
    box-shadow:none!important;
}
html[data-am-theme="dark"] body .toolbar.toolbar-products select.limiter-options {color-scheme:dark}
body .toolbar.toolbar-products nav.pages a:focus-visible,
body .toolbar.toolbar-products select.limiter-options:focus-visible {
    outline:2px solid var(--amp-focus)!important;outline-offset:3px!important;
}
@media(max-width:1023px){
    body .toolbar.toolbar-products:has(> .toolbar-amount){grid-template-columns:minmax(0,1fr) auto!important;gap:14px!important}
    body .toolbar.toolbar-products:has(> .toolbar-amount)>div:has(>nav.pages){grid-column:1/-1!important;grid-row:1!important}
    body .toolbar.toolbar-products:has(> .toolbar-amount)>.toolbar-amount{grid-column:1!important;grid-row:2!important}
    body .toolbar.toolbar-products:has(> .toolbar-amount)>.limiter{grid-column:2!important;grid-row:2!important}
}
@media(max-width:374px){
    body .toolbar.toolbar-products nav.pages,body .toolbar.toolbar-products nav.pages ol{gap:4px!important}
    body .toolbar.toolbar-products .toolbar-amount,body .toolbar.toolbar-products .limiter label{font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){body .toolbar.toolbar-products nav.pages a{transition:none!important}}
