/* goldcraft 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-goldcraft {
    --sf-m-header-bg: var(--gc-ivory, rgb(249, 245, 238));
    --sf-m-header-fg: var(--gc-dark, rgb(42, 31, 20));
    --sf-m-header-line: var(--gc-border, rgb(221, 208, 188));
    --sf-m-header-line-w: 1px;
    --sf-m-color-accent: var(--gc-rose, rgb(201, 128, 106));
    --sf-m-color-on-accent: rgb(0, 0, 0);
    --sf-m-drawer-bg: var(--gc-ivory, rgb(249, 245, 238));
    --sf-m-drawer-fg: var(--gc-dark, rgb(42, 31, 20));
    --sf-m-bar-bg: var(--gc-ivory, rgb(249, 245, 238));
    --sf-m-bar-fg: var(--gc-dark, rgb(42, 31, 20));
    --sf-m-bar-line: var(--gc-border, rgb(221, 208, 188));
    --sf-m-bar-active: var(--gc-dark, rgb(42, 31, 20));
    --sf-m-sheet-bg: var(--gc-ivory, rgb(249, 245, 238));
    --sf-m-sheet-fg: var(--gc-dark, rgb(42, 31, 20));
    --sf-m-sheet-line: var(--gc-border, rgb(221, 208, 188));
    --sf-m-control-bg: var(--gc-warm, rgb(240, 232, 216));
    --sf-m-control-fg: var(--gc-dark, rgb(42, 31, 20));
    --sf-m-control-line: var(--gc-border, rgb(221, 208, 188));
}

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