@font-face {
    font-family: "WooCreate Inter";
    src: url("../fonts/Inter-Variable.ttf") format("truetype-variations");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

/* Definitieve Preview-overrides staan na alle historische mobiele regels,
   zodat oudere full-screen modalregels deze bottom-sheet niet overschrijven. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-designer [data-mobile-proxy="preview"],
    .woocreate-designer [data-mobile-proxy="preview"]:hover,
    .woocreate-designer [data-mobile-proxy="preview"]:focus,
    .woocreate-designer [data-mobile-proxy="preview"]:active {
        background: #0275d8 !important;
        color: #fff !important;
    }
    .woocreate-designer [data-mobile-proxy="preview"] svg {
        color: #fff !important;
        fill: currentColor !important;
    }
    .woocreate-product-preview {
        inset: var(--wc-mobile-bar) 0 var(--wc-mobile-bar) !important;
        width: 100dvw !important;
        height: auto !important;
        padding: 0 !important;
        overflow: hidden !important;
        place-items: end stretch !important;
        background: rgba(0, 0, 0, .18) !important;
    }
    .woocreate-product-preview__dialog {
        grid-template-rows: minmax(0, 1fr) !important;
        width: 100dvw !important;
        max-width: 100dvw !important;
        height: min(72dvh, 720px) !important;
        max-height: 100% !important;
        overflow: hidden !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        color: #111 !important;
        box-shadow: none !important;
    }
    .woocreate-product-preview__dialog > header { display: none !important; }
    .woocreate-product-preview__content {
        min-height: 0 !important;
        height: 100% !important;
        padding: 14px 16px 12px !important;
        overflow: hidden !important;
    }
    .woocreate-product-preview__mobile-frame { touch-action: none; }
}

@media (max-width: 820px) and (prefers-color-scheme: dark),
       (hover: none) and (pointer: coarse) and (prefers-color-scheme: dark) {
    .woocreate-product-preview__dialog {
        background: #151515 !important;
        color: #fff !important;
    }
    .woocreate-product-preview__mobile-actions button {
        border-color: #555 !important;
        background: #151515 !important;
        color: #fff !important;
    }
}

/* 1.0.8.3: Preview gebruikt mobiel een eigen, niet-scrollende bottom-sheet.
   De desktop-preview blijft buiten deze mediaquery volledig ongewijzigd. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-product-preview {
        position: fixed !important;
        z-index: 999999 !important;
        inset: var(--wc-mobile-bar) 0 var(--wc-mobile-bar) !important;
        display: grid !important;
        width: 100dvw !important;
        height: auto !important;
        padding: 0 !important;
        overflow: hidden !important;
        place-items: end stretch !important;
        background: rgba(0, 0, 0, .18) !important;
    }
    .woocreate-product-preview[hidden] { display: none !important; }
    .woocreate-product-preview__dialog {
        display: grid !important;
        grid-template-rows: minmax(0, 1fr) !important;
        width: 100dvw !important;
        max-width: 100dvw !important;
        height: min(72dvh, 720px) !important;
        max-height: 100% !important;
        margin: 0 !important;
        overflow: hidden !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        color: #111 !important;
        box-shadow: none !important;
    }
    .woocreate-product-preview__dialog > header {
        display: none !important;
    }
    .woocreate-product-preview__content {
        display: block !important;
        min-height: 0 !important;
        height: 100% !important;
        padding: 14px 16px 12px !important;
        overflow: hidden !important;
    }
    .woocreate-product-preview__mobile-frame {
        display: grid;
        grid-template-rows: minmax(0, 1fr) auto;
        gap: 10px;
        width: 100%;
        height: 100%;
        min-height: 0;
        overflow: hidden;
        touch-action: pan-y;
    }
    .woocreate-product-preview__mobile-stage {
        display: grid;
        min-height: 0;
        overflow: hidden;
        place-items: center;
    }
    .woocreate-product-preview__mobile-stage .woocreate-product-preview__side {
        display: grid;
        width: auto;
        max-width: 100%;
        height: 100%;
        min-height: 0;
        gap: 0;
        place-items: center;
    }
    .woocreate-product-preview__mobile-stage .woocreate-product-preview__visual {
        width: auto;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        aspect-ratio: 4 / 5;
    }
    .woocreate-product-preview__mobile-navigation {
        display: grid;
        gap: 5px;
        flex: none;
        text-align: center;
    }
    .woocreate-product-preview__mobile-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        min-height: 48px;
    }
    .woocreate-product-preview__mobile-actions button {
        min-height: 48px;
        padding: 8px 14px;
        border: 1px solid #ced4da;
        border-radius: 0;
        background: #fff;
        color: #111;
        box-shadow: none;
        font-size: 16px;
    }
    .woocreate-product-preview__mobile-actions button[hidden] {
        display: block !important;
        visibility: hidden;
        pointer-events: none;
    }
    .woocreate-product-preview__mobile-navigation.has-single-side
    .woocreate-product-preview__mobile-actions {
        display: none;
    }
    .woocreate-product-preview__side-name {
        min-height: 22px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 16px;
        line-height: 22px;
    }
    .woocreate-product-preview__empty {
        margin: 0;
        padding: 24px;
        color: inherit;
    }
}

@media (max-width: 820px) and (prefers-color-scheme: dark),
       (hover: none) and (pointer: coarse) and (prefers-color-scheme: dark) {
    .woocreate-product-preview__dialog {
        background: #151515 !important;
        color: #fff !important;
    }
    .woocreate-product-preview__mobile-actions button {
        border-color: #555;
        background: #151515;
        color: #fff;
    }
}

/* Schermbreedte-onafhankelijk: de Kosten-sluitknop blijft in iedere donkere
 * systeemweergave zuiver wit, ook wanneer thema- of iconenregels erven. */
@media (prefers-color-scheme: dark) {
    .woocreate-designer .woocreate-price-help__popover .woocreate-price-help__close,
    .woocreate-designer .woocreate-price-help__popover .woocreate-price-help__close .bi,
    .woocreate-designer .woocreate-price-help__popover .woocreate-price-help__close .bi path {
        color: #fff !important;
        stroke: #fff !important;
        opacity: 1 !important;
        -webkit-text-fill-color: #fff !important;
    }
}

/* 1.0.6.9: bottom-sheets delen alleen gedrag, niet elkaars layout. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    /* De swipe-zone blijft bestaan, maar de decoratieve greep verdwijnt. */
    .woocreate-designer__properties > .woocreate-mobile-sheet-handle {
        width: 100%;
        height: 34px;
        opacity: 0;
        cursor: default;
    }
    .woocreate-designer__properties > .woocreate-mobile-sheet-handle::before {
        display: none !important;
    }

    /* De verborgen titel reserveert nergens meer een lege grid-rij. */
    .woocreate-designer.is-mobile-upload-sheet-open .woocreate-designer__properties,
    .woocreate-designer.is-mobile-text-sheet-open .woocreate-designer__properties {
        grid-template-rows: minmax(0, 1fr);
    }

    /* Lagen heeft een eigen mobiele werkruimte. De bestaande laaglijst en
       laagacties blijven dezelfde DOM gebruiken als desktop. */
    .woocreate-designer.is-mobile-layers-sheet-open .woocreate-designer__properties {
        inset: auto 0 var(--wc-mobile-bar);
        z-index: 270;
        display: grid;
        grid-template-rows: minmax(0, 1fr);
        width: 100dvw;
        max-width: 100dvw;
        height: calc(100dvh - (2 * var(--wc-mobile-bar)));
        max-height: calc(100dvh - (2 * var(--wc-mobile-bar)));
        padding: 18px;
        overflow: hidden;
        box-sizing: border-box;
        border: 0;
        border-radius: 0;
        background: #fff;
        color: #111;
        box-shadow: none;
    }
    .woocreate-designer.is-mobile-layers-sheet-open .woocreate-designer__properties > h2,
    .woocreate-designer.is-mobile-layers-sheet-open .woocreate-mobile-sheet-close,
    .woocreate-designer.is-mobile-layers-sheet-open .woocreate-mobile-sheet-done {
        display: none !important;
    }
    .woocreate-designer.is-mobile-layers-sheet-open [data-designer-layers-panel] {
        display: block;
        min-height: 0;
        height: 100%;
        padding: 0;
        overflow: hidden;
    }
    .woocreate-designer.is-mobile-layers-sheet-open [data-designer-layers] {
        align-content: start;
        max-height: none;
        height: 100%;
        padding: 0 2px 0 0;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .woocreate-designer.is-mobile-layers-sheet-open .woocreate-designer__layer-row {
        grid-template-columns: 43px minmax(0, 1fr) 50px;
        min-height: 60px;
    }
    .woocreate-designer.is-mobile-layers-sheet-open .woocreate-designer__layer-handle,
    .woocreate-designer.is-mobile-layers-sheet-open .woocreate-designer__layer-delete,
    .woocreate-designer.is-mobile-layers-sheet-open .woocreate-designer__layer {
        min-height: 58px;
    }
    .woocreate-designer.is-mobile-layers-sheet-open .woocreate-designer__layer-handle {
        font-size: 25px;
        touch-action: none;
        -webkit-user-select: none;
        user-select: none;
    }
    .woocreate-designer.is-mobile-layers-sheet-open .woocreate-designer__layer-delete svg {
        width: 24px;
        height: 24px;
    }
    .woocreate-designer.is-mobile-layers-sheet-open .woocreate-designer__layer-confirm,
    .woocreate-designer.is-mobile-layers-sheet-open .woocreate-designer__layer-cancel {
        min-height: 40px;
        padding: 5px 10px;
        font-size: 16px;
    }
    @media (prefers-color-scheme: dark) {
        .woocreate-designer.is-mobile-layers-sheet-open .woocreate-designer__properties {
            background: #151515;
            color: #fff;
        }
        .woocreate-designer.is-mobile-layers-sheet-open .woocreate-designer__layer-row,
        .woocreate-designer.is-mobile-layers-sheet-open .woocreate-designer__layer-handle,
        .woocreate-designer.is-mobile-layers-sheet-open .woocreate-designer__layer-delete,
        .woocreate-designer.is-mobile-layers-sheet-open .woocreate-designer__layer {
            border-color: #4b4b4b !important;
            background: #151515 !important;
            color: #fff !important;
        }
        .woocreate-designer.is-mobile-layers-sheet-open .woocreate-designer__layer.is-active {
            background: #303840 !important;
            color: #fff !important;
            box-shadow: inset 3px 0 0 #6ea8fe !important;
        }
    }

    /* Upload behoudt zijn eigen compacte werkruimte en kan niet door
       teksteditor-klassen worden uitgerekt. */
    .woocreate-designer.is-mobile-upload-sheet-open [data-designer-properties] {
        display: block !important;
        height: 100% !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }
    .woocreate-designer.is-mobile-upload-sheet-open .woocreate-mobile-upload-workspace {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: minmax(0, 1fr) auto !important;
        height: 100% !important;
        min-height: 0 !important;
        align-content: stretch !important;
    }
    .woocreate-designer.is-mobile-upload-sheet-open .woocreate-mobile-upload-choose {
        width: min(100%, 360px) !important;
        min-width: 0 !important;
        min-height: 54px !important;
        height: auto !important;
        max-height: 72px !important;
        align-self: start !important;
        margin: 34px auto 0 !important;
    }

    /* Tekst: twee bedieningsrijen van exact 24 px. Alle teruggewonnen
       hoogte gaat naar de WYSIWYG-invoer. */
    .woocreate-designer__properties .is-mobile-text-workspace {
        grid-template-rows: minmax(220px, 1fr) 48px 48px !important;
    }
    .is-mobile-text-workspace .woocreate-text-style-buttons {
        grid-template-columns: repeat(3, minmax(40px, 1fr)) !important;
        grid-template-rows: repeat(2, 24px) !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        gap: 0 !important;
        overflow: hidden !important;
    }
    .is-mobile-text-workspace .woocreate-text-style-buttons > button {
        height: 24px !important;
        min-height: 24px !important;
        max-height: 24px !important;
        padding: 0 4px !important;
        font-size: 14px !important;
        line-height: 24px !important;
    }
}

/* 1.0.7.0: de typografie en OK vormen één vaste actiebalk. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-designer__properties .is-mobile-text-workspace {
        grid-template-rows: minmax(260px, 1fr) 48px !important;
        padding-bottom: 0 !important;
    }
    .is-mobile-text-workspace > .woocreate-mobile-text-editor {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    .is-mobile-text-workspace > .woocreate-mobile-text-font {
        grid-column: 1;
        grid-row: 2;
    }
    .is-mobile-text-workspace > .woocreate-mobile-text-colour {
        grid-column: 2;
        grid-row: 2;
    }
    .woocreate-designer.is-mobile-text-sheet-open
    .is-mobile-text-workspace > .woocreate-mobile-text-format {
        position: fixed !important;
        z-index: 278 !important;
        right: 72px !important;
        bottom: var(--wc-mobile-bar) !important;
        left: 0 !important;
        display: flex !important;
        width: auto !important;
        height: 72px !important;
        min-height: 72px !important;
        max-height: 72px !important;
        margin: 0 !important;
        padding: 0 !important;
        align-items: center !important;
        background: #fff !important;
        overflow: hidden !important;
    }
    .woocreate-designer.is-mobile-text-sheet-open
    .is-mobile-text-workspace .woocreate-text-style-buttons {
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        grid-template-rows: 24px !important;
        width: 100% !important;
        height: 24px !important;
        min-height: 24px !important;
        max-height: 24px !important;
        gap: 0 !important;
        overflow: hidden !important;
    }
    .woocreate-designer.is-mobile-text-sheet-open
    .is-mobile-text-workspace .woocreate-text-style-buttons > button {
        width: 100% !important;
        min-width: 0 !important;
        height: 24px !important;
        min-height: 24px !important;
        max-height: 24px !important;
        padding: 0 2px !important;
        border-top: 1px solid #d7dadd !important;
        border-right: 1px solid #d7dadd !important;
        border-bottom: 1px solid #d7dadd !important;
        border-left: 0 !important;
        font-size: 14px !important;
        line-height: 22px !important;
    }
    .woocreate-designer.is-mobile-text-sheet-open .woocreate-mobile-sheet-done {
        z-index: 280 !important;
        right: 0 !important;
        bottom: var(--wc-mobile-bar) !important;
        display: grid !important;
        width: 72px !important;
        height: 72px !important;
        padding: 14px !important;
        place-items: center !important;
        pointer-events: auto !important;
    }
    .woocreate-designer.is-mobile-text-sheet-open .woocreate-mobile-sheet-done:disabled {
        opacity: .35;
        pointer-events: none;
    }
}

@media (max-width: 820px), (hover: none) and (pointer: coarse) and (prefers-color-scheme: dark) {
    .woocreate-designer.is-mobile-text-sheet-open
    .is-mobile-text-workspace > .woocreate-mobile-text-format {
        background: #151515 !important;
    }
    .woocreate-designer.is-mobile-text-sheet-open
    .is-mobile-text-workspace .woocreate-text-style-buttons > button {
        border-color: #555 !important;
        background: #151515 !important;
        color: #f4f4f4 !important;
        -webkit-text-fill-color: #f4f4f4 !important;
    }
    .woocreate-designer.is-mobile-text-sheet-open
    .is-mobile-text-workspace .woocreate-text-style-buttons > button.is-active {
        background: #394552 !important;
    }
}

/* 1.0.8.4: Preview is op mobiel een werkelijk schermvullende, swipe-only
   werkruimte. De desktopweergave en de vaste Preview-button blijven intact. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-product-preview {
        inset: 0 !important;
        width: 100dvw !important;
        height: 100dvh !important;
        padding: 0 !important;
        align-items: stretch !important;
        background: #fff !important;
    }
    .woocreate-product-preview__dialog {
        width: 100dvw !important;
        min-width: 100dvw !important;
        max-width: 100dvw !important;
        height: 100dvh !important;
        min-height: 100dvh !important;
        max-height: 100dvh !important;
        background: #fff !important;
    }
    .woocreate-product-preview__content {
        width: 100dvw !important;
        height: 100dvh !important;
        padding: max(16px, env(safe-area-inset-top)) 16px
            max(12px, env(safe-area-inset-bottom)) !important;
    }
    .woocreate-product-preview__mobile-frame {
        grid-template-rows: minmax(0, 1fr) 32px !important;
        gap: 8px !important;
    }
    .woocreate-product-preview__mobile-stage {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
    }
    .woocreate-product-preview__mobile-stage .woocreate-product-preview__side {
        display: grid !important;
        place-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }
    .woocreate-product-preview__mobile-stage .woocreate-product-preview__visual {
        display: block !important;
        width: min(100%, calc((100dvh - 80px) * 0.8)) !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 100% !important;
        aspect-ratio: 4 / 5 !important;
        margin: auto !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-size: contain !important;
    }
    .woocreate-product-preview__mobile-navigation {
        display: grid !important;
        grid-template-columns: 1fr !important;
        place-items: center !important;
        min-height: 32px !important;
        padding: 0 !important;
    }
    .woocreate-product-preview__mobile-actions,
    .woocreate-product-preview__previous,
    .woocreate-product-preview__next {
        display: none !important;
    }
    .woocreate-product-preview__side-name {
        grid-column: 1 !important;
        min-height: 24px !important;
        padding: 0 !important;
        color: #111 !important;
        -webkit-text-fill-color: #111 !important;
        font-size: 16px !important;
        line-height: 24px !important;
    }
    .woocreate-product-preview__placement,
    .woocreate-product-preview__placement > img {
        visibility: visible !important;
        opacity: 1 !important;
    }
}
@media (max-width: 820px), (hover: none) and (pointer: coarse) and (prefers-color-scheme: dark) {
    .woocreate-product-preview,
    .woocreate-product-preview__dialog {
        background: #151515 !important;
    }
    .woocreate-product-preview__side-name {
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
}

/* 1.1.48-beta: Vorm en Team gebruiken de bestaande mobiele properties-sheet. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-designer:is(.is-mobile-team-sheet-open, .is-mobile-shape-sheet-open)
    .woocreate-designer__properties {
        position: fixed;
        inset: auto 0 var(--wc-mobile-bar);
        z-index: 270;
        display: grid;
        grid-template-rows: minmax(0, 1fr);
        width: 100dvw;
        min-width: 0;
        max-width: 100dvw;
        height: calc(100dvh - (2 * var(--wc-mobile-bar)));
        min-height: 0;
        max-height: calc(100dvh - (2 * var(--wc-mobile-bar)));
        margin: 0;
        padding: 18px;
        overflow: hidden;
        box-sizing: border-box;
        border: 0;
        border-radius: 0;
        background: #fff;
        color: #111;
        box-shadow: none;
        filter: none;
        isolation: isolate;
        contain: layout paint;
    }
    .woocreate-designer:is(.is-mobile-team-sheet-open, .is-mobile-shape-sheet-open)
    .woocreate-designer__properties > h2,
    .woocreate-designer:is(.is-mobile-team-sheet-open, .is-mobile-shape-sheet-open)
    :is(.woocreate-mobile-sheet-close, .woocreate-mobile-sheet-done) {
        display: none !important;
    }
    .woocreate-designer:is(.is-mobile-team-sheet-open, .is-mobile-shape-sheet-open)
    [data-designer-properties-panel] {
        display: block !important;
        width: 100%;
        min-width: 0;
        height: 100%;
        min-height: 0;
        padding: 0;
        overflow: hidden;
        box-sizing: border-box;
    }
    .woocreate-designer:is(.is-mobile-team-sheet-open, .is-mobile-shape-sheet-open)
    [data-designer-properties] {
        display: block !important;
        width: 100%;
        min-width: 0;
        height: 100%;
        min-height: 0 !important;
        max-height: none !important;
        padding: 0 2px 0 0;
        overflow-x: hidden;
        overflow-y: auto;
        box-sizing: border-box;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .woocreate-designer.is-mobile-shape-sheet-open .woocreate-shape-library {
        width: 100%;
        min-width: 0;
    }
}

/* 1.0.8.8: specifieke Preview-correctie. De mobiele
   ontwerpafbeelding vult exact hetzelfde, uit de backoffice berekende
   plaatsingsvak als op desktop. Responsieve themaregels mogen de opdruk
   binnen dat vak niet verkleinen. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-product-preview
    .woocreate-product-preview__mobile-stage
    .woocreate-product-preview__placement > img {
        top: 50% !important;
        left: 50% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: none !important;
        height: 100% !important;
        min-height: 100% !important;
        max-height: none !important;
        margin: 0 !important;
        object-fit: contain !important;
        transform: translate(-50%, -50%) !important;
    }
}

/* 1.0.8.5: alleen de vorm wordt hersteld naar een echte bottom-sheet.
   Previewrendering, swipen en drukzijdenavigatie blijven ongewijzigd. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-designer .woocreate-product-preview {
        inset: var(--wc-mobile-bar) 0 var(--wc-mobile-bar) !important;
        width: 100dvw !important;
        height: auto !important;
        align-items: flex-end !important;
        background: rgb(0 0 0 / 18%) !important;
    }
    .woocreate-product-preview .woocreate-product-preview__dialog {
        width: 100dvw !important;
        min-width: 100dvw !important;
        max-width: 100dvw !important;
        height: min(72dvh, 720px) !important;
        min-height: 0 !important;
        max-height: min(72dvh, 720px) !important;
    }
    .woocreate-product-preview .woocreate-product-preview__content {
        width: 100% !important;
        height: 100% !important;
        padding: 14px 16px max(10px, env(safe-area-inset-bottom)) !important;
    }
    .woocreate-product-preview
    .woocreate-product-preview__mobile-stage
    .woocreate-product-preview__visual {
        width: min(100%, calc((min(72dvh, 720px) - 70px) * 0.8)) !important;
    }
}

/* 1.0.8.6: het werkelijk gerenderde mobiele thema is leidend. Zo kan een
   donkere mediaquery nooit meer over de lichte Preview-sheet heen vallen. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-product-preview.is-rendered-light
    .woocreate-product-preview__dialog,
    .woocreate-product-preview.is-rendered-light
    .woocreate-product-preview__content {
        background: #fff !important;
        color: #111 !important;
    }
    .woocreate-product-preview.is-rendered-light
    .woocreate-product-preview__side-name {
        color: #111 !important;
        -webkit-text-fill-color: #111 !important;
    }
    .woocreate-product-preview.is-rendered-dark
    .woocreate-product-preview__dialog,
    .woocreate-product-preview.is-rendered-dark
    .woocreate-product-preview__content {
        background: #151515 !important;
        color: #fff !important;
    }
    .woocreate-product-preview.is-rendered-dark
    .woocreate-product-preview__side-name {
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
    .woocreate-product-preview__mobile-stage {
        touch-action: none !important;
    }
    .woocreate-product-preview__mobile-stage
    .woocreate-product-preview__visual {
        will-change: transform;
    }
}

@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-product-preview__mobile-stage .woocreate-product-preview__visual {
        width: min(100%, calc((100dvh - 80px) * 0.8)) !important;
    }
}

/* 1.0.7.3: grotere inhoud, ongewijzigde knopvlakken. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-mobile-text-actionbar__button {
        overflow: visible !important;
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
    }
    .woocreate-mobile-text-actionbar__button .bi {
        display: block !important;
        width: 44px !important;
        height: 44px !important;
        max-width: none !important;
        max-height: none !important;
        fill: #000 !important;
        color: #000 !important;
        overflow: visible !important;
    }
    .woocreate-mobile-text-actionbar__bold {
        display: block;
        color: #000 !important;
        font-size: 42px !important;
        font-weight: 700 !important;
        line-height: 44px !important;
        -webkit-text-fill-color: #000 !important;
    }
}
@media (max-width: 820px), (hover: none) and (pointer: coarse) and (prefers-color-scheme: dark) {
    .woocreate-mobile-text-actionbar__button {
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
    .woocreate-mobile-text-actionbar__button .bi {
        fill: #fff !important;
        color: #fff !important;
    }
    .woocreate-mobile-text-actionbar__bold {
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
}

/* 1.0.7.2: vijf acties delen exact de vijf kolommen van de mobiele balk. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-mobile-text-actionbar {
        right: 0 !important;
        left: 0 !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        width: 100dvw !important;
        min-width: 100dvw !important;
        max-width: 100dvw !important;
        height: 72px !important;
        min-height: 72px !important;
        max-height: 72px !important;
        background: #fff !important;
    }
    .woocreate-mobile-text-actionbar__controls {
        grid-column: 1 / 5 !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        grid-template-rows: 72px !important;
        width: 100% !important;
        height: 72px !important;
        margin: 0 !important;
        overflow: visible !important;
    }
    .woocreate-mobile-text-actionbar__button {
        align-self: center !important;
        justify-self: center !important;
        width: 32px !important;
        min-width: 32px !important;
        max-width: 32px !important;
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
        border: 0 !important;
        background: transparent !important;
        color: #000 !important;
        font-size: 20px !important;
        line-height: 32px !important;
        -webkit-text-fill-color: #000 !important;
    }
    .woocreate-mobile-text-actionbar__button.is-active {
        border: 0 !important;
        background: #e2e2e2 !important;
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
    }
    .woocreate-mobile-text-actionbar > .woocreate-mobile-sheet-done {
        grid-column: 5 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 72px !important;
        min-height: 72px !important;
        max-height: 72px !important;
        background: var(--wc-mobile-green) !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
}

@media (max-width: 820px), (hover: none) and (pointer: coarse) and (prefers-color-scheme: dark) {
    .woocreate-mobile-text-actionbar {
        background: #151515 !important;
    }
    .woocreate-mobile-text-actionbar__button {
        border: 0 !important;
        background: transparent !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
    .woocreate-mobile-text-actionbar__button.is-active {
        background: #4a4a4a !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
    .woocreate-mobile-text-actionbar > .woocreate-mobile-sheet-done {
        background: var(--wc-mobile-green) !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
}

/* 1.0.7.1: een eigen DOM-balk voorkomt dat de eigenschappen-grid de
   tekstknoppen ooit nog kan verplaatsen of samendrukken. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-designer.is-mobile-text-sheet-open
    .is-mobile-text-workspace > .woocreate-mobile-text-format {
        display: none !important;
    }
    .woocreate-mobile-text-actionbar {
        position: fixed !important;
        z-index: 279 !important;
        right: 0 !important;
        bottom: var(--wc-mobile-bar) !important;
        display: grid !important;
        grid-template-columns: 96px 72px !important;
        width: 168px !important;
        height: 72px !important;
        min-width: 168px !important;
        max-width: 168px !important;
        min-height: 72px !important;
        max-height: 72px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        background: #fff !important;
        color: #111 !important;
        box-shadow: 0 -1px 0 #d7dadd;
    }
    .woocreate-mobile-text-actionbar__controls {
        display: grid !important;
        grid-template-columns: repeat(3, 32px) !important;
        grid-template-rows: repeat(2, 32px) !important;
        width: 96px !important;
        height: 64px !important;
        margin: 4px 0 !important;
        padding: 0 !important;
        gap: 0 !important;
        align-self: center !important;
        overflow: hidden !important;
    }
    .woocreate-mobile-text-actionbar__button {
        display: grid !important;
        width: 32px !important;
        min-width: 32px !important;
        max-width: 32px !important;
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
        margin: 0 !important;
        padding: 0 !important;
        place-items: center !important;
        border: 1px solid #d7dadd !important;
        border-radius: 0 !important;
        background: #fff !important;
        color: #111 !important;
        font-size: 16px !important;
        line-height: 30px !important;
        box-sizing: border-box !important;
        -webkit-text-fill-color: #111 !important;
    }
    .woocreate-mobile-text-actionbar__button.is-active {
        border-color: #1677ff !important;
        background: #eaf2ff !important;
        color: #0866d5 !important;
        -webkit-text-fill-color: #0866d5 !important;
    }
    .woocreate-mobile-text-actionbar > .woocreate-mobile-sheet-done {
        position: static !important;
        z-index: auto !important;
        display: grid !important;
        grid-column: 2 !important;
        width: 72px !important;
        min-width: 72px !important;
        max-width: 72px !important;
        height: 72px !important;
        min-height: 72px !important;
        max-height: 72px !important;
        margin: 0 !important;
        padding: 14px !important;
        place-items: center !important;
        background: var(--wc-mobile-green) !important;
        color: #fff !important;
        pointer-events: auto !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 820px), (hover: none) and (pointer: coarse) and (prefers-color-scheme: dark) {
    .woocreate-mobile-text-actionbar {
        background: #151515 !important;
        color: #f4f4f4 !important;
        box-shadow: 0 -1px 0 #555;
    }
    .woocreate-mobile-text-actionbar__button {
        border-color: #555 !important;
        background: #151515 !important;
        color: #f4f4f4 !important;
        -webkit-text-fill-color: #f4f4f4 !important;
    }
    .woocreate-mobile-text-actionbar__button.is-active {
        border-color: #78adff !important;
        background: #294363 !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
    .woocreate-mobile-text-actionbar > .woocreate-mobile-sheet-done {
        background: var(--wc-mobile-green) !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
}

.woocreate-mobile-app { display: none; }
.woocreate-storage__mobile-done { display: none; }
.woocreate-mobile-history { display: none !important; }

@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-designer__wait { position: fixed; width: 100dvw; height: 100dvh; }
    :root { --wc-mobile-green: #07953f; --wc-whatsapp-green: #25d366; --wc-mobile-bar: 68px; }
    html.woocreate-mobile-active,
    html.woocreate-mobile-active body { width: 100%; height: 100%; overflow: hidden !important; overscroll-behavior: none; }
    .woocreate-product-enabled #header,
    .woocreate-product-enabled #footer,
    .woocreate-product-enabled .header-wrapper,
    .woocreate-product-enabled .footer-wrapper { display: none !important; }
    .woocreate-product-enabled .page-wrapper,
    .woocreate-product-enabled .page-content,
    .woocreate-product-enabled .container,
    .woocreate-product-enabled .row,
    .woocreate-product-enabled .large-12 { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
    body.woocreate-product-enabled { overflow: hidden !important; }
    .woocreate-designer {
        position: fixed !important;
        z-index: 2147483000 !important;
        inset: 0 !important;
        width: 100%;
        max-width: none !important;
        height: 100dvh;
        min-height: 0;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
        border: 0;
        background: #fff;
        color: #111;
        font-family: "WooCreate Inter", Inter, -apple-system, BlinkMacSystemFont, sans-serif !important;
        font-weight: 300;
        overscroll-behavior: none;
    }
    .woocreate-designer *, .woocreate-designer button, .woocreate-designer input,
    .woocreate-designer select, .woocreate-designer textarea { font-family: inherit; }
    .woocreate-mobile-app { display: contents; }
    .woocreate-designer__toolbar,
    .woocreate-designer__zoom,
    .woocreate-canvas-control--undo,
    .woocreate-canvas-control--redo,
    .woocreate-canvas-control--delete { display: none !important; }
    .woocreate-designer .woocreate-designer__zoom,
    .woocreate-designer .woocreate-designer__zoom button {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    .woocreate-designer__header,
    .woocreate-designer__product-summary,
    .woocreate-designer__live-price,
    .woocreate-designer__product-options,
    .woocreate-product-option,
    .woocreate-designer__header-actions { display: contents !important; }
    .woocreate-designer__product-summary > strong,
    .woocreate-designer__live-price > [data-designer-product-price],
    .woocreate-designer__live-price > [data-production-info],
    .woocreate-designer__product-options .woocreate-header-action,
    .woocreate-designer__header-actions > .woocreate-header-action,
    .woocreate-designer__save-status { display: none !important; }
    .woocreate-designer__workspace { display: block; height: 100%; min-height: 0; border: 0; }
    .woocreate-designer .woocreate-designer__stage {
        position: absolute !important;
        inset: var(--wc-mobile-bar) 0 var(--wc-mobile-bar) !important;
        display: block !important;
        width: 100% !important;
        min-width: 0;
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 0;
        background: #f4f5f6;
    }
    .woocreate-designer .woocreate-designer__canvas {
        position: absolute !important;
        inset: 8px 0 !important;
        display: grid !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        place-items: center !important;
        overflow: hidden !important;
        border: 0;
        -webkit-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;
        touch-action: none;
    }
    .woocreate-designer__canvas canvas,
    .woocreate-designer__canvas img {
        -webkit-user-select: none;
        user-select: none;
        -webkit-user-drag: none;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;
        touch-action: none;
    }
    .woocreate-designer__product { max-width: 100%; max-height: 100%; }
    .woocreate-mobile-topbar,
    .woocreate-mobile-tools {
        position: fixed;
        z-index: 120;
        left: 0;
        right: 0;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        height: var(--wc-mobile-bar);
        padding: 0;
        background: #fff;
        border-color: #d8dadd;
    }
    .woocreate-mobile-topbar { top: 0; border-bottom: 1px solid #d8dadd; }
    .woocreate-has-mobile-team .woocreate-mobile-tools { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .woocreate-mobile-tools { bottom: 0; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #d8dadd; }
    .woocreate-mobile-topbar button,
    .woocreate-mobile-tools button {
        display: grid;
        min-width: 0;
        min-height: 48px;
        padding: 7px 3px 5px;
        place-items: center;
        align-content: center;
        gap: 2px;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #111;
        box-shadow: none;
        line-height: 1;
        touch-action: manipulation;
    }
    .woocreate-mobile-topbar svg, .woocreate-mobile-tools svg { width: 28px; height: 28px; fill: currentColor; }
    .woocreate-mobile-topbar span, .woocreate-mobile-tools span { font-size: 12px; line-height: 1.1; white-space: nowrap; }
    .woocreate-mobile-topbar .woocreate-mobile-topbar__menu { background: #050505; color: #fff; }
    .woocreate-mobile-topbar .woocreate-mobile-topbar__order { background: var(--wc-mobile-green); color: #fff; }
    .woocreate-mobile-tools button.is-active {
        background: #e3e5e7 !important;
        color: #111 !important;
    }
    .woocreate-mobile-tools.woocreate-mobile-tools--customized {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }
    .woocreate-mobile-tools.woocreate-mobile-tools--customized::-webkit-scrollbar { display: none; }
    .woocreate-mobile-tools.woocreate-mobile-tools--customized button {
        flex: 0 0 20vw;
        width: 20vw;
        scroll-snap-align: start;
    }
    .woocreate-mobile-history {
        position: absolute;
        z-index: 115;
        display: block !important;
        top: var(--wc-mobile-product-controls-bottom, calc(100% - 54px));
        right: auto;
        left: var(--wc-mobile-product-left, 0);
        width: var(--wc-mobile-product-width, 100%);
        height: 46px;
        pointer-events: none;
    }
    .woocreate-mobile-history button {
        position: absolute;
        top: 0;
        display: grid;
        width: 46px;
        height: 46px;
        padding: 0;
        place-items: center;
        border: 1px solid #cfd3d7;
        border-radius: 0;
        background: rgba(255,255,255,.96);
        color: #111;
        box-shadow: none;
        pointer-events: auto;
    }
    .woocreate-mobile-history [data-mobile-proxy="redo"] { left: 0; }
    .woocreate-mobile-history [data-mobile-proxy="undo"] { right: 0; }
    .woocreate-mobile-history svg { width: 24px; height: 24px; fill: currentColor; }
    .woocreate-mobile-history[hidden],
    .woocreate-mobile-history button[hidden] { display: none !important; }
    .woocreate-designer .woocreate-canvas-control--center {
        position: absolute !important;
        z-index: 116 !important;
        top: var(--wc-mobile-product-top, 8px) !important;
        right: auto !important;
        left: var(--wc-mobile-product-center, 50%) !important;
        display: grid !important;
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        min-height: 46px !important;
        padding: 10px !important;
        color: #111 !important;
        transform: translateX(-50%) !important;
    }
    .woocreate-designer .woocreate-canvas-control--center[hidden] {
        display: none !important;
    }
    .woocreate-designer__properties {
        position: fixed;
        z-index: 260;
        inset: 0;
        display: none;
        width: 100%;
        max-width: none;
        height: 100dvh;
        padding: 82px 24px 86px;
        overflow: hidden;
        border: 0;
        background: #fff;
        color: #111;
    }
    .woocreate-designer.is-mobile-sheet-open .woocreate-designer__properties { display: block; }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-designer__properties {
        inset: var(--wc-mobile-bar) 0 auto;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
        width: 100dvw;
        max-width: 100dvw;
        height: min(calc(100dvh - (2 * var(--wc-mobile-bar))), 620px);
        max-height: calc(100dvh - (2 * var(--wc-mobile-bar)));
        padding: 14px 16px 0;
        overflow: hidden;
        box-sizing: border-box;
        border-radius: 0 0 20px 20px;
        background: #fff;
        box-shadow: 0 12px 34px rgba(0,0,0,.22);
    }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-designer__properties > h2 {
        position: static;
        min-width: 0;
        margin: 0;
        padding: 0 0 10px;
        overflow: hidden;
        font-size: 30px;
        line-height: 1.1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .woocreate-designer.is-mobile-order-sheet-open [data-designer-order-panel] {
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
        min-height: 0;
        height: 100%;
        max-height: 100%;
        overflow: hidden;
    }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-order-intro {
        margin: 0 0 8px;
    }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-designer__sizes-at-top {
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 0 2px 8px 0;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-designer__sizes-at-top h3 {
        margin: 0 0 6px;
        font-size: 18px;
    }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-designer__size-list { gap: 6px; }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-designer__size-row {
        grid-template-columns: minmax(54px, 1fr) minmax(148px, 176px);
        min-height: 48px;
        gap: 10px;
    }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-designer__size-row > span {
        text-align: left;
    }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-numeric-input {
        grid-template-columns: 48px minmax(52px, 1fr) 48px;
        min-height: 48px;
    }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-numeric-input > input,
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-numeric-input__step {
        min-height: 48px !important;
    }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-numeric-input__step,
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-numeric-input__step:hover,
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-numeric-input__step:focus {
        background: #fff !important;
        color: #111 !important;
    }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-numeric-input__step:active,
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-numeric-input__step.is-mobile-pressed {
        background: #dfe3e7 !important;
        color: #111 !important;
    }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-cart-button {
        width: auto;
        min-height: 52px;
        margin: 0 -16px;
        padding: 12px 18px;
        border: 0;
        background: var(--wc-mobile-green) !important;
        color: #fff !important;
        font-size: 17px;
    }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-quantity-discount {
        display: none !important;
    }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-before-cart-shortcode,
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-production-technique {
        display: none !important;
    }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-mobile-sheet-done { display: none !important; }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-mobile-sheet-close {
        display: none !important;
    }
    .woocreate-designer.is-mobile-upload-sheet-open .woocreate-designer__properties {
        inset: auto 0 var(--wc-mobile-bar);
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
        width: 100dvw;
        max-width: 100dvw;
        height: min(calc(100dvh - (2 * var(--wc-mobile-bar))), 720px);
        min-height: min(520px, calc(100dvh - (2 * var(--wc-mobile-bar))));
        max-height: calc(100dvh - (2 * var(--wc-mobile-bar)));
        padding: 28px 18px 0;
        overflow: hidden;
        box-sizing: border-box;
        border-radius: 20px 20px 0 0;
        background: #fff;
        box-shadow: 0 -12px 34px rgba(0,0,0,.22);
    }
    .woocreate-designer.is-mobile-upload-sheet-open .woocreate-designer__properties > h2 {
        position: static;
        min-width: 0;
        margin: 0;
        padding: 0 0 14px;
        font-size: 30px;
        line-height: 1.1;
    }
    .woocreate-designer.is-mobile-upload-sheet-open [data-designer-properties-panel] {
        min-height: 0;
        height: 100%;
        overflow-x: hidden;
        overflow-y: hidden;
        padding: 0 0 78px;
    }
    .woocreate-mobile-upload-workspace {
        display: grid;
        grid-template-rows: minmax(0, 1fr) auto;
        min-height: 100%;
        height: 100%;
        align-content: stretch;
        justify-items: center;
        gap: 10px;
    }
    .woocreate-mobile-upload-workspace.is-cropping {
        grid-template-rows: auto minmax(0, 1fr) auto;
    }
    .woocreate-mobile-upload-choose {
        display: flex;
        min-width: min(100%, 280px);
        min-height: 54px;
        margin: 34px auto 0;
        padding: 11px 16px;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border: 1px solid #8f959b;
        border-radius: 0;
        background: #fff;
        color: #111;
        font-size: 17px;
    }
    .woocreate-mobile-upload-choose .bi {
        width: 26px;
        height: 26px;
        fill: currentColor;
    }
    .woocreate-mobile-upload-preview {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: min(38dvh, 330px);
        border: 1px solid #cfd3d7;
        background: #f4f5f6;
        touch-action: none;
    }
    .woocreate-mobile-upload-instruction {
        width: 100%;
        margin: 0;
        color: #4f5963;
        font-size: 14px;
        line-height: 1.35;
        text-align: center;
    }
    .woocreate-mobile-upload-actions,
    .woocreate-mobile-upload-crop-actions {
        display: flex;
        width: 100%;
        min-height: 64px;
        align-items: center;
        justify-content: center;
        gap: 18px;
        flex: 0 0 auto;
    }
    .woocreate-mobile-upload-actions {
        flex-direction: column;
        gap: 10px;
    }
    .woocreate-mobile-upload-actions .woocreate-crop-button,
    .woocreate-mobile-upload-actions .woocreate-remove-background {
        display: flex !important;
        width: min(100%, 360px);
        min-width: 0;
        height: 58px;
        min-height: 58px;
        margin: 0;
        padding: 12px 16px;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 14px;
        border: 1px solid #8f959b;
        border-radius: 0;
        background: #fff;
        color: #111;
        font-size: 18px;
        line-height: 1.2;
        white-space: nowrap;
    }
    .woocreate-mobile-upload-crop-actions button {
        display: grid !important;
        width: 58px;
        min-width: 58px;
        height: 58px;
        min-height: 58px;
        margin: 0;
        padding: 14px;
        place-items: center;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid #8f959b;
        border-radius: 0;
        background: #fff;
        color: #111;
    }
    .woocreate-mobile-upload-actions .bi,
    .woocreate-mobile-upload-crop-actions .bi {
        display: block;
        width: 28px !important;
        height: 28px !important;
        fill: currentColor;
        flex: 0 0 auto;
    }
    .woocreate-mobile-upload-crop-actions button:last-child {
        border-color: var(--wc-mobile-green);
        background: var(--wc-mobile-green);
        color: #fff;
    }
    .woocreate-designer.is-mobile-upload-sheet-open .woocreate-mobile-sheet-close {
        display: none !important;
    }
    .woocreate-designer.is-mobile-upload-sheet-open .woocreate-mobile-sheet-done {
        right: 0;
        bottom: var(--wc-mobile-bar);
        width: 72px;
        height: 72px;
        padding: 14px;
    }
    .woocreate-designer.is-mobile-upload-sheet-open .woocreate-mobile-sheet-done:disabled {
        opacity: .35;
    }
    .woocreate-mobile-sheet-handle {
        position: absolute;
        z-index: 12;
        left: 50%;
        width: 76px;
        height: 24px;
        padding: 0;
        border: 0;
        background: transparent;
        touch-action: none;
        transform: translateX(-50%);
        cursor: ns-resize;
    }
    .woocreate-mobile-sheet-handle[hidden],
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-mobile-sheet-handle {
        display: none !important;
    }
    .woocreate-mobile-sheet-handle::before {
        position: absolute;
        top: 9px;
        left: 12px;
        width: 52px;
        height: 5px;
        border-radius: 999px;
        background: #9ba1a7;
        content: "";
    }
    .woocreate-mobile-sheet-handle--top { bottom: 0; }
    .woocreate-mobile-sheet-handle--bottom { top: 0; }
    .is-mobile-dragging { transition: none !important; }
    .woocreate-designer__properties > h2 {
        position: absolute; top: 20px; left: 24px; right: 72px; margin: 0;
        overflow: hidden; font-size: clamp(34px, 11vw, 50px); font-weight: 300; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap;
    }
    .woocreate-designer__properties [data-designer-panel] { height: 100%; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
    .woocreate-designer__properties [data-designer-properties] { display: grid; align-content: start; gap: 18px; min-height: 100%; }
    .woocreate-mobile-text-editor {
        display: block;
        width: 100%;
        min-height: min(42dvh, 360px);
        padding: 22px;
        border: 1px solid #9da2a7;
        border-radius: 0;
        background: transparent;
        color: inherit;
        font-size: 22px;
        line-height: 1.4;
        resize: none;
    }
    .woocreate-designer.is-mobile-text-sheet-open .woocreate-designer__properties {
        inset: auto 0 var(--wc-mobile-bar);
        z-index: 270;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
        width: 100dvw;
        max-width: 100dvw;
        height: min(calc(100dvh - (2 * var(--wc-mobile-bar))), 760px);
        min-height: min(520px, calc(100dvh - (2 * var(--wc-mobile-bar))));
        max-height: calc(100dvh - (2 * var(--wc-mobile-bar)));
        padding: 28px 18px 0;
        overflow: hidden;
        box-sizing: border-box;
        border: 0;
        border-radius: 0;
        box-shadow: 0 -12px 34px rgba(0,0,0,.22);
    }
    .woocreate-designer.is-mobile-text-sheet-open .woocreate-mobile-sheet-close {
        display: none !important;
    }
    .woocreate-designer.is-mobile-text-sheet-open .woocreate-designer__properties > h2 {
        position: static;
        min-width: 0;
        margin: 0;
        padding: 0 0 14px;
        font-size: 30px;
        line-height: 1.1;
    }
    .woocreate-designer.is-mobile-sheet-open:not(.is-mobile-order-sheet-open)
    .woocreate-designer__properties > h2 {
        display: none !important;
    }
    .woocreate-designer.is-mobile-text-sheet-open .woocreate-designer__properties [data-designer-panel] {
        min-height: 0;
        height: 100%;
        padding: 0 0 78px;
        overflow: hidden !important;
    }
    .woocreate-designer__properties .is-mobile-text-workspace {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) 58px;
        grid-template-rows: minmax(160px,1fr) 48px 80px;
        gap: 6px;
        height: 100%;
        min-height: 0 !important;
        overflow: hidden !important;
    }
    .is-mobile-text-workspace > .woocreate-mobile-text-editor {
        grid-column: 1 / -1;
        width: 100%;
        height: 100%;
        min-height: 0;
        background: #fff;
        font-size: 28px;
        line-height: 1.35;
        transition: color .12s ease, font-family .12s ease;
    }
    .is-mobile-text-workspace > .woocreate-mobile-text-font { grid-column: 1; grid-row: 2; }
    .is-mobile-text-workspace > .woocreate-mobile-text-colour { grid-column: 2; grid-row: 2; }
    .is-mobile-text-workspace > .woocreate-mobile-text-format { grid-column: 1 / -1; grid-row: 3; }
    .is-mobile-text-workspace > .woocreate-mobile-text-size { display: none !important; }
    .is-mobile-text-workspace > .woocreate-designer__property > span { display: none; }
    .is-mobile-text-workspace .woocreate-font-dropdown,
    .is-mobile-text-workspace .woocreate-font-dropdown__selected,
    .is-mobile-text-workspace .woocreate-color-palette,
    .is-mobile-text-workspace .woocreate-color-palette__trigger {
        width: 100% !important;
        height: 48px !important;
        min-height: 48px !important;
        margin: 0 !important;
    }
    .is-mobile-text-workspace .woocreate-text-style-buttons {
        grid-template-columns: repeat(3,minmax(44px,1fr));
        grid-template-rows: repeat(2,40px);
        height: 80px;
    }
    .is-mobile-text-workspace .woocreate-text-style-buttons > button {
        min-width: 40px;
        min-height: 40px;
        padding: 4px;
        font-size: 17px;
    }
    .is-mobile-text-workspace .woocreate-property-icon-button.is-underline {
        text-decoration: underline;
        text-underline-offset: 3px;
    }
    .is-mobile-text-workspace .woocreate-font-dropdown__options,
    .is-mobile-text-workspace .woocreate-color-palette__panel {
        position: fixed !important;
        z-index: 275 !important;
        inset: 80px 18px 88px !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        max-height: none !important;
        padding: 64px 12px 18px !important;
        overflow: auto !important;
        border: 0 !important;
        background: #fff !important;
        color: #111 !important;
        box-shadow: none !important;
    }
    .is-mobile-text-workspace .woocreate-mobile-text-back {
        position: absolute;
        top: 4px;
        left: 0;
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 44px;
        min-height: 44px;
        padding: 8px 10px;
        border: 0;
        background: transparent;
        color: inherit;
        font-size: 17px;
    }
    .is-mobile-text-workspace .woocreate-mobile-text-back svg {
        width: 24px;
        height: 24px;
        fill: currentColor;
    }
    .is-mobile-text-workspace .woocreate-font-dropdown__option {
        min-height: 52px;
        font-size: 20px;
    }
    .is-mobile-text-workspace .woocreate-color-palette__popular,
    .is-mobile-text-workspace .woocreate-color-palette__grid {
        grid-template-columns: repeat(7,minmax(38px,1fr)) !important;
    }
    .woocreate-designer.is-mobile-text-sheet-open
    .is-mobile-text-workspace .woocreate-font-dropdown__options,
    .woocreate-designer.is-mobile-text-sheet-open
    .is-mobile-text-workspace .woocreate-color-palette__panel {
        position: fixed !important;
        z-index: 290 !important;
        inset: calc(var(--wc-mobile-bar) + 28px) 18px calc(var(--wc-mobile-bar) + 78px) !important;
        width: auto !important;
        height: auto !important;
        max-width: none !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        box-sizing: border-box !important;
    }
    .woocreate-designer__properties .woocreate-remove-background,
    .woocreate-designer__properties .woocreate-crop-button { min-height: 54px; justify-content: flex-start; font-size: 18px; }
    .woocreate-mobile-sheet-done {
        position: fixed; z-index: 280; right: 0; bottom: 0; display: none;
        width: 82px; height: 82px; padding: 20px; border: 0; border-radius: 0;
        background: var(--wc-mobile-green); color: #fff;
    }
    .woocreate-mobile-sheet-close {
        position: fixed; z-index: 280; top: 18px; right: 18px; display: none;
        width: 52px; height: 52px; padding: 11px; border: 0; background: transparent; color: inherit;
    }
    .woocreate-mobile-sheet-close svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; }
    .woocreate-designer.is-mobile-sheet-open .woocreate-mobile-sheet-close { display: block; }
    .woocreate-designer.is-mobile-sheet-open .woocreate-mobile-sheet-done { display: grid; place-items: center; }
    .woocreate-designer.is-mobile-sheet-open:not(.is-mobile-order-sheet-open)
    .woocreate-mobile-sheet-done {
        bottom: var(--wc-mobile-bar);
        width: 72px;
        height: 72px;
        padding: 14px;
    }
    .woocreate-mobile-sheet-done svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 2.2; }
    .woocreate-mobile-modal {
        position: fixed !important;
        inset: 0 !important;
        width: 100dvw !important;
        min-width: 0 !important;
        max-width: 100dvw !important;
        height: 100dvh !important;
        min-height: 0 !important;
        max-height: 100dvh !important;
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        border: 0;
        box-sizing: border-box !important;
        background: #fff;
        color: #111;
        box-shadow: none;
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
    .woocreate-mobile-menu {
        z-index: 300;
        inset: var(--wc-mobile-bar) 0 auto !important;
        display: grid;
        grid-template-rows: auto auto minmax(0, 1fr) auto;
        width: 100dvw !important;
        max-width: 100dvw !important;
        height: min(calc(100dvh - (2 * var(--wc-mobile-bar))), 620px) !important;
        max-height: calc(100dvh - (2 * var(--wc-mobile-bar))) !important;
        padding: 14px 18px 16px;
        overflow: hidden !important;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 12px 34px rgba(0,0,0,.22);
    }
    .woocreate-mobile-modal *,
    .woocreate-mobile-modal *::before,
    .woocreate-mobile-modal *::after { box-sizing: border-box !important; }
    .woocreate-mobile-modal > header,
    .woocreate-mobile-modal > main,
    .woocreate-mobile-modal > footer,
    .woocreate-mobile-modal > div { min-width: 0; max-width: 100%; }
    .woocreate-mobile-modal input,
    .woocreate-mobile-modal select,
    .woocreate-mobile-modal textarea {
        min-width: 0 !important; max-width: 100% !important; font-size: 16px !important;
    }
    .woocreate-mobile-modal,
    .woocreate-mobile-modal h1, .woocreate-mobile-modal h2, .woocreate-mobile-modal h3,
    .woocreate-mobile-modal h4, .woocreate-mobile-modal p, .woocreate-mobile-modal label,
    .woocreate-mobile-modal legend, .woocreate-mobile-modal li, .woocreate-mobile-modal span {
        color: #111 !important;
    }
    .woocreate-mobile-modal input,
    .woocreate-mobile-modal select,
    .woocreate-mobile-modal textarea {
        border-color: #8c8f94 !important;
        background: #fff !important;
        color: #111 !important;
        -webkit-text-fill-color: #111 !important;
        opacity: 1 !important;
    }
    .woocreate-mobile-modal input::placeholder,
    .woocreate-mobile-modal textarea::placeholder { color: #6c757d !important; opacity: 1 !important; }
    .woocreate-mobile-menu[hidden] { display: none; }
    .woocreate-mobile-menu > header { display: flex; min-width: 0; max-width: 100%; align-items: center; justify-content: space-between; min-height: 62px; overflow: hidden; }
    .woocreate-mobile-menu > header a { display: block; min-width: 0; max-width: 100%; color: inherit; overflow: hidden; }
    .woocreate-mobile-menu > header img { display: block; width: auto; max-width: 210px; height: 48px; object-fit: contain; }
    .woocreate-mobile-menu > header button { width: 48px; height: 48px; padding: 11px; border: 0; background: transparent; color: inherit; }
    .woocreate-mobile-menu > header svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; }
    .woocreate-mobile-menu__quick { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; padding: 24px 0; }
    .woocreate-mobile-menu__quick a, .woocreate-mobile-menu__quick button {
        display: grid; min-width: 0; min-height: 64px; place-items: center; gap: 5px; padding: 4px;
        border: 0; background: transparent; color: inherit; font-size: 12px; text-align: center; text-decoration: none;
    }
    .woocreate-mobile-menu__quick svg {
        display: block; width: 28px; height: 28px; overflow: visible;
        fill: currentColor; stroke: none; color: #111; shape-rendering: geometricPrecision;
    }
    .woocreate-mobile-menu__quick > a > span:last-child,
    .woocreate-mobile-menu__quick > button > span:last-child { font-size: 12px; line-height: 1.15; }
    .woocreate-mobile-menu__icon { position: relative; display: block; width: 28px; height: 28px; }
    .woocreate-mobile-menu__cart-count {
        position: absolute; top: -10px; right: -13px; display: grid; min-width: 23px; height: 23px;
        padding: 0 6px; place-items: center; border-radius: 999px; background: #248fc3; color: #fff;
        font-size: 12px; font-weight: 600; line-height: 1;
    }
    .woocreate-mobile-menu__content {
        align-self: stretch;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 36px 0 18px;
        text-align: left;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .woocreate-mobile-menu__content h2 { margin: 0 0 24px; font-size: 28px; font-weight: 300; }
    .woocreate-mobile-menu__shortcode { margin: 0 0 24px; font-size: 18px; line-height: 1.5; }
    .woocreate-mobile-menu__description { font-size: 18px; line-height: 1.5; }
    .woocreate-mobile-menu > footer { display: grid; grid-template-columns: 1fr 1fr 82px; align-items: end; gap: 8px; }
    .woocreate-mobile-menu > footer label, .woocreate-mobile-menu > footer button, .woocreate-mobile-menu > footer a {
        display: grid; min-height: 66px; place-items: center; padding: 8px; border: 0; background: transparent; color: inherit; text-align: center; text-decoration: none;
    }
    .woocreate-mobile-menu > footer svg {
        display: block; width: 44px; height: 44px; overflow: visible;
        fill: currentColor; stroke: none; shape-rendering: geometricPrecision;
    }
    .woocreate-mobile-menu > footer span { display: block; font-size: 12px; line-height: 1.15; }
    .woocreate-mobile-whatsapp {
        width: 82px !important; height: 66px !important; min-height: 66px !important;
        padding: 0 !important; background: var(--wc-whatsapp-green) !important; color: #fff !important;
    }
    .woocreate-designer .woocreate-mobile-menu > footer .woocreate-mobile-whatsapp .bi {
        width: 32px !important; height: 32px !important;
        min-width: 32px !important; max-width: 32px !important;
        min-height: 32px !important; max-height: 32px !important;
        margin: 0 !important; fill: currentColor !important;
    }

    .woocreate-mobile-account__loading { margin: 0; color: #6c757d; }

    .woocreate-mobile-account__profile { display: grid; gap: 10px; }
    .woocreate-mobile-account__profile h3 { margin: 0 0 12px; font-size: 26px; font-weight: 400; }
    .woocreate-mobile-account__profile p { margin: 0; overflow-wrap: anywhere; }
    .woocreate-mobile-account__profile-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
    [data-woocreate-account-login-message] { margin: 14px 0 0; color: #b42318; }
    .woocreate-mobile-account__register { display: grid; gap: 14px; margin-top: 34px; padding-top: 26px; border-top: 1px solid #d8dadd; }
    .woocreate-mobile-account__register h3 { margin: 0; font-size: 26px; font-weight: 400; }
    .woocreate-mobile-account__register form { display: grid; gap: 14px; }
    .woocreate-mobile-account__register label { display: grid; gap: 6px; }
    .woocreate-mobile-account__hint { margin: -6px 0 0 !important; font-size: 14px; }
    [data-woocreate-account-register-message] { margin: 0; color: #b42318 !important; }
    .woocreate-mobile-account__section { display: grid; gap: 18px; min-width: 0; }
    .woocreate-mobile-account__section > h3 { margin: 0; font-size: 26px; font-weight: 400; }
    .woocreate-mobile-account__section form { display: grid; gap: 14px; }
    .woocreate-mobile-account__section label { display: grid; gap: 6px; }
    .woocreate-mobile-account__section input { width: 100%; min-height: 46px; padding: 9px 11px; }
    .woocreate-mobile-account__success { display: grid; gap: 20px; justify-items: start; padding-top: 24px; }
    .woocreate-mobile-account__success h3 { margin: 0; color: #07953f; }
    .woocreate-mobile-account__saved { color: #07953f; }
    .woocreate-mobile-account__error, [data-mobile-account-panel-message] { color: #b42318; }
    .woocreate-mobile-account .woocreate-account-designs__list { display: grid; grid-template-columns: 1fr; gap: 16px; }
    .woocreate-mobile-account .woocreate-account-designs__item { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 14px; align-items: center; }
    .woocreate-mobile-account .woocreate-account-designs__visual { position: relative; display: block; width: 92px; height: 92px; overflow: hidden; }
    .woocreate-mobile-account .woocreate-account-designs__visual img { max-width: 100%; max-height: 100%; object-fit: contain; }
    .woocreate-mobile-menu [data-mobile-grid-action].is-active { color: #07953f; }
    .woocreate-mobile-menu [data-mobile-grid-action].is-inactive { color: #ef7d00; }
    .woocreate-mobile-menu [data-mobile-grid-action] svg { color: inherit; }

    .woocreate-mobile-account {
        z-index: 320;
        display: grid;
        grid-template-rows: 76px minmax(0, 1fr);
        padding-bottom: 82px;
    }
    .woocreate-mobile-account[hidden] { display: none; }
    .woocreate-mobile-account > header {
        display: flex; align-items: center; justify-content: space-between;
        padding: max(14px, env(safe-area-inset-top)) 24px 10px;
        border-bottom: 1px solid #d8dadd;
    }
    .woocreate-mobile-account > header h2 { min-width: 0; margin: 0; overflow: hidden; font-size: 36px; font-weight: 300; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
    .woocreate-mobile-account > header button {
        display: grid; width: 48px; height: 48px; padding: 12px; place-items: center;
        border: 0; background: transparent; color: inherit;
    }
    .woocreate-mobile-account > header svg { width: 100%; height: 100%; fill: currentColor; }
    .woocreate-mobile-account__content {
        min-height: 0;
        padding: 20px 24px 30px;
        overflow: auto;
        background: inherit;
        color: inherit;
        overscroll-behavior: contain;
    }
    .woocreate-mobile-account__content .password-input { position: relative; display: block; }
    .woocreate-mobile-account__content .show-password-input {
        position: absolute !important; top: 50% !important; right: 10px !important; left: auto !important;
        width: auto !important; min-width: 0 !important; height: auto !important; margin: 0 !important;
        padding: 7px 8px !important; border: 0 !important; background: transparent !important;
        color: #1672d1 !important; font-size: 13px !important; line-height: 1.1 !important;
        text-indent: 0 !important; transform: translateY(-50%) !important;
    }
    .woocreate-mobile-account__content .show-password-input:empty::after { content: "Toon wachtwoord"; }
    .woocreate-mobile-modal__confirm {
        position: absolute; z-index: 2; right: 0; bottom: 0; display: grid;
        width: 82px; height: 82px; padding: 20px; place-items: center;
        border: 0; border-radius: 0; background: var(--wc-mobile-green); color: #fff;
    }
    .woocreate-mobile-modal__confirm svg { width: 44px; height: 44px; fill: currentColor; }
    .woocreate-mobile-size-guide { position: fixed !important; z-index: 340; inset: 0 !important; display: grid; grid-template-rows: auto 1fr; width: 100dvw !important; min-width: 0 !important; max-width: 100dvw !important; height: 100dvh !important; max-height: 100dvh !important; padding: max(18px,env(safe-area-inset-top)) 22px max(18px,env(safe-area-inset-bottom)); overflow-x: hidden; overflow-y: hidden; box-sizing: border-box !important; background: #fff; color: #111; }
    .woocreate-mobile-size-guide *, .woocreate-mobile-size-guide *::before, .woocreate-mobile-size-guide *::after { box-sizing: border-box !important; }
    .woocreate-mobile-size-guide > header { display: flex; align-items: center; justify-content: space-between; }
    .woocreate-mobile-size-guide > header h2 { margin: 0; font-size: 42px; font-weight: 300; }
    .woocreate-mobile-size-guide > header button { width: 52px; height: 52px; border: 0; background: transparent; color: inherit; font-size: 44px; font-weight: 300; line-height: 1; }
    .woocreate-mobile-size-guide > div { overflow-y: auto; padding-top: 24px; overscroll-behavior: contain; }
    .woocreate-product-option__menu { position: fixed !important; z-index: 270 !important; inset: auto 0 0 !important; width: 100% !important; max-height: min(65dvh, 520px); overflow-y: auto; padding: 24px 18px max(24px, env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; background: #fff; box-shadow: 0 -12px 40px rgba(0,0,0,.2); }
    .woocreate-product-option__menu--colours {
        inset: var(--wc-mobile-bar) 0 auto !important;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100dvw !important;
        max-width: 100dvw !important;
        max-height: min(calc(100dvh - (2 * var(--wc-mobile-bar))), 620px);
        padding: 18px;
        gap: 8px;
        overflow-x: hidden;
        overflow-y: auto;
        box-sizing: border-box;
        border: 0;
        border-radius: 0 0 20px 20px;
        background: #fff;
        box-shadow: 0 12px 34px rgba(0,0,0,.22);
        transform: none !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .woocreate-product-option__menu--colours .woocreate-product-option__choice {
        min-width: 0;
        min-height: 52px;
        padding: 7px 9px;
        overflow: hidden;
        border-color: #d5d9de;
    }
    .woocreate-product-option__menu--colours .woocreate-product-option__choice > span:last-child {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .woocreate-product-option__menu--colours .woocreate-product-option__swatch {
        flex: 0 0 34px;
        width: 34px;
        min-width: 34px;
        height: 34px;
    }
    .woocreate-product-option__menu--sides {
        inset: var(--wc-mobile-bar) 0 auto !important;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100dvw !important;
        max-width: 100dvw !important;
        max-height: min(calc(100dvh - (2 * var(--wc-mobile-bar))), 620px);
        padding: 18px;
        gap: 8px;
        overflow-x: hidden;
        overflow-y: auto;
        box-sizing: border-box;
        border: 0;
        border-radius: 0 0 20px 20px;
        background: #fff;
        box-shadow: 0 12px 34px rgba(0,0,0,.22);
        transform: none !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .woocreate-product-option__menu--sides .woocreate-product-option__choice {
        min-width: 0;
        min-height: 52px;
        padding: 9px 12px;
        border-color: #d5d9de;
    }
    .woocreate-price-help__popover {
        position: fixed !important;
        z-index: 320 !important;
        inset: var(--wc-mobile-bar) 0 auto !important;
        box-sizing: border-box !important;
        display: block;
        width: 100dvw !important;
        min-width: 0 !important;
        max-width: 100dvw !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: min(calc(100dvh - (2 * var(--wc-mobile-bar))), 620px) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding: 18px 20px 20px !important;
        border: 0 !important;
        border-radius: 0 0 20px 20px !important;
        background: #fff !important;
        color: #111 !important;
        box-shadow: 0 12px 34px rgba(0,0,0,.22) !important;
    }
    .woocreate-price-help__popover[hidden] { display: none !important; }
    .woocreate-price-help__close {
        display: none !important;
    }
    .woocreate-designer .woocreate-price-help__close .bi {
        display: block !important;
        width: 30px !important;
        height: 30px !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 1.5 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }
    .woocreate-price-help__popover,
    .woocreate-price-help__popover *:not(.woocreate-price-help__close) { color: #111 !important; }
    .woocreate-product-preview__dialog { width: 100% !important; height: 100dvh; max-width: none !important; max-height: none !important; border-radius: 0 !important; }
    .woocreate-storage {
        position: fixed !important; z-index: 330 !important; inset: 0 !important;
        display: block !important; width: 100dvw !important;
        min-width: 0 !important; max-width: 100dvw !important; height: 100dvh !important;
        max-height: 100dvh !important; padding: 0 !important; overflow-x: hidden !important; overflow-y: hidden !important;
        box-sizing: border-box !important; background: #fff !important;
    }
    .woocreate-storage *,
    .woocreate-storage *::before,
    .woocreate-storage *::after { box-sizing: border-box !important; }
    .woocreate-storage[hidden] { display: none !important; }
    .woocreate-storage__dialog, .woocreate-library__dialog {
        position: fixed !important; inset: 0 !important; display: grid !important;
        grid-template-rows: 76px minmax(0, 1fr); width: 100dvw !important;
        min-width: 0 !important; max-width: 100dvw !important; height: 100dvh !important;
        max-height: 100dvh !important; margin: 0 !important; box-sizing: border-box !important;
        overflow: hidden !important; border: 0 !important; border-radius: 0 !important;
        background: #fff !important; box-shadow: none !important; transform: none !important;
    }
    .woocreate-storage__dialog > header {
        position: relative !important; top: auto !important; display: flex !important;
        min-height: 76px; padding: max(14px, env(safe-area-inset-top)) 20px 10px !important;
        align-items: center; justify-content: space-between; background: #fff !important;
    }
    .woocreate-storage__dialog > header h2 {
        min-width: 0 !important; margin: 0 !important; overflow: hidden !important;
        font-size: 34px !important; font-weight: 300 !important; text-overflow: ellipsis; white-space: nowrap;
    }
    .woocreate-storage__close {
        flex: 0 0 48px !important; width: 48px !important; height: 48px !important; padding: 12px !important;
    }
    .woocreate-storage__content {
        min-width: 0 !important; min-height: 0 !important; padding: 22px 20px 104px !important;
        overflow-x: hidden !important; overflow-y: auto !important; overscroll-behavior: contain;
    }
    .woocreate-storage__simple-row { grid-template-columns: minmax(0, 1fr) 64px !important; gap: 10px !important; }
    .woocreate-storage__content > *,
    .woocreate-storage__simple-rows,
    .woocreate-storage__simple-rows section,
    .woocreate-storage__simple-row { min-width: 0 !important; max-width: 100% !important; width: 100% !important; }
    .woocreate-storage__simple-row label,
    .woocreate-storage__simple-row input { min-width: 0 !important; width: 100% !important; box-sizing: border-box !important; }
    .woocreate-storage input,
    .woocreate-storage select,
    .woocreate-storage textarea { max-width: 100% !important; font-size: 16px !important; }
    .woocreate-storage .woocreate-storage__save-button {
        width: 64px !important; min-width: 64px !important; height: 64px !important;
        background: var(--wc-mobile-green) !important; color: #fff !important;
    }
    .woocreate-storage__mobile-done {
        position: fixed; z-index: 2; right: 0; bottom: 0; display: grid;
        width: 82px; height: 82px; padding: 20px; place-items: center;
        border: 0; border-radius: 0; background: var(--wc-mobile-green); color: #fff;
    }
    .woocreate-storage__mobile-done svg { width: 44px; height: 44px; fill: currentColor; }
}

@media (max-width: 820px) and (prefers-color-scheme: dark), (hover: none) and (pointer: coarse) and (prefers-color-scheme: dark) {
    .woocreate-designer { background: #111; color: #f4f4f4; }
    .is-mobile-text-workspace .woocreate-font-dropdown__options,
    .is-mobile-text-workspace .woocreate-color-palette__panel {
        background: #151515 !important;
        color: #f4f4f4 !important;
    }
    .woocreate-mobile-topbar, .woocreate-mobile-tools, .woocreate-designer__properties,
    .woocreate-mobile-menu, .woocreate-mobile-account, .woocreate-product-option__menu, .woocreate-price-help__popover { background: #151515; color: #f4f4f4; border-color: #393939; }
    .woocreate-mobile-menu__quick svg { color: #f4f4f4; }
    .woocreate-designer .woocreate-canvas-control--center {
        border-color: #cfd3d7 !important;
        background: rgba(255,255,255,.96) !important;
        color: #111 !important;
        -webkit-text-fill-color: #111 !important;
    }
    .woocreate-mobile-topbar button:not(.woocreate-mobile-topbar__menu):not(.woocreate-mobile-topbar__order) {
        background: #151515 !important;
        color: #f4f4f4 !important;
        -webkit-text-fill-color: #f4f4f4 !important;
    }
    .woocreate-mobile-topbar button:not(.woocreate-mobile-topbar__menu):not(.woocreate-mobile-topbar__order) svg { color: #f4f4f4 !important; }
    .woocreate-mobile-tools button,
    .woocreate-mobile-tools button:hover,
    .woocreate-mobile-tools button:focus,
    .woocreate-mobile-tools button:active {
        background: #151515 !important;
        color: #f4f4f4 !important;
        -webkit-text-fill-color: #f4f4f4 !important;
        opacity: 1 !important;
    }
    .woocreate-mobile-tools button.is-active,
    .woocreate-mobile-tools button.is-active:hover,
    .woocreate-mobile-tools button.is-active:focus,
    .woocreate-mobile-tools button.is-active:active {
        background: #3a3a3a !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
    .woocreate-mobile-tools button svg,
    .woocreate-mobile-tools button span {
        color: #f4f4f4 !important;
        -webkit-text-fill-color: #f4f4f4 !important;
        opacity: 1 !important;
    }
    .woocreate-mobile-size-guide { background: #151515; color: #f4f4f4; }
    .woocreate-mobile-modal,
    .woocreate-mobile-modal h1, .woocreate-mobile-modal h2, .woocreate-mobile-modal h3,
    .woocreate-mobile-modal h4, .woocreate-mobile-modal p, .woocreate-mobile-modal label,
    .woocreate-mobile-modal legend, .woocreate-mobile-modal li, .woocreate-mobile-modal span {
        color: #f4f4f4 !important;
    }
    .woocreate-mobile-modal input,
    .woocreate-mobile-modal select,
    .woocreate-mobile-modal textarea {
        border-color: #666 !important;
        background: #242424 !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
    .woocreate-mobile-modal input::placeholder,
    .woocreate-mobile-modal textarea::placeholder { color: #b6b6b6 !important; }
    .woocreate-mobile-account__success h3,
    .woocreate-mobile-account__saved { color: #46c879 !important; }
    .woocreate-mobile-account__error,
    [data-mobile-account-panel-message],
    [data-woocreate-account-login-message],
    [data-woocreate-account-register-message] { color: #ff8a80 !important; }
    .woocreate-mobile-account__register { border-top-color: #555; }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-designer__properties {
        background: #151515;
        color: #f4f4f4;
    }
    .woocreate-designer.is-mobile-upload-sheet-open .woocreate-designer__properties {
        background: #151515;
        color: #f4f4f4;
        border-color: #393939;
    }
    .woocreate-designer.is-mobile-upload-sheet-open .woocreate-designer__properties h2,
    .woocreate-designer.is-mobile-upload-sheet-open [data-designer-properties-panel],
    .woocreate-designer.is-mobile-upload-sheet-open [data-designer-properties-panel] p,
    .woocreate-designer.is-mobile-upload-sheet-open [data-designer-properties-panel] label,
    .woocreate-designer.is-mobile-upload-sheet-open [data-designer-properties-panel] span {
        color: #f4f4f4 !important;
        -webkit-text-fill-color: #f4f4f4 !important;
    }
    .woocreate-designer.is-mobile-upload-sheet-open .woocreate-remove-background,
    .woocreate-designer.is-mobile-upload-sheet-open .woocreate-crop-button {
        border-color: #666 !important;
        background: #151515 !important;
        color: #f4f4f4 !important;
        -webkit-text-fill-color: #f4f4f4 !important;
    }
    .woocreate-designer.is-mobile-upload-sheet-open .woocreate-mobile-upload-choose,
    .woocreate-designer.is-mobile-upload-sheet-open .woocreate-mobile-upload-actions button,
    .woocreate-designer.is-mobile-upload-sheet-open .woocreate-mobile-upload-crop-actions button {
        border-color: #666 !important;
        background: #151515 !important;
        color: #f4f4f4 !important;
        -webkit-text-fill-color: #f4f4f4 !important;
    }
    .woocreate-designer.is-mobile-upload-sheet-open .woocreate-mobile-upload-crop-actions button:last-child {
        border-color: var(--wc-mobile-green) !important;
        background: var(--wc-mobile-green) !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
    .woocreate-designer.is-mobile-upload-sheet-open .woocreate-mobile-upload-preview {
        border-color: #555;
        background: #242424;
    }
    .woocreate-mobile-sheet-handle::before {
        background: #c3c7cb;
    }
    .woocreate-mobile-upload-instruction {
        color: #d7d9dc !important;
        -webkit-text-fill-color: #d7d9dc !important;
    }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-designer__properties h2,
    .woocreate-designer.is-mobile-order-sheet-open [data-designer-order-panel],
    .woocreate-designer.is-mobile-order-sheet-open [data-designer-order-panel] h3,
    .woocreate-designer.is-mobile-order-sheet-open [data-designer-order-panel] p,
    .woocreate-designer.is-mobile-order-sheet-open [data-designer-order-panel] span,
    .woocreate-designer.is-mobile-order-sheet-open [data-designer-order-panel] small,
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-production-technique strong {
        color: #f4f4f4 !important;
        -webkit-text-fill-color: #f4f4f4 !important;
    }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-numeric-input > input {
        border-color: #5a5a5a !important;
        background: #242424 !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-numeric-input__step,
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-numeric-input__step:hover,
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-numeric-input__step:focus {
        border-color: #5a5a5a !important;
        background: #151515 !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-numeric-input__step:active,
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-numeric-input__step.is-mobile-pressed {
        background: #3c3c3c !important;
    }
    .woocreate-product-option__menu--colours { background: #151515; }
    .woocreate-product-option__menu--colours .woocreate-product-option__choice {
        border-color: #4b4b4b;
        background: #151515;
        color: #f4f4f4 !important;
        -webkit-text-fill-color: #f4f4f4 !important;
    }
    .woocreate-product-option__menu--colours .woocreate-product-option__choice.is-active {
        border-color: #6da8ff;
        background: #203552;
    }
    .woocreate-product-option__menu--sides { background: #151515; }
    .woocreate-product-option__menu--sides .woocreate-product-option__choice {
        border-color: #4b4b4b;
        background: #151515;
        color: #f4f4f4 !important;
        -webkit-text-fill-color: #f4f4f4 !important;
    }
    .woocreate-product-option__menu--sides .woocreate-product-option__choice.is-active {
        border-color: #6da8ff;
        background: #203552;
    }
    .woocreate-designer__stage { background: #242424; }
    .woocreate-mobile-history button { border-color: #cfd3d7; background: rgba(255,255,255,.96); color: #111; }
    .woocreate-price-help__popover { background: #151515 !important; color: #f4f4f4 !important; }
    .woocreate-price-help__popover,
    .woocreate-price-help__popover * { color: #f4f4f4 !important; -webkit-text-fill-color: #f4f4f4 !important; }
    .woocreate-price-help__close { background: transparent !important; color: #f4f4f4 !important; }
    .woocreate-price-help__popover .woocreate-price-receipt__rule,
    .woocreate-price-help__popover .woocreate-price-receipt__discount-table { border-color: #555 !important; }
    .woocreate-designer__print-area, .woocreate-reference-canvas { color-scheme: only light; }
}

/* Definitieve cascade: deze regels staan bewust als laatste zodat geen oudere
   bottom-sheetregel de vijf vaste kolommen kan overschrijven. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-mobile-text-actionbar {
        right: 0 !important; left: 0 !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        width: 100dvw !important; min-width: 100dvw !important; max-width: 100dvw !important;
        height: 72px !important; min-height: 72px !important; max-height: 72px !important;
        background: #fff !important;
    }
    .woocreate-mobile-text-actionbar__controls {
        grid-column: 1 / 5 !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        grid-template-rows: 72px !important;
        width: 100% !important; height: 72px !important; margin: 0 !important;
        overflow: visible !important;
    }
    .woocreate-mobile-text-actionbar__button {
        align-self: center !important; justify-self: center !important;
        width: 32px !important; min-width: 32px !important; max-width: 32px !important;
        height: 32px !important; min-height: 32px !important; max-height: 32px !important;
        border: 0 !important; background: transparent !important;
        color: #000 !important; -webkit-text-fill-color: #000 !important;
        font-size: 20px !important; line-height: 32px !important;
    }
    .woocreate-mobile-text-actionbar__button.is-active {
        background: #e2e2e2 !important;
        color: #000 !important; -webkit-text-fill-color: #000 !important;
    }
    .woocreate-mobile-text-actionbar > .woocreate-mobile-sheet-done {
        grid-column: 5 !important;
        width: 100% !important; min-width: 0 !important; max-width: none !important;
        height: 72px !important; min-height: 72px !important; max-height: 72px !important;
        background: var(--wc-mobile-green) !important;
        color: #fff !important; -webkit-text-fill-color: #fff !important;
    }
}
@media (max-width: 820px), (hover: none) and (pointer: coarse) and (prefers-color-scheme: dark) {
    .woocreate-mobile-text-actionbar { background: #151515 !important; }
    .woocreate-mobile-text-actionbar__button {
        background: transparent !important;
        color: #fff !important; -webkit-text-fill-color: #fff !important;
    }
    .woocreate-mobile-text-actionbar__button.is-active {
        background: #4a4a4a !important;
        color: #fff !important; -webkit-text-fill-color: #fff !important;
    }
}

/* Definitieve 1.0.7.4-cascade: de vier typografie-acties zijn 36 px en dus
   bewust iets kleiner dan de OK-vink. Hover/focus/active en icoon gebruiken
   exact hetzelfde vlak; alleen de icooninhoud wordt zwart of wit. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-mobile-text-actionbar__button,
    .woocreate-mobile-text-actionbar__button:hover,
    .woocreate-mobile-text-actionbar__button:focus,
    .woocreate-mobile-text-actionbar__button:active {
        width: 36px !important; min-width: 36px !important; max-width: 36px !important;
        height: 36px !important; min-height: 36px !important; max-height: 36px !important;
        padding: 0 !important; border: 0 !important;
        background: transparent !important; box-shadow: none !important;
    }
    .woocreate-mobile-text-actionbar__button.is-active,
    .woocreate-mobile-text-actionbar__button.is-active:hover,
    .woocreate-mobile-text-actionbar__button.is-active:focus,
    .woocreate-mobile-text-actionbar__button.is-active:active {
        background: #e2e2e2 !important;
    }
    .woocreate-mobile-text-actionbar__button .bi {
        width: 36px !important; height: 36px !important;
        max-width: 36px !important; max-height: 36px !important;
        fill: #000 !important; color: #000 !important;
    }
    .woocreate-mobile-text-actionbar__bold {
        width: 36px !important; height: 36px !important;
        font-size: 34px !important; line-height: 36px !important;
        text-align: center !important;
        color: #000 !important; -webkit-text-fill-color: #000 !important;
    }
}
@media (max-width: 820px), (hover: none) and (pointer: coarse) and (prefers-color-scheme: dark) {
    .woocreate-mobile-text-actionbar__button .bi {
        fill: #fff !important; color: #fff !important;
    }
    .woocreate-mobile-text-actionbar__bold {
        color: #fff !important; -webkit-text-fill-color: #fff !important;
    }
    .woocreate-mobile-text-actionbar__button.is-active,
    .woocreate-mobile-text-actionbar__button.is-active:hover,
    .woocreate-mobile-text-actionbar__button.is-active:focus,
    .woocreate-mobile-text-actionbar__button.is-active:active {
        background: #4a4a4a !important;
    }
}

/* Definitieve 1.0.7.5-cascade: desktopvelden blijven verborgen en de
   werkelijk gerenderde sheet bepaalt licht/donker. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-designer.is-mobile-text-sheet-open
    [data-designer-properties] > .woocreate-mobile-text-format,
    .woocreate-designer.is-mobile-text-sheet-open
    [data-designer-properties] > .woocreate-mobile-text-size {
        display: none !important; visibility: hidden !important;
        position: static !important;
        width: 0 !important; height: 0 !important;
        min-width: 0 !important; min-height: 0 !important;
        margin: 0 !important; padding: 0 !important;
        overflow: hidden !important; pointer-events: none !important;
    }
    .woocreate-mobile-text-actionbar:not(.is-rendered-dark) {
        background: #fff !important; color: #000 !important;
    }
    .woocreate-mobile-text-actionbar:not(.is-rendered-dark)
    .woocreate-mobile-text-actionbar__button .bi {
        fill: #000 !important; color: #000 !important;
    }
    .woocreate-mobile-text-actionbar:not(.is-rendered-dark)
    .woocreate-mobile-text-actionbar__bold {
        color: #000 !important; -webkit-text-fill-color: #000 !important;
    }
    .woocreate-mobile-text-actionbar:not(.is-rendered-dark)
    .woocreate-mobile-text-actionbar__button.is-active {
        background: #e2e2e2 !important;
    }
    .woocreate-mobile-text-actionbar.is-rendered-dark {
        background: #151515 !important; color: #fff !important;
    }
    .woocreate-mobile-text-actionbar.is-rendered-dark
    .woocreate-mobile-text-actionbar__button .bi {
        fill: #fff !important; color: #fff !important;
    }
    .woocreate-mobile-text-actionbar.is-rendered-dark
    .woocreate-mobile-text-actionbar__bold {
        color: #fff !important; -webkit-text-fill-color: #fff !important;
    }
    .woocreate-mobile-text-actionbar.is-rendered-dark
    .woocreate-mobile-text-actionbar__button.is-active {
        background: #4a4a4a !important;
    }
}

/* 1.0.8.0: uniforme mobiele sheets. Alleen de sheet-containers worden
   rechtgetrokken; inhoud, knoppen, modals en swipe-logica blijven intact. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-designer.is-mobile-order-sheet-open .woocreate-designer__properties,
    .woocreate-designer.is-mobile-upload-sheet-open .woocreate-designer__properties,
    .woocreate-designer.is-mobile-text-sheet-open .woocreate-designer__properties,
    .woocreate-designer.is-mobile-layers-sheet-open .woocreate-designer__properties,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-designer__properties,
    .woocreate-mobile-menu,
    .woocreate-product-option__menu,
    .woocreate-product-option__menu--colours,
    .woocreate-product-option__menu--sides,
    .woocreate-price-help__popover {
        border-radius: 0 !important;
        box-shadow: none !important;
        filter: none !important;
    }

    /* De onzichtbare swipe-zone blijft in de DOM en behoudt alle events. */
    .woocreate-mobile-sheet-handle,
    .woocreate-designer__properties > .woocreate-mobile-sheet-handle {
        opacity: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    .woocreate-mobile-sheet-handle::before,
    .woocreate-designer__properties > .woocreate-mobile-sheet-handle::before {
        display: none !important;
        content: none !important;
        box-shadow: none !important;
    }
}

/* 1.0.12.0: AI Studio heeft mobiel een volledig geïsoleerde werkruimte.
 * Alleen de presentatie verandert; de inhoud en bediening blijven afkomstig
 * uit dezelfde AI Studio-renderer als op desktop. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-designer__properties {
        position: fixed;
        inset: auto 0 var(--wc-mobile-bar);
        z-index: 270;
        display: grid;
        grid-template-rows: minmax(0, 1fr);
        width: 100dvw;
        min-width: 0;
        max-width: 100dvw;
        height: calc(100dvh - (2 * var(--wc-mobile-bar)));
        min-height: 0;
        max-height: calc(100dvh - (2 * var(--wc-mobile-bar)));
        margin: 0;
        padding: 18px;
        overflow: hidden;
        box-sizing: border-box;
        border: 0;
        border-radius: 0;
        background: #fff;
        color: #111;
        box-shadow: none;
        filter: none;
        isolation: isolate;
        contain: layout paint;
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-designer__properties > h2,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-mobile-sheet-close,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-mobile-sheet-done {
        display: none !important;
    }

    .woocreate-designer.is-mobile-ai-sheet-open [data-designer-properties-panel] {
        display: block !important;
        width: 100%;
        min-width: 0;
        height: 100%;
        min-height: 0;
        padding: 0;
        overflow: hidden;
        box-sizing: border-box;
    }

    .woocreate-designer.is-mobile-ai-sheet-open [data-designer-properties] {
        display: block !important;
        width: 100%;
        min-width: 0;
        height: 100%;
        min-height: 0 !important;
        max-height: none !important;
        padding: 0 2px 0 0;
        overflow-x: hidden;
        overflow-y: hidden;
        box-sizing: border-box;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio * {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio {
        display: grid;
        grid-template-areas:
            "visual"
            "field"
            "options"
            "generate";
        grid-template-rows: minmax(52px, 1fr) auto auto auto;
        gap: 8px;
        width: 100%;
        height: 100%;
        min-height: 0;
        padding: 0 0 max(4px, env(safe-area-inset-bottom));
        overflow: hidden;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio.has-result {
        grid-template-areas: "visual";
        grid-template-rows: minmax(0, 1fr);
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio.has-result
    > .woocreate-ai-studio__photo,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio.has-result
    > .woocreate-ai-studio__field,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio.has-result
    > .woocreate-ai-studio__options,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio.has-result
    > .woocreate-ai-studio__generate {
        display: none !important;
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__photo {
        grid-area: visual;
        align-self: start;
        gap: 6px;
        max-height: 27dvh;
        overflow: hidden;
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__photo-choose {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        min-height: 52px;
        padding: 10px 14px;
        font-weight: 500;
        text-align: left;
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__photo-choose .bi {
        flex: 0 0 26px;
        width: 26px;
        height: 26px;
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__photo-preview-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 48px;
        align-items: center;
        gap: 12px;
        min-height: 0;
        padding-right: 12px;
        overflow: hidden;
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__photo-preview {
        width: 100%;
        height: min(20dvh, 150px);
        max-height: min(20dvh, 150px);
        object-fit: contain;
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__photo-remove {
        display: grid;
        place-items: center;
        width: 48px;
        min-width: 48px;
        height: 48px;
        min-height: 48px;
        padding: 0;
        border-color: #dc3545 !important;
        background: #fff !important;
        color: #dc3545 !important;
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__photo-remove .bi {
        width: 24px;
        height: 24px;
        fill: currentColor;
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__result {
        grid-area: visual;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
        min-height: 0;
        height: 100%;
        padding: 8px;
        overflow: hidden;
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__result[hidden] {
        display: none !important;
    }

    .woocreate-designer.is-mobile-ai-sheet-open
    .woocreate-ai-studio__result [data-ai-studio-result] {
        display: grid;
        grid-template-rows: minmax(0, 1fr) auto auto auto;
        gap: 5px;
        min-height: 0;
        height: 100%;
        overflow: hidden;
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__preview {
        width: 100%;
        height: 100%;
        min-height: 0;
        max-height: 100%;
        object-fit: contain;
        cursor: pointer;
        touch-action: manipulation;
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__preview:focus-visible {
        outline: 2px solid #0275d8;
        outline-offset: 2px;
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__field {
        grid-area: field;
        gap: 4px;
    }

    .woocreate-designer.is-mobile-ai-sheet-open
    .woocreate-ai-studio__input-wrap textarea {
        min-height: clamp(145px, 22dvh, 190px);
        max-height: clamp(145px, 22dvh, 190px);
        font-size: 16px !important;
        line-height: 1.35;
        resize: none;
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__options {
        grid-area: options;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .woocreate-designer.is-mobile-ai-sheet-open
    .woocreate-ai-studio__option:first-child {
        grid-column: 1 / -1;
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__option select {
        min-height: 45px;
        padding-top: 5px;
        padding-bottom: 5px;
        font-size: 16px !important;
    }

    /* iOS Safari zoomt de volledige pagina zodra een gefocust formulier-
       element kleiner is dan 16 px. Dat maakte na AI Studio ook de designer
       zelf groter en schoof de vaste bovenbalk buiten beeld. */
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio button,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio input {
        font-size: 16px !important;
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__generate,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__use-design {
        min-height: 50px;
        margin-top: 0;
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__generate {
        grid-area: generate;
    }

    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__change-source,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__add-feedback {
        min-height: 0;
        margin: 0 !important;
        padding: 2px 0;
        line-height: 1.2;
    }

    /* De swipe-zone blijft functioneel, maar is conform de afspraak volledig
       onzichtbaar en reserveert geen zichtbare vorm of schaduw. */
    .woocreate-designer.is-mobile-ai-sheet-open
    .woocreate-designer__properties > .woocreate-mobile-sheet-handle {
        opacity: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}

@media (max-width: 820px) and (prefers-color-scheme: dark),
       (hover: none) and (pointer: coarse) and (prefers-color-scheme: dark) {
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-designer__properties {
        background: #151515;
        color: #fff;
    }
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__intro,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__example,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__photo-intro,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__photo-note,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__photo-name,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__add-feedback {
        color: #c8cdd3;
    }
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__field > label,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__description-heading > label,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__status h3,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__result h3,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__photo h3,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__option > span {
        color: #fff;
    }
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__result {
        border-color: #555;
        background: #202020;
        color: #fff;
    }
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio textarea,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio select,
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__photo-button {
        border-color: #555 !important;
        background-color: #202020 !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
    .woocreate-designer.is-mobile-ai-sheet-open .woocreate-ai-studio__photo-remove {
        border-color: #ff5a67 !important;
        background: #202020 !important;
        color: #ff5a67 !important;
        -webkit-text-fill-color: #ff5a67 !important;
    }
}

/* 1.0.8.3: definitieve Preview-cascade. Deze staat na alle historische
   mobiele regels zodat Preview uitsluitend als eigen bottom-sheet rendert. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-designer [data-mobile-proxy="preview"],
    .woocreate-designer [data-mobile-proxy="preview"]:hover,
    .woocreate-designer [data-mobile-proxy="preview"]:focus,
    .woocreate-designer [data-mobile-proxy="preview"]:active {
        background: #0275d8 !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
    .woocreate-designer [data-mobile-proxy="preview"] svg {
        color: #fff !important;
        fill: currentColor !important;
    }
    .woocreate-product-preview {
        position: fixed !important;
        inset: var(--wc-mobile-bar) 0 var(--wc-mobile-bar) !important;
        z-index: 100090 !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: stretch !important;
        overflow: hidden !important;
        background: rgb(0 0 0 / 10%) !important;
    }
    .woocreate-product-preview[hidden] { display: none !important; }
    .woocreate-product-preview__dialog {
        position: relative !important;
        inset: auto !important;
        width: 100dvw !important;
        min-width: 100dvw !important;
        max-width: 100dvw !important;
        height: min(72dvh, 720px) !important;
        min-height: 0 !important;
        max-height: min(72dvh, 720px) !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
        box-sizing: border-box !important;
    }
    .woocreate-product-preview__dialog > header { display: none !important; }
    .woocreate-product-preview__content {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        padding: 14px 16px 10px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    .woocreate-product-preview__mobile-frame {
        display: grid !important;
        grid-template-rows: minmax(0, 1fr) auto !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        overflow: hidden !important;
        touch-action: none !important;
    }
    .woocreate-product-preview__mobile-stage {
        display: grid !important;
        place-items: center !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }
    .woocreate-product-preview__card {
        width: min(100%, 430px) !important;
        height: 100% !important;
        min-height: 0 !important;
        margin: 0 auto !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }
    .woocreate-product-preview__card > h3 { display: none !important; }
    .woocreate-product-preview__visual {
        width: auto !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        aspect-ratio: 4 / 5 !important;
        margin: 0 auto !important;
    }
    .woocreate-product-preview__mobile-navigation {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        padding-top: 10px !important;
    }
    .woocreate-product-preview__mobile-actions {
        display: contents !important;
    }
    .woocreate-product-preview__mobile-actions button {
        width: 100% !important;
        min-height: 48px !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }
    .woocreate-product-preview__mobile-actions button[hidden] {
        display: block !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    .woocreate-product-preview__side-name {
        grid-column: 1 / -1 !important;
        margin: 0 !important;
        padding: 2px 0 0 !important;
        text-align: center !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
    }
}
@media (max-width: 820px), (hover: none) and (pointer: coarse) and (prefers-color-scheme: dark) {
    .woocreate-product-preview__dialog {
        background: #151515 !important;
        color: #fff !important;
    }
    .woocreate-product-preview__side-name,
    .woocreate-product-preview__mobile-actions button {
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
    .woocreate-product-preview__mobile-actions button {
        border-color: #666 !important;
        background: #242424 !important;
    }
}

/* Definitieve 1.0.8.4-cascade: bewust als laatste in dit bestand. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-product-preview
    .woocreate-product-preview__mobile-stage
    .woocreate-product-preview__visual {
        width: min(100%, calc((100dvh - 80px) * 0.8)) !important;
    }
    .woocreate-product-preview {
        inset: 0 !important;
        width: 100dvw !important;
        height: 100dvh !important;
        padding: 0 !important;
        align-items: stretch !important;
        background: #fff !important;
    }
    .woocreate-product-preview__dialog {
        width: 100dvw !important;
        min-width: 100dvw !important;
        max-width: 100dvw !important;
        height: 100dvh !important;
        min-height: 100dvh !important;
        max-height: 100dvh !important;
        background: #fff !important;
    }
    .woocreate-product-preview__content {
        width: 100dvw !important;
        height: 100dvh !important;
        padding: max(16px, env(safe-area-inset-top)) 16px
            max(12px, env(safe-area-inset-bottom)) !important;
    }
    .woocreate-product-preview__mobile-frame {
        grid-template-rows: minmax(0, 1fr) 32px !important;
        gap: 8px !important;
    }
    .woocreate-product-preview__mobile-stage,
    .woocreate-product-preview__mobile-stage .woocreate-product-preview__side {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .woocreate-product-preview__mobile-stage .woocreate-product-preview__side {
        display: grid !important;
        place-items: center !important;
        gap: 0 !important;
    }
    .woocreate-product-preview__mobile-stage .woocreate-product-preview__visual {
        display: block !important;
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 100% !important;
        aspect-ratio: 4 / 5 !important;
        margin: auto !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-size: contain !important;
    }
    .woocreate-product-preview__mobile-navigation {
        display: grid !important;
        grid-template-columns: 1fr !important;
        place-items: center !important;
        min-height: 32px !important;
        padding: 0 !important;
    }
    .woocreate-product-preview__mobile-actions,
    .woocreate-product-preview__previous,
    .woocreate-product-preview__next {
        display: none !important;
    }
    .woocreate-product-preview__side-name {
        grid-column: 1 !important;
        min-height: 24px !important;
        padding: 0 !important;
        color: #111 !important;
        -webkit-text-fill-color: #111 !important;
        font-size: 16px !important;
        line-height: 24px !important;
    }
    .woocreate-product-preview__placement,
    .woocreate-product-preview__placement > img {
        visibility: visible !important;
        opacity: 1 !important;
    }
}
@media (max-width: 820px), (hover: none) and (pointer: coarse) and (prefers-color-scheme: dark) {
    .woocreate-product-preview,
    .woocreate-product-preview__dialog {
        background: #151515 !important;
    }
    .woocreate-product-preview__side-name {
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
}

/* 2.0.0.33: authoritative mobile-only icon contrast and Voorbeeld styling. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-designer.woocreate-ui-theme-dark .woocreate-mobile-app .woocreate-mobile-product-color-icon,
    .woocreate-designer.woocreate-ui-theme-dark .woocreate-mobile-app .woocreate-mobile-ai-studio-icon,
    .woocreate-designer.woocreate-ui-theme-dark .woocreate-mobile-app .woocreate-mobile-print-side-icon {
        filter: brightness(0) invert(1) !important;
    }

    .woocreate-designer .woocreate-mobile-app [data-mobile-proxy="preview"],
    .woocreate-designer .woocreate-mobile-app [data-mobile-proxy="preview"]:hover,
    .woocreate-designer .woocreate-mobile-app [data-mobile-proxy="preview"]:focus,
    .woocreate-designer .woocreate-mobile-app [data-mobile-proxy="preview"]:focus-visible,
    .woocreate-designer .woocreate-mobile-app [data-mobile-proxy="preview"]:active,
    .woocreate-designer .woocreate-mobile-app [data-mobile-proxy="preview"].is-active {
        border: 1px solid #000 !important;
        background: #0FFF50 !important;
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
    }

    .woocreate-designer .woocreate-mobile-app [data-mobile-proxy="preview"] .woocreate-mobile-preview-icon {
        filter: brightness(0) saturate(100%) !important;
    }

    .woocreate-designer .woocreate-mobile-app [data-mobile-proxy="preview"] svg,
    .woocreate-designer .woocreate-mobile-app [data-mobile-proxy="preview"] span {
        color: #000 !important;
        fill: currentColor !important;
        -webkit-text-fill-color: #000 !important;
    }
}

@media (max-width: 820px) and (prefers-color-scheme: dark),
       (hover: none) and (pointer: coarse) and (prefers-color-scheme: dark) {
    .woocreate-designer:not(.woocreate-ui-themed) .woocreate-mobile-app .woocreate-mobile-product-color-icon,
    .woocreate-designer:not(.woocreate-ui-themed) .woocreate-mobile-app .woocreate-mobile-ai-studio-icon,
    .woocreate-designer:not(.woocreate-ui-themed) .woocreate-mobile-app .woocreate-mobile-print-side-icon {
        filter: brightness(0) invert(1) !important;
    }
}
