.woocreate-designer {
    --wc-border: #dcdcde;
    --wc-panel: #ffffff;
    --wc-background: #f0f0f1;
    --wc-stage: #e8eaed;
    --wc-accent: #2271b1;

    overflow: hidden;
    width: 100%;
    min-height: 680px;
    border: 1px solid var(--wc-border);
    border-radius: 8px;
    background: var(--wc-background);
    box-sizing: border-box;
}

.woocreate-designer *,
.woocreate-designer *::before,
.woocreate-designer *::after {
    box-sizing: border-box;
}

.woocreate-designer__beta-footer {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2px;
    margin-top: auto;
    padding: 18px 0 2px;
    border: 0;
    background: transparent;
    color: #646970;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    max-width: 100%;
    white-space: normal;
}

.woocreate-designer__beta-footer > span,
.woocreate-designer__beta-footer > a {
    display: block;
    max-width: 100%;
}

.woocreate-designer__beta-footer a {
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.woocreate-designer__beta-footer a:hover,
.woocreate-designer__beta-footer a:focus {
    color: var(--wc-accent);
}

.woocreate-designer__branding-footer--mobile {
    margin-top: 24px;
    padding-top: 16px;
}

.woocreate-desktop-whatsapp-space {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 24px;
}

.woocreate-desktop-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    max-width: 100%;
    color: var(--woocreate-whatsapp-icon-color, #25d366);
    text-align: center;
    text-decoration: none;
}

.woocreate-designer .woocreate-desktop-whatsapp .bi {
    width: var(--woocreate-whatsapp-icon-size, 32px) !important;
    height: var(--woocreate-whatsapp-icon-size, 32px) !important;
    flex: 0 0 auto;
    fill: currentColor;
}

.woocreate-desktop-whatsapp__label,
.woocreate-desktop-whatsapp__label * {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
}

.woocreate-desktop-whatsapp:hover,
.woocreate-desktop-whatsapp:focus {
    color: var(--woocreate-whatsapp-icon-color, #25d366);
}

@media (max-width: 760px) {
    .woocreate-desktop-whatsapp-space { display: none !important; }
}

@media (min-width: 761px) {
    .woocreate-designer__toolbar {
        display: flex;
        flex-direction: column;
    }
}

.woocreate-designer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--wc-border);
    background: var(--wc-panel);
}

.woocreate-designer__version {
    margin-left: 8px;
    color: #646970;
    font-size: 12px;
}

.woocreate-designer__history {
    display: flex;
    gap: 8px;
}

.woocreate-designer__workspace {
    display: grid;
    grid-template-columns: 190px minmax(320px, 1fr) 230px;
    min-height: 540px;
}

.woocreate-designer__toolbar,
.woocreate-designer__properties {
    padding: 18px;
    background: var(--wc-panel);
}

.woocreate-designer__toolbar {
    border-right: 1px solid var(--wc-border);
}

.woocreate-designer__properties {
    border-left: 1px solid var(--wc-border);
}

.woocreate-designer h2 {
    margin: 0 0 14px;
    font-size: 14px;
}

.woocreate-designer__toolbar button {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    padding: 10px 12px;
    border: 1px solid var(--wc-border);
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    text-align: left;
}

.woocreate-designer__toolbar button:hover,
.woocreate-designer__toolbar button:focus {
    border-color: var(--wc-accent);
    outline: none;
    box-shadow: 0 0 0 1px var(--wc-accent);
}

.woocreate-designer__stage {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 24px;
    background: var(--wc-stage);
}

.woocreate-designer__canvas {
    display: grid;
    flex: 1;
    min-height: 430px;
    place-items: center;
    padding: 24px;
    border-radius: 6px;
    background-image:
        linear-gradient(45deg, #d9dce0 25%, transparent 25%),
        linear-gradient(-45deg, #d9dce0 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #d9dce0 75%),
        linear-gradient(-45deg, transparent 75%, #d9dce0 75%);
    background-position: 0 0, 0 10px, 10px -10px, -10px 0;
    background-size: 20px 20px;
}

.woocreate-designer__product {
    display: grid;
    width: min(420px, 90%);
    aspect-ratio: 4 / 5;
    place-items: center;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
}

.woocreate-designer__print-area {
    display: grid;
    width: 56%;
    height: 62%;
    place-items: center;
    border: 2px dashed #8c8f94;
    color: #646970;
    font-size: 14px;
}

.woocreate-designer__status {
    padding-top: 12px;
    color: #50575e;
    font-size: 13px;
}

.woocreate-designer__layers {
    padding: 14px 18px;
    border-top: 1px solid var(--wc-border);
    background: var(--wc-panel);
}

.woocreate-designer__layers h2 {
    display: inline-block;
    margin-right: 14px;
}

.woocreate-designer__empty-layer {
    display: inline-block;
    color: #646970;
}

@media (max-width: 900px) {
    .woocreate-designer__workspace {
        grid-template-columns: 150px minmax(260px, 1fr);
    }

    .woocreate-designer__properties {
        display: none;
    }
}

@media (max-width: 640px) {
    .woocreate-designer {
        min-height: 0;
    }

    .woocreate-designer__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .woocreate-designer__workspace {
        display: block;
        min-height: 0;
    }

    .woocreate-designer__toolbar {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        border-right: 0;
        border-bottom: 1px solid var(--wc-border);
    }

    .woocreate-designer__toolbar h2 {
        display: none;
    }

    .woocreate-designer__toolbar button {
        width: auto;
        min-width: 110px;
        margin: 0;
    }

    .woocreate-designer__stage {
        padding: 14px;
    }

    .woocreate-designer__canvas {
        min-height: 360px;
        padding: 14px;
    }
}

/* WooCreate 0.4.1.8.19-alpha — echte WooCommerce-productcontext */
.woocreate-designer-unavailable {
    padding: 16px;
    border-left: 4px solid #dba617;
    background: #fff8e5;
}

.woocreate-product-side {
    display: grid;
    gap: 7px;
    margin-top: 14px;
}

.woocreate-product-side > span,
.woocreate-product-color > span {
    font-size: 13px;
    font-weight: 700;
}

.woocreate-product-side select {
    width: 100%;
    min-height: 42px;
    padding: 7px 30px 7px 10px;
    border: 1px solid #ced4da;
    background: #fff;
}

.woocreate-designer .woocreate-designer__product {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.woocreate-designer .woocreate-designer__print-area {
    position: absolute;
    margin: 0;
}

.woocreate-designer__size-row {
    grid-template-columns: minmax(54px, 1fr) minmax(90px, 120px);
}

.woocreate-designer__size-row small {
    grid-column: 1 / -1;
    margin-top: -7px;
    color: #646970;
    font-size: 11px;
}

.woocreate-designer__size-row input:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.woocreate-cart-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}


.woocreate-designer__print-area {
    position: relative;
    overflow: hidden;
    touch-action: none;
}

.woocreate-designer__placeholder {
    pointer-events: none;
    user-select: none;
}

.woocreate-designer__object {
    position: absolute;
    z-index: 2;
    cursor: move;
    user-select: none;
    touch-action: none;
}

.woocreate-designer__object.is-selected {
    outline: 2px solid var(--wc-accent);
    outline-offset: 3px;
}

.woocreate-designer__object--text {
    min-width: 80px;
    max-width: 90%;
    padding: 6px 8px;
    color: #1d2327;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.woocreate-designer__object--shape {
    width: 90px;
    height: 70px;
    border-radius: 4px;
}

.woocreate-designer__object--image {
    width: 130px;
    max-width: 80%;
}

.woocreate-designer__object--image img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.woocreate-designer__properties input[type="text"],
.woocreate-designer__properties input[type="color"] {
    display: block;
    margin: 10px 0 16px;
}

.woocreate-designer__delete {
    display: block;
    margin-top: 18px;
}

.woocreate-designer__layers [data-designer-layers] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.woocreate-designer__layer {
    padding: 6px 10px;
    border: 1px solid var(--wc-border);
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.woocreate-designer__layer.is-active {
    border-color: var(--wc-accent);
    color: var(--wc-accent);
    box-shadow: 0 0 0 1px var(--wc-accent);
}


.woocreate-designer__object {
    transform-origin: center center;
}

.woocreate-designer__property {
    display: block;
    margin: 0 0 16px;
}

.woocreate-designer__property > span {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.woocreate-designer__property input[type="range"] {
    width: 100%;
}

.woocreate-designer__layer-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.woocreate-designer__layer-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.woocreate-designer__layer-row .woocreate-designer__layer {
    flex: 1;
}

.woocreate-designer__layer-action {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid var(--wc-border);
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.woocreate-designer__layer-action:disabled {
    cursor: default;
    opacity: 0.35;
}


.woocreate-designer__text-input {
    min-height: 118px;
    resize: vertical;
    font-family: inherit;
}

.woocreate-designer__object--text {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    max-width: 84%;
    padding: 8px 12px;
    text-align: center;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}


.woocreate-designer__upload {
    display: inline-flex;
    align-items: center;
    align-self: center;
    gap: 10px;
    margin-top: 14px;
    padding: 10px 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #1d1d1f;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.woocreate-designer__upload[hidden] {
    display: none;
}

.woocreate-designer__spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(29, 29, 31, 0.16);
    border-top-color: #1d1d1f;
    border-radius: 50%;
    animation: woocreate-spinner 0.72s linear infinite;
}

@keyframes woocreate-spinner {
    to {
        transform: rotate(360deg);
    }
}

.woocreate-designer [data-designer-tool="image"][aria-busy="true"] {
    cursor: wait;
    opacity: 0.62;
}


.woocreate-designer__delete {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #dc3545;
    border-radius: 6px;
    background: #ffffff;
    color: #dc3545;
    font-weight: 700;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}
.woocreate-designer__delete:hover,
.woocreate-designer__delete:focus { background:#dc3545; color:#fff; border-color:#dc3545; }
.woocreate-designer__delete.is-busy,
.woocreate-designer__delete:disabled { position:relative; cursor:wait; opacity:.78; padding-left:42px; background:#fff5f5; color:#dc3545; border-color:#dc3545; }
.woocreate-designer__delete.is-busy::before { content:""; position:absolute; left:16px; top:50%; width:16px; height:16px; margin-top:-8px; border:2px solid rgba(220,53,69,.20); border-top-color:#dc3545; border-radius:50%; animation:woocreate-spinner .72s linear infinite; }
.woocreate-designer__object.is-deleting { opacity:.48; filter:saturate(.4); pointer-events:none; }
.woocreate-designer__layer.is-busy { position:relative; cursor:wait; opacity:.62; padding-right:34px; }
.woocreate-designer__layer.is-busy::after { content:""; position:absolute; right:10px; top:50%; width:14px; height:14px; margin-top:-7px; border:2px solid rgba(220,53,69,.18); border-top-color:#dc3545; border-radius:50%; animation:woocreate-spinner .72s linear infinite; }


/* WooCreate 0.4.0-alpha UI */
.woocreate-designer {
    --wc-primary: #0d6efd;
    --wc-primary-dark: #0b5ed7;
    --wc-danger: #dc3545;
    --wc-border: #dee2e6;
    --wc-muted: #6c757d;
    --wc-panel: #ffffff;
    --wc-soft: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(33, 37, 41, 0.10);
}

.woocreate-designer__header {
    min-height: 72px;
    padding: 16px 22px;
}

.woocreate-designer__toolbar,
.woocreate-designer__properties,
.woocreate-designer__layers {
    background: var(--wc-panel);
}

.woocreate-designer__toolbar button,
.woocreate-designer__layer,
.woocreate-designer__layer-action,
.woocreate-designer__layer-controls .button {
    border-radius: 7px;
    transition:
        border-color 150ms ease,
        background-color 150ms ease,
        color 150ms ease,
        box-shadow 150ms ease;
}

.woocreate-designer__toolbar button:hover,
.woocreate-designer__layer:hover,
.woocreate-designer__layer-action:hover {
    border-color: var(--wc-primary);
    color: var(--wc-primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.10);
}

.woocreate-designer__layer.is-active {
    border-color: var(--wc-primary);
    color: var(--wc-primary);
    background: #eef5ff;
    box-shadow: 0 0 0 1px var(--wc-primary);
}

.woocreate-designer__object-title {
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--wc-border);
    font-size: 16px;
}

.woocreate-designer__property {
    display: block;
    margin: 0 0 18px;
}

.woocreate-designer__property > span,
.woocreate-designer__section-label {
    display: block;
    margin-bottom: 7px;
    color: #343a40;
    font-size: 13px;
    font-weight: 700;
}

.woocreate-designer__property select,
.woocreate-designer__property textarea {
    min-height: 42px;
    border-color: #ced4da;
    border-radius: 7px;
}

.woocreate-designer__text-input {
    min-height: 120px !important;
    resize: vertical;
}

.woocreate-color-palette {
    display: grid;
    grid-template-columns: repeat(6, minmax(24px, 1fr));
    gap: 8px;
    margin: 0 0 20px;
}

.woocreate-color-palette__color {
    width: 100%;
    aspect-ratio: 1;
    min-height: 30px;
    padding: 0;
    border: 1px solid rgba(33, 37, 41, 0.18);
    border-radius: 6px;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    transition:
        transform 130ms ease,
        box-shadow 130ms ease,
        border-color 130ms ease;
}

.woocreate-color-palette__color:hover {
    transform: translateY(-1px);
    border-color: #212529;
    box-shadow: 0 5px 14px rgba(33, 37, 41, 0.18);
}

.woocreate-color-palette__color.is-selected {
    border-color: var(--wc-primary);
    box-shadow:
        0 0 0 3px rgba(13, 110, 253, 0.24),
        inset 0 0 0 2px #ffffff;
}

.woocreate-color-palette__color.is-light {
    border-color: #adb5bd;
}

.woocreate-designer__delete {
    width: 100%;
    min-height: 42px;
    margin-top: 20px;
    border: 1px solid var(--wc-danger);
    border-radius: 7px;
    background: #fff;
    color: var(--wc-danger);
    font-weight: 700;
}

.woocreate-designer__delete:hover {
    background: var(--wc-danger);
    color: #fff;
}

.woocreate-designer__object--text {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    max-width: 84%;
    padding: 8px 12px;
    color: #6c757d;
    font-family: "Roboto", Arial, sans-serif;
    text-align: center;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .woocreate-color-palette {
        grid-template-columns: repeat(6, 34px);
    }
}


/* WooCreate 0.4.0.1-alpha UI */
.woocreate-designer,
.woocreate-designer__product,
.woocreate-designer__canvas,
.woocreate-designer__toolbar button,
.woocreate-designer__layer,
.woocreate-designer__layer-action,
.woocreate-designer__delete,
.woocreate-designer__upload,
.woocreate-control,
.woocreate-font-select__button,
.woocreate-color-select__button,
.woocreate-font-select__menu,
.woocreate-color-select__menu,
.woocreate-font-select__option,
.woocreate-color-select__option {
    border-radius: 0 !important;
}

.woocreate-control,
.woocreate-designer__toolbar button,
.woocreate-designer__layer-controls .button,
.woocreate-designer__delete {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    background: #fff;
    color: #212529;
    font-size: 15px;
    line-height: 1.2;
    box-sizing: border-box;
}

.woocreate-designer__toolbar button {
    display: flex;
    align-items: center;
    min-height: 56px;
    font-weight: 700;
}

.woocreate-designer__property {
    position: relative;
    margin-bottom: 18px;
}

.woocreate-designer__property > span {
    margin-bottom: 7px;
}

.woocreate-designer__text-input {
    min-height: 132px !important;
    resize: vertical;
}

.woocreate-font-select,
.woocreate-color-select {
    position: relative;
}

.woocreate-font-select__button,
.woocreate-color-select__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
}

.woocreate-font-select__button::after,
.woocreate-color-select__button::after {
    content: "▾";
    margin-left: 12px;
    font-family: Arial, sans-serif;
    font-size: 12px;
}

.woocreate-font-select__menu,
.woocreate-color-select__menu {
    position: absolute;
    z-index: 30;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #ced4da;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.woocreate-font-select__option,
.woocreate-color-select__option {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-bottom: 1px solid #eef0f2;
    background: #fff;
    color: #212529;
    text-align: left;
    cursor: pointer;
}

.woocreate-font-select__option:hover,
.woocreate-color-select__option:hover,
.woocreate-font-select__option.is-selected,
.woocreate-color-select__option.is-selected {
    background: #eef5ff;
    color: #0d6efd;
}

.woocreate-color-select__swatch {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border: 1px solid rgba(0, 0, 0, 0.18);
}

.woocreate-designer__layer-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.woocreate-designer__delete {
    border-color: #dc3545;
    color: #dc3545;
    font-weight: 700;
}

.woocreate-designer__object--text {
    width: auto !important;
    min-width: 120px;
    max-width: 84%;
    padding: 8px 12px;
}


/* WooCreate 0.4.0.2-alpha — canvasruimte, zoom en iconen */
.woocreate-designer__workspace {
    grid-template-columns: 220px minmax(520px, 1fr) 320px;
    min-height: 790px;
}

.woocreate-designer__stage {
    position: relative;
    align-items: center;
    min-width: 0;
    padding: 28px 24px 18px;
    overflow: auto;
    background: #f4f5f6;
}

.woocreate-designer__canvas {
    display: flex;
    flex: 1 0 auto;
    width: 100%;
    min-height: 680px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: visible;
    background: none !important;
}

.woocreate-designer__product {
    --woocreate-canvas-zoom: 1;
    position: relative;
    z-index: 1;
    display: grid;
    width: min(620px, 92%);
    aspect-ratio: 4 / 5;
    place-items: center;
    border-radius: 0 !important;
    background: #fff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
    transform: scale(var(--woocreate-canvas-zoom));
    transform-origin: center center;
    transition: transform 160ms ease;
}

.woocreate-designer__product.is-pinching {
    transition: none;
}

.woocreate-designer__product::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -22px;
    background-image:
        linear-gradient(45deg, #dfe2e5 25%, transparent 25%),
        linear-gradient(-45deg, #dfe2e5 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #dfe2e5 75%),
        linear-gradient(-45deg, transparent 75%, #dfe2e5 75%);
    background-position: 0 0, 0 11px, 11px -11px, -11px 0;
    background-size: 22px 22px;
}

.woocreate-designer__print-area {
    width: 70%;
    height: 72%;
    border: 2px dashed #8c8f94;
}

.woocreate-designer__zoom {
    display: inline-grid;
    grid-template-columns: 42px 74px 42px;
    min-height: 42px;
    margin: 12px auto 0;
    border: 1px solid #ced4da;
    background: #fff;
}

.woocreate-designer__zoom button,
.woocreate-designer__zoom output {
    display: grid;
    min-width: 0;
    min-height: 40px;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-right: 1px solid #ced4da;
    border-radius: 0 !important;
    background: #fff;
    color: #212529;
    font-size: 17px;
    line-height: 1;
}

.woocreate-designer__zoom button:last-child {
    border-right: 0;
}

.woocreate-designer__zoom button {
    cursor: pointer;
}

.woocreate-designer__zoom button:hover:not(:disabled) {
    background: #eef5ff;
    color: #0d6efd;
}

.woocreate-designer__zoom button:disabled {
    cursor: default;
    opacity: 0.38;
}

.woocreate-designer__zoom output {
    font-size: 13px;
    font-weight: 700;
}

.woocreate-designer__toolbar button {
    display: flex !important;
    align-items: center;
    gap: 12px;
}

.woocreate-tool-icon {
    display: inline-grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
}

.woocreate-tool-icon svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.woocreate-designer__properties {
    overflow: visible;
}

@media (max-width: 1100px) {
    .woocreate-designer__workspace {
        grid-template-columns: 180px minmax(420px, 1fr) 280px;
    }

    .woocreate-designer__product {
        width: min(540px, 90%);
    }
}

@media (max-width: 900px) {
    .woocreate-designer__workspace {
        grid-template-columns: 160px minmax(380px, 1fr);
    }

    .woocreate-designer__canvas {
        min-height: 600px;
    }

    .woocreate-designer__product {
        width: min(500px, 88%);
    }
}


/* WooCreate 0.4.0.3-alpha — definitieve UI-richting */
.woocreate-designer {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid #d9dee5;
    background: #fff;
    box-shadow: none;
}

.woocreate-designer__header {
    min-height: 72px;
    padding: 14px 24px;
    background: #fff;
}

.woocreate-designer__product-summary {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 0;
    color: #212529;
}

.woocreate-designer__product-summary strong {
    overflow: hidden;
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.woocreate-designer__product-summary span {
    color: #5f6670;
}

.woocreate-designer__history {
    display: flex;
    gap: 12px;
}

.woocreate-icon-button {
    display: grid;
    width: 58px;
    height: 48px;
    place-items: center;
    padding: 0;
    border: 1px solid #ced4da;
    border-radius: 0;
    background: #fff;
    color: #212529;
    cursor: pointer;
}

.woocreate-icon-button:hover:not(:disabled),
.woocreate-icon-button:focus-visible {
    border-color: #0d6efd;
    color: #0d6efd;
    background: #eef5ff;
}

.woocreate-icon-button:disabled {
    cursor: default;
    opacity: 0.32;
}

.woocreate-icon-button svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.woocreate-designer__workspace {
    grid-template-columns:
        minmax(210px, 22%)
        minmax(460px, 1fr)
        minmax(280px, 29%);
    min-height: 760px;
    background: #fff;
}

.woocreate-designer__toolbar,
.woocreate-designer__properties {
    min-width: 0;
    padding: 24px;
    background: #fff;
}

.woocreate-designer__stage {
    min-width: 0;
    padding: 28px 20px 18px;
    overflow: auto;
    background: #fff !important;
}

.woocreate-designer__canvas {
    width: 100%;
    min-height: 650px;
    padding: 8px;
    background: #fff !important;
}

.woocreate-designer__product {
    width: min(560px, 90%);
    max-height: 650px;
    border: 1px solid #d9dee5;
    background: #fff;
}

.woocreate-designer__product::before {
    display: none !important;
}

.woocreate-designer__print-area {
    width: 68%;
    height: 72%;
}

.woocreate-designer__toolbar button {
    min-height: 68px;
    margin-bottom: 12px;
    padding: 14px 18px;
    border-color: #ced4da;
    background: #fff;
}

.woocreate-designer__toolbar button.is-active,
.woocreate-designer__toolbar button:focus {
    border-color: #0d6efd;
    color: #0d6efd;
    background: #eef5ff;
    box-shadow: 0 0 0 1px #0d6efd;
}

.woocreate-designer__toolbar .woocreate-ai-tool {
    border-color: #84df88;
    color: #2ebc4f;
    background: #f3fff4;
}

.woocreate-designer__toolbar .woocreate-ai-tool:hover,
.woocreate-designer__toolbar .woocreate-ai-tool:focus {
    border-color: #2ebc4f;
    color: #209c3d;
    background: #eaffed;
    box-shadow: 0 0 0 1px #2ebc4f;
}

.woocreate-designer__sizes {
    margin: 24px -24px -24px;
    padding: 22px 24px 24px;
    border-top: 1px solid #d9dee5;
}

.woocreate-designer__sizes-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.woocreate-designer__sizes-heading h3 {
    margin: 0;
    font-size: 14px;
}

.woocreate-info-button {
    display: grid;
    width: 20px !important;
    min-height: 20px !important;
    height: 20px;
    place-items: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #6c757d !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #495057 !important;
    font-size: 12px !important;
    line-height: 1 !important;
}

.woocreate-designer__size-list {
    display: grid;
    gap: 8px;
}

.woocreate-designer__size-row {
    display: grid;
    grid-template-columns: 1fr minmax(126px, 150px);
    align-items: center;
    gap: 12px;
    min-height: 38px;
}

.woocreate-designer__size-row input {
    width: 100%;
    min-height: 38px;
    padding: 6px 8px;
    border: 1px solid #ced4da;
    border-radius: 0;
    background: #fff;
    text-align: center;
}

.woocreate-designer__properties {
    overflow: visible;
}

.woocreate-designer__layers {
    padding: 18px 24px 24px;
    background: #fff;
}

.woocreate-designer__layers [data-designer-layers] {
    max-width: calc(71% - 12px);
}

.woocreate-designer__layer-row {
    min-height: 52px;
    padding: 5px 8px;
    border: 1px solid #d9dee5;
    background: #fff;
}

.woocreate-designer__layer {
    border: 0;
    box-shadow: none;
}

.woocreate-designer__zoom {
    margin-top: 10px;
}

.woocreate-designer__status {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding-top: 12px;
}

@media (max-width: 1180px) {
    .woocreate-designer__workspace {
        grid-template-columns:
            minmax(180px, 22%)
            minmax(400px, 1fr)
            minmax(260px, 30%);
    }

    .woocreate-designer__toolbar,
    .woocreate-designer__properties {
        padding: 18px;
    }

    .woocreate-designer__sizes {
        margin: 22px -18px -18px;
        padding: 20px 18px;
    }

    .woocreate-designer__product {
        width: min(500px, 92%);
    }
}

@media (max-width: 960px) {
    .woocreate-designer__workspace {
        grid-template-columns: 180px minmax(420px, 1fr);
    }

    .woocreate-designer__properties {
        display: none;
    }

    .woocreate-designer__layers [data-designer-layers] {
        max-width: 100%;
    }
}

@media (max-width: 720px) {
    .woocreate-designer__header {
        align-items: stretch;
    }

    .woocreate-designer__history {
        width: 100%;
    }

    .woocreate-icon-button {
        flex: 1;
    }

    .woocreate-designer__workspace {
        display: block;
    }

    .woocreate-designer__toolbar {
        display: block;
        overflow: visible;
        border-bottom: 1px solid #d9dee5;
    }

    .woocreate-designer__toolbar button {
        width: 100%;
        min-width: 0;
    }

    .woocreate-designer__canvas {
        min-height: 520px;
    }

    .woocreate-designer__product {
        width: min(440px, 95%);
    }
}


/* WooCreate 0.4.0.4-alpha — flat UI and sidebar-safe layout */
.woocreate-designer,
.woocreate-designer *,
.woocreate-designer *::before,
.woocreate-designer *::after {
    box-sizing: border-box;
}

.woocreate-designer {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d9dee5;
    background: #ffffff;
    box-shadow: none !important;
    filter: none !important;
}

.woocreate-designer__header,
.woocreate-designer__workspace,
.woocreate-designer__toolbar,
.woocreate-designer__stage,
.woocreate-designer__properties,
.woocreate-designer__layers,
.woocreate-designer__product,
.woocreate-designer__print-area,
.woocreate-designer__layer-row,
.woocreate-designer__layer,
.woocreate-designer__upload,
.woocreate-designer__zoom,
.woocreate-font-select__menu,
.woocreate-color-select__menu,
.woocreate-designer button,
.woocreate-designer input,
.woocreate-designer textarea,
.woocreate-designer select {
    box-shadow: none !important;
    filter: none !important;
}

.woocreate-designer__workspace {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns:
        minmax(190px, 20%)
        minmax(360px, 1fr)
        minmax(250px, 27%);
    overflow: hidden;
}

.woocreate-designer__toolbar,
.woocreate-designer__stage,
.woocreate-designer__properties {
    min-width: 0;
    max-width: 100%;
}

.woocreate-designer__stage {
    overflow: auto;
}

.woocreate-designer__canvas {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: auto;
}

.woocreate-designer__product {
    width: min(520px, calc(100% - 16px));
    max-width: 100%;
}

.woocreate-designer__properties {
    overflow-x: hidden;
    overflow-y: auto;
}

.woocreate-designer__properties *,
.woocreate-designer__toolbar *,
.woocreate-designer__layers * {
    max-width: 100%;
}

.woocreate-info-button {
    display: inline-grid !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    place-items: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #6c757d !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #495057 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

.woocreate-info-button svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.woocreate-designer__toolbar button:hover,
.woocreate-designer__toolbar button:focus,
.woocreate-designer__layer:hover,
.woocreate-designer__layer:focus,
.woocreate-icon-button:hover,
.woocreate-icon-button:focus,
.woocreate-font-select__option:hover,
.woocreate-color-select__option:hover {
    box-shadow: none !important;
}

@media (max-width: 1280px) {
    .woocreate-designer__workspace {
        grid-template-columns:
            minmax(180px, 21%)
            minmax(340px, 1fr)
            minmax(240px, 28%);
    }

    .woocreate-designer__toolbar,
    .woocreate-designer__properties {
        padding: 16px;
    }

    .woocreate-designer__sizes {
        margin: 20px -16px -16px;
        padding: 18px 16px;
    }
}

@media (max-width: 1080px) {
    .woocreate-designer__workspace {
        grid-template-columns: 170px minmax(340px, 1fr);
    }

    .woocreate-designer__properties {
        display: none;
    }

    .woocreate-designer__layers [data-designer-layers] {
        max-width: 100%;
    }
}

@media (max-width: 760px) {
    .woocreate-designer {
        overflow: visible;
    }

    .woocreate-designer__workspace {
        display: block;
    }

    .woocreate-designer__toolbar,
    .woocreate-designer__stage,
    .woocreate-designer__properties {
        width: 100%;
    }

    .woocreate-designer__properties {
        display: block;
    }

    .woocreate-designer__product {
        width: min(440px, 100%);
    }
}

/* WooCreate 1.0.0.0-béta — vaste werkruimte en uniforme Bootstrap-tools. */
.woocreate-designer .woocreate-designer__canvas {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    place-items: initial !important;
}

.woocreate-designer .woocreate-designer__product {
    align-self: flex-start !important;
    height: calc(100% - 8px) !important;
    margin-top: 8px !important;
}

.woocreate-designer .woocreate-designer__toolbar button,
.woocreate-designer .woocreate-designer__toolbar .woocreate-ai-tool,
.woocreate-designer .woocreate-designer__toolbar button.is-active,
.woocreate-designer .woocreate-designer__toolbar button:hover,
.woocreate-designer .woocreate-designer__toolbar button:focus {
    margin-bottom: 16px;
    border: 1px solid #ced4da;
    background: #ffffff;
    color: #111111;
    box-shadow: none;
}

.woocreate-designer .woocreate-designer__toolbar button.is-active,
.woocreate-designer .woocreate-designer__toolbar button:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 2px;
}

.woocreate-designer .woocreate-tool-icon,
.woocreate-designer .woocreate-tool-icon svg {
    color: #111111;
}

.woocreate-designer .woocreate-tool-icon svg {
    fill: currentColor;
    stroke: none;
}

.woocreate-designer .woocreate-remove-background {
    margin-bottom: 16px;
}

.woocreate-designer .woocreate-crop-button {
    margin-top: 0;
}

.woocreate-before-cart-shortcode {
    width: 100%;
    margin: 16px 0;
    text-align: left;
}

.woocreate-production-technique {
    text-align: left;
}


/* WooCreate 0.4.0.5-alpha — font preview and final layer rows */
.woocreate-info-button {
    border: 0 !important;
    outline: 0 !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    padding: 0 !important;
    background: transparent !important;
    color: #495057 !important;
}

.woocreate-info-button:hover,
.woocreate-info-button:focus {
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
}

.woocreate-info-button svg {
    width: 18px;
    height: 18px;
}

.woocreate-font-select__button,
.woocreate-font-select__option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
}

.woocreate-font-select__option {
    grid-template-columns: minmax(0, 1fr) auto;
}

.woocreate-font-select__name {
    min-width: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.woocreate-font-select__preview {
    min-width: 34px;
    color: #212529;
    font-size: 22px;
    font-weight: 400;
    text-align: center;
}

.woocreate-font-select__arrow {
    color: #212529;
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1;
}

.woocreate-font-select__button::after {
    display: none !important;
}

.woocreate-designer__layers [data-designer-layers] {
    display: grid;
    gap: 8px;
    max-width: 860px;
}

.woocreate-designer__layer-row {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0;
    width: 100%;
    min-height: 54px;
    padding: 0;
    border: 1px solid #d9dee5;
    background: #fff;
}

.woocreate-designer__layer-handle {
    display: grid;
    height: 100%;
    place-items: center;
    color: #6c757d;
    font-size: 17px;
    letter-spacing: -4px;
    cursor: grab;
    user-select: none;
}

.woocreate-designer__layer {
    display: flex;
    min-width: 0;
    min-height: 52px;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 0 !important;
    background: #fff !important;
    color: #212529 !important;
    text-align: left;
    box-shadow: none !important;
}

.woocreate-designer__layer.is-active {
    color: #0d6efd !important;
    background: #eef5ff !important;
    box-shadow: inset 3px 0 0 #0d6efd !important;
}

.woocreate-designer__layer-icon {
    display: inline-grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
}

.woocreate-designer__layer-icon svg,
.woocreate-designer__layer-lock svg,
.woocreate-designer__layer-action--visibility svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.woocreate-designer__layer-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.woocreate-designer__layer-text strong {
    color: inherit;
}

.woocreate-designer__layer-text span {
    color: #6c757d;
    font-weight: 400;
}

.woocreate-designer__layer-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
}

.woocreate-designer__layer-action {
    display: grid;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    place-items: center;
    padding: 0;
    border: 1px solid #d9dee5;
    background: #fff;
    color: #212529;
}

.woocreate-designer__layer-action:disabled {
    opacity: 0.34;
}

.woocreate-designer__layer-action--visibility {
    border: 0;
}

.woocreate-designer__layer-action--visibility.is-muted {
    opacity: 0.35;
}

.woocreate-designer__layer-divider {
    width: 1px;
    height: 28px;
    margin: 0 4px;
    background: #d9dee5;
}

.woocreate-designer__layer-lock {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #6c757d;
}

.woocreate-designer__layer-row--background .woocreate-designer__layer {
    cursor: default;
}


/* WooCreate 0.4.0.6-alpha — lagen handmatig verslepen */
.woocreate-designer__layer-row[draggable="true"] {
    cursor: default;
}

.woocreate-designer__layer-handle {
    cursor: grab;
}

.woocreate-designer__layer-handle:active {
    cursor: grabbing;
}

.woocreate-designer__layer-row.is-dragging {
    opacity: 0.42;
}

.woocreate-designer__layer-row.is-drag-over {
    position: relative;
}

.woocreate-designer__layer-row.is-drag-over::before {
    content: "";
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    top: -2px;
    height: 3px;
    background: #0d6efd;
}

.woocreate-designer__layer-row.is-drag-over--after::before {
    top: auto;
    bottom: -2px;
}

.woocreate-designer__layer-row--background {
    cursor: default;
}

.woocreate-designer__layer-row--background
.woocreate-designer__layer-handle {
    cursor: not-allowed;
    opacity: 0.35;
}


/* WooCreate 0.4.1-alpha — compacte contextgevoelige workflow */
.woocreate-designer {
    min-width: 0;
    max-width: 100%;
    background: #ffffff;
}

.woocreate-designer__header {
    display: flex;
    flex-wrap: nowrap;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 16px;
    overflow-x: auto;
    background: #ffffff;
}

.woocreate-designer__product-summary {
    flex: 0 1 auto;
    min-width: 180px;
    white-space: nowrap;
}

.woocreate-designer__header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.woocreate-designer .woocreate-header-action {
    display: inline-flex;
    width: 72px;
    min-width: 72px;
    min-height: 66px;
    padding: 7px 4px 5px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    border: 0;
    background: #ffffff;
    color: #111111;
    font: inherit;
    font-size: 12px;
    line-height: 1.1;
    cursor: pointer;
}

.woocreate-designer .woocreate-header-action .bi {
    display: block;
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.woocreate-designer .woocreate-header-action:hover,
.woocreate-designer .woocreate-header-action.is-active {
    background: #f3f4f5;
    color: #111111;
}

.woocreate-designer .woocreate-header-action:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

.woocreate-cart-button {
    border-color: #198754;
    background: #198754;
    color: #ffffff;
}

.woocreate-cart-button:hover {
    border-color: #157347;
    background: #157347;
}

.woocreate-designer__save-status {
    max-width: 170px;
    color: #198754;
    font-size: 13px;
    line-height: 1.25;
    text-align: right;
    white-space: normal;
}

.woocreate-designer__save-status.is-error {
    color: #dc3545;
}

.woocreate-designer__save-status[hidden] {
    display: none;
}

.woocreate-icon-button {
    width: 44px;
    height: 42px;
}

.woocreate-designer__workspace {
    display: grid;
    grid-template-columns:
        minmax(165px, 18%)
        minmax(480px, 1fr)
        minmax(260px, 27%);
    min-width: 0;
    min-height: 780px;
    overflow: hidden;
}

.woocreate-designer__toolbar {
    min-width: 0;
    padding: 16px;
}

.woocreate-product-color {
    display: grid;
    gap: 7px;
    margin-bottom: 14px;
}

.woocreate-product-color > span {
    font-size: 13px;
    font-weight: 700;
}

.woocreate-product-color select {
    width: 100%;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #ced4da;
    border-radius: 0;
    background: #ffffff;
}

.woocreate-toolbar-divider {
    height: 1px;
    margin: 0 0 16px;
    background: #d9dee5;
}

.woocreate-designer__toolbar button {
    min-height: 56px;
    margin-bottom: 9px;
    padding: 10px 12px;
}

.woocreate-designer__stage {
    min-width: 0;
    padding: 14px 12px 12px;
    overflow: auto;
    background: #ffffff !important;
}

.woocreate-designer__canvas {
    width: 100%;
    min-height: 690px;
    padding: 0;
    overflow: auto;
    background: #ffffff !important;
}

.woocreate-designer__product {
    position: relative;
    width: min(660px, calc(100% - 8px));
    max-width: 100%;
    aspect-ratio: 4 / 5;
    border: 1px solid #d9dee5;
    background: #ffffff;
}

.woocreate-designer__print-area {
    position: relative;
    z-index: 3;
    width: 76%;
    height: 78%;
    border: 2px dashed #7d8791;
}

.woocreate-designer__shirt-preview {
    --woocreate-product-color: #ffffff;
    position: absolute;
    z-index: 1;
    inset: 3%;
    pointer-events: none;
}

.woocreate-designer__shirt-preview[hidden] {
    display: none;
}

.woocreate-designer__shirt-preview svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: var(--woocreate-product-color);
    stroke: #aab2bb;
    stroke-width: 2;
}

.woocreate-designer.is-product-preview
.woocreate-designer__product {
    border-color: transparent;
}

.woocreate-designer.is-product-preview
.woocreate-designer__print-area {
    width: 48%;
    height: 54%;
    margin-top: 2%;
    border-color: rgba(80, 88, 98, 0.55);
}

.woocreate-designer__properties {
    min-width: 0;
    padding: 16px;
    overflow-x: hidden;
    overflow-y: auto;
}

.woocreate-designer__properties [hidden] {
    display: none !important;
}

.woocreate-designer__properties h2 {
    padding-bottom: 12px;
    border-bottom: 1px solid #d9dee5;
}

.woocreate-designer__layers {
    display: none !important;
}

.woocreate-designer__properties
[data-designer-layers] {
    display: grid;
    gap: 8px;
    width: 100%;
    max-width: none;
}

.woocreate-designer__layer-row {
    grid-template-columns: 24px minmax(0, 1fr) auto;
}

.woocreate-order-intro {
    margin: 0 0 14px;
    color: #5f6670;
}

.woocreate-designer__size-list {
    display: grid;
    gap: 8px;
}

.woocreate-designer__size-row {
    display: grid;
    grid-template-columns: 1fr 84px;
    align-items: center;
    gap: 12px;
}

.woocreate-designer__size-row input {
    width: 84px;
    min-height: 40px;
    padding: 7px 9px;
    border: 1px solid #ced4da;
    border-radius: 0;
    text-align: center;
}

.woocreate-cart-button {
    width: 100%;
    min-height: 46px;
    margin-top: 18px;
    border-radius: 0;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 1160px) {
    .woocreate-designer__workspace {
        grid-template-columns:
            170px
            minmax(400px, 1fr)
            250px;
    }

    .woocreate-designer__product {
        width: min(580px, calc(100% - 4px));
    }
}

@media (max-width: 980px) {
    .woocreate-designer__workspace {
        grid-template-columns: 165px minmax(400px, 1fr);
    }

    .woocreate-designer__properties {
        grid-column: 1 / -1;
        display: block;
        border-top: 1px solid #d9dee5;
        border-left: 0;
    }
}

@media (max-width: 720px) {
    .woocreate-designer__header {
        align-items: flex-start;
        flex-direction: column;
        overflow-x: visible;
    }

    .woocreate-designer__header-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .woocreate-designer .woocreate-header-action {
        flex: 0 0 72px;
    }

    .woocreate-designer__save-status {
        order: -1;
        width: 100%;
        max-width: none;
        text-align: left;
    }

    .woocreate-designer__workspace {
        display: block;
    }

    .woocreate-designer__canvas {
        min-height: 540px;
    }
}


/* WooCreate 0.4.1.1-alpha — canvas and boundary corrections */
.woocreate-product-color {
    position: relative;
    display: grid;
    gap: 7px;
    margin-bottom: 14px;
}

.woocreate-product-color > span {
    font-size: 13px;
    font-weight: 700;
}

.woocreate-product-color-select {
    width: 100%;
}

.woocreate-product-color-select
.woocreate-color-select__button {
    width: 100%;
    min-height: 44px;
}

.woocreate-product-color-picker {
    position: relative;
    width: 100%;
}

.woocreate-product-color-picker__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    border: 1px solid #ced4da;
    border-radius: 0;
    background: #ffffff;
}

.woocreate-product-color-picker__current {
    width: 28px;
    height: 28px;
    border: 1px solid #9da5ae;
}

.woocreate-product-color-picker__arrow {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
}

.woocreate-product-color-picker.is-open
.woocreate-product-color-picker__arrow {
    transform: rotate(225deg) translate(-2px, -2px);
}

.woocreate-product-color-picker__palette {
    position: absolute;
    z-index: 100;
    top: calc(100% + 4px);
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, 32px);
    gap: 6px;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 0;
    background: #ffffff;
}

.woocreate-product-color-picker__palette[hidden] {
    display: none !important;
}

.woocreate-product-color-picker__swatch {
    position: relative;
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #8f969e !important;
    border-radius: 0 !important;
}

.woocreate-product-color-picker__swatch.is-active::after {
    position: absolute;
    inset: 4px;
    border: 2px solid #0a84ff;
    content: '';
}

.woocreate-designer__product {
    overflow: hidden;
}

.woocreate-designer__print-area {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    overflow: hidden;
    border: 0 !important;
}

.woocreate-designer__placeholder {
    display: none !important;
}

.woocreate-designer.is-product-preview
.woocreate-designer__print-area {
    inset: 22% 26% 18%;
    width: auto !important;
    height: auto !important;
}

.woocreate-designer__object {
    max-width: 100%;
    max-height: 100%;
}

.woocreate-designer__object--text {
    width: auto;
    min-width: 120px;
    max-width: 92%;
}


/* WooCreate 0.4.1.3-alpha — handlers and progress overlay */
.woocreate-designer__layer-controls {
    margin-bottom: 18px;
}

.woocreate-designer__delete {
    margin-top: 0;
}

.woocreate-object-tools {
    display: grid;
    gap: 14px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #d9dee5;
}

.woocreate-object-tools[hidden] {
    display: none !important;
}

.woocreate-object-tools h3 {
    margin: 0;
    font-size: 14px;
}

.woocreate-object-tool {
    display: grid;
    gap: 7px;
}

.woocreate-object-tool > span {
    font-size: 13px;
    font-weight: 700;
}

.woocreate-object-tool input[type="range"] {
    width: 100%;
}

.woocreate-designer__progress-overlay {
    position: absolute;
    z-index: 50;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    background: rgba(255, 255, 255, 0.74);
    pointer-events: all;
}

.woocreate-designer__progress-overlay[hidden] {
    display: none !important;
}

.woocreate-designer__spinner {
    width: 74px;
    height: 74px;
    border: 7px solid rgba(29, 29, 31, 0.12);
    border-top-color: #1d1d1f;
    border-radius: 50%;
    animation: woocreate-spinner 0.72s linear infinite;
}

.woocreate-designer__progress-text {
    max-width: 80%;
    color: #1d1d1f;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.woocreate-designer__stage {
    position: relative;
}

.woocreate-designer__object--text {
    width: max-content !important;
    max-width: 92% !important;
    white-space: pre !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

.woocreate-designer__object--image img {
    display: block;
    max-width: 100%;
    height: auto;
    pointer-events: none;
}


/* WooCreate 0.4.1.4-alpha — Object Engine */
.woocreate-designer__status,
.woocreate-object-tools {
    display: none !important;
}

.woocreate-designer__notice {
    position: absolute;
    z-index: 70;
    top: 16px;
    right: 16px;
    max-width: min(360px, calc(100% - 32px));
    padding: 12px 14px;
    border: 1px solid #dc3545;
    background: #ffffff;
    color: #842029;
    font-weight: 600;
}

.woocreate-designer__notice[hidden] {
    display: none !important;
}

.woocreate-feedback-modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.woocreate-feedback-modal[hidden] {
    display: none !important;
}

.woocreate-feedback-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.56);
    backdrop-filter: blur(2px);
}

.woocreate-feedback-modal__dialog {
    position: relative;
    width: min(440px, 100%);
    padding: 30px;
    border-radius: 16px;
    background: #ffffff;
    color: #1d1d1f;
    text-align: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.woocreate-feedback-modal__icon {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #eaf2ff;
    color: #175cd3;
    font-size: 25px;
    font-weight: 800;
}

.woocreate-feedback-modal[data-variant="warning"] .woocreate-feedback-modal__icon {
    background: #fff4d6;
    color: #8a5a00;
}

.woocreate-feedback-modal[data-variant="error"] .woocreate-feedback-modal__icon {
    background: #fde8ea;
    color: #b42318;
}

.woocreate-feedback-modal__dialog h2 {
    margin: 0 0 10px;
    color: inherit;
    font-size: 24px;
    line-height: 1.2;
}

.woocreate-feedback-modal__dialog p {
    margin: 0 0 24px;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.55;
}

.woocreate-feedback-modal__action {
    min-height: 46px;
    padding: 10px 20px;
    border: 0;
    border-radius: 8px;
    background: #1d1d1f;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 600px) {
    .woocreate-feedback-modal {
        align-items: end;
        padding: 12px;
    }
    .woocreate-feedback-modal__dialog {
        width: 100%;
        padding: 26px 20px calc(22px + env(safe-area-inset-bottom));
        border-radius: 18px 18px 10px 10px;
    }
    .woocreate-feedback-modal__action {
        width: 100%;
    }
}

.woocreate-designer__object {
    position: absolute;
    z-index: 3;
    display: inline-block;
    transform-origin: center center;
    touch-action: none;
    user-select: none;
}

.woocreate-designer__object-content {
    position: relative;
    display: block;
    min-width: 1px;
    min-height: 1px;
    pointer-events: none;
}

.woocreate-designer__object-content--text {
    width: max-content;
    max-width: none;
    padding: 6px 8px;
    color: #6c757d;
    font-family: "Roboto", Arial, sans-serif;
    white-space: pre;
}

.woocreate-designer__object-content--image img {
    display: block;
    max-width: none;
    height: auto;
    pointer-events: none;
}

.woocreate-designer__object-content--shape {
    display: block;
}

.woocreate-designer__object.is-selected {
    outline: 2px solid #0d6efd;
    outline-offset: 0;
}

.woocreate-object-handles {
    display: none;
}

.woocreate-designer__object.is-selected
.woocreate-object-handles {
    display: block;
}

.woocreate-object-handle {
    position: absolute;
    z-index: 8;
    display: grid;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 2px solid #0d6efd;
    border-radius: 0;
    background: #ffffff;
    color: #0d6efd;
    box-shadow: none;
    cursor: pointer;
    touch-action: none;
}

.woocreate-object-handle--nw {
    top: -10px;
    left: -10px;
    cursor: nwse-resize;
}

.woocreate-object-handle--ne {
    top: -10px;
    right: -10px;
    cursor: nesw-resize;
}

.woocreate-object-handle--sw {
    bottom: -10px;
    left: -10px;
    cursor: nesw-resize;
}

.woocreate-object-handle--se {
    right: -10px;
    bottom: -10px;
    cursor: nwse-resize;
}

.woocreate-object-handle--rotate {
    top: -46px;
    left: 50%;
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    margin-left: -13px;
    cursor: grab;
}

.woocreate-object-handle--rotate::after {
    content: "";
    position: absolute;
    top: 24px;
    left: 50%;
    width: 1px;
    height: 20px;
    background: #0d6efd;
}

.woocreate-object-handle--rotate svg,
.woocreate-object-handle--delete svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.woocreate-object-handle--delete {
    top: -46px;
    right: -13px;
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    border-color: #dc3545;
    color: #dc3545;
}

.woocreate-designer.is-product-preview
.woocreate-object-handles,
.woocreate-designer.is-product-preview
.woocreate-designer__object.is-selected {
    display: none !important;
    outline: 0 !important;
}

.woocreate-designer.is-product-preview
.woocreate-designer__print-area {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: translateY(-7%) scale(0.47);
    transform-origin: center center;
    overflow: visible;
}

.woocreate-designer.is-product-preview
.woocreate-designer__shirt-preview {
    filter: contrast(0.98);
}

.woocreate-range-number {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 68px 24px;
    align-items: center;
    gap: 8px;
}

.woocreate-range-number input[type="range"] {
    width: 100%;
    min-width: 0;
}

.woocreate-range-number input[type="number"] {
    width: 68px;
    min-height: 38px;
    padding: 6px;
    border: 1px solid #ced4da;
    border-radius: 0;
    text-align: right;
}

.woocreate-range-number > span {
    color: #5f6670;
    font-size: 12px;
}

.woocreate-designer input[type="number"].woocreate-font-size__source {
    position: absolute !important;
    width: 1px !important;
    min-width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.woocreate-range-number.woocreate-font-size {
    grid-template-columns: minmax(80px, 1fr) 118px 30px !important;
    gap: 8px !important;
}

.woocreate-range-number.woocreate-font-size > span {
    width: 30px !important;
    margin-left: 0 !important;
    white-space: nowrap !important;
}

.woocreate-designer input.woocreate-font-size__number {
    width: 54px !important;
    min-width: 54px !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 8px 8px !important;
    border: 1px solid #ced4da !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #212529 !important;
    font-size: 16px !important;
    line-height: 24px !important;
    text-align: right !important;
    box-shadow: none !important;
}

.woocreate-property-section {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #d9dee5;
}

.woocreate-property-section h3 {
    margin: 0 0 14px;
    font-size: 14px;
}

.woocreate-text-style-buttons,
.woocreate-transform-buttons,
.woocreate-designer__layer-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.woocreate-text-style-buttons {
    grid-template-columns: repeat(5, minmax(36px, 1fr));
}

.woocreate-text-style-buttons .woocreate-property-icon-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocreate-property-icon-button,
.woocreate-property-action-button {
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid #ced4da;
    border-radius: 0 !important;
    background: #ffffff;
    color: #212529;
    box-shadow: none !important;
    cursor: pointer;
}

.woocreate-property-icon-button.is-italic {
    font-style: italic;
}

.woocreate-property-icon-button.is-active {
    border-color: #0d6efd;
    background: #eef5ff;
    color: #0d6efd;
}

.woocreate-property-action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
}

.woocreate-property-action-button svg,
.woocreate-designer__delete svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.woocreate-designer__layer-controls {
    margin-top: 22px;
    margin-bottom: 18px;
    padding-top: 18px;
    border-top: 1px solid #d9dee5;
}

.woocreate-designer__delete {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
    padding: 9px 12px;
    border: 1px solid #dc3545;
    border-radius: 0 !important;
    background: #ffffff;
    color: #dc3545;
    font-weight: 700;
    box-shadow: none !important;
}

.woocreate-designer__delete:hover {
    background: #dc3545;
    color: #ffffff;
}

.woocreate-designer__progress-overlay {
    position: absolute;
    z-index: 60;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    background: rgba(255, 255, 255, 0.76);
}

.woocreate-designer__progress-overlay[hidden] {
    display: none !important;
}

.woocreate-designer__spinner {
    width: 78px;
    height: 78px;
    border: 7px solid rgba(29, 29, 31, 0.12);
    border-top-color: #1d1d1f;
    border-radius: 50%;
    animation: woocreate-spinner 0.72s linear infinite;
}

.woocreate-designer__progress-text {
    max-width: 80%;
    color: #1d1d1f;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}


/* WooCreate 0.4.1.5-alpha — compact properties and direct text editing */
.woocreate-designer__workspace {
    grid-template-columns:
        180px
        minmax(0, 1fr)
        300px !important;
    width: 100%;
    min-width: 0;
}

.woocreate-designer__stage {
    min-width: 0;
    width: 100%;
    overflow: auto;
}

.woocreate-designer__canvas {
    min-width: 0;
    width: 100%;
}

.woocreate-designer__properties {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    overflow-x: hidden;
    overflow-y: auto;
}

.woocreate-designer__properties *,
.woocreate-property-accordion,
.woocreate-property-accordion__content {
    min-width: 0;
    max-width: 100%;
}

.woocreate-property-accordion {
    border-top: 1px solid #d9dee5;
}

.woocreate-property-accordion:last-child {
    border-bottom: 1px solid #d9dee5;
}

.woocreate-property-accordion__button {
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border: 0;
    border-radius: 0 !important;
    background: #ffffff;
    color: #212529;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    box-shadow: none !important;
    cursor: pointer;
}

.woocreate-property-accordion__arrow {
    width: 24px;
    color: #5f6670;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
}

.woocreate-property-accordion__content {
    padding: 4px 0 18px;
}

.woocreate-property-accordion__content[hidden] {
    display: none !important;
}

.woocreate-property-section {
    margin: 0;
    padding: 0;
    border: 0;
}

.woocreate-property-section > h3 {
    display: none;
}

.woocreate-designer__layer-controls {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

/* Apple-style object handlers: clean circular grab points, no shadow. */
.woocreate-object-handle {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    border: 2px solid #0a84ff !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #0a84ff;
    box-shadow: none !important;
}

.woocreate-object-handle--nw {
    top: -9px;
    left: -9px;
}

.woocreate-object-handle--ne {
    top: -9px;
    right: -9px;
}

.woocreate-object-handle--sw {
    bottom: -9px;
    left: -9px;
}

.woocreate-object-handle--se {
    right: -9px;
    bottom: -9px;
}

.woocreate-object-handle--rotate,
.woocreate-object-handle--delete,
.woocreate-object-handle--edit {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    border-width: 1px !important;
    background: rgba(255, 255, 255, 0.98) !important;
}

.woocreate-object-handle--rotate {
    top: -48px;
    margin-left: -14px;
}

.woocreate-object-handle--rotate::after {
    top: 27px;
    height: 18px;
    background: #0a84ff;
}

.woocreate-object-handle--delete {
    top: -48px;
    right: -14px;
    border-color: #ff3b30 !important;
    color: #ff3b30;
}

.woocreate-object-handle--edit {
    top: -48px;
    left: -14px;
    border-color: #0a84ff !important;
    color: #0a84ff;
}

.woocreate-object-handle--edit svg,
.woocreate-object-handle--rotate svg,
.woocreate-object-handle--delete svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.woocreate-designer__object.is-text-editing {
    cursor: text;
    outline-color: #0a84ff;
}

.woocreate-designer__object.is-text-editing
.woocreate-object-handle--scale,
.woocreate-designer__object.is-text-editing
.woocreate-object-handle--rotate,
.woocreate-designer__object.is-text-editing
.woocreate-object-handle--edit {
    display: none !important;
}

.woocreate-designer__object.is-text-editing
.woocreate-designer__object-content--text {
    min-width: 2px;
    cursor: text;
    user-select: text;
    pointer-events: auto;
    caret-color: #0a84ff;
    outline: 0;
}

@media (max-width: 1100px) {
    .woocreate-designer__workspace {
        grid-template-columns:
            165px
            minmax(0, 1fr)
            280px !important;
    }

    .woocreate-designer__properties {
        width: 280px;
        min-width: 280px;
        max-width: 280px;
    }
}


/* WooCreate 0.4.1.6-alpha — isolated component layer */
.woocreate-designer {
    --wc-blue: #0a84ff;
    --wc-blue-soft: #eef6ff;
    --wc-green: #198754;
    --wc-red: #ff3b30;
    --wc-text: #212529;
    --wc-muted: #6c757d;
    --wc-border: #ced4da;
    --wc-divider: #d9dee5;
    --wc-surface: #ffffff;
    --wc-track: #d7dce1;
    color: var(--wc-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    isolation: isolate;
}

.woocreate-designer,
.woocreate-designer *,
.woocreate-designer *::before,
.woocreate-designer *::after {
    box-sizing: border-box;
}

.woocreate-designer button,
.woocreate-designer input,
.woocreate-designer select,
.woocreate-designer textarea,
.woocreate-designer output {
    margin: 0;
    font: inherit;
    letter-spacing: normal;
    text-transform: none;
    box-shadow: none !important;
}

.woocreate-designer button,
.woocreate-designer select,
.woocreate-designer input[type="number"],
.woocreate-designer textarea {
    border-radius: 0 !important;
}

.woocreate-designer button {
    -webkit-appearance: none;
    appearance: none;
}

.woocreate-designer input[type="range"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 100%;
    height: 22px;
    padding: 0;
    border: 0 !important;
    outline: 0;
    background: transparent !important;
    cursor: pointer;
}

.woocreate-designer input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    border: 0;
    border-radius: 0;
    background: var(--wc-track);
}

.woocreate-designer input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 18px;
    height: 18px;
    margin-top: -7px;
    border: 2px solid var(--wc-blue);
    border-radius: 50%;
    background: var(--wc-surface);
    box-shadow: none !important;
}

.woocreate-designer input[type="range"]::-moz-range-track {
    width: 100%;
    height: 4px;
    border: 0;
    border-radius: 0;
    background: var(--wc-track);
}

.woocreate-designer input[type="range"]::-moz-range-progress {
    height: 4px;
    border: 0;
    border-radius: 0;
    background: var(--wc-blue);
}

.woocreate-designer input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 2px solid var(--wc-blue);
    border-radius: 50%;
    background: var(--wc-surface);
    box-shadow: none !important;
}

.woocreate-designer input[type="number"],
.woocreate-designer select,
.woocreate-designer textarea,
.woocreate-control {
    border: 1px solid var(--wc-border) !important;
    background: var(--wc-surface) !important;
    color: var(--wc-text) !important;
}

.woocreate-designer button:focus-visible,
.woocreate-designer input:focus-visible,
.woocreate-designer select:focus-visible,
.woocreate-designer textarea:focus-visible,
.woocreate-control:focus-visible {
    outline: 2px solid var(--wc-blue);
    outline-offset: 2px;
}

.woocreate-designer__object-content--text:empty::before,
.woocreate-designer__object-content--text[contenteditable="true"]:empty::before {
    content: "";
}

.woocreate-designer__object.is-text-editing
.woocreate-designer__object-content--text {
    min-width: 2px;
    min-height: 1.2em;
}


/* WooCreate 0.4.1.7-alpha — fixed-size handlers */
.woocreate-designer .woocreate-object-handles {
    display: none !important;
}

.woocreate-fixed-handlers {
    position: absolute;
    z-index: 90;
    border: 2px solid #0a84ff;
    pointer-events: none;
    transform: none !important;
}

.woocreate-fixed-handlers[hidden] {
    display: none !important;
}

.woocreate-fixed-handler {
    position: absolute;
    display: grid;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    place-items: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid #0a84ff !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #0a84ff !important;
    box-shadow: none !important;
    pointer-events: auto;
    touch-action: none;
    transform: none !important;
}

.woocreate-fixed-handler--nw { top: -10px; left: -10px; cursor: nwse-resize; }
.woocreate-fixed-handler--ne { top: -10px; right: -10px; cursor: nesw-resize; }
.woocreate-fixed-handler--sw { bottom: -10px; left: -10px; cursor: nesw-resize; }
.woocreate-fixed-handler--se { right: -10px; bottom: -10px; cursor: nwse-resize; }

.woocreate-fixed-handler--edit,
.woocreate-fixed-handler--rotate,
.woocreate-fixed-handler--delete {
    top: -50px;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 8px !important;
}

.woocreate-fixed-handler--edit { left: -16px; }
.woocreate-fixed-handler--rotate { left: 50%; margin-left: -16px !important; cursor: grab; }
.woocreate-fixed-handler--delete {
    right: -16px;
    border-color: #ff3b30 !important;
    color: #ff3b30 !important;
}

.woocreate-fixed-handler--rotate::after {
    content: "";
    position: absolute;
    top: 31px;
    left: 50%;
    width: 1px;
    height: 18px;
    background: #0a84ff;
}

.woocreate-fixed-handler svg {
    width: 18px !important;
    height: 18px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

/* More aggressive theme isolation */
.woocreate-designer :where(button,input,select,textarea,output) {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif !important;
    line-height: 1.25 !important;
    text-shadow: none !important;
    filter: none !important;
}

.woocreate-designer :where(button,input[type="button"],input[type="submit"],select,textarea,input[type="number"]) {
    background-image: none !important;
    box-shadow: none !important;
}

.woocreate-designer input[type="range"] {
    min-height: 22px !important;
    max-height: 22px !important;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.woocreate-designer input[type="range"]::-webkit-slider-runnable-track {
    height: 4px !important;
    border: 0 !important;
    background: #d7dce1 !important;
}

.woocreate-designer input[type="range"]::-webkit-slider-thumb {
    width: 18px !important;
    height: 18px !important;
    margin-top: -7px !important;
    border: 2px solid #0a84ff !important;
    background: #fff !important;
}

.woocreate-designer input[type="range"]::-moz-range-track {
    height: 4px !important;
    border: 0 !important;
    background: #d7dce1 !important;
}

.woocreate-designer input[type="range"]::-moz-range-thumb {
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #0a84ff !important;
    background: #fff !important;
}

.woocreate-designer [contenteditable="true"] {
    text-decoration: none !important;
}

.woocreate-designer__print-area {
    overflow: visible !important;
}

.woocreate-designer__product {
    overflow: hidden !important;
}


/* WooCreate 0.4.1.8-alpha — single fixed handler layer */
.woocreate-designer .woocreate-object-handles,
.woocreate-designer [data-object-handles] {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
    outline: 0 !important;
}

.woocreate-designer__object.is-selected {
    outline: 0 !important;
}

.woocreate-designer__canvas {
    position: relative !important;
}

.woocreate-fixed-handlers {
    position: absolute !important;
    z-index: 90 !important;
    border: 1px solid #0a84ff !important;
    outline: 0 !important;
    transform: none !important;
    transform-origin: initial !important;
    pointer-events: none !important;
}

.woocreate-fixed-handler {
    box-sizing: border-box !important;
    transform: none !important;
    zoom: 1 !important;
}

/* Only Information keeps a divider below the panel title. */
.woocreate-designer__properties h2 {
    margin: 0 0 14px !important;
    padding: 0 0 12px !important;
    border: 0 !important;
}

.woocreate-designer__properties.is-information-panel h2 {
    border-bottom: 1px solid #d9dee5 !important;
}

/* Adjacent toolbar controls share one one-pixel border. */
.woocreate-designer__toolbar > button {
    margin: 0 !important;
    border-width: 1px !important;
}

.woocreate-designer__toolbar > button + button {
    margin-top: -1px !important;
}

.woocreate-text-style-buttons {
    gap: 0 !important;
}

.woocreate-text-style-buttons > button {
    margin: 0 !important;
    border-width: 1px !important;
}

.woocreate-text-style-buttons > button + button {
    margin-left: -1px !important;
}

.woocreate-transform-buttons {
    gap: 0 !important;
}

.woocreate-transform-buttons > button + button {
    margin-left: -1px !important;
}

/* Full form-control reset: identical in Astra, Storefront and browser engines. */
.woocreate-designer input[type="range"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: block !important;
    width: 100% !important;
    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    vertical-align: middle !important;
}

.woocreate-designer input[type="range"]::-webkit-slider-runnable-track {
    -webkit-appearance: none !important;
    width: 100% !important;
    height: 4px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #d7dce1 !important;
    box-shadow: none !important;
}

.woocreate-designer input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    margin-top: -7px !important;
    padding: 0 !important;
    border: 2px solid #0a84ff !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

.woocreate-designer input[type="range"]::-moz-range-track {
    width: 100% !important;
    height: 4px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #d7dce1 !important;
    box-shadow: none !important;
}

.woocreate-designer input[type="range"]::-moz-range-progress {
    height: 4px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #0a84ff !important;
}

.woocreate-designer input[type="range"]::-moz-range-thumb {
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #0a84ff !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

.woocreate-designer input[type="number"] {
    -webkit-appearance: textfield !important;
    appearance: textfield !important;
    width: 72px !important;
    min-width: 72px !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    border: 1px solid #ced4da !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #212529 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 24px !important;
    text-align: right !important;
    box-shadow: none !important;
}

.woocreate-designer input[type="number"]::-webkit-inner-spin-button,
.woocreate-designer input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
}

.woocreate-range-number {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 72px 24px !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
}

.woocreate-range-number > span {
    width: 24px !important;
    color: #6c757d !important;
    font-size: 14px !important;
    line-height: 1 !important;
}


/* WooCreate 0.4.1.8.1-alpha — isolated sticky zoom and stable desktop */
.woocreate-designer {
    container-type: inline-size;
    isolation: isolate !important;
}

.woocreate-designer__stage {
    position: relative !important;
    overflow: auto !important;
    isolation: isolate !important;
    contain: layout paint !important;
}

.woocreate-designer .woocreate-designer__zoom {
    position: sticky !important;
    z-index: 35 !important;
    right: auto !important;
    bottom: 12px !important;
    left: auto !important;
    align-self: center !important;
    flex: 0 0 auto !important;
    margin: 12px auto 0 !important;
    transform: none !important;
    isolation: isolate !important;
    contain: layout style !important;
}

.woocreate-designer .woocreate-designer__zoom::before,
.woocreate-designer .woocreate-designer__zoom::after {
    content: none !important;
}

.woocreate-curved-text-svg {
    display: block !important;
    overflow: visible !important;
    pointer-events: none !important;
}

.woocreate-designer__object-content--text.is-curved-text {
    width: max-content !important;
    max-width: none !important;
    padding: 0 !important;
    white-space: normal !important;
}

/* Safari Inspector may narrow the viewport; keep desktop panels visible. */
@media (min-width: 761px) {
    .woocreate-designer__workspace {
        display: grid !important;
        grid-template-columns:
            170px
            minmax(0, 1fr)
            280px !important;
        min-width: 720px !important;
    }

    .woocreate-designer__toolbar {
        grid-column: 1 !important;
    }

    .woocreate-designer__stage {
        grid-column: 2 !important;
    }

    .woocreate-designer__properties {
        display: block !important;
        grid-column: 3 !important;
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
        border-top: 0 !important;
        border-left: 1px solid #d9dee5 !important;
    }
}

@container (max-width: 900px) and (min-width: 721px) {
    .woocreate-designer__workspace {
        grid-template-columns:
            155px
            minmax(0, 1fr)
            250px !important;
    }

    .woocreate-designer__properties {
        width: 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
    }
}


/* WooCreate 0.4.1.8.2-alpha — viewport zoom dock and stronger text fit */
.woocreate-designer .woocreate-designer__zoom {
    position: relative !important;
    z-index: 35 !important;
}

.woocreate-designer .woocreate-designer__zoom.is-viewport-docked {
    position: fixed !important;
    z-index: 2147483000 !important;
    left: var(--wc-zoom-left) !important;
    right: auto !important;
    bottom: var(--wc-zoom-bottom) !important;
    top: auto !important;
    margin: 0 !important;
    /* Deze laatste Safari-stabilisatieregel mag de ingestelde zoom niet
       overschrijven. translateZ behoudt de compositing, scale voert de
       desktopzoom en mobiele pinchzoom daadwerkelijk uit. */
    transform: translateZ(0) scale(var(--woocreate-canvas-zoom, 1)) !important;
    isolation: isolate !important;
    contain: layout style paint !important;
}

.woocreate-designer__object-content--text:not(.is-curved-text) {
    width: max-content;
    max-width: calc(100% - 36px);
    white-space: pre !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

/* Canvas text editor based on the proven editor.html interaction model. */
.woocreate-designer__print-area {
    position: absolute !important;
    display: block !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    touch-action: none;
}

.woocreate-reference-canvas {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    aspect-ratio: 29.7 / 42;
    transform: translate(-50%, -50%);
    background: #fff;
    box-shadow: 0 0 0 1px #d9dee5;
    outline: 0;
    touch-action: none;
    z-index: 2;
}

.woocreate-reference-canvas-overflow {
    position: absolute;
    z-index: 1;
    display: block;
    max-width: none !important;
    max-height: none !important;
    pointer-events: none;
    opacity: 0.48;
    filter: grayscale(0.2);
}

.woocreate-reference-canvas-overflow[hidden] {
    display: none !important;
}

.woocreate-reference-canvas:focus-visible {
    outline: 0;
}

.woocreate-designer__grid-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #d9dee5;
    color: #20262e;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
}

.woocreate-designer__grid-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 auto;
}

.woocreate-remove-background {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid #ced4da;
    border-radius: 0;
    background: #ffffff;
    color: #20262e;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.woocreate-crop-button {
    width: 100%;
    min-height: 46px;
    margin-top: 16px;
    padding: 10px 14px;
    border: 1px solid #ced4da;
    border-radius: 0;
    background: #ffffff;
    color: #20262e;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.woocreate-crop-overlay {
    position: absolute;
    z-index: 12;
    top: 50%;
    left: 50%;
    display: block;
    width: auto;
    height: auto;
    aspect-ratio: 29.7 / 42;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.woocreate-crop-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin: 14px 0 0;
}

.woocreate-crop-actions[hidden] {
    display: none !important;
}

.woocreate-designer__zoom[hidden] {
    display: none !important;
}

.woocreate-crop-actions button {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 46px;
    margin: 0;
    padding: 10px 8px;
    border-radius: 0;
    font: inherit;
    font-weight: 600;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.woocreate-crop-instruction {
    max-width: 100%;
    margin: 0;
    color: #495057;
    font-size: 13px;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

/* Shape engine */
.woocreate-shape-library {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.woocreate-shape-library__item {
    display: flex;
    min-width: 0;
    min-height: 82px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 0;
    background: #fff;
    color: #212529;
    font: inherit;
    cursor: pointer;
}

.woocreate-shape-library__item:hover,
.woocreate-shape-library__item:focus-visible {
    border-color: #0a84ff;
    outline: 2px solid rgba(10, 132, 255, 0.2);
    outline-offset: 0;
}

.woocreate-shape-library__preview {
    display: block;
    width: 38px;
    height: 38px;
    background: #0a84ff;
}

.woocreate-shape-library__item[data-shape="circle"]
.woocreate-shape-library__preview {
    border-radius: 50%;
}

.woocreate-shape-library__item[data-shape="triangle"]
.woocreate-shape-library__preview {
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.woocreate-shape-library__item[data-shape="arrow"]
.woocreate-shape-library__preview {
    clip-path: polygon(0 32%, 58% 32%, 58% 0, 100% 50%, 58% 100%, 58% 68%, 0 68%);
}

.woocreate-shape-library__item[data-shape="star"]
.woocreate-shape-library__preview {
    clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 79% 94%, 50% 71%, 21% 94%, 32% 56%, 2% 35%, 39% 35%);
}

.woocreate-shape-library__item[data-shape="heart"]
.woocreate-shape-library__preview {
    clip-path: polygon(50% 100%, 5% 55%, 4% 29%, 20% 9%, 39% 10%, 50% 28%, 61% 10%, 80% 9%, 96% 29%, 95% 55%);
    background: #ff3b30;
}

.woocreate-shape-library__item[data-shape="kiss"]
.woocreate-shape-library__preview {
    height: 25px;
    clip-path: polygon(0 45%, 20% 5%, 50% 28%, 80% 5%, 100% 45%, 79% 43%, 50% 55%, 21% 43%, 0 45%, 20% 95%, 50% 72%, 80% 95%, 100% 45%, 76% 61%, 24% 61%);
    background: #ff2d55;
}

.woocreate-shape-library__item[data-shape="thumb"]
.woocreate-shape-library__preview {
    clip-path: polygon(5% 46%, 27% 46%, 38% 30%, 38% 4%, 55% 0, 59% 39%, 92% 39%, 100% 52%, 91% 62%, 96% 72%, 87% 81%, 90% 91%, 78% 98%, 35% 94%, 20% 82%, 5% 82%);
    background: #ff9500;
}

.woocreate-shape-stroke-width {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.woocreate-shape-stroke-width > span {
    white-space: nowrap;
    color: #6c757d;
}

.woocreate-color-palette__trigger.is-transparent,
.woocreate-color-palette__swatch.is-transparent {
    position: relative;
    background:
        linear-gradient(
            135deg,
            transparent calc(50% - 1px),
            #dc3545 calc(50% - 1px),
            #dc3545 calc(50% + 1px),
            transparent calc(50% + 1px)
        ),
        #ffffff;
}

.woocreate-shape-options {
    display: flex;
    gap: 8px;
    width: 100%;
}

.woocreate-shape-options__button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 8px 5px;
    border: 1px solid #ced4da;
    border-radius: 0;
    background: #ffffff;
    color: #212529;
    font: inherit;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
}

.woocreate-numeric-input {
    display: grid;
    grid-template-columns: 32px minmax(48px, 1fr) 32px;
    align-items: stretch;
    width: 100%;
}

.woocreate-numeric-input > input {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px;
    margin: 0 !important;
    padding: 7px 5px !important;
    border: 1px solid #ced4da !important;
    border-radius: 0 !important;
    text-align: center !important;
}

.woocreate-designer .woocreate-numeric-input__step {
    min-width: 0;
    min-height: 42px;
    margin: 0 -1px 0 0;
    padding: 0;
    border: 1px solid #ced4da;
    border-radius: 0;
    background: #ffffff !important;
    color: #212529 !important;
    font: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.woocreate-numeric-input__step:last-child {
    margin-right: 0;
    margin-left: -1px;
}

.woocreate-designer .woocreate-numeric-input__step:hover {
    border-color: #adb5bd;
    background: rgba(0, 0, 0, 0.08) !important;
    color: #212529 !important;
}

.woocreate-designer .woocreate-numeric-input__step:focus {
    background: #ffffff !important;
    color: #212529 !important;
    outline: 0;
}

.woocreate-designer .woocreate-numeric-input__step:focus-visible {
    position: relative;
    z-index: 1;
    outline: 2px solid #0a84ff;
    outline-offset: -2px;
}

.woocreate-designer .woocreate-numeric-input__step:active {
    background: rgba(0, 0, 0, 0.10) !important;
}

.woocreate-designer__size-row {
    grid-template-columns: 1fr minmax(126px, 150px);
}

.woocreate-designer__size-row input {
    width: 100%;
}

.woocreate-shape-options__button:last-child {
    margin-right: 0;
}

.woocreate-shape-options__button:hover:not(.is-active) {
    border-color: #adb5bd;
    background: rgba(0, 0, 0, 0.08);
    color: #212529;
}

.woocreate-shape-options__button:focus {
    outline: 0;
}

.woocreate-shape-options__button:focus-visible {
    outline: 2px solid #0a84ff;
    outline-offset: 2px;
}

.woocreate-shape-options__button.is-active {
    border-color: #0a84ff;
    background: #eef5ff;
    color: #0a84ff;
}

.woocreate-crop-actions__cancel {
    border: 1px solid #ced4da;
    background: #ffffff;
    color: #20262e;
}

.woocreate-crop-actions__apply {
    border: 1px solid #0d6efd;
    background: #0d6efd;
    color: #ffffff;
}

.woocreate-crop-actions button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.woocreate-remove-background:disabled {
    cursor: wait;
    opacity: 0.65;
}

.woocreate-remove-background__spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(32, 38, 46, 0.2);
    border-top-color: #20262e;
    border-radius: 50%;
    animation: woocreate-spinner 0.72s linear infinite;
}

.woocreate-designer:focus {
    outline: 0;
}

.woocreate-designer
.woocreate-designer__print-area
> textarea.woocreate-reference-text-input.woocreate-canvas-keyboard-input {
    position: absolute !important;
    z-index: -1 !important;
    top: 0 !important;
    left: 0 !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 1px !important;
    max-height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    resize: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.woocreate-reference-layer {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #d9dee5;
    background: #fff;
    color: #212529;
    text-align: left;
}

/* WooCreate layers panel: one list backed by the canvas object stack. */
.woocreate-designer__properties [data-designer-layers-panel] {
    min-height: 0;
}

.woocreate-designer__properties [data-designer-layers] {
    display: grid;
    gap: 8px;
    max-height: calc(100vh - 220px);
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-color: #c5cbd3 transparent;
    scrollbar-width: thin;
}

.woocreate-designer__properties .woocreate-designer__layer-row {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 40px;
    align-items: stretch;
    width: 100%;
    min-height: 48px;
    border: 1px solid #d9dee5;
    background: #fff;
    user-select: none;
}

.woocreate-designer__properties .woocreate-designer__layer-handle,
.woocreate-designer__properties .woocreate-designer__layer-delete {
    display: grid;
    min-width: 0;
    min-height: 46px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #6c757d;
    box-shadow: none;
}

.woocreate-designer__properties .woocreate-designer__layer-handle {
    cursor: grab;
    font-size: 20px;
    line-height: 1;
}

.woocreate-designer__properties .woocreate-designer__layer-handle:active {
    cursor: grabbing;
}

.woocreate-designer__properties .woocreate-designer__layer {
    display: flex;
    min-width: 0;
    min-height: 46px;
    align-items: center;
    padding: 8px;
    overflow: hidden;
    border: 0 !important;
    border-radius: 0;
    background: #fff !important;
    color: #212529 !important;
    box-shadow: none !important;
    text-align: left;
}

.woocreate-designer__properties .woocreate-designer__layer.is-active {
    background: #eef5ff !important;
    color: #0d6efd !important;
    box-shadow: inset 3px 0 0 #0d6efd !important;
}

.woocreate-designer__properties .woocreate-designer__layer-text {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.woocreate-designer__properties .woocreate-designer__layer-delete svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.woocreate-designer__properties .woocreate-designer__layer-row.is-dragging {
    opacity: 0.45;
}

.woocreate-designer__properties .woocreate-designer__layer-row.is-drag-over::before {
    content: "";
    position: absolute;
    z-index: 5;
    right: 0;
    left: 0;
    top: -3px;
    height: 3px;
    background: #0d6efd;
}

.woocreate-designer__properties
.woocreate-designer__layer-row.is-drag-over--after::before {
    top: auto;
    bottom: -3px;
}

.woocreate-designer__properties .woocreate-designer__layer-confirmation {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 7px 8px;
}

.woocreate-designer__properties .woocreate-designer__layer-confirmation > span {
    min-width: 0;
    color: #343a40;
    font-size: 14px;
}

.woocreate-designer__properties .woocreate-designer__layer-confirm,
.woocreate-designer__properties .woocreate-designer__layer-cancel {
    min-height: 32px;
    padding: 4px 8px;
    border: 1px solid #ced4da;
    border-radius: 0;
    background: #fff;
    color: #212529;
    white-space: nowrap;
}

.woocreate-designer__properties .woocreate-designer__layer-confirm {
    border-color: #0d6efd;
    color: #0d6efd;
}

.woocreate-curved-text-svg text {
    dominant-baseline: alphabetic;
    text-rendering: geometricPrecision;
}

.woocreate-font-dropdown {
    position: relative;
    width: 100%;
}

.woocreate-font-dropdown__input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.woocreate-font-dropdown__selected,
.woocreate-font-dropdown__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    color: #212529;
    cursor: pointer;
    font-size: 18px;
    line-height: 1.25;
    text-align: left;
}

.woocreate-font-dropdown__selected {
    border: 1px solid #ced4da;
}

.woocreate-font-dropdown__arrow {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin: 0 4px 4px 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 120ms ease, margin 120ms ease;
}

.woocreate-font-dropdown__selected[aria-expanded="true"]
.woocreate-font-dropdown__arrow {
    margin-top: 5px;
    margin-bottom: 0;
    transform: rotate(225deg);
}

.woocreate-font-dropdown__options {
    position: absolute;
    z-index: 120;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ced4da;
    background: #fff;
}

.woocreate-font-dropdown__options[hidden] {
    display: none !important;
}

.woocreate-font-dropdown__option {
    border: 0;
    border-bottom: 1px solid #e5e7eb;
}

.woocreate-font-dropdown__option:hover,
.woocreate-font-dropdown__option:focus,
.woocreate-font-dropdown__option[aria-selected="true"] {
    outline: 0;
    background: #eef5ff;
    color: #212529;
}

.woocreate-color-palette {
    position: relative;
    width: 100%;
}

.woocreate-designer input[type="color"].woocreate-color-palette__input {
    position: absolute !important;
    z-index: -1 !important;
    top: 0 !important;
    left: 0 !important;
    width: 1px !important;
    min-width: 0 !important;
    max-width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    max-height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.woocreate-color-palette__trigger {
    display: block;
    width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    border: 2px solid #ced4da;
    border-radius: 50%;
    box-shadow: none;
    cursor: pointer;
}

.woocreate-color-palette__trigger:focus-visible {
    outline: 2px solid #0a84ff;
    outline-offset: 2px;
}

.woocreate-color-palette__panel {
    position: absolute;
    z-index: 140;
    top: calc(100% + 8px);
    left: 0;
    width: min(100%, 320px);
    max-height: min(460px, 65vh);
    padding: 10px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #ced4da;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.woocreate-color-palette__panel[hidden] {
    display: none !important;
}

.woocreate-color-palette__popular {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 3px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ced4da;
}

.woocreate-color-palette__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 3px;
    padding-top: 10px;
}

.woocreate-color-palette__swatch {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    aspect-ratio: 1;
    min-height: 0;
    padding: 0;
    border: 1px solid rgba(33, 37, 41, 0.35);
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
}

.woocreate-color-palette__swatch--popular {
    min-height: 20px;
}

.woocreate-color-palette__swatch--grid {
    min-height: 28px;
}

.woocreate-color-palette__swatch:hover,
.woocreate-color-palette__swatch:focus-visible {
    z-index: 1;
    outline: 2px solid #212529;
    outline-offset: 1px;
}

.woocreate-color-palette__swatch[aria-pressed="true"] {
    z-index: 2;
    outline: 3px solid #0a84ff;
    outline-offset: 1px;
    box-shadow: inset 0 0 0 2px #fff;
}
/* WooCreate Standard Fonts: the complete curated 16-font local set. */
@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: block;
}

@font-face { font-family: "Anton"; src: url("../fonts/Anton-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Pirata One"; src: url("../fonts/PirataOne-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Pacifico"; src: url("../fonts/Pacifico-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Shadows Into Light"; src: url("../fonts/ShadowsIntoLight-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Sancreek"; src: url("../fonts/Sancreek-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Alfa Slab One"; src: url("../fonts/AlfaSlabOne-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Creepster"; src: url("../fonts/Creepster-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("../fonts/Oswald-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("../fonts/Oswald-Bold.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Henny Penny"; src: url("../fonts/HennyPenny-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Lobster"; src: url("../fonts/Lobster-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Bangers"; src: url("../fonts/Bangers-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Bebas Neue"; src: url("../fonts/BebasNeue-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Titan One"; src: url("../fonts/TitanOne-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../fonts/Fredoka-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../fonts/Fredoka-Bold.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Poetsen One"; src: url("../fonts/PoetsenOne-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: block;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Italic.ttf") format("truetype");
    font-style: italic;
    font-weight: 400;
    font-display: block;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-BoldItalic.ttf") format("truetype");
    font-style: italic;
    font-weight: 700;
    font-display: block;
}

/* Canvas controls: editor actions live around the A3 viewport. */
.woocreate-designer .woocreate-designer__stage {
    display: flex !important;
    box-sizing: border-box !important;
    height: max(790px, calc(100vh - 134px)) !important;
    height: max(790px, calc(100dvh - 134px)) !important;
    min-height: 790px !important;
    padding: 0 62px !important;
    overflow: auto !important;
    align-items: stretch !important;
    justify-content: center !important;
}

.woocreate-designer .woocreate-designer__canvas {
    box-sizing: border-box !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 0 !important;
}

.woocreate-designer .woocreate-designer__product {
    width: auto !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    aspect-ratio: 29.7 / 42 !important;
}

.woocreate-canvas-control {
    position: absolute !important;
    z-index: 60 !important;
    display: grid !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 9px !important;
    place-items: center !important;
    border: 1px solid #ced4da !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.woocreate-canvas-control svg {
    width: 24px !important;
    height: 24px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.woocreate-canvas-control--undo { top: 8px !important; left: 8px !important; }
.woocreate-canvas-control--redo { top: 8px !important; right: 8px !important; }
.woocreate-canvas-control--delete {
    top: 50% !important;
    left: 8px !important;
    color: #dc3545 !important;
    transform: translateY(-50%) !important;
}
.woocreate-canvas-control--center {
    top: 50% !important;
    right: 8px !important;
    transform: translateY(-50%) !important;
}

.woocreate-canvas-control[hidden] {
    display: none !important;
}

.woocreate-designer .woocreate-designer__zoom {
    display: contents !important;
    margin: 0 !important;
}

.woocreate-designer .woocreate-designer__zoom button {
    position: absolute !important;
    z-index: 60 !important;
    bottom: 8px !important;
    display: grid !important;
    width: 50px !important;
    min-width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 8px !important;
    place-items: center !important;
    border: 1px solid #ced4da !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #212529 !important;
    box-shadow: none !important;
}

.woocreate-designer .woocreate-designer__zoom-out {
    left: 8px !important;
}

.woocreate-designer .woocreate-designer__zoom-in {
    right: 8px !important;
}

.woocreate-designer .woocreate-designer__zoom button svg {
    width: 32px !important;
    height: 32px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.woocreate-designer .woocreate-designer__zoom[hidden] {
    display: none !important;
}

@media (max-width: 900px) {
    .woocreate-designer .woocreate-designer__stage {
        padding-right: 52px !important;
        padding-left: 52px !important;
    }
}

.woocreate-designer .woocreate-designer__stage,
.woocreate-designer .woocreate-designer__canvas {
    border-left: 0 !important;
}

@media (min-width: 641px) {
    .woocreate-designer .woocreate-designer__toolbar {
        border-right: 1px solid var(--wc-border) !important;
    }
}

/* AI Studio interface. */
.woocreate-ai-studio {
    display: grid;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.woocreate-ai-studio__intro,
.woocreate-ai-studio__example,
.woocreate-ai-studio__error,
.woocreate-ai-studio__status p,
.woocreate-ai-studio__result p {
    margin: 0;
    line-height: 1.45;
}

.woocreate-ai-studio__intro,
.woocreate-ai-studio__example {
    color: #5f6670;
}

.woocreate-ai-studio__field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.woocreate-ai-studio__photo {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.woocreate-ai-studio__photo h3 {
    margin: 0;
    color: #212529;
    font-size: 14px;
    font-weight: 700;
}

.woocreate-ai-studio__photo-intro,
.woocreate-ai-studio__photo-name,
.woocreate-ai-studio__photo-error,
.woocreate-ai-studio__photo-note {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    line-height: 1.45;
}

.woocreate-ai-studio__photo-intro,
.woocreate-ai-studio__photo-note,
.woocreate-ai-studio__photo-name {
    color: #5f6670;
    font-size: 12px;
}

.woocreate-ai-studio__photo-intro {
    display: none;
}

.woocreate-ai-studio__photo-error {
    min-height: 0;
    color: #b42318;
    font-size: 13px;
}

.woocreate-ai-studio__photo-input,
.woocreate-ai-studio__photo-input-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

.woocreate-ai-studio__photo-preview {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 168px;
    object-fit: contain;
    border: 1px solid #d9dee5;
    background: #fff;
}

.woocreate-ai-studio__photo-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
}

.woocreate-designer .woocreate-ai-studio__photo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 36px;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #cfd5dc !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #212529 !important;
    font: inherit;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.woocreate-designer .woocreate-ai-studio__photo-button:hover,
.woocreate-designer .woocreate-ai-studio__photo-button:focus-visible {
    border-color: #0d6efd !important;
    outline: 2px solid #0d6efd;
    outline-offset: 1px;
}

.woocreate-designer .woocreate-ai-studio__photo-button:disabled {
    cursor: wait;
    opacity: 0.55;
    pointer-events: none;
}

.woocreate-ai-studio__description-heading > label,
.woocreate-ai-studio__status h3,
.woocreate-ai-studio__result h3 {
    margin: 0;
    color: #212529;
    font-size: 14px;
    font-weight: 700;
}

.woocreate-ai-studio__description-heading {
    display: flex;
    align-items: center;
    gap: 6px;
}

.woocreate-designer .woocreate-ai-studio__description-help {
    display: inline-flex;
    width: 14px;
    height: 14px;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    appearance: none;
    background: transparent !important;
    box-shadow: none !important;
    color: #212529;
    line-height: 0;
    cursor: pointer;
}

.woocreate-designer .woocreate-ai-studio__description-help img {
    display: block;
    width: 14px;
    height: 14px;
    pointer-events: none;
}

.woocreate-designer .woocreate-ai-studio__description-help:hover,
.woocreate-designer .woocreate-ai-studio__description-help:focus {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #212529;
    outline: 0;
}

.woocreate-designer .woocreate-ai-studio__description-help:focus-visible {
    outline: 1px dotted #6b7280;
    outline-offset: 2px;
}

.woocreate-ai-studio__input-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
}

.woocreate-designer .woocreate-ai-studio__input-wrap textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 108px;
    max-height: 136px;
    padding: 10px;
    resize: none;
    overflow-wrap: anywhere;
}

.woocreate-designer
.woocreate-ai-studio__input-wrap textarea[aria-invalid="true"] {
    border-color: #b42318 !important;
}

.woocreate-ai-studio__example {
    font-size: 12px;
}

.woocreate-ai-studio__error {
    min-height: 0;
    color: #b42318;
    font-size: 13px;
}

.woocreate-designer .woocreate-ai-studio__generate {
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #0d6efd !important;
    border-radius: 0 !important;
    background: #0d6efd !important;
    color: #fff !important;
    font-weight: 700;
    cursor: pointer;
}

.woocreate-ai-studio__options {
    display: grid;
    gap: 9px;
    min-width: 0;
}

.woocreate-ai-studio__option {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.woocreate-ai-studio__option > span {
    color: #212529;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
}

.woocreate-designer .woocreate-ai-studio__option select {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 7px 32px 7px 10px;
    border: 1px solid #cfd5dc;
    border-radius: 0;
    background-color: #fff;
    color: #212529;
    font: inherit;
}

.woocreate-designer .woocreate-ai-studio__option select:focus-visible {
    border-color: #0d6efd;
    outline: 2px solid #0d6efd;
    outline-offset: 1px;
}

.woocreate-designer .woocreate-ai-studio__generate:hover:not(:disabled),
.woocreate-designer .woocreate-ai-studio__generate:focus-visible {
    background: #0b5ed7 !important;
}

.woocreate-designer .woocreate-ai-studio__generate:disabled {
    cursor: default;
    opacity: 0.55;
}

.woocreate-ai-studio__spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 9px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    vertical-align: -3px;
    animation: woocreate-ai-spin 0.8s linear infinite;
}

@keyframes woocreate-ai-spin {
    to { transform: rotate(360deg); }
}

.woocreate-ai-studio__result {
    display: grid;
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 10px;
    border: 1px solid #d9dee5;
    background: #f7f9fb;
}

.woocreate-ai-studio__composition-summary {
    margin: 0;
    padding: 8px 10px;
    border-left: 3px solid #0d6efd;
    background: #f0f6fc;
    color: #3c434a;
    font-size: 12px;
    line-height: 1.45;
}

.woocreate-ai-studio__result [data-ai-studio-result] {
    min-width: 0;
    margin: 0;
}

.woocreate-ai-studio__preview {
    display: block;
    width: 100%;
    height: 172px;
    object-fit: contain;
    border: 1px solid #d9dee5;
    background: #fff;
}

.woocreate-ai-studio__preview.is-transparent-result {
    background-color: #f4f5f7;
    background-image:
        linear-gradient(45deg, #dfe2e5 25%, transparent 25%),
        linear-gradient(-45deg, #dfe2e5 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #dfe2e5 75%),
        linear-gradient(-45deg, transparent 75%, #dfe2e5 75%);
    background-position: 0 0, 0 8px, 8px -8px, -8px 0;
    background-size: 16px 16px;
}

.woocreate-designer .woocreate-ai-studio__use-design {
    width: 100%;
    min-height: 40px;
    margin-top: 8px;
    padding: 8px 12px;
    border: 1px solid #0d6efd !important;
    border-radius: 0 !important;
    background: #0d6efd !important;
    color: #fff !important;
    font-weight: 700;
    cursor: pointer;
}

.woocreate-designer .woocreate-ai-studio__use-design:hover:not(:disabled),
.woocreate-designer .woocreate-ai-studio__use-design:focus-visible {
    background: #0b5ed7 !important;
}

.woocreate-designer .woocreate-ai-studio__use-design:disabled {
    cursor: default;
    opacity: 0.55;
}

.woocreate-ai-studio__add-feedback {
    min-height: 0;
    margin-top: 4px !important;
    color: #5f6670;
    font-size: 13px;
}

.woocreate-ai-studio__result {
    min-height: 0;
    align-content: start;
}

.woocreate-ai-studio__result[hidden],
.woocreate-ai-studio__photo[hidden] {
    display: none !important;
}

.woocreate-designer .woocreate-ai-studio__change-source {
    width: 100%;
    min-height: 34px;
    margin-top: 6px;
    padding: 6px 10px;
    border: 0 !important;
    background: transparent !important;
    color: #4f5965 !important;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.woocreate-designer .woocreate-ai-studio__change-source:hover,
.woocreate-designer .woocreate-ai-studio__change-source:focus-visible {
    color: #0d6efd !important;
}

@media (max-width: 640px) {
    .woocreate-ai-studio {
        gap: 14px;
    }

    .woocreate-ai-studio__result {
        padding: 10px;
    }

    .woocreate-ai-studio__photo-actions {
        grid-template-columns: 1fr;
    }
}

/* Productcontext moet na alle historische designerregels winnen. */
.woocreate-designer .woocreate-designer__product {
    aspect-ratio: 29.7 / 42 !important;
    background: #fff !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
}

.woocreate-designer .woocreate-designer__print-area {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

.woocreate-designer .woocreate-designer__size-row {
    grid-template-columns: minmax(54px, 1fr) minmax(90px, 120px);
}

/* WooCreate 0.4.1.8.20-alpha — productkeuze boven, A3-canvas los van mock-up. */
.woocreate-designer__header {
    overflow: visible !important;
}

.woocreate-designer__product-options {
    display: flex;
    flex: 0 0 auto;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.woocreate-product-option {
    position: relative;
}

.woocreate-product-option__menu {
    position: absolute;
    z-index: 250;
    top: calc(100% + 7px);
    left: 50%;
    display: grid;
    width: max-content;
    min-width: 190px;
    max-width: min(280px, calc(100vw - 32px));
    gap: 5px;
    padding: 8px;
    border: 1px solid #cfd5dc;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
    transform: translateX(-50%);
}

.woocreate-product-option__menu[hidden] {
    display: none !important;
}

.woocreate-product-option__choice {
    display: flex;
    width: 100%;
    min-height: 38px;
    padding: 5px 8px;
    align-items: center;
    gap: 9px;
    border: 1px solid transparent;
    background: #fff;
    color: #212529;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.woocreate-product-option__choice:hover,
.woocreate-product-option__choice:focus-visible {
    border-color: #aeb7c1;
    background: #f5f6f7;
}

.woocreate-designer .woocreate-product-option__choice,
.woocreate-designer .woocreate-product-option__choice:hover,
.woocreate-designer .woocreate-product-option__choice:focus,
.woocreate-designer .woocreate-product-option__choice:focus-visible,
.woocreate-designer .woocreate-product-option__choice.is-active {
    color: #212529 !important;
}

.woocreate-product-option__choice.is-active {
    border-color: #0d6efd;
    background: #eef5ff;
}

.woocreate-product-option__swatch {
    display: block;
    width: 28px;
    min-width: 28px;
    height: 28px;
    border: 1px solid #8f969e;
}

.woocreate-product-option__colour-choice {
    padding-right: 14px;
}

.woocreate-designer [data-designer-product-side][hidden] {
    display: none !important;
}

.woocreate-product-preview[hidden] {
    display: none !important;
}

.woocreate-product-preview {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: grid;
    padding: 24px;
    overflow: auto;
    place-items: center;
    background: rgba(20, 24, 30, 0.72);
}

.woocreate-product-preview__dialog {
    width: min(980px, 100%);
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow: auto;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.woocreate-product-preview__dialog > header {
    display: flex;
    position: sticky;
    z-index: 2;
    top: 0;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #d9dee5;
    background: #fff;
}

.woocreate-product-preview__dialog h2,
.woocreate-product-preview__dialog h3 {
    margin: 0;
}

.woocreate-product-preview__dialog [data-designer-preview-close] {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #343a40;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.woocreate-product-preview__content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

/* Desktop product preview: one maximal portrait frame inside the designer. */
.woocreate-product-preview.is-desktop-preview {
    position: absolute;
    padding: clamp(24px, 4%, 48px);
    overflow: hidden;
    background: #fff;
}

.woocreate-product-preview.is-desktop-preview
.woocreate-product-preview__dialog {
    width: 100%;
    height: 100%;
    max-height: none;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}

.woocreate-product-preview.is-desktop-preview
.woocreate-product-preview__dialog > header {
    display: none;
}

.woocreate-product-preview.is-desktop-preview
.woocreate-product-preview__content {
    container-type: size;
    display: grid;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    place-items: center;
}

.woocreate-product-preview__desktop-frame {
    position: relative;
    display: grid;
    width: min(100cqw, calc((100cqh - 58px) * 0.8));
    max-width: 760px;
    gap: 18px;
    grid-template-rows: 40px auto;
    pointer-events: none;
}

.woocreate-product-preview__desktop-frame.has-multiple-sides {
    width: min(calc(100cqw - 58px), calc((100cqh - 58px) * 0.8));
}

.woocreate-product-preview__desktop-side-name {
    align-self: end;
    margin: 0;
    color: #000;
    font-size: clamp(24px, 2.2vw, 34px);
    font-weight: 700;
    line-height: 1;
}

.woocreate-product-preview__desktop-stage,
.woocreate-product-preview__desktop-stage .woocreate-product-preview__side {
    width: 100%;
}

.woocreate-product-preview__desktop-stage .woocreate-product-preview__side {
    display: block;
}

.woocreate-product-preview__desktop-stage .woocreate-product-preview__visual {
    width: 100%;
    aspect-ratio: 4 / 5;
    border: 1px solid #d9dee5;
    cursor: default;
}

.woocreate-product-preview__desktop-stage .woocreate-product-preview__visual:hover,
.woocreate-product-preview__desktop-stage .woocreate-product-preview__visual:focus-visible {
    border-color: #d9dee5;
    outline: 0;
}

.woocreate-product-preview__desktop-next {
    position: absolute;
    top: calc(50% + 20px);
    left: calc(100% + 12px);
    display: grid;
    width: 40px;
    height: 52px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    cursor: pointer;
    place-items: center;
    pointer-events: auto;
    transform: translateY(-50%);
}

.woocreate-product-preview__desktop-next[hidden] {
    display: none !important;
}

.woocreate-product-preview__desktop-next svg {
    display: block;
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.woocreate-unprinted-confirm[hidden] {
    display: none !important;
}

.woocreate-unprinted-confirm {
    position: fixed;
    z-index: 1000001;
    inset: 0;
    display: grid;
    padding: 20px;
    place-items: center;
    background: rgba(20, 24, 30, 0.72);
}

.woocreate-unprinted-confirm__dialog {
    width: min(440px, 100%);
    padding: 24px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: #212529;
}

.woocreate-unprinted-confirm__dialog h2 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.25;
}

.woocreate-unprinted-confirm__dialog p {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.5;
}

.woocreate-unprinted-confirm__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.woocreate-unprinted-confirm__actions .button {
    min-width: 90px;
    min-height: 42px;
    cursor: pointer;
}

body.woocreate-storage-open {
    overflow: hidden;
}

@media (min-width: 821px) and (hover: hover) and (pointer: fine) {
    body > .woocreate-storage.woocreate-storage--desktop-modal {
        position: fixed !important;
        inset: 0 !important;
        z-index: 2147483000 !important;
        width: 100vw !important;
        max-width: none !important;
        height: 100vh !important;
        height: 100dvh !important;
        margin: 0 !important;
        transform: none !important;
        box-sizing: border-box !important;
        isolation: isolate;
        contain: none !important;
    }

    body > .woocreate-storage.woocreate-storage--desktop-modal *,
    body > .woocreate-storage.woocreate-storage--desktop-modal *::before,
    body > .woocreate-storage.woocreate-storage--desktop-modal *::after {
        box-sizing: border-box;
    }
}

.woocreate-storage {
    position: fixed;
    z-index: 1000000;
    inset: 0;
    display: grid;
    padding: 24px;
    overflow: auto;
    place-items: center;
    background: rgba(20, 24, 30, 0.72);
}

.woocreate-storage[hidden] {
    display: none;
}

.woocreate-storage__dialog {
    width: min(900px, 100%);
    max-height: calc(100dvh - 48px);
    overflow: auto;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.woocreate-storage__dialog > header {
    display: flex;
    position: sticky;
    z-index: 2;
    top: 0;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #d9dee5;
    background: #fff;
}

.woocreate-storage__dialog h2,
.woocreate-storage__dialog h3,
.woocreate-storage__dialog p {
    margin: 0;
}

.woocreate-storage__close {
    display: grid;
    width: 40px;
    height: 40px;
    padding: 10px;
    border: 0;
    background: transparent;
    color: #343a40;
    cursor: pointer;
    place-items: center;
}

.woocreate-storage__close svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.woocreate-storage__content {
    display: grid;
    gap: 18px;
    padding: 20px;
}

.woocreate-storage__simple-rows {
    display: grid;
    gap: 18px;
}

.woocreate-storage__simple-rows section {
    display: grid;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid #d9dee5;
}

.woocreate-storage__simple-rows section:last-child,
.woocreate-storage__simple-rows.is-single section {
    padding-bottom: 0;
    border-bottom: 0;
}

.woocreate-storage__simple-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px;
    gap: 12px;
    align-items: end;
}

.woocreate-storage__simple-row label,
.woocreate-storage__auth label {
    display: grid;
    gap: 6px;
}

.woocreate-storage__simple-row input,
.woocreate-storage__auth input {
    width: 100%;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #b8c0ca;
    font: inherit;
}

.woocreate-storage .woocreate-storage__simple-row .woocreate-storage__save-button {
    display: grid;
    width: 54px;
    height: 44px;
    min-height: 44px;
    padding: 10px;
    place-items: center;
}

.woocreate-storage__auth {
    display: grid;
    gap: 14px;
}

.woocreate-storage__auth[hidden] {
    display: none;
}

.woocreate-storage__auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.woocreate-storage__lost-password {
    width: max-content;
    max-width: 100%;
    color: #0d6efd;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.woocreate-storage__lost-password:hover,
.woocreate-storage__lost-password:focus-visible {
    color: #0a58ca;
}

.woocreate-storage__title-field {
    display: grid;
    grid-template-columns: 140px minmax(0, 360px);
    align-items: center;
    gap: 12px;
}

.woocreate-storage__title-field input {
    width: 100%;
}

.woocreate-storage__choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.woocreate-storage__choices section {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 14px;
    border: 1px solid #d9dee5;
    background: #fff;
}

.woocreate-storage__choices .button {
    align-self: end;
    justify-self: start;
}

.woocreate-storage .woocreate-storage__save-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    border-color: #0d6efd;
    background: #0d6efd;
    color: #fff;
    cursor: pointer;
}

.woocreate-storage .woocreate-storage__save-button:hover,
.woocreate-storage .woocreate-storage__save-button:focus,
.woocreate-storage .woocreate-storage__save-button:focus-visible,
.woocreate-storage .woocreate-storage__save-button:active {
    border-color: #0d6efd !important;
    background: #0d6efd !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
}

.woocreate-storage__save-button svg {
    width: 17px;
    height: 17px;
    color: #fff !important;
    fill: #fff !important;
}

.woocreate-storage .button {
    min-height: 36px;
    padding: 6px 12px;
    border: 1px solid #0d6efd;
    border-radius: 2px;
    background: #fff;
    color: #0d6efd;
    cursor: pointer;
}

.woocreate-storage .button:hover,
.woocreate-storage .button:focus-visible {
    background: #eef5ff;
}

/* Keep the primary save action visible after the generic storage button rules. */
.woocreate-storage .woocreate-storage__save-button,
.woocreate-storage .woocreate-storage__save-button:hover,
.woocreate-storage .woocreate-storage__save-button:focus,
.woocreate-storage .woocreate-storage__save-button:focus-visible,
.woocreate-storage .woocreate-storage__save-button:active {
    border-color: #0d6efd !important;
    background-color: #0d6efd !important;
    background-image: none !important;
    color: #fff !important;
    opacity: 1 !important;
}

.woocreate-storage .woocreate-storage__save-button svg,
.woocreate-storage .woocreate-storage__save-button svg * {
    color: #fff !important;
    fill: #fff !important;
    stroke: none !important;
    opacity: 1 !important;
}

.woocreate-storage .button-link-delete {
    padding: 5px;
    border: 0;
    background: transparent;
    color: #b32d2e;
    cursor: pointer;
}

.woocreate-storage__warning {
    margin: 10px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
}

.woocreate-storage__message {
    padding: 9px 11px;
    border-left: 3px solid #198754;
    background: #ecf8f1;
}

.woocreate-storage__message.is-error {
    border-left-color: #dc3545;
    background: #fff0f1;
}

.woocreate-storage__saved {
    display: grid;
    gap: 10px;
    padding-top: 4px;
}

.woocreate-storage__transfer {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid #b8c0ca;
    background: #fff;
}

.woocreate-storage__transfer[hidden] {
    display: none;
}

.woocreate-storage__transfer fieldset {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid #d9dee5;
}

.woocreate-storage__transfer legend {
    padding: 0 6px;
}

.woocreate-storage__transfer-body {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) minmax(180px, 260px);
    gap: 18px;
    align-items: center;
}

.woocreate-storage__transfer-choices {
    display: grid;
    gap: 10px;
}

.woocreate-storage__side-preview {
    display: grid;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid #d9dee5;
    background: #e7e9ec;
    place-items: center;
}

.woocreate-storage__side-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.woocreate-storage__transfer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.woocreate-storage .woocreate-storage__transfer-confirm {
    border-color: #198754;
    background: #198754;
    color: #fff;
}

.woocreate-storage .woocreate-storage__transfer-confirm:hover,
.woocreate-storage .woocreate-storage__transfer-confirm:focus-visible {
    border-color: #157347;
    background: #157347;
    color: #fff;
}

@media (max-width: 640px) {
    .woocreate-storage__transfer-body { grid-template-columns: 1fr; }
    .woocreate-storage__side-preview { max-width: 260px; }
}

.woocreate-storage__item {
    position: relative;
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid #e4e7eb;
    background: #fff;
}

.woocreate-library [data-designer-storage-list] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.woocreate-storage__preview {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid #d9dee5;
    background: #fff;
    cursor: pointer;
}

.woocreate-storage__mockup,
.woocreate-storage__design-only {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.woocreate-storage__design-layer {
    position: absolute;
    display: block;
    object-fit: contain;
    pointer-events: none;
}

.woocreate-storage__preview:hover,
.woocreate-storage__preview:focus-visible {
    border-color: #d9dee5;
    outline: 0;
}

.woocreate-storage__item > div {
    display: grid;
    gap: 2px;
}

.woocreate-storage__item > div:last-child {
    display: grid;
    gap: 3px;
}

.woocreate-storage__item > div:last-child > span {
    cursor: pointer;
}

.woocreate-storage__icon-button,
.woocreate-storage__use-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    gap: 7px;
    padding: 8px 10px;
    border: 0;
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
}

.woocreate-storage__icon-button svg,
.woocreate-storage__use-button svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: currentColor;
}

.woocreate-storage__icon-button--open,
.woocreate-storage__use-button {
    background: #198754;
}

.woocreate-storage__icon-button--open:hover,
.woocreate-storage__icon-button--open:focus-visible,
.woocreate-storage__use-button:hover,
.woocreate-storage__use-button:focus-visible {
    background: #157347;
}

.woocreate-storage__icon-button--delete {
    position: absolute;
    z-index: 3;
    top: 16px;
    right: 16px;
    background: #dc3545;
}

.woocreate-storage__icon-button--delete:hover,
.woocreate-storage__icon-button--delete:focus-visible {
    background: #bb2d3b;
}

.woocreate-storage__item small,
.woocreate-storage__empty {
    color: #646970;
}

@media (max-width: 760px) {
    .woocreate-storage {
        padding: 10px;
    }

    .woocreate-storage__choices {
        grid-template-columns: 1fr;
    }

    .woocreate-storage__title-field {
        grid-template-columns: 1fr;
    }

    .woocreate-library [data-designer-storage-list] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 460px) {
    .woocreate-library [data-designer-storage-list] {
        grid-template-columns: 1fr;
    }
}

.woocreate-product-preview__side {
    display: grid;
    flex: 0 1 360px;
    width: min(360px, 100%);
    gap: 10px;
}

.woocreate-product-preview__visual {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #d9dee5;
    border-radius: 0;
    appearance: none;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    box-shadow: none;
    cursor: pointer;
    user-select: none;
}

.woocreate-product-preview__visual:hover,
.woocreate-product-preview__visual:focus-visible {
    border-color: #0d6efd;
    outline: 2px solid transparent;
}

.woocreate-product-preview__placement {
    position: absolute;
    display: block;
    overflow: hidden;
    background: transparent;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.woocreate-product-preview__placement > img {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 1;
    object-fit: contain;
    filter: none;
    mix-blend-mode: normal;
    transform: translate(-50%, -50%);
    pointer-events: none;
    user-select: none;
}

/* Preview is een vaste eyecatcher; afmetingen en positie blijven afkomstig
   uit de bestaande header- en mobiele werkbalkregels. */
.woocreate-designer [data-designer-preview],
.woocreate-designer [data-mobile-proxy="preview"],
.woocreate-designer [data-designer-preview]:hover,
.woocreate-designer [data-designer-preview]:focus,
.woocreate-designer [data-mobile-proxy="preview"]:hover,
.woocreate-designer [data-mobile-proxy="preview"]:focus {
    background: #0275d8 !important;
    color: #fff !important;
}
.woocreate-designer [data-designer-preview] svg,
.woocreate-designer [data-mobile-proxy="preview"] svg {
    color: #fff !important;
    fill: currentColor !important;
}

.woocreate-production-summary {
    display: grid;
    gap: 0;
    margin: 14px 0 8px;
    border: 1px solid #d9dee5;
    background: #fff;
}

.woocreate-production-summary > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 9px 11px;
    border-bottom: 1px solid #e8ebef;
}

.woocreate-production-summary > div:last-child {
    border-bottom: 0;
}

.woocreate-production-summary dt,
.woocreate-production-summary dd {
    margin: 0;
}

.woocreate-production-summary dt {
    color: #5f6670;
}

.woocreate-production-summary dd {
    font-weight: 700;
    text-align: right;
}

/* WooCreate 0.4.1.8.28-alpha — realtime prijs en compacte productie-informatie. */
.woocreate-designer__product-summary {
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.woocreate-designer__live-price {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    gap: 5px;
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
}

.woocreate-price-help {
    display: inline-grid;
    width: 17px;
    min-width: 17px;
    height: 17px;
    min-height: 17px;
    padding: 0;
    place-items: center;
    border: 1px solid #98a1aa;
    border-radius: 50%;
    background: #fff;
    color: #59636e;
    font: 600 11px/1 sans-serif;
    cursor: pointer;
}

.woocreate-price-help__popover {
    position: absolute;
    z-index: 40;
    top: calc(100% + 8px);
    left: 0;
    width: min(310px, 80vw);
    padding: 12px;
    border: 1px solid #d5dbe2;
    background: #fff;
    box-shadow: 0 8px 24px rgb(0 0 0 / 14%);
    color: #28323c;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

.woocreate-price-help__popover > span {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.woocreate-price-help__popover small {
    display: block;
    margin-top: 8px;
    color: #66717c;
}

.woocreate-designer__sizes-at-top {
    margin: 0 0 14px;
    padding: 0 0 12px;
    border-bottom: 1px solid #e1e5e9;
}

.woocreate-designer__sizes-at-top h3 {
    margin: 0 0 8px;
}

.woocreate-designer__attribute-surcharge {
    margin-left: .3em;
    color: inherit;
    font: inherit;
    white-space: nowrap;
}

.woocreate-discount-table {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    width: 100%;
    margin-top: 36px;
    padding: 10px 8px;
    box-sizing: border-box;
    border-top: 1px solid #d8dde3;
    border-bottom: 1px solid #d8dde3;
    color: #2f3943;
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
    font-family: inherit;
    font-weight: 400;
    font-style: normal;
}

.woocreate-discount-table,
.woocreate-discount-table * {
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
}

.woocreate-discount-table__heading {
    margin-bottom: 2px;
    text-align: left;
}

.woocreate-discount-table__row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    text-align: left;
}

.woocreate-designer .woocreate-designer__size-row {
    grid-template-columns: minmax(54px, 1fr) minmax(90px, 120px);
}

.woocreate-designer .woocreate-designer__size-row > span {
    text-align: center;
}

/* WooCreate 2.0.0.52 — stabiel desktop-bestelpaneel met één scrollcontainer. */
@media (min-width: 961px) {
    .woocreate-designer.is-order-panel-open .woocreate-designer__workspace {
        grid-template-rows: minmax(0, 1fr);
        min-height: 0;
    }

    .woocreate-designer.is-order-panel-open .woocreate-designer__properties {
        display: grid !important;
        grid-template-rows: auto minmax(0, 1fr);
        min-height: 0;
        overflow: clip;
    }

    .woocreate-designer.is-order-panel-open [data-designer-order-panel] {
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
        min-height: 0;
        overflow: clip;
    }

    .woocreate-designer.is-order-panel-open .woocreate-designer__sizes-at-top {
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
        min-height: 0;
        overflow: clip;
    }

    .woocreate-designer.is-order-panel-open .woocreate-designer__size-list {
        min-height: 0;
        padding-right: 2px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .woocreate-designer.is-order-panel-open .woocreate-designer__order-footer {
        min-height: 0;
        flex-shrink: 0;
    }

    /* Reserveer de volledige footerhoogte vanaf hoeveelheid nul. Alleen de
       waarden/zichtbaarheid veranderen; de matenlijst behoudt zijn geometrie. */
    .woocreate-designer.is-order-panel-open
    .woocreate-designer__order-footer
    .woocreate-quantity-discount.is-empty,
    .woocreate-designer.is-order-panel-open
    .woocreate-designer__order-footer
    .woocreate-quantity-discount > span.is-empty {
        visibility: hidden;
    }
}

.woocreate-quantity-discount {
    display: grid;
    gap: 5px;
    margin: 12px 0;
    padding: 10px 12px;
    border: 1px solid #d8dde3;
    background: #fff;
    color: #2f3943;
    font-size: 13px;
    line-height: 1.35;
}

.woocreate-quantity-discount[hidden] {
    display: none;
}

.woocreate-quantity-discount > span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.woocreate-quantity-discount > span[hidden] {
    display: none;
}

.woocreate-quantity-discount__total {
    padding-top: 6px;
    border-top: 1px solid #d8dde3;
}

.woocreate-production-technique {
    width: 100%;
    min-width: 0;
    max-width: none;
    margin-top: 10px;
    box-sizing: border-box;
    color: #5e6872;
    font-size: 12px;
    line-height: 1.45;
    text-align: left;
}

.woocreate-production-technique [data-production-technique-explanation] {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.woocreate-production-technique__title {
    display: block;
    margin: 0 0 8px;
}

.woocreate-production-technique [data-production-technique-explanation] img {
    max-width: 100%;
    height: auto;
}

/* WooCreate 0.4.1.8.30-alpha — Bootstrap info-icon en rustig prijsbonnetje. */
.woocreate-price-help {
    display: inline-flex;
    width: 18px;
    min-width: 18px;
    height: 18px;
    min-height: 18px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #69727c;
}

.woocreate-price-help .bi {
    display: block;
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 140ms ease;
}

.woocreate-price-help:hover,
.woocreate-price-help:focus-visible,
.woocreate-price-help:active {
    background: transparent;
    color: #69727c;
    outline: 0;
}

.woocreate-price-help:hover .bi,
.woocreate-price-help:focus-visible .bi {
    transform: scale(1.14);
}

.woocreate-price-help__popover {
    top: calc(100% + 10px);
    left: 0;
    width: min(360px, calc(100vw - 32px));
    padding: 18px 20px;
    border: 1px solid #d8dde3;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 10px 28px rgb(0 0 0 / 12%);
    color: #3e4750;
    font-family: inherit;
    font-size: var(--woocreate-price-receipt-font-size, 18px) !important;
    font-style: normal;
    font-weight: 400;
    line-height: 1.45;
    white-space: normal;
}

.woocreate-price-help__popover,
.woocreate-price-help__popover * {
    font-family: inherit;
    font-size: var(--woocreate-price-receipt-font-size, 18px) !important;
    font-style: normal;
    font-weight: 400;
    line-height: inherit;
}

.woocreate-price-receipt__title,
.woocreate-price-receipt__label,
.woocreate-price-receipt__empty,
.woocreate-price-receipt__sides,
.woocreate-price-receipt__row {
    display: block;
}

.woocreate-price-help__popover > span {
    display: block;
    justify-content: initial;
    gap: 0;
}

.woocreate-price-receipt__title {
    margin-bottom: 14px;
}

.woocreate-price-receipt__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    column-gap: 18px;
    align-items: baseline;
}

.woocreate-price-help__popover > .woocreate-price-receipt__row {
    display: grid;
    gap: 18px;
}

.woocreate-price-receipt__product-row {
    margin-bottom: 14px;
}

.woocreate-price-receipt__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.woocreate-price-receipt__label {
    margin-bottom: 4px;
}

.woocreate-price-receipt__sides .woocreate-price-receipt__row + .woocreate-price-receipt__row {
    margin-top: 2px;
}

.woocreate-price-receipt__rule {
    position: relative;
    display: block;
    width: 46%;
    margin: 12px 0 7px auto;
    border-top: 1px solid #8f969d;
}

.woocreate-price-receipt__rule::after {
    position: absolute;
    top: -11px;
    right: -12px;
    padding-left: 4px;
    background: #fff;
    content: "+";
}

.woocreate-price-receipt__total-row {
    padding-top: 2px;
}

.woocreate-price-receipt__empty {
    margin-top: 12px;
    color: #717981;
}

.woocreate-product-side {
    position: relative;
}

.woocreate-context-help {
    display: inline-grid;
    width: 18px;
    min-width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 0 0 0 4px;
    padding: 0;
    place-items: center;
    border: 1px solid #8c959f;
    border-radius: 50%;
    background: #fff;
    color: #4f5964;
    font: 700 12px/1 sans-serif;
    vertical-align: middle;
    cursor: pointer;
}

.woocreate-context-help:hover,
.woocreate-context-help:focus-visible {
    border-color: #0d6efd;
    color: #0d6efd;
}

.woocreate-designer__product-options
.woocreate-context-help__popover {
    position: absolute;
    z-index: 220;
    top: calc(100% + 7px);
    right: 0;
    display: block;
    width: 240px;
    padding: 9px 11px;
    border: 1px solid #cfd5dc;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
    color: #343a40;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.woocreate-designer__product-options
.woocreate-context-help__popover[hidden] {
    display: none !important;
}

.woocreate-product-preview__empty {
    flex: 1 1 100%;
    margin: 20px;
    text-align: center;
}

body.woocreate-product-enabled .woocommerce div.product .summary,
body.woocreate-product-enabled .woocommerce div.product div.images {
    display: none !important;
}

body.woocreate-product-enabled .woocommerce div.product > .woocreate-designer {
    float: none;
    clear: both;
    width: 100%;
    margin: 0 0 28px;
}

body.woocreate-product-enabled .woocommerce div.product .woocommerce-tabs {
    clear: both;
    width: 100%;
}

@media (max-width: 760px) {
    .woocreate-designer__header {
        flex-wrap: wrap;
    }

    .woocreate-designer__product-options {
        order: 3;
        width: 100%;
    }

    .woocreate-product-preview {
        padding: 10px;
    }

    .woocreate-product-preview__dialog {
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);
    }
}

/* WooCreate 1.0.0.2-béta — beheerbare Bootstrap Outline-voorinstelling. */
.woocreate-designer.woocreate-buttons-bootstrap-outline
.woocreate-designer__toolbar button[data-designer-tool] {
    width: 100% !important;
    min-height: 68px !important;
    margin: 0 !important;
    padding: 14px 12px !important;
    border: 0 !important;
    border-top: 1px solid #ced4da !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #111111 !important;
    box-shadow: none !important;
}

.woocreate-designer.woocreate-buttons-bootstrap-outline
.woocreate-designer__toolbar button[data-designer-tool] > span:last-child {
    white-space: nowrap;
}

.woocreate-designer.woocreate-buttons-bootstrap-outline
.woocreate-designer__toolbar button[data-designer-tool]:last-of-type {
    border-bottom: 1px solid #ced4da !important;
}

.woocreate-designer.woocreate-buttons-bootstrap-outline
.woocreate-designer__toolbar button[data-designer-tool]:hover,
.woocreate-designer.woocreate-buttons-bootstrap-outline
.woocreate-designer__toolbar button[data-designer-tool].is-active {
    background: #f8f9fa !important;
    color: #111111 !important;
}

.woocreate-designer.woocreate-buttons-bootstrap-outline
.woocreate-designer__toolbar button[data-designer-tool]:focus-visible {
    position: relative;
    z-index: 1;
    outline: 2px solid #212529 !important;
    outline-offset: -2px !important;
}

.woocreate-designer.woocreate-buttons-bootstrap-outline
.woocreate-shape-library__item {
    border: 1px solid #ced4da !important;
    border-radius: .375rem !important;
    background: #ffffff !important;
    color: #111111 !important;
    box-shadow: none !important;
}

.woocreate-designer.woocreate-buttons-bootstrap-outline
.woocreate-shape-library__item:hover,
.woocreate-designer.woocreate-buttons-bootstrap-outline
.woocreate-shape-library__item:focus-visible {
    border-color: #6c757d !important;
    background: #f8f9fa !important;
    color: #111111 !important;
}

.woocreate-tool-letter {
    display: block;
    color: #111111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    font-weight: 700;
    line-height: 1;
}

/* WooCreate 1.0.0.3-béta — compacte designer zonder canvas-scrollbar. */
@media (min-width: 761px) {
    .woocreate-designer {
        min-height: 0 !important;
    }

    .woocreate-designer__workspace {
        height: clamp(620px, calc(100dvh - 150px), 760px) !important;
        min-height: 620px !important;
    }

    .woocreate-designer__toolbar {
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    .woocreate-designer .woocreate-designer__stage {
        height: 100% !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    .woocreate-designer .woocreate-designer__canvas {
        overflow: hidden !important;
    }

    .woocreate-designer .woocreate-designer__product {
        height: calc(100% - 8px) !important;
        max-height: calc(100% - 8px) !important;
        margin-top: 8px !important;
    }
}

.woocreate-designer.woocreate-buttons-bootstrap-outline
.woocreate-designer__toolbar button[data-designer-tool] {
    min-height: 54px !important;
    padding: 9px 12px !important;
}

/* WooCreate 1.0.0.16-béta — één Bootstrap Icons- en knopcontract.
 * Deze afsluitende laag is bewust thema-onafhankelijk en overschrijft oude,
 * verspreide SVG- en hoverregels binnen uitsluitend de designer. */
.woocreate-designer .bi,
.woocreate-designer .woocreate-tool-icon .bi,
.woocreate-designer .woocreate-shape-library__preview .bi,
.woocreate-designer .woocreate-canvas-control .bi,
.woocreate-designer .woocreate-designer__zoom .bi,
.woocreate-designer .woocreate-designer__layer-delete .bi {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    fill: currentColor !important;
    stroke: none !important;
    stroke-width: 0 !important;
}

.woocreate-designer .woocreate-header-action .bi {
    width: 28px !important;
    height: 28px !important;
}

.woocreate-designer .woocreate-tool-icon {
    display: inline-grid !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    flex: 0 0 28px !important;
    place-items: center !important;
    color: #111 !important;
}

.woocreate-designer.woocreate-buttons-bootstrap-outline
.woocreate-designer__toolbar button[data-designer-tool] {
    position: relative !important;
    z-index: 0 !important;
    display: flex !important;
    width: 100% !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    border: 0 !important;
    border-top: 1px solid #ced4da !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
    line-height: 1.2 !important;
    overflow: visible !important;
}

/* Desktop toolbar visibility is configuration-driven. The local rule must
 * outrank the legacy forced flex display above without affecting Mobile. */
.woocreate-designer
.woocreate-designer__toolbar button[data-desktop-action-key][hidden] {
    display: none !important;
}

.woocreate-designer.woocreate-buttons-bootstrap-outline
.woocreate-designer__toolbar > button + button {
    margin-top: 0 !important;
}

.woocreate-designer.woocreate-buttons-bootstrap-outline
.woocreate-designer__toolbar button[data-designer-tool]:last-of-type {
    border-bottom: 1px solid #ced4da !important;
}

.woocreate-designer.woocreate-buttons-bootstrap-outline
.woocreate-designer__toolbar button[data-designer-tool]:hover:not(:disabled),
.woocreate-designer.woocreate-buttons-bootstrap-outline
.woocreate-designer__toolbar button[data-designer-tool].is-active {
    z-index: 1 !important;
    border-color: #ced4da !important;
    outline: 0 !important;
    background: #f1f3f5 !important;
    color: #111 !important;
    box-shadow: inset 0 0 0 1px #6c757d !important;
}

.woocreate-designer.woocreate-buttons-bootstrap-outline
.woocreate-designer__toolbar button[data-designer-tool]:focus-visible {
    z-index: 2 !important;
    border-color: #ced4da !important;
    outline: 0 !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: inset 0 0 0 2px #212529 !important;
}

.woocreate-designer.woocreate-buttons-bootstrap-outline
.woocreate-designer__toolbar button[data-designer-tool]:disabled {
    cursor: default !important;
    opacity: .42 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.woocreate-designer .woocreate-header-action {
    border: 0 !important;
    outline: 0 !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
}

.woocreate-designer .woocreate-header-action:hover:not(:disabled),
.woocreate-designer .woocreate-header-action.is-active {
    background: #f1f3f5 !important;
    color: #111 !important;
    box-shadow: inset 0 0 0 1px #ced4da !important;
}

.woocreate-designer .woocreate-header-action:focus-visible {
    outline: 0 !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: inset 0 0 0 2px #212529 !important;
}

.woocreate-designer .woocreate-header-action:disabled {
    cursor: default !important;
    opacity: .42 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.woocreate-designer .woocreate-designer__stage,
.woocreate-designer .woocreate-designer__canvas {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.woocreate-designer .woocreate-canvas-control,
.woocreate-designer .woocreate-designer__zoom button {
    border: 1px solid #ced4da !important;
    outline: 0 !important;
    background: #fff !important;
    color: #212529 !important;
    box-shadow: none !important;
}

.woocreate-designer .woocreate-canvas-control:hover:not(:disabled),
.woocreate-designer .woocreate-designer__zoom button:hover:not(:disabled) {
    border-color: #6c757d !important;
    background: #f1f3f5 !important;
    color: #111 !important;
    box-shadow: none !important;
}

.woocreate-designer .woocreate-canvas-control:focus-visible,
.woocreate-designer .woocreate-designer__zoom button:focus-visible {
    border-color: #212529 !important;
    outline: 0 !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: inset 0 0 0 1px #212529 !important;
}

/* WooCreate 1.0.0.18-béta — uitlijning, selectieherstel en kleurpaletten. */
.woocreate-designer
.woocreate-designer__product-summary > [data-designer-product-name] {
    display: flex !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    align-items: center !important;
    -webkit-line-clamp: unset !important;
}

.woocreate-designer
.woocreate-designer__product-summary > [data-designer-product-name] > span {
    display: -webkit-box !important;
    width: 100% !important;
    max-height: 48px !important;
    overflow: hidden !important;
    line-height: 24px !important;
    white-space: normal !important;
    text-overflow: ellipsis !important;
    overflow-wrap: anywhere !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}

.woocreate-designer
.woocreate-designer__live-price > [data-designer-product-price] {
    display: flex !important;
    height: 58px !important;
    min-height: 58px !important;
    align-items: center !important;
    color: #6ba333 !important;
    font-size: 64px !important;
    line-height: 58px !important;
}

.woocreate-designer .woocreate-price-help,
.woocreate-designer .woocreate-price-help > span {
    color: #111 !important;
}

.woocreate-designer .woocreate-color-palette__trigger,
.woocreate-designer .woocreate-color-palette__swatch,
.woocreate-designer .woocreate-product-color-picker__swatch,
.woocreate-designer .woocreate-product-option__swatch {
    border-radius: 0 !important;
}

.woocreate-designer .woocreate-color-palette__trigger {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    aspect-ratio: 1 / 1 !important;
}

.woocreate-designer .woocreate-color-palette__popular,
.woocreate-designer .woocreate-color-palette__grid {
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 3px !important;
}

.woocreate-designer .woocreate-color-palette__swatch--popular,
.woocreate-designer .woocreate-color-palette__swatch--grid {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
}

.woocreate-designer
.woocreate-color-palette__swatch.is-transparent {
    background:
        linear-gradient(
            135deg,
            transparent calc(50% - 2px),
            #dc3545 calc(50% - 2px),
            #dc3545 calc(50% + 2px),
            transparent calc(50% + 2px)
        ),
        #fff !important;
}

@media (max-width: 980px) {
    .woocreate-designer
    .woocreate-designer__live-price > [data-designer-product-price] {
        font-size: 64px !important;
        line-height: 58px !important;
    }
}

/* WooCreate 1.0.0.17-béta — vernieuwde header, kostenbon en Safari-canvas. */
@font-face {
    font-family: "Typo Digit";
    src: url("../fonts/TypoDigitItalicDemo.otf") format("opentype");
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Space Mono";
    src: url("../fonts/SpaceMono-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

.woocreate-designer .woocreate-designer__product-summary {
    display: grid !important;
    grid-template-columns: minmax(110px, 220px) auto !important;
    min-width: 0 !important;
    align-items: center !important;
    gap: 20px !important;
    white-space: normal !important;
}

.woocreate-designer
.woocreate-designer__product-summary > [data-designer-product-name] {
    display: -webkit-box !important;
    min-width: 0 !important;
    min-height: 48px !important;
    max-height: 48px !important;
    margin: 0 !important;
    padding: 0 18px 0 0 !important;
    align-content: center !important;
    overflow: hidden !important;
    border-right: 1px solid #8f969d !important;
    font-size: 18px !important;
    line-height: 24px !important;
    white-space: normal !important;
    text-overflow: ellipsis !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}

.woocreate-designer .woocreate-designer__live-price {
    display: grid !important;
    grid-template-columns: max-content 54px !important;
    min-width: 0 !important;
    align-items: center !important;
    gap: 13px !important;
    font-size: initial !important;
}

.woocreate-designer
.woocreate-designer__live-price > [data-designer-product-price] {
    color: #6ba333 !important;
    font-family: "Typo Digit", "Space Mono", monospace !important;
    font-size: 48px !important;
    font-style: italic !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.woocreate-designer .woocreate-price-help {
    display: inline-flex !important;
    width: 54px !important;
    min-width: 54px !important;
    height: 58px !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 4px 2px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 3px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #111 !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
    box-shadow: none !important;
}

.woocreate-designer .woocreate-price-help .bi {
    width: 28px !important;
    height: 28px !important;
    transform: none !important;
}

.woocreate-designer .woocreate-price-help:hover,
.woocreate-designer .woocreate-price-help[aria-expanded="true"] {
    background: #f1f3f5 !important;
    color: #111 !important;
    box-shadow: inset 0 0 0 1px #ced4da !important;
}

.woocreate-designer .woocreate-price-help:focus-visible {
    outline: 0 !important;
    background: #fff !important;
    box-shadow: inset 0 0 0 2px #212529 !important;
}

.woocreate-designer .woocreate-price-help__popover,
.woocreate-designer .woocreate-price-help__popover * {
    font-family: "Space Mono", monospace !important;
    font-style: normal !important;
    font-weight: 400 !important;
}

.woocreate-price-help__close { display: none; }

.woocreate-designer .woocreate-price-receipt__discount-table {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 5px !important;
    width: 100% !important;
    margin-top: 22px !important;
    padding: 10px 8px !important;
    border-top: 1px solid #d8dde3 !important;
    border-bottom: 1px solid #d8dde3 !important;
    color: #2f3943 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    text-align: left !important;
}

.woocreate-designer .woocreate-price-receipt__discount-table,
.woocreate-designer .woocreate-price-receipt__discount-table * {
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

.woocreate-designer .woocreate-price-receipt__discount-heading {
    margin-bottom: 2px !important;
}

.woocreate-designer .woocreate-price-receipt__discount-row {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 8px !important;
}

.woocreate-designer
.woocreate-header-action[data-designer-order] {
    width: 88px !important;
    min-width: 88px !important;
    min-height: 76px !important;
    color: #6ba333 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.woocreate-designer
.woocreate-header-action[data-designer-order] .bi {
    width: 40px !important;
    height: 40px !important;
}

.woocreate-designer
.woocreate-header-action[data-designer-order]:hover:not(:disabled),
.woocreate-designer
.woocreate-header-action[data-designer-order].is-active {
    color: #6ba333 !important;
}

.woocreate-designer .woocreate-designer__grid-toggle {
    padding-top: 0 !important;
    border-top: 0 !important;
}

.woocreate-designer .woocreate-remove-background,
.woocreate-designer .woocreate-crop-button {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    text-align: left !important;
}

.woocreate-designer .woocreate-remove-background .bi,
.woocreate-designer .woocreate-crop-button .bi {
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px !important;
}

/* Eén grens rond het ontwerpvlak. Het canvas zelf tekent geen tweede rand. */
.woocreate-designer .woocreate-designer__stage {
    isolation: isolate !important;
    contain: layout paint !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.woocreate-designer .woocreate-designer__canvas {
    contain: layout paint !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.woocreate-designer .woocreate-designer__product {
    overflow: hidden !important;
    border: 1px solid #d9dee5 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    transform: translateZ(0) scale(var(--woocreate-canvas-zoom, 1)) !important;
    backface-visibility: hidden !important;
}

.woocreate-designer .woocreate-reference-canvas,
.woocreate-designer .woocreate-crop-overlay {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    transform: translate3d(-50%, -50%, 0) !important;
    backface-visibility: hidden !important;
}

@media (max-width: 980px) {
    .woocreate-designer .woocreate-designer__product-summary {
        grid-template-columns: minmax(100px, 180px) auto !important;
        gap: 12px !important;
    }

    .woocreate-designer
    .woocreate-designer__live-price > [data-designer-product-price] {
        font-size: 42px !important;
    }
}

.woocreate-designer .woocreate-canvas-control:disabled,
.woocreate-designer .woocreate-designer__zoom button:disabled {
    cursor: default !important;
    opacity: .35 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.woocreate-designer .woocreate-shape-library__preview {
    display: grid !important;
    width: 34px !important;
    height: 34px !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    clip-path: none !important;
    color: #111 !important;
}

.woocreate-designer .woocreate-shape-library__preview .bi {
    width: 30px !important;
    height: 30px !important;
}

.woocreate-designer.woocreate-buttons-bootstrap-outline
.woocreate-shape-library__item {
    border: 1px solid #ced4da !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
}

.woocreate-designer.woocreate-buttons-bootstrap-outline
.woocreate-shape-library__item:hover {
    border-color: #6c757d !important;
    outline: 0 !important;
    background: #f1f3f5 !important;
    color: #111 !important;
    box-shadow: none !important;
}

.woocreate-designer.woocreate-buttons-bootstrap-outline
.woocreate-shape-library__item:focus-visible {
    border-color: #212529 !important;
    outline: 0 !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: inset 0 0 0 1px #212529 !important;
}

/* 1.0.0.18 eindcontract: moet na alle historische correctielagen staan. */
.woocreate-designer
.woocreate-designer__product-summary > [data-designer-product-name] {
    display: flex !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    align-items: center !important;
    -webkit-line-clamp: unset !important;
}

.woocreate-designer
.woocreate-designer__product-summary > [data-designer-product-name] > span {
    display: -webkit-box !important;
    width: 100% !important;
    max-height: 48px !important;
    overflow: hidden !important;
    line-height: 24px !important;
    white-space: normal !important;
    text-overflow: ellipsis !important;
    overflow-wrap: anywhere !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}

.woocreate-designer
.woocreate-designer__live-price > [data-designer-product-price] {
    display: flex !important;
    height: 58px !important;
    min-height: 58px !important;
    align-items: center !important;
    color: #6ba333 !important;
    font-size: 64px !important;
    line-height: 58px !important;
}

.woocreate-designer .woocreate-price-help,
.woocreate-designer .woocreate-price-help > span {
    color: #111 !important;
}

@media (max-width: 980px) {
    .woocreate-designer
    .woocreate-designer__live-price > [data-designer-product-price] {
        font-size: 64px !important;
        line-height: 58px !important;
    }
}
.woocreate-mobile-text-editor { display: none; }
.woocreate-designer__wait {
    position: absolute;
    z-index: 10000;
    inset: 0;
    display: grid;
    place-items: center;
    background: transparent;
    cursor: wait;
}

.woocreate-designer__wait[hidden] {
    display: none !important;
}

.woocreate-designer__wait-spinner {
    position: relative;
    width: 64px;
    height: 64px;
    animation: woocreate-activity-spin .9s steps(12) infinite;
}

.woocreate-designer__wait-spinner i {
    position: absolute;
    top: 1px;
    left: 29.5px;
    display: block;
    width: 5px;
    height: 17px;
    border-radius: 999px;
    background: #3c3c43;
    transform-origin: 2.5px 31px;
}
.woocreate-designer__wait-spinner i:nth-child(1)  { transform: rotate(0deg); opacity: 1; }
.woocreate-designer__wait-spinner i:nth-child(2)  { transform: rotate(30deg); opacity: .92; }
.woocreate-designer__wait-spinner i:nth-child(3)  { transform: rotate(60deg); opacity: .84; }
.woocreate-designer__wait-spinner i:nth-child(4)  { transform: rotate(90deg); opacity: .76; }
.woocreate-designer__wait-spinner i:nth-child(5)  { transform: rotate(120deg); opacity: .68; }
.woocreate-designer__wait-spinner i:nth-child(6)  { transform: rotate(150deg); opacity: .60; }
.woocreate-designer__wait-spinner i:nth-child(7)  { transform: rotate(180deg); opacity: .52; }
.woocreate-designer__wait-spinner i:nth-child(8)  { transform: rotate(210deg); opacity: .44; }
.woocreate-designer__wait-spinner i:nth-child(9)  { transform: rotate(240deg); opacity: .36; }
.woocreate-designer__wait-spinner i:nth-child(10) { transform: rotate(270deg); opacity: .28; }
.woocreate-designer__wait-spinner i:nth-child(11) { transform: rotate(300deg); opacity: .20; }
.woocreate-designer__wait-spinner i:nth-child(12) { transform: rotate(330deg); opacity: .12; }

@keyframes woocreate-activity-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .woocreate-designer__wait-spinner { animation-duration: 1.6s; }
}

/* Winkelwagenontwerp herstellen: één vaste wachtlaag binnen het zichtbare
   canvas. Deze laag blijft staan tot na de eerste paint van het herstelde ontwerp. */
.woocreate-designer__canvas.is-cart-restore-wait {
    position: relative !important;
}

.woocreate-designer__canvas.is-cart-restore-wait > .woocreate-designer__wait {
    position: absolute !important;
    z-index: 10020 !important;
    inset: 0 !important;
    display: grid;
    width: 100% !important;
    height: 100% !important;
    place-items: center;
    background: transparent;
    pointer-events: all;
    touch-action: none;
}

.woocreate-designer__canvas.is-cart-restore-wait > .woocreate-designer__wait[hidden] {
    display: none !important;
}

/* 1.0.8.9: vaste desktop-eyecatchers met dezelfde maat als de overige
   headerknoppen. Mobiele proxyknoppen behouden hun eigen regels. */
@media (min-width: 821px) {
    .woocreate-designer .woocreate-header-action[data-designer-preview],
    .woocreate-designer .woocreate-header-action[data-designer-share],
    .woocreate-designer .woocreate-header-action[data-designer-order] {
        width: 72px !important;
        min-width: 72px !important;
        min-height: 66px !important;
        padding: 7px 4px 5px !important;
        border: 0 !important;
        border-radius: 4px !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        box-shadow: none !important;
    }

    .woocreate-designer .woocreate-header-action[data-designer-share] {
        color: #111 !important;
        -webkit-text-fill-color: #111 !important;
    }

    .woocreate-designer .woocreate-header-action[data-designer-preview],
    .woocreate-designer .woocreate-header-action[data-designer-preview]:hover:not(:disabled),
    .woocreate-designer .woocreate-header-action[data-designer-preview]:focus-visible,
    .woocreate-designer .woocreate-header-action[data-designer-preview].is-active {
        background: #0275d8 !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }

    .woocreate-designer .woocreate-header-action[data-designer-order],
    .woocreate-designer .woocreate-header-action[data-designer-order]:hover:not(:disabled),
    .woocreate-designer .woocreate-header-action[data-designer-order]:focus-visible,
    .woocreate-designer .woocreate-header-action[data-designer-order].is-active {
        background: #07953f !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }

    .woocreate-designer .woocreate-header-action[data-designer-preview] .bi,
    .woocreate-designer .woocreate-header-action[data-designer-share] .bi,
    .woocreate-designer .woocreate-header-action[data-designer-order] .bi {
        width: 28px !important;
        height: 28px !important;
        color: #fff !important;
        fill: currentColor !important;
    }
}
.woocreate-share-dialog { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.45); }
.woocreate-share-dialog__panel { position: relative; width: min(560px, 100%); padding: 24px; border-radius: 8px; background: #fff; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.woocreate-share-dialog__panel h2 { margin: 0 0 16px; }
.woocreate-share-dialog__panel textarea { display: block; width: 100%; min-height: 170px; margin-bottom: 16px; padding: 12px; resize: vertical; }
.woocreate-share-dialog__mockup { display: block; width: min(260px, 100%); max-height: 260px; margin: 0 auto 16px; border-radius: 6px; object-fit: contain; background: #f6f7f7; }
.woocreate-share-dialog__actions { display: flex; gap: 10px; }
.woocreate-share-dialog__actions a { cursor: pointer; text-decoration: none; }
.woocreate-share-dialog__close { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; }

.woocreate-email-share {
    position: fixed;
    z-index: 1000001;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, .55);
}

.woocreate-email-share[hidden] {
    display: none;
}

.woocreate-email-share__dialog {
    width: min(560px, 100%);
    max-height: calc(100dvh - 48px);
    overflow: auto;
    border-radius: 8px;
    background: var(--wc-panel, #fff);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}

.woocreate-email-share__dialog > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--wc-border, #dcdcde);
}

.woocreate-email-share__dialog h2 {
    margin: 0;
    font-size: 20px;
}

.woocreate-email-share__close {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #1d2327;
    cursor: pointer;
}

.woocreate-email-share__close:hover,
.woocreate-email-share__close:focus-visible {
    background: #f0f0f1;
}

.woocreate-email-share__close svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.woocreate-email-share__content {
    display: grid;
    gap: 16px;
    padding: 20px;
}

.woocreate-email-share__content label {
    display: grid;
    gap: 6px;
    color: #1d2327;
    font-weight: 600;
}

.woocreate-email-share__content input,
.woocreate-email-share__content textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    background: #fff;
    color: #1d2327;
    font: inherit;
    font-weight: 400;
}

.woocreate-email-share__content input {
    min-height: 44px;
}

.woocreate-email-share__content textarea {
    min-height: 150px;
    resize: vertical;
}

.woocreate-email-share__status {
    margin: 0;
    color: #2271b1;
}

.woocreate-email-share__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.woocreate-ai-description-help__dialog {
    width: min(520px, 100%);
}

.woocreate-ai-description-help__content {
    display: grid;
    gap: 16px;
    padding: 20px;
    color: #1d2327;
}

.woocreate-ai-description-help__content p,
.woocreate-ai-description-help__example h3 {
    margin: 0;
}

.woocreate-ai-description-help__content p {
    line-height: 1.55;
}

.woocreate-ai-description-help__example {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-left: 3px solid #0d6efd;
    background: #f6f8fb;
}

.woocreate-ai-description-help__example h3 {
    font-size: 14px;
}

@media (max-width: 767px) {
    [data-designer-share] { display: none !important; }
}

.woocreate-ordering-status-message {
    box-sizing: border-box;
    overflow: visible;
    max-height: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: 14px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
}

.woocreate-ordering-status-message--desktop { width: min(360px, 34vw); }
.woocreate-ordering-status-message--panel { width: 100%; margin-top: 16px; }
.woocreate-ordering-status-message--mobile { display: none; }

@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-mobile-topbar--ordering-closed { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .woocreate-ordering-status-message--desktop { display: none; }
    .woocreate-ordering-status-message--mobile {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: block;
        width: 100%;
        padding: 8px 12px;
        background: #fff;
        text-align: left;
    }
}

/* Desktop header contract: the live price and Costs control form one
   non-collapsing grid track. The store message may use remaining space, but
   it may not force that track into the separate Product colour control. */
@media (min-width: 821px) and (hover: hover) and (pointer: fine) {
    .woocreate-designer .woocreate-designer__product-summary {
        grid-template-columns: minmax(110px, 220px) max-content !important;
        flex: 0 0 auto !important;
    }

    .woocreate-designer .woocreate-designer__live-price {
        grid-template-columns: max-content 54px !important;
    }

    .woocreate-ordering-status-message--desktop {
        width: min(280px, 24vw);
        min-width: 180px;
    }

    .woocreate-designer .woocreate-designer-product-color-control,
    .woocreate-designer .woocreate-designer-print-side-control,
    .woocreate-designer .woocreate-header-action[data-designer-preview] {
        position: relative;
        left: -100px;
    }

    .woocreate-designer .woocreate-header-action[data-designer-preview] > span {
        font-weight: 700;
    }

    .woocreate-designer .woocreate-tool-icon .woocreate-designer-ai-studio-icon {
        width: 30px !important;
        height: 30px !important;
    }
}

@media (max-width: 820px), (hover: none) and (pointer: coarse) {
    .woocreate-designer .woocreate-mobile-tools .woocreate-mobile-preview-icon {
        filter: brightness(0) invert(1);
    }
}
.woocreate-svg-color-disabled {
    opacity: .72;
}

.woocreate-svg-color-disabled__palette {
    display: grid;
    grid-template-columns: repeat(6, 28px);
    gap: 6px;
    filter: blur(1.5px) grayscale(.25);
    pointer-events: none;
}

.woocreate-svg-color-disabled__palette button {
    width: 28px;
    height: 28px;
    border: 1px solid #c3c4c7;
    border-radius: 50%;
}

.woocreate-svg-color-disabled small,
.woocreate-svg-source-note {
    display: block;
    margin-top: 8px;
    color: #646970;
}
/* Dynamic garment boundary: invalid overflow stays visible and recoverable. */
.woocreate-designer .woocreate-designer__product,
.woocreate-designer .woocreate-designer__print-area {
    overflow: visible !important;
}
