/* pharmacy x Shared Mobile Foundation: adapter. Loaded only for an enabled store.
   Tokens are the theme's own header values (generated by gen_adapters.py); no layout rules here. */
body.sf-m.sf-m-t-pharmacy {
    --sf-m-header-bg: var(--pf-surface, rgb(255, 255, 255));
    --sf-m-header-fg: var(--pf-dark, rgb(10, 22, 40));
    --sf-m-header-line: var(--pf-border, rgb(221, 228, 239));
    --sf-m-header-line-w: 1px;
    --sf-m-color-accent: var(--pf-mint, rgb(0, 200, 150));
    --sf-m-color-on-accent: rgb(0, 0, 0);
    --sf-m-drawer-bg: var(--pf-surface, rgb(255, 255, 255));
    --sf-m-drawer-fg: var(--pf-muted, rgb(90, 106, 133));
    --sf-m-bar-bg: var(--pf-surface, rgb(255, 255, 255));
    --sf-m-bar-fg: var(--pf-muted, rgb(90, 106, 133));
    --sf-m-bar-line: var(--pf-border, rgb(221, 228, 239));
    --sf-m-bar-active: var(--pf-muted, rgb(90, 106, 133));
    --sf-m-sheet-bg: var(--pf-bg, rgb(244, 247, 255));
    --sf-m-sheet-fg: var(--pf-dark, rgb(10, 22, 40));
    --sf-m-sheet-line: var(--pf-border, rgb(221, 228, 239));
    --sf-m-control-bg: var(--pf-surface, rgb(255, 255, 255));
    --sf-m-control-fg: var(--pf-dark, rgb(10, 22, 40));
    --sf-m-control-line: var(--pf-border, rgb(221, 228, 239));
}

@media (max-width: 991.98px) {
    /* cart step indicator: three steps share the row; labels may wrap under their number instead of
       pushing the last step out of the viewport (theme layout, identical with the foundation off) */
    body.sf-m.sf-m-t-pharmacy .cart-main-wrapper > .container:first-of-type > div[style*="display:flex"]:first-child {
        max-inline-size: 100%;
        min-inline-size: 0;
    }

    body.sf-m.sf-m-t-pharmacy .cart-main-wrapper > .container:first-of-type > div[style*="display:flex"]:first-child > div[style*="padding"] {
        flex: 1 1 0 !important;
        min-inline-size: 0;
        padding-inline: 6px !important;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        letter-spacing: 0 !important;
        overflow-wrap: anywhere;
    }

    body.sf-m.sf-m-t-pharmacy .cart-main-wrapper > .container:first-of-type > div[style*="display:flex"]:first-child > div[style*="height"] {
        flex: 0 1 12px !important;
        min-inline-size: 4px !important;
    }
}
