/* QXL Salgstemplater v1.1 — full-width constrained seller templates */
.qxl-st-dashboard{max-width:1220px;margin:0 auto;padding:0 0 40px;color:#242424}
.qxl-st-dashboard__head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding:24px 0 18px;border-bottom:1px solid #d8d8d8;margin-bottom:18px}
.qxl-st-dashboard__head span{display:block;font-size:11px;font-weight:800;letter-spacing:.08em;color:#777;margin-bottom:3px}
.qxl-st-dashboard__head h2{font-size:26px;margin:0 0 4px;line-height:1.15}
.qxl-st-dashboard__head p{margin:0;color:#666;font-size:14px}
.qxl-st-new{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;background:#f58220;color:#fff!important;text-decoration:none!important;font-weight:700;border-radius:2px;white-space:nowrap}
.qxl-st-layout{display:block}
.qxl-st-list-panel,.qxl-st-editor{background:#fff;border:1px solid #d7d7d7;border-radius:3px}
.qxl-st-list-panel{overflow:hidden}
.qxl-st-list-panel__head{display:flex;align-items:center;justify-content:space-between;padding:14px 15px;background:#f4f4f4;border-bottom:1px solid #ddd}
.qxl-st-list-panel__head strong{font-size:14px}.qxl-st-list-panel__head span{font-size:12px;color:#777}
.qxl-st-list{padding:6px}.qxl-st-list-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;align-items:center;border-bottom:1px solid #ececec}
.qxl-st-list-item:last-child{border-bottom:0}.qxl-st-list-item.is-active{background:#fff6ee;box-shadow:inset 3px 0 #f58220}
.qxl-st-list-item>a{padding:11px 10px;text-decoration:none!important;color:#222!important;min-width:0}.qxl-st-list-item>a strong,.qxl-st-list-item>a span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.qxl-st-list-item>a strong{font-size:13px}.qxl-st-list-item>a span{font-size:11px;color:#777;margin-top:2px}
.qxl-st-list-item form{margin:0;padding-right:7px}.qxl-st-list-item button{border:0;background:transparent;color:#9a3c3c;font-size:11px;cursor:pointer;padding:6px}
.qxl-st-empty{padding:22px 16px}.qxl-st-empty strong{display:block;margin-bottom:4px}.qxl-st-empty p{font-size:13px;color:#666;margin:0}
.qxl-st-safety{margin:8px;border:1px solid #d9e5d9;background:#f7fbf7;padding:11px 12px;border-radius:2px}.qxl-st-safety strong{display:block;font-size:12px}.qxl-st-safety p{font-size:11px;line-height:1.45;color:#667166;margin:3px 0 0}
.qxl-st-notice,.qxl-st-disabled{padding:12px 14px;border:1px solid #bdd7bd;background:#f5fbf5;margin-bottom:16px;font-size:13px}.qxl-st-disabled{border-color:#e1c58e;background:#fffaf0}.qxl-st-disabled p{margin:4px 0 0}
.qxl-st-template-switcher{display:flex;align-items:flex-end;gap:10px;padding:10px 12px;margin:0 0 12px;background:#f7f7f7;border:1px solid #d7d7d7;border-radius:3px}.qxl-st-template-switcher__select{display:flex;align-items:center;gap:9px;min-width:0;flex:1}.qxl-st-template-switcher__select label{font-size:12px;font-weight:700;white-space:nowrap;margin:0}.qxl-st-template-switcher__select select{width:min(420px,100%);min-height:35px;border:1px solid #bbb;background:#fff;padding:6px 8px;font-size:12px}.qxl-st-template-switcher__count{font-size:11px;color:#777;white-space:nowrap;padding-bottom:8px}.qxl-st-template-switcher__delete{margin:0}.qxl-st-template-switcher__delete button{min-height:35px;padding:0 11px;border:1px solid #c9c9c9;background:#fff;color:#8a3636;font-size:11px;font-weight:700;border-radius:2px;cursor:pointer}.qxl-st-safety-inline{padding:8px 18px;background:#fbfcfb;border-bottom:1px solid #e5e9e5;color:#687268;font-size:11px;line-height:1.4}.qxl-st-safety-inline strong{color:#394139}
.qxl-st-editor{overflow:hidden}.qxl-st-editor__title{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;background:#f5f5f5;border-bottom:1px solid #ddd}.qxl-st-editor__title small{display:block;font-size:10px;font-weight:800;color:#888;letter-spacing:.08em}.qxl-st-editor__title h3{margin:2px 0 0;font-size:18px}.qxl-st-editor__title button,.qxl-st-editor__bottom button{border:0;background:#f58220;color:#fff;font-weight:700;padding:9px 16px;border-radius:2px;cursor:pointer}
.qxl-st-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 420px;align-items:start}.qxl-st-fields{padding:16px;border-right:1px solid #e1e1e1}.qxl-st-field-card{border:1px solid #dedede;background:#fff;margin-bottom:14px;padding:15px}.qxl-st-field-card:last-child{margin-bottom:0}.qxl-st-field-card h4{margin:0 0 13px;font-size:15px;border-bottom:1px solid #eee;padding-bottom:9px}.qxl-st-field-card label>span:first-child{display:block;font-size:12px;font-weight:700;margin-bottom:5px}.qxl-st-field-card input[type=text],.qxl-st-field-card select,.qxl-st-field-card textarea{width:100%;border:1px solid #bbb;border-radius:2px;background:#fff;min-height:39px;padding:8px 9px;font:inherit;font-size:13px;box-shadow:none}.qxl-st-field-card textarea{resize:vertical;line-height:1.45}.qxl-st-field-card input:focus,.qxl-st-field-card select:focus,.qxl-st-field-card textarea:focus{border-color:#f58220;outline:2px solid rgba(245,130,32,.14)}
.qxl-st-two{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:11px}.qxl-st-field-card>label{display:block;margin-bottom:11px}.qxl-st-field-card>label:last-child{margin-bottom:0}.qxl-st-check{display:flex!important;gap:9px;align-items:flex-start;margin:10px 0 0!important}.qxl-st-check input{margin-top:3px}.qxl-st-check span{margin:0!important}.qxl-st-check strong{display:block;font-size:12px}.qxl-st-check small{display:block;font-size:11px;color:#777;margin-top:2px}.qxl-st-two-checks{display:flex;gap:18px;flex-wrap:wrap}.qxl-st-upload small{display:block;font-size:11px;color:#777;margin-top:5px}.qxl-st-remove-logo{font-size:12px}.qxl-st-placeholders{margin:8px 0 0;padding:8px 10px;background:#f7f7f7;border-left:3px solid #bbb;font-size:11px;color:#666}.qxl-st-placeholders strong{color:#333}
.qxl-st-preview-panel{padding:16px;background:#fafafa}.qxl-st-preview-panel__sticky{position:sticky;top:20px}.qxl-st-preview-panel__head{display:flex;justify-content:space-between;font-size:12px;margin-bottom:8px}.qxl-st-preview-panel__head span{color:#888}.qxl-st-preview-panel__sticky>p{font-size:10px;line-height:1.45;color:#888;margin:8px 2px 0}.qxl-st-editor__bottom{display:flex;justify-content:space-between;align-items:center;padding:12px 18px;background:#f5f5f5;border-top:1px solid #ddd}.qxl-st-editor__bottom span{font-size:11px;color:#777}

/* Public/preview template shell: all visual freedom stays inside these rules. */
.qxl-sale-template{--qxl-template-accent:#f58220;border:1px solid #d8d8d8;background:#fff;margin:2px 0 18px;overflow:hidden;border-radius:2px;box-shadow:none}
.qxl-sale-template__header{display:flex;align-items:center;gap:14px;padding:16px 18px;border-top:4px solid var(--qxl-template-accent);border-bottom:1px solid #e0e0e0;background:#f7f7f7}.qxl-sale-template__logo{width:64px;height:64px;flex:0 0 64px;border:1px solid #ddd;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}.qxl-sale-template__logo img{display:block;width:100%;height:100%;object-fit:contain}.qxl-sale-template__logo.is-empty span{font-size:10px;color:#aaa}.qxl-sale-template__header small{display:block;font-size:9px;letter-spacing:.1em;font-weight:800;color:var(--qxl-template-accent);margin-bottom:3px}.qxl-sale-template__header h3{font-size:20px!important;line-height:1.2!important;margin:0 0 3px!important;color:#222!important}.qxl-sale-template__header span{font-size:11px;color:#777}.qxl-sale-template__intro{padding:14px 18px;background:#fff;font-size:13px;line-height:1.55;border-bottom:1px solid #eee}.qxl-sale-template__product-description{padding:18px;background:#fff}.qxl-sale-template__product-description>*:first-child{margin-top:0}.qxl-sale-template__product-description>*:last-child{margin-bottom:0}.qxl-sale-template__info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #e1e1e1;background:#fafafa}.qxl-sale-template__info-grid section{padding:13px 15px;border-right:1px solid #e1e1e1}.qxl-sale-template__info-grid section:last-child{border-right:0}.qxl-sale-template__info-grid span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.05em;font-weight:800;color:var(--qxl-template-accent);margin-bottom:4px}.qxl-sale-template__info-grid p{margin:0;font-size:12px;line-height:1.45;color:#555}.qxl-sale-template__footer{padding:11px 18px;border-top:1px solid #e2e2e2;background:#f5f5f5;font-size:12px;font-weight:600;color:#444}.qxl-sale-template__qxl-note{text-align:right;padding:6px 10px;background:#fff;color:#aaa;font-size:9px;border-top:1px solid #eee}
.qxl-sale-template--clean{border-color:#e4e4e4}.qxl-sale-template--clean .qxl-sale-template__header{background:#fff;border-top-width:2px}.qxl-sale-template--clean .qxl-sale-template__info-grid{background:#fff}.qxl-sale-template--clean .qxl-sale-template__footer{background:#fff}
.qxl-sale-template--collector{border:1px solid #cfc7b9}.qxl-sale-template--collector .qxl-sale-template__header{background:#f7f3eb;border-bottom-color:#d9d0c2}.qxl-sale-template--collector .qxl-sale-template__info-grid{background:#fbf8f2}.qxl-sale-template--collector .qxl-sale-template__footer{background:#f7f3eb}

/* Selector injected into Dokan/Simple Auctions form. */
.qxl-st-auction-card{border:1px solid #d9d9d9;background:#fff;margin:16px 0;padding:0;border-radius:2px;overflow:hidden}.qxl-st-auction-card__head{padding:11px 13px;background:#f3f3f3;border-bottom:1px solid #ddd}.qxl-st-auction-card__head strong{display:block;font-size:14px}.qxl-st-auction-card__head span{display:block;color:#777;font-size:11px;margin-top:2px}.qxl-st-auction-card__body{padding:12px 13px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.qxl-st-auction-card label span{display:block;font-size:12px;font-weight:700;margin-bottom:5px}.qxl-st-auction-card select{width:100%;min-height:40px;border:1px solid #aaa;background:#fff;padding:7px 9px}.qxl-st-auction-card a{font-size:12px;white-space:nowrap;padding-bottom:10px}.qxl-st-auction-card__note{grid-column:1/-1;font-size:11px;color:#777;margin:0}

@media(max-width:1000px){.qxl-st-editor-grid{grid-template-columns:1fr}.qxl-st-fields{border-right:0;border-bottom:1px solid #ddd}.qxl-st-preview-panel__sticky{position:static}.qxl-st-preview-panel{display:none}}
@media(max-width:760px){.qxl-st-dashboard{padding:0 10px 30px}.qxl-st-dashboard__head{align-items:flex-start;flex-direction:column}.qxl-st-template-switcher{align-items:stretch;flex-wrap:wrap}.qxl-st-template-switcher__select{width:100%;align-items:flex-start;flex-direction:column;gap:5px}.qxl-st-template-switcher__select select{width:100%}.qxl-st-template-switcher__count{padding:8px 0 0}.qxl-st-template-switcher__delete{margin-left:auto}.qxl-st-editor-panel{order:1}.qxl-st-two{grid-template-columns:1fr}.qxl-st-editor__title{align-items:flex-start;gap:10px}.qxl-st-editor__title button{font-size:12px;padding:8px 10px}.qxl-st-editor__bottom{gap:10px}.qxl-st-editor__bottom span{display:none}.qxl-sale-template__info-grid{grid-template-columns:1fr}.qxl-sale-template__info-grid section{border-right:0;border-bottom:1px solid #e1e1e1}.qxl-sale-template__info-grid section:last-child{border-bottom:0}.qxl-sale-template__header{padding:13px}.qxl-sale-template__logo{width:52px;height:52px;flex-basis:52px}.qxl-sale-template__header h3{font-size:17px!important}.qxl-sale-template__intro,.qxl-sale-template__product-description{padding:13px}.qxl-st-auction-card__body{grid-template-columns:1fr}.qxl-st-auction-card a{padding:0}}
