/* Front-end controls are scoped to this plugin. Do not change original WAPF styles. */
.dz-fp-panel{padding:15px 16px;margin:10px 0 12px;background:#fff9fc;border:1px solid #f2d9e5;border-radius:12px;box-sizing:border-box}
.dz-fp-intro{font-size:13px;line-height:1.55;margin:0 0 12px;color:#5c5157}
.dz-fp-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dz-fp-option{background:white;border:1px solid #eddde4;padding:12px;border-radius:9px;min-width:0}
.dz-fp-option-label{display:block;font-size:13px;font-weight:700;margin-bottom:3px;color:#302a2d}
.dz-fp-option-help{font-size:11px;color:#696069;min-height:32px;line-height:1.4;margin-bottom:8px}
.dz-fp-option .dz-fp-button{display:inline-block;cursor:pointer;border:1px solid #e4007d;background:#fff;color:#b90066;padding:9px 13px;border-radius:20px;font-size:12px;font-weight:650;line-height:1.25;max-width:100%}
.dz-fp-option .dz-fp-button:hover,.dz-fp-option .dz-fp-button:focus-visible{background:#e4007d;color:#fff}
.dz-fp-selected{margin-top:9px;display:flex;align-items:center;gap:8px;min-height:30px;font-size:12px;color:#3c3439}
.dz-fp-selected img{width:88px;height:44px;object-fit:contain;border:1px solid #ece3e8;background:#fff;border-radius:5px}
.dz-fp-remove{background:none;border:0;color:#b00061;text-decoration:underline;cursor:pointer;padding:2px 0;font-size:11px}
.dz-fp-panel .dz-fp-error{color:#af1949;font-size:12px;margin-top:10px;display:none}
.dz-fp-panel .dz-fp-error[data-show="true"]{display:block}
input.dz-fp-order-value{background-color:#f9f9f9!important;cursor:pointer!important;max-width:100%;font-size:13px!important}
.dz-fp-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:18px;box-sizing:border-box}
.dz-fp-modal[data-open="true"]{display:flex}
.dz-fp-overlay{position:absolute;inset:0;background:rgba(20,15,20,.64)}
.dz-fp-dialog{position:relative;z-index:1;background:#fff;color:#333;border-radius:14px;width:min(1060px,100%);max-height:min(94vh,960px);box-shadow:0 12px 40px rgba(0,0,0,.2);display:flex;flex-direction:column;min-height:0}
.dz-fp-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid #eee}
.dz-fp-title{font-weight:700;font-size:20px;margin:0;line-height:1.3}
.dz-fp-help{font-size:12px;color:#666;margin-top:4px}
.dz-fp-close{background:transparent;border:1px solid #ddd;border-radius:50%;width:38px;height:38px;min-width:38px;font-size:25px;line-height:1;cursor:pointer;color:#444}
.dz-fp-range{display:flex;gap:7px;flex-wrap:wrap;padding:12px 20px;border-bottom:1px solid #eee}
.dz-fp-range button{background:white;border:1px solid #ded6db;border-radius:22px;padding:8px 14px;font-size:12px;cursor:pointer;color:#555}
.dz-fp-range button[aria-pressed="true"]{background:#e4007d;border-color:#e4007d;color:white}
.dz-fp-grid{padding:18px 20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;overflow-y:auto;min-height:0}
.dz-fp-tile{display:block;text-align:center;padding:4px;background:#fff;border:2px solid #e5dfe2;border-radius:10px;cursor:pointer;color:#333;min-width:0}
.dz-fp-tile:hover,.dz-fp-tile:focus-visible{border-color:#e4007d;outline:2px solid #f9c9e3;outline-offset:1px}
.dz-fp-tile[aria-pressed="true"]{border:2px solid #e4007d;background:#fff1f8}
.dz-fp-tile img{width:100%;height:auto;object-fit:contain;background:#fff;display:block;border-radius:6px}
.dz-fp-empty{grid-column:1/-1;color:#777;padding:24px 4px;text-align:center}
.dz-fp-footer{padding:10px 20px;border-top:1px solid #eee;font-size:12px;color:#777}
@media(max-width:991px){.dz-fp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.dz-fp-controls{grid-template-columns:1fr}.dz-fp-modal{padding:5px}.dz-fp-dialog{max-height:95vh}.dz-fp-header{padding:12px 14px}.dz-fp-title{font-size:17px}.dz-fp-range{padding:10px 12px;gap:5px}.dz-fp-range button{padding:7px 11px}.dz-fp-grid{padding:10px 12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dz-fp-footer{padding:8px 12px}}
/* Tag text catalogue. Entirely scoped; no WooCommerce template changes. */
.dz-txt-widget{background:#fff9fc;border:1px solid #f1d5e4;border-radius:12px;margin:12px 0;padding:15px}
.dz-txt-lead{margin:0 0 10px;font-size:13px;line-height:1.55;color:#4b4147}
.dz-txt-quantity-guide{border-radius:9px;padding:10px 12px;margin:10px 0;background:#fff;border:1px solid #eacbdd;color:#51404b;font-size:13px;line-height:1.55}
.dz-txt-quantity-guide strong{color:#9f0059}
.dz-txt-modal-guide{padding:12px 22px;background:#fff6fb;border-bottom:1px solid #f1d6e4;color:#53434e;font-size:13px;line-height:1.6}
.dz-txt-modal-guide strong{color:#ab0061}
.dz-txt-modal-guide[data-warn="true"]{background:#fff0f6;color:#7b1046}
.dz-txt-widget .dz-fp-button{border:1px solid #e4007d!important;background:#e4007d!important;color:#fff!important;border-radius:25px;padding:10px 20px!important;font-size:13px;cursor:pointer;font-weight:650}
.dz-txt-widget .dz-fp-button:hover{background:#bb0066!important}
.dz-txt-selected{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 6px}
.dz-txt-muted{font-size:12px;color:#786871;line-height:1.5}
.dz-txt-chip{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;background:white;border:1px solid #ecc8dc;border-radius:24px;font-size:12px;font-weight:650}
.dz-txt-chip-remove{background:transparent;border:0;color:#a50056;font-size:20px;padding:0;line-height:1;cursor:pointer}
.dz-txt-note{font-size:11px;color:#766970;margin:8px 0}
.dz-txt-note[data-warn="true"]{color:#ab174e;font-weight:600}
.dz-txt-clear{border:0;background:transparent;padding:4px 0;color:#a6005b;text-decoration:underline;cursor:pointer;font-size:12px}
input.dz-txt-wapf-value{background:#fafafa!important;cursor:pointer!important;font-size:13px!important}
.dz-txt-modal{display:none;position:fixed;inset:0;z-index:999999;padding:14px;align-items:center;justify-content:center;box-sizing:border-box}
.dz-txt-modal[data-open="true"]{display:flex}
.dz-txt-backdrop{position:absolute;inset:0;background:rgba(27,17,25,.65)}
.dz-txt-dialog{position:relative;background:#fff;border-radius:15px;width:min(990px,100%);height:min(90vh,850px);max-height:90vh;display:flex;flex-direction:column;box-shadow:0 16px 60px rgba(0,0,0,.22);overflow:hidden}
.dz-txt-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 22px 12px}
.dz-txt-title{font-size:22px;margin:0;color:#2b2027;font-weight:700}
.dz-txt-subtitle{margin:5px 0 0;font-size:12px;color:#756b72;line-height:1.5}
.dz-txt-x{background:#fff;border:1px solid #ddd;color:#333;border-radius:50%;height:36px;width:36px;min-width:36px;font-size:22px;cursor:pointer}
.dz-txt-filter{display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:8px 22px 15px;border-bottom:1px solid #eee}
.dz-txt-search{min-height:39px;min-width:190px;flex:1;border:1px solid #d8ced4;border-radius:7px;padding:8px 12px;color:#333;font-size:13px}
.dz-txt-tabs{display:flex;gap:6px;flex-wrap:wrap}
.dz-txt-tab{cursor:pointer;border:1px solid #ead9e2;border-radius:22px;padding:8px 11px;background:#fff;color:#473c43;font-size:12px}
.dz-txt-tab[aria-pressed="true"]{background:#e4007d;border-color:#e4007d;color:#fff}
.dz-txt-grid{min-height:0;overflow-y:auto;padding:16px 22px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;align-content:start}
.dz-txt-card{display:flex;flex-direction:column;text-align:left;gap:10px;padding:14px 15px;border:1px solid #ebe1e6;border-radius:11px;background:white;color:#2c292b;cursor:pointer;min-width:0}
.dz-txt-card:hover:not(:disabled),.dz-txt-card:focus-visible{border-color:#e4007d;outline:2px solid #f7bedc}
.dz-txt-card[aria-pressed="true"]{border:2px solid #e4007d;background:#fff4fa}
.dz-txt-card:disabled{opacity:.48;cursor:not-allowed}
.dz-txt-number{font-size:11px;color:#ba0065;font-weight:750;letter-spacing:.6px}
.dz-txt-content{white-space:pre-line;font-size:13px;line-height:1.6;overflow-wrap:anywhere;flex:1}
.dz-txt-select-label{font-weight:650;font-size:12px;color:#bd0068}
.dz-txt-bottom{border-top:1px solid #eee;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:14px 22px;gap:12px}
.dz-txt-count{font-size:12px;color:#524952}
.dz-txt-actions{display:flex;gap:8px;flex-wrap:wrap}
.dz-txt-cancel,.dz-txt-confirm{border-radius:22px;padding:9px 16px;font-size:13px;cursor:pointer}
.dz-txt-cancel{background:#fff;border:1px solid #e4d8df;color:#514750}
.dz-txt-confirm{background:#e4007d;color:#fff;border:1px solid #e4007d;font-weight:650}
.dz-txt-confirm:disabled{opacity:.5;cursor:not-allowed}
.dz-txt-empty{grid-column:1/-1;color:#777;padding:22px;text-align:center}
@media(max-width:720px){.dz-txt-modal-guide{padding:10px 12px}.dz-txt-modal{padding:4px}.dz-txt-dialog{height:97vh;max-height:97vh}.dz-txt-head{padding:13px 13px 8px}.dz-txt-title{font-size:18px}.dz-txt-filter{padding:8px 12px}.dz-txt-grid{padding:11px 12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dz-txt-card{padding:10px}.dz-txt-content{font-size:12px}.dz-txt-bottom{padding:10px 12px}}
@media(max-width:400px){.dz-txt-grid{grid-template-columns:1fr}}
