/* V1.28 – compact PRO product configuration. No prices or order logic changed. */
.tx-intro{margin:8px 0 16px}.tx-intro h1{font-size:clamp(1.7rem,3.2vw,2.7rem);margin:7px 0}.tx-intro p{margin:0}.tx-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 18px}.tx-steps a{display:flex;align-items:center;justify-content:center;gap:8px;background:#1b201d;border:1px solid var(--line);border-radius:10px;padding:10px;color:var(--text);font-size:.88rem;white-space:normal;text-align:center}.tx-steps b{background:var(--green);color:#182010;display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%}.tx-steps a:hover{border-color:var(--green);text-decoration:none}.tx-grid{grid-template-columns:minmax(0,1.8fr) minmax(295px,1fr);gap:16px}.tx-grid .panel{padding:20px}.tx-left{gap:14px}.tx-section,#tx-order{scroll-margin-top:120px}.tx-heading{margin-bottom:13px;padding-bottom:10px}.tx-heading h2{font-size:1.45rem}.tx-heading>span{width:30px;height:30px}.tx-product{margin-bottom:12px}.tx-product p{margin:3px 0;font-size:.86rem}.tx-photo:has([data-st-main]){height:138px;max-height:138px}.tx-product:has([data-st-main]){grid-template-columns:138px 1fr}.tx-color-heading{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap}.tx-color-heading h3{margin:0}.tx-photo-toggle{font-size:.78rem;padding:6px 9px}.tx-help{font-size:.83rem;margin:10px 0;color:var(--muted)}
/* Compact swatches, with optional original manufacturer thumbnails. */
.tx-grid .st-pro-swatches.tx-swatches{display:grid;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:7px;margin:10px 0}.tx-grid .st-pro-swatches .tx-swatch{height:40px;min-height:40px;border-radius:7px;display:grid;place-items:center}.tx-grid .st-pro-swatches:not(.tx-photo-mode) .tx-swatch img,.tx-grid .st-pro-swatches:not(.tx-photo-mode) .tx-swatch small{display:none}.tx-grid .st-pro-swatches .tx-swatch[aria-pressed=true]{outline-offset:1px}.tx-grid .st-pro-swatches.tx-photo-mode{grid-template-columns:repeat(auto-fill,minmax(68px,1fr))}.tx-grid .st-pro-swatches.tx-photo-mode .tx-swatch{display:flex;min-height:82px;height:auto}.tx-grid .st-pro-swatches.tx-photo-mode img{height:60px}.tx-grid .st-pro-swatches.tx-photo-mode small{font-size:.66rem;min-height:27px}.tx-step-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:10px;margin-top:12px}.tx-step-bottom strong{color:var(--green)}.tx-color-row{margin:10px 0;padding:10px}.tx-color-row h3{margin-bottom:7px;font-size:.95rem}
.tx-motif{padding:10px 12px 12px;margin:12px 0}.tx-motif[hidden]{display:none!important}.tx-motif-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;text-align:left;background:#202821;color:var(--text);border:1px solid var(--line);border-radius:8px;padding:9px 11px}.tx-motif-toggle strong{font-size:.94rem}.tx-motif-toggle small{font-size:.75rem;overflow-wrap:anywhere}.tx-motif-caret{font-size:1.3rem;color:var(--green)}.tx-motif-toggle[aria-expanded=true] .tx-motif-caret{transform:rotate(180deg)}.tx-motif-body{padding-top:12px}.tx-motif-body[hidden]{display:none!important}.tx-motif-body h3{font-size:.94rem;margin-bottom:8px}.tx-positions span{min-height:42px;padding:5px;font-size:.76rem}.tx-fields label{margin:10px 0}.tx-fields select{padding:10px}.tx-art-actions{border-top:1px solid var(--line);padding-top:8px;margin-top:6px}.tx-art-actions .sd-entry{margin:0 0 8px}.tx-art-actions .button{margin:0}.tx-upload-label{margin:7px 0;font-size:.83rem}.tx-upload-label input{margin-top:5px;font-size:.8rem;padding:8px}.tx-extra-name,.tx-notes,.tx-price-details{margin-top:12px;border-top:1px solid var(--line);padding-top:10px}.tx-grid summary{cursor:pointer;color:var(--text);font-size:.87rem;font-weight:650}.tx-grid summary:hover{color:var(--green)}.tx-grid details[open] summary{margin-bottom:10px}.tx-description .description-copy{font-size:.9rem}.tx-remove{margin-top:10px}.tx-grid #tx-add-motif{margin-top:2px}.tx-price-hero{background:#26391c;border:1px solid #466a28;border-radius:12px;padding:13px 15px;display:grid;gap:2px;margin-bottom:10px}.tx-price-hero>span{font-size:.85rem;color:#cce9b4}.tx-price-hero>b{font-size:clamp(1.9rem,3vw,2.6rem);color:var(--green);line-height:1.2;letter-spacing:-.04em}.tx-counts{font-size:.85rem;font-weight:700;margin:10px 0}.tx-summary .line{padding:6px 0;font-size:.83rem}.tx-summary .tx-lines{margin:0 0 10px;max-height:160px}.tx-summary .tx-item{padding:6px 0;font-size:.8rem}.tx-price-details h3{font-size:.88rem;margin:10px 0 4px}.tx-summary #tx-submit{margin-top:7px}.tx-summary #tx-error:empty{display:none}.tx-summary #tx-error{font-size:.82rem;margin:8px 0}.tx-mobile-total{display:none}.tx-summary{top:105px;max-height:calc(100dvh - 120px);overflow:auto;overscroll-behavior:contain}
@media(max-width:1000px){.tx-grid{grid-template-columns:1fr}.tx-summary{position:static;max-height:none;overflow:visible}.tx-mobile-total{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:11;background:#1c2619;border-top:1px solid #466a28;box-shadow:0 -4px 20px #0005;padding:9px 16px max(9px,env(safe-area-inset-bottom));align-items:center;justify-content:space-between;gap:12px;color:var(--text);font-size:.8rem}.tx-mobile-total b{display:block;color:var(--green);font-size:1.2rem}.tx-mobile-total strong{color:var(--green)}body:has(#tx-pro){padding-bottom:72px}.tx-size-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:550px){.tx-grid .panel{padding:13px}.tx-steps{gap:4px}.tx-steps a{font-size:.7rem;flex-direction:column;gap:4px;padding:7px 3px}.tx-product:has([data-st-main]){grid-template-columns:90px 1fr}.tx-photo:has([data-st-main]){height:100px;max-height:100px}.tx-grid .st-pro-swatches.tx-swatches{grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:6px}.tx-grid .st-pro-swatches .tx-swatch{height:34px;min-height:34px}.tx-grid .st-pro-swatches.tx-photo-mode{grid-template-columns:repeat(auto-fill,minmax(65px,1fr))}.tx-grid .st-pro-swatches.tx-photo-mode .tx-swatch{height:auto;min-height:82px}.tx-positions{grid-template-columns:repeat(2,minmax(0,1fr))}.tx-fields{grid-template-columns:1fr 1fr}.tx-fields select{font-size:.78rem;padding:7px}.tx-section,#tx-order{scroll-margin-top:155px}}
/* Designer: keep the confirmation buttons reachable without scrolling to the bottom. */
#sd-dialog .sd-footer{position:sticky;bottom:0;z-index:2;background:#151b16;border-top:1px solid #354430;padding:10px 0 2px;box-shadow:0 -8px 12px #151b16b0}#sd-dialog .sd-footer p{font-size:.76rem}#sd-dialog .sd-actions .button{padding:9px 13px}#sd-dialog .sd-preview{position:sticky;top:0}@media(max-width:750px){#sd-dialog .sd-preview{position:static}#sd-dialog .sd-footer p{max-width:100%;font-size:.72rem;margin:0 0 6px}#sd-dialog .sd-actions{min-width:0}}

/* V1.29: a single compact editing row, with all eight positions retained. */
.tx-sr-only{position:absolute;width:1px;height:1px;padding:0!important;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#tx-designs .tx-motif{padding:0;margin:9px 0;background:#171d18;border-radius:10px;overflow:hidden}
#tx-designs .tx-motif-toggle{border:0;border-radius:0;padding:12px 14px;background:#202821;min-height:0}
#tx-designs .tx-motif-toggle>span:first-child{min-width:0;display:grid;gap:3px}
#tx-designs .tx-motif-label{font-size:.98rem}
#tx-designs .tx-motif-info{color:var(--muted);font-size:.75rem;line-height:1.35}
.tx-edit-label{color:var(--green);font-size:.75rem;flex:none;font-weight:700}
#tx-designs .tx-motif-body{padding:12px 14px 10px}
.tx-quick-fields{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1.7fr);gap:10px;align-items:end}
.tx-quick-fields .tx-fields{gap:10px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.tx-quick-fields label{font-size:.78rem;margin:0;display:block;font-weight:650}
.tx-quick-fields select{font-size:.84rem;margin-top:5px;padding:9px 8px;min-height:43px;width:100%;text-overflow:ellipsis}
.tx-quick-fields:has(.tx-position-pick[hidden]){display:block}
#tx-designs .tx-art-actions{display:grid;gap:9px;border:0;padding:0;margin:12px 0 0}
#tx-designs .sd-entry{margin:0}
#tx-designs .sd-entry .button{padding:10px 12px;font-size:.92rem;min-height:42px}
#tx-designs .tx-file-details,#tx-designs .tx-extra-name{border:0;margin:0;padding:0}
#tx-designs details summary{font-size:.79rem;line-height:1.4;padding:4px 0}
.tx-file-status{color:var(--green);font-size:.72rem;overflow-wrap:anywhere;display:inline}
#tx-designs .tx-extra-name{margin:6px 0 0}
.tx-motif-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:7px}
#tx-designs .tx-remove{margin:0 auto 0 0;color:var(--muted);font-size:.76rem;padding:6px 9px}
#tx-designs .tx-done{font-size:.79rem;color:var(--green);padding:6px 14px;border:1px solid #587b36}
#tx-designs #tx-add-motif{font-size:.88rem;padding:10px;min-height:42px}
#tx-designs .tx-motif-toggle:focus-visible,#tx-designs summary:focus-visible{outline:2px solid var(--green);outline-offset:-2px}
@media(max-width:650px){.tx-quick-fields{grid-template-columns:1fr;gap:8px}.tx-quick-fields .tx-fields{grid-template-columns:1fr 1fr}.tx-quick-fields select{font-size:.8rem}#tx-designs .tx-motif-body{padding:10px}#tx-designs .tx-motif-toggle{padding:10px}}

/* Bestellart: klare Auswahl, ohne zusätzliche Gestaltungswerkzeuge. */
#tx-pro .tx-mode{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 20px}#tx-pro .tx-mode label{display:flex;align-items:center;gap:8px;margin:0;padding:13px 10px;border:1px solid #465447;border-radius:10px;font-size:.88rem;background:#202821;cursor:pointer}#tx-pro .tx-mode label:has(input:checked){border-color:#a9ef28;background:#2c4020;color:#b9fa45}#tx-pro .tx-mode input{width:auto;accent-color:#a9ef28;margin:0;flex:none}#tx-pro [hidden]{display:none!important}#tx-own{margin-bottom:16px}#tx-own input{max-width:180px}#tx-designs .tx-remove{color:#ffb6b6}@media(max-width:680px){#tx-pro .tx-mode{grid-template-columns:1fr}}

/* V1.44 — compact print editor; native upload, one row on wide screens. */
#tx-designs .tx-heading{margin-bottom:8px;padding-bottom:9px}
#tx-designs>.tx-help{margin:0 0 12px;font-size:.81rem}
#tx-designs .tx-motif{border-radius:12px;margin:8px 0;background:#141a16;border-color:#374438}
#tx-designs .tx-motif-toggle{padding:10px 12px;background:#1f2921}
#tx-designs .tx-motif-toggle[aria-expanded=true]{box-shadow:inset 3px 0 0 var(--green)}
#tx-designs .tx-motif-body{padding:12px}
#tx-designs .tx-quick-fields{gap:8px}
#tx-designs .tx-quick-fields select{min-height:40px;padding:8px;font-size:.82rem}
#tx-designs .tx-art-actions{margin-top:11px}
#tx-designs .tx-upload-zone{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:6px 12px;padding:10px 12px;border:1px dashed #596b57;background:#1b231d;border-radius:9px;min-width:0}
#tx-designs .tx-upload-zone.is-dragover,#tx-designs .tx-upload-zone.has-file{border-color:var(--green);background:#25351e}
.tx-upload-copy{display:flex;align-items:center;gap:10px;min-width:0}.tx-upload-copy>div{display:grid;gap:3px;min-width:0}.tx-upload-copy strong{font-size:.84rem}.tx-upload-copy small{font-size:.68rem;color:var(--muted);font-weight:400}.tx-upload-icon{display:grid;place-items:center;flex:none;width:29px;height:29px;border:1px solid #536a42;border-radius:7px;color:var(--green);font-size:1.2rem;font-weight:800}
#tx-designs .tx-upload-label{margin:0;min-width:0}#tx-designs .tx-upload{margin:0;width:100%;min-width:0;padding:5px;font-size:.74rem;border:0;background:transparent}#tx-designs .tx-upload::file-selector-button{border:1px solid #55664e;border-radius:6px;background:#2c382a;color:#fff;padding:6px 9px;margin-right:6px;cursor:pointer;font:inherit;font-weight:700}
.tx-upload-status{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:8px;min-width:0}.tx-upload-status .tx-file-status{font-size:.72rem;color:var(--muted);overflow-wrap:anywhere;min-width:0}.has-file .tx-file-status{color:var(--green)}.tx-upload-status .tx-file-error{color:#ffb6b6}.tx-upload-status .tx-clear{flex:none;padding:4px 8px;font-size:.72rem}
#tx-designs .tx-extra-name{margin:7px 0 0}#tx-designs .tx-motif-footer{margin:6px 0 0}#tx-designs .tx-done{background:var(--green);color:#182010;font-weight:800;border-color:var(--green)}#tx-designs #tx-add-motif{min-height:39px;padding:7px 10px}#tx-designs .tx-notes{margin-top:9px;padding-top:8px}
@media(max-width:650px){#tx-designs .tx-upload-zone{grid-template-columns:1fr;padding:9px;gap:7px}#tx-designs .tx-motif-body{padding:10px}#tx-designs .tx-quick-fields select{min-height:42px;font-size:.83rem}}

/* V1.45 Mengenstaffeln */
.tx-tier-saving{margin:12px 0;padding:10px 12px;border:1px solid #618d2d;border-radius:9px;color:#b5f43c;background:#202e1b;font-weight:750;font-size:.86rem}.tx-tier-saving[hidden]{display:none}.tx-tier-details{margin:12px 0}.tx-tier-table{width:100%;font-size:.84rem}.tx-tier-table th,.tx-tier-table td{padding:7px 8px;text-align:right}.tx-tier-table th:first-child,.tx-tier-table td:first-child{text-align:left}.tx-tier-table tr.is-current td{background:#304719;color:#b5f43c;font-weight:800}.tx-tier-table tr.is-current td:first-child{border-radius:6px 0 0 6px}.tx-tier-table tr.is-current td:last-child{border-radius:0 6px 6px 0}
