/* glowlab 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-glowlab {
    --sf-m-header-bg: rgba(255, 255, 255, 0.95);
    --sf-m-header-fg: rgb(28, 20, 16);
    --sf-m-header-line: var(--gl-border, rgb(237, 228, 216));
    --sf-m-header-line-w: 1px;
    --sf-m-color-accent: var(--gl-gold, rgb(184, 150, 90));
    --sf-m-color-on-accent: rgb(0, 0, 0);
    --sf-m-drawer-bg: rgba(255, 255, 255, 0.95);
    --sf-m-drawer-fg: rgb(28, 20, 16);
    --sf-m-bar-bg: rgba(255, 255, 255, 0.95);
    --sf-m-bar-fg: rgb(28, 20, 16);
    --sf-m-bar-line: var(--gl-border, rgb(237, 228, 216));
    --sf-m-bar-active: rgb(28, 20, 16);
    --sf-m-sheet-bg: var(--gl-white, rgb(255, 255, 255));
    --sf-m-sheet-fg: rgb(28, 20, 16);
    --sf-m-sheet-line: var(--gl-border, rgb(237, 228, 216));
    --sf-m-control-bg: var(--gl-white, rgb(255, 255, 255));
    --sf-m-control-fg: rgb(28, 20, 16);
    --sf-m-control-line: var(--gl-border, rgb(237, 228, 216));
}

@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-glowlab .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-glowlab .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-glowlab .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;
    }
}
