.cqc-wrap{font-family:Inter,Arial,sans-serif;color:#0f172a;background:#eef3f9;padding:28px;border-radius:24px;max-width:1180px;margin:20px auto}.cqc-hero{display:block;margin-bottom:24px}.cqc-kicker{display:inline-flex;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#2563eb;background:#dbeafe;border-radius:999px;padding:7px 12px}.cqc-hero h1{font-size:38px;line-height:1.05;margin:16px 0 10px;color:#0f172a}.cqc-hero p{font-size:17px;color:#475569;margin:0;max-width:680px}.cqc-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:22px}.cqc-panel{background:#fff;border:1px solid #dbe4ee;border-radius:18px;padding:22px;box-shadow:0 10px 25px rgba(15,23,42,.06)}.cqc-sticky{position:sticky;top:24px;align-self:start}.cqc-panel h2{font-size:18px;margin:0 0 16px;color:#0f172a}.cqc-label{display:block;font-weight:700;margin:0 0 15px;color:#0f172a}.cqc-input{display:block;width:100%;margin-top:7px;border:1px solid #cbd5e1;border-radius:12px;padding:12px 13px;font-size:15px;background:#fff;color:#0f172a;min-height:48px;height:48px;line-height:1.25;box-sizing:border-box}.cqc-dimensions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cqc-file-box{display:flex;align-items:center;gap:12px;border:1px dashed #94a3b8;border-radius:14px;padding:16px;background:#f8fafc;margin-bottom:8px}.cqc-file-box input{width:100%}.cqc-small{font-size:13px;color:#64748b;margin:8px 0}.cqc-preview{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;min-height:245px;display:flex;align-items:center;justify-content:center;margin-bottom:16px;padding:10px}.cqc-preview svg{width:100%;max-width:390px;height:auto}.cqc-preview svg .shape>*{fill:var(--fill,#dbeafe);stroke:#0f172a;stroke-width:2.4;vector-effect:non-scaling-stroke}.cqc-preview svg .cut{fill:#f8fafc}.cqc-preview .dim{stroke:#64748b;stroke-width:1.4;vector-effect:non-scaling-stroke}.cqc-preview .dim-text{font-size:10px;fill:#475569;font-weight:700}.cqc-preview .shape-label{font-size:12px;fill:#334155;font-weight:800}.cqc-price-box{display:flex;align-items:center;justify-content:space-between;background:#0f172a;color:#fff;border-radius:16px;padding:16px 18px;margin-bottom:12px}.cqc-price-box span{font-size:14px;color:#cbd5e1}.cqc-price-box strong{font-size:28px}.cqc-breakdown{display:grid;gap:8px;margin-bottom:12px}.cqc-breakdown div{display:flex;justify-content:space-between;background:#f8fafc;border-radius:12px;padding:10px 12px;color:#334155}.cqc-breakdown strong{color:#0f172a}.cqc-button{width:100%;border:0;border-radius:14px;background:#2563eb;color:#fff!important;font-weight:800;font-size:16px;padding:15px 18px;cursor:pointer;text-decoration:none}.cqc-button:disabled{opacity:.6;cursor:not-allowed}.cqc-secondary{display:block;text-align:center;margin-top:12px;color:#2563eb;font-weight:700;text-decoration:none}.cqc-message{font-size:14px;margin:12px 0;min-height:20px}.cqc-message.is-error{color:#b91c1c}.cqc-message.is-success{color:#047857}
.cqc-wrap select.cqc-input option{font-size:15px;line-height:1.4;padding:8px 10px;color:#0f172a;background:#fff}.cqc-shape-select{position:absolute!important;width:1px!important;height:1px!important;min-height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.cqc-material-style-swatches .cqc-material-select-label{position:absolute!important;width:1px!important;height:1px!important;min-height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.cqc-material-style-dropdown .cqc-swatches{display:none!important}.cqc-swatches{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 18px}.cqc-swatch{border:1px solid #dbe4ee;background:#f8fafc;border-radius:14px;padding:10px 8px;min-height:74px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;cursor:pointer;color:#0f172a;font-weight:800;font-size:12px;transition:box-shadow .15s,border-color .15s,background .15s,transform .15s}.cqc-swatch:hover{border-color:#93c5fd;background:#eff6ff;transform:translateY(-1px)}.cqc-swatch.is-active{border-color:#2563eb;background:#dbeafe;box-shadow:0 0 0 3px rgba(37,99,235,.16)}.cqc-swatch__dot{width:30px;height:30px;border-radius:999px;background:var(--cqc-swatch);border:2px solid #fff;box-shadow:0 0 0 1px rgba(15,23,42,.18), inset 0 0 0 1px rgba(15,23,42,.08)}.cqc-swatch__text{display:block;line-height:1.1;text-align:center}.cqc-thickness-style-buttons .cqc-thickness-select-label{position:absolute!important;width:1px!important;height:1px!important;min-height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.cqc-thickness-style-dropdown .cqc-thickness-buttons{display:none!important}.cqc-thickness-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.cqc-thickness-btn{border:1px solid #dbe4ee;background:#f8fafc;color:#0f172a;border-radius:999px;padding:10px 14px;font-weight:900;cursor:pointer;min-width:62px}.cqc-thickness-btn:hover{border-color:#93c5fd;background:#eff6ff}.cqc-thickness-btn.is-active{border-color:#2563eb;background:#dbeafe;box-shadow:0 0 0 3px rgba(37,99,235,.16)}
.cqc-shape-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:8px 0 18px}.cqc-shape-card{border:1px solid #dbe4ee;background:#f8fafc;border-radius:14px;padding:10px 8px;display:flex;flex-direction:column;align-items:center;gap:7px;cursor:pointer;color:#0f172a;font-weight:800;font-size:12px;transition:box-shadow .15s,border-color .15s,background .15s,transform .15s}.cqc-shape-card:hover{border-color:#93c5fd;background:#eff6ff;transform:translateY(-1px)}.cqc-shape-card.is-active{border-color:#2563eb;background:#dbeafe;box-shadow:0 0 0 3px rgba(37,99,235,.16)}.cqc-shape-icon{width:62px;height:42px;display:flex;align-items:center;justify-content:center}.cqc-shape-icon svg{width:62px;height:42px}.cqc-shape-icon svg>*{fill:#eaf4fb;stroke:#0f172a;stroke-width:2.2;vector-effect:non-scaling-stroke}.cqc-icon-style-bold .cqc-shape-icon svg>*{stroke-width:4}.cqc-shape-icon svg .cut{fill:#f8fafc}
.cqc-added-modal[hidden]{display:none!important}.cqc-added-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px}.cqc-added-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.55);backdrop-filter:blur(2px)}.cqc-added-modal__dialog{position:relative;background:#fff;border-radius:22px;box-shadow:0 25px 70px rgba(15,23,42,.25);max-width:440px;width:100%;padding:28px;text-align:center;border:1px solid #e2e8f0;color:#0f172a}.cqc-added-modal__x{position:absolute;right:14px;top:12px;background:transparent;border:0;font-size:28px;line-height:1;cursor:pointer;color:#64748b}.cqc-added-modal__tick{width:54px;height:54px;border-radius:999px;margin:0 auto 12px;background:#dcfce7;color:#047857;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:900}.cqc-added-modal__dialog h3{margin:0 0 8px;font-size:24px;color:#0f172a}.cqc-added-modal__dialog p{margin:0 0 20px;color:#475569}.cqc-added-modal__actions{display:grid;grid-template-columns:1fr;gap:10px}.cqc-added-modal__primary{margin:0;text-decoration:none;display:flex;align-items:center;justify-content:center}.cqc-added-modal__secondary{border:1px solid #cbd5e1;background:#fff;color:#0f172a;border-radius:14px;font-weight:800;font-size:16px;padding:14px 18px;cursor:pointer}.cqc-added-modal__secondary:hover{background:#f8fafc}
.cqc-cart-thumb{display:inline-flex;vertical-align:middle;margin-right:10px;width:58px;height:42px;border:1px solid #dbe4ee;background:#f8fafc;border-radius:10px;align-items:center;justify-content:center;overflow:hidden}.cqc-cart-thumb svg{width:52px;height:38px}.cqc-cart-thumb svg>*{fill:#eaf4fb;stroke:#0f172a;stroke-width:2.2;vector-effect:non-scaling-stroke}.cqc-cart-thumb svg .cut{fill:#f8fafc}.cqc-file-badge{display:inline-flex;align-items:center;justify-content:center;min-width:52px;height:34px;border-radius:8px;background:#0f172a;color:#fff;font-weight:900;font-size:12px;letter-spacing:.04em;padding:0 7px}.cqc-cart-name-wrap{display:inline-flex;align-items:center;gap:8px}.cqc-cart-name-text{display:inline-block}
@media(max-width:850px){.cqc-wrap{padding:18px;border-radius:0;margin:0}.cqc-hero{display:block}.cqc-hero h1{font-size:30px}.cqc-layout{grid-template-columns:1fr}.cqc-sticky{position:relative;top:auto}.cqc-dimensions{grid-template-columns:1fr}.cqc-shape-grid,.cqc-swatches{grid-template-columns:repeat(2,minmax(0,1fr))}.cqc-shape-card,.cqc-swatch{font-size:12px}.cqc-added-modal__dialog{padding:24px}}


/* v0.1.5 product-page style refinements */
.cqc-options-panel{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.cqc-step{background:#fff;border:1px solid #dbe4ee;border-radius:18px;padding:18px;margin:0 0 14px;box-shadow:0 8px 18px rgba(15,23,42,.045)}
.cqc-step[hidden],.cqc-radius-panel[hidden]{display:none!important}
.cqc-step-head{display:flex;gap:12px;align-items:flex-start;margin:0 0 14px;padding-bottom:12px;border-bottom:1px solid #e5edf6}
.cqc-step-number{width:28px;height:28px;border-radius:999px;background:#0f172a;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:900;font-size:13px;flex:0 0 28px}
.cqc-step-head h2{margin:0 0 3px!important;padding:0!important;border:0!important;font-size:18px;color:#0f172a}
.cqc-step-head p{margin:0;color:#64748b;font-size:13px;line-height:1.35}
.cqc-swatch,.cqc-swatch__text,.cqc-swatch.is-active,.cqc-swatch.is-active .cqc-swatch__text{color:#0f172a!important;text-shadow:none!important}
.cqc-swatch.is-active{background:#eff6ff!important;border-color:#2563eb!important}
.cqc-swatch.is-active .cqc-swatch__dot{box-shadow:0 0 0 2px #fff,0 0 0 4px #2563eb,inset 0 0 0 1px rgba(15,23,42,.1)}
.cqc-shape-icon svg>*{stroke-width:1.7!important}
.cqc-icon-style-bold .cqc-shape-icon svg>*{stroke-width:2.6!important}
.cqc-shape-icon svg rect{rx:0}
.cqc-preview svg .shape>*{stroke-width:1.9!important}
.cqc-choice-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
.cqc-choice-btn,.cqc-radius-btn{border:1px solid #dbe4ee;background:#f8fafc;color:#0f172a;border-radius:12px;padding:12px 14px;font-weight:900;cursor:pointer;text-align:center}
.cqc-choice-btn:hover,.cqc-radius-btn:hover{border-color:#93c5fd;background:#eff6ff}
.cqc-choice-btn.is-active,.cqc-radius-btn.is-active{border-color:#2563eb;background:#dbeafe;box-shadow:0 0 0 3px rgba(37,99,235,.14)}
.cqc-radius-panel{border:1px solid #e2e8f0;background:#f8fafc;border-radius:14px;padding:14px;margin-top:10px}
.cqc-radius-panel .cqc-label{margin-bottom:10px}
.cqc-radius-buttons{display:flex;flex-wrap:wrap;gap:8px}
.cqc-radius-btn{min-width:72px;padding:10px 12px}
.cqc-file-box{background:#f8fafc}
.cqc-cart-name-wrap{display:inline-flex;align-items:center;gap:8px}
.cqc-cart-thumb svg rect{rx:0}
@media(max-width:900px){.cqc-layout{grid-template-columns:1fr}.cqc-sticky{position:static}.cqc-swatches,.cqc-shape-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cqc-dimensions{grid-template-columns:1fr}}

/* v0.2.0 stepped product-configurator rebuild */
.cqc-v2 .cqc-hidden-select{position:absolute!important;width:1px!important;height:1px!important;min-height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.cqc-v2 .cqc-type-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cqc-v2 .cqc-type-card,.cqc-v2 .cqc-shape-category{border:1px solid #cfd8e3;background:#fff;border-radius:10px;min-height:56px;padding:12px;font-weight:800;color:#334155;cursor:pointer;text-align:center;transition:.15s}.cqc-v2 .cqc-type-card:hover,.cqc-v2 .cqc-shape-category:hover{border-color:#38bdf8;background:#f0f9ff}.cqc-v2 .cqc-type-card.is-active,.cqc-v2 .cqc-shape-category.is-active{border-color:#0ea5e9;box-shadow:inset 0 0 0 1px #0ea5e9;background:#fff;color:#0f172a}
.cqc-v2 .cqc-colour-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:18px 16px}.cqc-v2 .cqc-colour-swatch{border:0;background:transparent;cursor:pointer;color:#334155!important;font-weight:700;display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;min-height:82px}.cqc-v2 .cqc-colour-swatch .cqc-swatch__dot{width:58px;height:58px;border-radius:999px;background:var(--cqc-swatch);border:5px solid #f1f5f9;box-shadow:0 0 0 1px rgba(15,23,42,.12),inset 0 0 0 1px rgba(15,23,42,.06)}.cqc-v2 .cqc-colour-swatch.is-active .cqc-swatch__dot{box-shadow:0 0 0 4px #0ea5e9,0 0 0 7px #e0f2fe,inset 0 0 0 1px rgba(15,23,42,.1)}.cqc-v2 .cqc-colour-swatch.is-active{color:#0f172a!important}
.cqc-v2 .cqc-shape-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.cqc-v2 .cqc-shape-category{min-height:94px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px}.cqc-v2 .cqc-shape-variants{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border:1px solid #dbe4ee;background:#f8fafc;border-radius:14px;padding:12px}.cqc-v2 .cqc-shape-card{min-height:92px;background:#fff;border:1px solid #cfd8e3;border-radius:10px;color:#334155}.cqc-v2 .cqc-shape-card.is-active{border-color:#0ea5e9;background:#fff;box-shadow:inset 0 0 0 1px #0ea5e9;color:#0f172a}.cqc-v2 .cqc-shape-icon svg *{fill:none;stroke:#7b8794;stroke-width:1.5;vector-effect:non-scaling-stroke}.cqc-v2 .cqc-shape-icon svg .cut{fill:#fff}.cqc-v2 .cqc-shape-card.is-active .cqc-shape-icon svg *,.cqc-v2 .cqc-shape-category.is-active .cqc-shape-icon svg *{stroke:#0f172a}
.cqc-v2 .cqc-thickness-buttons{display:flex;flex-wrap:wrap;gap:10px}.cqc-v2 .cqc-thickness-btn{border:1px solid #cfd8e3;background:#fff;color:#334155;border-radius:10px;padding:12px 16px;min-width:72px;font-weight:900}.cqc-v2 .cqc-thickness-btn.is-active{border-color:#0ea5e9;background:#e0f2fe;color:#0f172a;box-shadow:inset 0 0 0 1px #0ea5e9}
.cqc-v2 .cqc-file-box{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;border:1px dashed #94a3b8;background:#f8fafc;border-radius:14px;padding:18px}.cqc-v2 .cqc-file-box input{max-width:180px}.cqc-v2 .cqc-file-box strong{font-size:14px;color:#334155;word-break:break-word}.cqc-v2 .cqc-upload-preview{min-height:180px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#0f172a}.cqc-v2 .cqc-upload-preview span{background:#0f172a;color:#fff;border-radius:12px;padding:14px 18px;font-weight:900;letter-spacing:.06em}.cqc-v2 .cqc-upload-preview strong{font-size:13px;max-width:90%;text-align:center;word-break:break-word}.cqc-v2 [hidden]{display:none!important}.cqc-v2 .cqc-preview svg .shape>*{stroke-width:1.65!important}.cqc-v2 .cqc-step{scroll-margin-top:90px}.cqc-v2 .cqc-step + .cqc-step{margin-top:18px}
@media(max-width:850px){.cqc-v2 .cqc-type-grid,.cqc-v2 .cqc-shape-category-grid,.cqc-v2 .cqc-shape-variants{grid-template-columns:1fr}.cqc-v2 .cqc-colour-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 10px}.cqc-v2 .cqc-colour-swatch .cqc-swatch__dot{width:46px;height:46px}.cqc-v2 .cqc-file-box{grid-template-columns:1fr}}

/* v0.2.1 cart/checkout visual thumbnails without inline SVG */
.cqc-cart-name-wrap{display:inline-flex;align-items:flex-start;gap:10px;vertical-align:middle}.cqc-cart-name-text{display:inline-block}.cqc-cart-thumb{display:inline-flex;flex:0 0 auto;width:58px;height:42px;border:1px solid #dbe4ee;background:#f8fafc;border-radius:10px;align-items:center;justify-content:center;overflow:hidden;margin-right:8px;position:relative}.cqc-cart-thumb span{box-sizing:border-box}.cqc-file-thumb .cqc-file-badge{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:28px;border-radius:8px;background:#0f172a;color:#fff;font-weight:900;font-size:12px;letter-spacing:.04em;padding:0 7px}.cqc-shape-thumb>span{display:block;width:42px;height:28px;background:#eaf4fb;border:2px solid #0f172a}.cqc-shape-thumb--rectangle>span{border-radius:0}.cqc-shape-thumb--circle>span{width:30px;height:30px;border-radius:999px}.cqc-shape-thumb--oval>span{width:42px;height:25px;border-radius:999px}.cqc-shape-thumb--ring>span{width:34px;height:34px;border-radius:999px;box-shadow:inset 0 0 0 8px #f8fafc}.cqc-shape-thumb--semicircle>span{width:42px;height:24px;border-radius:42px 42px 0 0;border-bottom-width:2px;transform:translateY(4px)}.cqc-shape-thumb--quarter_circle>span{width:34px;height:34px;border-radius:34px 0 0 0;clip-path:polygon(0 0,100% 100%,0 100%)}.cqc-shape-thumb--triangle>span{width:0;height:0;background:transparent;border-left:22px solid transparent;border-right:22px solid transparent;border-bottom:34px solid #eaf4fb;filter:drop-shadow(0 0 0 #0f172a)}.cqc-shape-thumb--right_triangle>span{clip-path:polygon(0 100%,100% 0,100% 100%)}.cqc-shape-thumb--left_triangle>span{clip-path:polygon(0 0,100% 100%,0 100%)}.cqc-shape-thumb--trapezoid>span{clip-path:polygon(25% 0,75% 0,100% 100%,0 100%)}.cqc-shape-thumb--irregular_trapezium>span{clip-path:polygon(20% 0,75% 15%,100% 100%,0 100%)}.cqc-shape-thumb--right_trapezium>span{clip-path:polygon(0 0,70% 0,100% 100%,0 100%)}.cqc-shape-thumb--l_shape>span,.cqc-shape-thumb--right_l>span{clip-path:polygon(0 0,45% 0,45% 65%,100% 65%,100% 100%,0 100%)}.cqc-shape-thumb--left_l>span{clip-path:polygon(55% 0,100% 0,100% 100%,0 100%,0 65%,55% 65%)}.cqc-shape-thumb--inverse_t>span{clip-path:polygon(35% 0,65% 0,65% 60%,100% 60%,100% 100%,0 100%,0 60%,35% 60%)}.cqc-shape-thumb--pentagon>span{clip-path:polygon(50% 0,100% 38%,82% 100%,18% 100%,0 38%)}.cqc-shape-thumb--hexagon>span{clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)}.cqc-shape-thumb--heptagon>span{clip-path:polygon(50% 0,78% 12%,100% 45%,86% 100%,14% 100%,0 45%,22% 12%)}.cqc-shape-thumb--octagon>span,.cqc-shape-thumb--custom_polygon>span{clip-path:polygon(30% 0,70% 0,100% 30%,100% 70%,70% 100%,30% 100%,0 70%,0 30%)}.cqc-upload-preview small{font-size:12px;color:#64748b;text-align:center}.cqc-upload-preview--image img{max-width:190px;max-height:150px;object-fit:contain;border:1px solid #dbe4ee;border-radius:12px;background:#fff}.cqc-upload-dxf-preview{width:210px;max-width:90%;height:auto;background:#fff;border:1px solid #dbe4ee;border-radius:12px}.cqc-upload-dxf-preview path{fill:none;stroke:#0f172a;stroke-width:2;vector-effect:non-scaling-stroke}.cqc-shape-card svg path,.cqc-shape-card svg polygon,.cqc-shape-card svg rect,.cqc-shape-card svg circle,.cqc-shape-card svg ellipse,.cqc-shape-category svg path,.cqc-shape-category svg polygon,.cqc-shape-category svg rect,.cqc-shape-category svg circle,.cqc-shape-category svg ellipse{fill:none;stroke:#8a8f98;stroke-width:1.5}

/* v0.2.2 refinements */
.cqc-v2 .cqc-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cqc-v2 .cqc-choice-btn{border:1px solid #cfd8e3;background:#fff;color:#334155;border-radius:10px;min-height:54px;padding:12px;font-weight:800;cursor:pointer;text-align:center;transition:.15s}
.cqc-v2 .cqc-choice-btn:hover{border-color:#38bdf8;background:#f0f9ff}
.cqc-v2 .cqc-choice-btn.is-active{border-color:#0ea5e9;box-shadow:inset 0 0 0 1px #0ea5e9;background:#fff;color:#0f172a}
.cqc-v2 .cqc-upload-step{display:none!important}
.cqc-v2 .cqc-corner-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cqc-v2 .cqc-colour-swatch.is-active span:last-child{color:#0f172a!important;text-shadow:0 1px 0 rgba(255,255,255,.45)}
.cqc-v2 .cqc-colour-swatch .cqc-swatch__dot::after{content:'✓';display:none;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.45);font-weight:900;font-size:22px;line-height:58px;text-align:center}
.cqc-v2 .cqc-colour-swatch.is-active .cqc-swatch__dot::after{display:block}
.cqc-v2 .cqc-shape-variants .cqc-shape-card[data-shape-id="upload_file"]{border-style:dashed;background:#f8fafc}
.cqc-shape-thumb--heptagon{display:none!important}
.wc-block-components-product-image .cqc-cart-thumb,.wc-block-cart-item__image .cqc-cart-thumb,.product-thumbnail .cqc-cart-thumb,.wc-block-components-order-summary-item__image .cqc-cart-thumb{margin:0;width:64px;height:48px}
.wc-block-components-product-image .cqc-cart-thumb img{display:none!important}
.cqc-cart-thumb.cqc-shape-thumb--triangle>span{clip-path:polygon(50% 0,100% 100%,0 100%);border:2px solid #0f172a;background:#eaf4fb;width:42px;height:32px}
@media(max-width:850px){.cqc-v2 .cqc-corner-grid,.cqc-v2 .cqc-choice-grid{grid-template-columns:1fr}}

.cqc-direct-file-input{position:fixed;left:-9999px;top:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}
.cqc-v2 .cqc-shape-variants[hidden]{display:none!important}
.cqc-cart-thumb svg{width:52px;height:38px;display:block}
.cqc-cart-thumb svg *{fill:#eaf4fb;stroke:#0f172a;stroke-width:2.2;vector-effect:non-scaling-stroke}
.cqc-cart-thumb svg .cut{fill:#f8fafc}
.wc-block-components-product-image .cqc-cart-thumb,.wc-block-cart-item__image .cqc-cart-thumb,.product-thumbnail .cqc-cart-thumb,.wc-block-components-order-summary-item__image .cqc-cart-thumb{margin:0}
/* v0.2.4 refinements */
.cqc-file-thumb .cqc-file-badge,
.cqc-file-badge{
  min-width:54px!important;
  height:38px!important;
  border-radius:10px!important;
  font-size:16px!important;
  letter-spacing:.06em!important;
  font-weight:900!important;
}
.cqc-upload-preview span{
  min-width:76px;
  height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:#0f172a;
  color:#fff;
  font-weight:900;
  font-size:18px;
  letter-spacing:.06em;
}

/* v0.2.5 cart and checkout UX redesign */
.cqc-cart-intro{max-width:1120px;margin:0 auto 22px;padding:0 12px}.cqc-continue-shopping{display:inline-flex;align-items:center;gap:10px;border:1px solid #cbd5e1;background:#fff;color:#0f172a!important;border-radius:6px;padding:14px 28px;text-decoration:none!important;font-size:16px;font-weight:600}.cqc-continue-shopping span{font-size:30px;line-height:14px;font-weight:300}.cqc-continue-shopping:hover{border-color:#94a3b8;background:#f8fafc}
.woocommerce-cart .woocommerce{max-width:1120px;margin-left:auto;margin-right:auto}.woocommerce-cart .woocommerce-cart-form{width:66%;display:inline-block;vertical-align:top}.woocommerce-cart .cart-collaterals{width:31%;float:right}.woocommerce-cart .shop_table.cart{border:0!important;border-collapse:collapse!important;background:transparent!important}.woocommerce-cart .shop_table.cart th{font-size:14px;text-transform:none;letter-spacing:.02em;color:#475569;border-bottom:1px solid #cbd5e1!important;padding:16px 8px!important}.woocommerce-cart .shop_table.cart td{border-top:0!important;border-bottom:1px solid #dbe4ee!important;padding:24px 8px!important;vertical-align:top!important}.woocommerce-cart .shop_table.cart .product-thumbnail{width:118px!important;padding-left:0!important}.woocommerce-cart .product-thumbnail .cqc-cart-thumb,.woocommerce-cart .product-thumbnail img{width:86px!important;height:72px!important;border-radius:4px;background:#f8fafc;object-fit:contain}.woocommerce-cart .product-name{padding-left:0!important}.woocommerce-cart .product-name .cqc-cart-name-wrap>.cqc-cart-thumb{display:none!important}.woocommerce-cart .product-name .cqc-cart-name-wrap{display:block!important}.woocommerce-cart .product-name .cqc-line-title{display:block;font-size:16px;line-height:1.35;color:#0f172a;margin:0 0 8px}.woocommerce-cart .variation{display:grid!important;grid-template-columns:max-content minmax(0,1fr);gap:7px 12px;margin:10px 0 18px!important;font-size:14px;color:#475569}.woocommerce-cart .variation dt{font-weight:800!important;color:#475569!important;margin:0!important;float:none!important;clear:none!important}.woocommerce-cart .variation dd{margin:0!important;padding:0!important;color:#475569!important}.woocommerce-cart .variation p{margin:0!important}.woocommerce-cart .product-price,.woocommerce-cart .product-subtotal{font-size:18px;font-weight:800;color:#475569}.woocommerce-cart .quantity{display:inline-flex!important;align-items:center;border:1px solid #cbd5e1;border-radius:4px;overflow:hidden;background:#fff}.woocommerce-cart .quantity .qty{width:54px!important;border:0!important;text-align:center!important;min-height:42px!important;background:#fff!important}.woocommerce-cart .quantity .minus,.woocommerce-cart .quantity .plus{border:0!important;background:#f8fafc!important;min-width:38px!important;min-height:42px!important;color:#334155!important}.woocommerce-cart .product-remove{display:none!important}.cqc-cart-actions{display:flex;gap:8px;justify-content:flex-start;margin-top:18px}.cqc-cart-action{display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd5e1;border-radius:5px;padding:10px 16px;background:#fff;color:#0f172a!important;text-decoration:none!important;font-weight:600}.cqc-cart-action:hover{background:#f8fafc;border-color:#94a3b8}.woocommerce-cart .cart_totals{float:none!important;width:100%!important;background:#fff;border:0!important;padding:0!important}.woocommerce-cart .cart_totals h2{font-size:14px;text-transform:uppercase;letter-spacing:.03em;color:#475569;border-bottom:1px solid #cbd5e1;padding-bottom:16px;margin-bottom:18px}.woocommerce-cart .cart_totals table{border:0!important}.woocommerce-cart .cart_totals th{font-size:22px!important;color:#0f172a!important;font-weight:500!important;text-transform:none!important}.woocommerce-cart .cart_totals td{font-size:22px!important;font-weight:800!important;color:#0f172a!important;text-align:right!important}.woocommerce-cart .wc-proceed-to-checkout .checkout-button{display:flex!important;align-items:center;justify-content:center;background:#0477d9!important;color:#fff!important;border-radius:0!important;min-height:58px!important;font-size:17px!important;font-weight:800!important;text-decoration:none!important}.woocommerce-cart .actions .coupon,.woocommerce-cart .actions>button[name="update_cart"]{margin-top:12px}.woocommerce-cart .cart-empty{max-width:1120px;margin-left:auto;margin-right:auto}
.cqc-secure-checkout-head{max-width:1120px;margin:0 auto 28px;text-align:center}.cqc-secure-checkout-head h1{font-size:34px;line-height:1.1;font-weight:500;color:#0f172a;margin:0 0 16px}.cqc-checkout-steps{display:flex;justify-content:center;gap:0;align-items:center;margin:0 auto;max-width:420px}.cqc-checkout-steps span{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;width:180px;color:#94a3b8;font-size:14px}.cqc-checkout-steps span:before{content:'';position:absolute;top:18px;left:-50%;right:50%;height:7px;background:#e5e7eb;z-index:0}.cqc-checkout-steps span:first-child:before{display:none}.cqc-checkout-steps span.is-active:before,.cqc-checkout-steps span.is-active+span:before{background:linear-gradient(90deg,#0ea5e9 0 50%,#e5e7eb 50%)}.cqc-checkout-steps b{position:relative;z-index:1;width:38px;height:38px;border-radius:999px;background:#e5e7eb;color:#64748b;display:flex;align-items:center;justify-content:center;font-size:16px}.cqc-checkout-steps .is-active b{background:#0ea5e9;color:#fff}.cqc-checkout-steps .is-active{color:#0f172a}.woocommerce-checkout .entry-title{display:none}.woocommerce-checkout .woocommerce{max-width:1120px;margin-left:auto;margin-right:auto}.woocommerce-checkout form.checkout{display:grid!important;grid-template-columns:minmax(0,1fr) 360px;gap:34px;align-items:start}.woocommerce-checkout #customer_details{grid-column:1;display:block!important;width:100%!important}.woocommerce-checkout #customer_details .col-1,.woocommerce-checkout #customer_details .col-2{float:none!important;width:100%!important}.woocommerce-checkout #order_review_heading{grid-column:2;grid-row:1;font-size:28px;font-weight:400;margin:0 0 12px;padding:24px 28px 0;background:#f5f5f5}.woocommerce-checkout #order_review{grid-column:2;grid-row:1;background:#f5f5f5;padding:66px 28px 28px;border:0!important;border-radius:0}.woocommerce-checkout #customer_details h3{font-size:28px;font-weight:400;border-bottom:1px solid #cbd5e1;padding-bottom:18px;margin-bottom:22px}.woocommerce-checkout .form-row label{font-weight:500;color:#0f172a}.woocommerce-checkout .form-row input.input-text,.woocommerce-checkout .form-row textarea,.woocommerce-checkout .form-row select,.woocommerce-checkout .select2-container .select2-selection{border:1px solid #cbd5e1!important;border-radius:3px!important;min-height:52px!important;padding:12px 14px!important;background:#fff!important}.woocommerce-checkout #order_review table.shop_table{border:0!important;background:transparent!important;margin:0!important}.woocommerce-checkout #order_review table.shop_table th,.woocommerce-checkout #order_review table.shop_table td{border-top:0!important;border-bottom:1px solid #d9dee6!important;padding:16px 0!important}.woocommerce-checkout #order_review .product-name{font-size:14px;color:#334155}.woocommerce-checkout #order_review .product-total{text-align:right;font-weight:800;color:#0f172a}.woocommerce-checkout #order_review .cqc-cart-name-wrap{display:flex!important;align-items:flex-start;gap:12px}.woocommerce-checkout #order_review .cqc-cart-thumb{width:68px!important;height:58px!important;margin:0!important}.woocommerce-checkout #order_review .cqc-line-title{font-size:15px;font-weight:600;color:#475569}.woocommerce-checkout #order_review .variation{display:block!important;margin:8px 0 0!important;font-size:13px;color:#64748b}.woocommerce-checkout #order_review .variation dt{display:inline;font-weight:800;margin:0;color:#475569}.woocommerce-checkout #order_review .variation dd{display:inline;margin:0 0 0 5px;color:#64748b}.woocommerce-checkout #order_review .variation dd:after{content:'';display:block;margin-bottom:3px}.woocommerce-checkout #order_review tfoot th{font-size:15px;font-weight:500;color:#64748b}.woocommerce-checkout #order_review tfoot td{text-align:right;font-weight:800;color:#0f172a}.woocommerce-checkout #payment{background:transparent!important;border:0!important}.woocommerce-checkout #payment .payment_box{background:#fff!important;border:0!important;color:#475569!important}.woocommerce-checkout #payment .place-order{padding:16px 0 0!important}.woocommerce-checkout #payment button.button.alt{background:#078b21!important;border-radius:6px!important;min-height:56px!important;font-size:18px!important;font-weight:800!important;color:#fff!important;width:100%}.woocommerce-checkout .woocommerce-additional-fields{margin-top:24px}
@media(max-width:900px){.woocommerce-cart .woocommerce-cart-form,.woocommerce-cart .cart-collaterals{display:block!important;width:100%!important;float:none!important}.woocommerce-cart .shop_table.cart .product-thumbnail{width:86px!important}.woocommerce-cart .product-thumbnail .cqc-cart-thumb,.woocommerce-cart .product-thumbnail img{width:68px!important;height:58px!important}.woocommerce-checkout form.checkout{display:block!important}.woocommerce-checkout #order_review_heading{margin-top:24px}.woocommerce-checkout #order_review{padding:24px!important}.cqc-checkout-steps span{width:140px}.woocommerce-cart .variation{grid-template-columns:1fr}.cqc-cart-actions{justify-content:flex-start}}

/* v0.2.6 refinements */
.cqc-corner-layout{display:grid;gap:16px}.cqc-corner-all{padding:14px;border:1px solid #dbe4ee;border-radius:14px;background:#fff}.cqc-corner-all .cqc-input{max-width:260px}.cqc-corner-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cqc-corner-grid .cqc-label{background:#f8fafc;border:1px solid #e5edf6;border-radius:14px;padding:12px;margin:0}.cqc-corner-grid .cqc-input{margin-top:8px}
.cqc-preview{min-height:330px;padding:18px}.cqc-preview svg{max-width:520px}.cqc-preview svg .shape>*{stroke-width:2}.cqc-preview .dim-text{font-size:10.5px}.cqc-preview .shape-label{font-size:13px}
.cqc-admin-dxf-download{margin:8px 0 0}.cqc-admin-dxf-download code{margin-left:8px}
.woocommerce-cart .shop_table.cart .product-thumbnail .cqc-file-badge,.woocommerce-checkout #order_review .cqc-file-badge{font-size:16px!important;min-width:54px!important;height:38px!important}.woocommerce-cart .product-name .cqc-cart-name-wrap>.cqc-cart-thumb{display:none!important}
.woocommerce-cart .shop_table.cart .product-thumbnail .cqc-cart-thumb{display:flex!important}.woocommerce-cart .shop_table.cart .product-name .cqc-cart-actions{display:flex!important}.woocommerce-cart .shop_table.cart .product-name .variation{margin-top:10px!important}
@media(max-width:850px){.cqc-corner-grid{grid-template-columns:1fr}.cqc-preview{min-height:260px}}

/* v0.2.7 preview readability and cart layout */
.cqc-preview{min-height:380px;padding:22px}
.cqc-preview svg{max-width:620px}
.cqc-preview svg .shape>*{stroke-width:1.8!important;stroke-linejoin:round;stroke-linecap:round}
.cqc-preview .dim{stroke:#64748b;stroke-width:1.05!important;vector-effect:non-scaling-stroke}
.cqc-preview .dim-text{font-size:8.3px!important;font-weight:600!important;fill:#475569!important;paint-order:stroke;stroke:#f8fafc;stroke-width:2.2px;stroke-linejoin:round}
.cqc-preview .shape-label{font-size:11.5px!important;font-weight:800!important}
.cqc-radius-panel .cqc-corner-layout{gap:18px}
.cqc-radius-panel .cqc-corner-all{grid-column:1 / -1;background:#fff;border:1px solid #cbd5e1;padding:16px 18px;border-radius:14px;margin-bottom:4px}
.cqc-radius-panel .cqc-corner-all .cqc-input{max-width:280px}
.cqc-radius-panel .cqc-corner-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:4px}
.cqc-radius-panel .cqc-corner-grid .cqc-label{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:14px;margin:0}

/* Make classic cart closer to the clean CutMy style. */
.woocommerce-cart .woocommerce{max-width:1120px;margin:0 auto!important}
.woocommerce-cart table.shop_table.cart{display:block!important;border:0!important;width:100%!important;border-collapse:separate!important}
.woocommerce-cart table.shop_table.cart thead,.woocommerce-cart table.shop_table.cart tbody{display:block!important;width:100%!important}
.woocommerce-cart table.shop_table.cart thead tr{display:grid!important;grid-template-columns:120px minmax(0,1fr) 120px 130px 130px;gap:12px;border-bottom:1px solid #cbd5e1;padding:0 0 12px;margin-bottom:8px}
.woocommerce-cart table.shop_table.cart thead th{display:block!important;border:0!important;padding:0!important;color:#475569!important;font-weight:700!important;text-transform:none!important;letter-spacing:0!important;font-size:15px!important}
.woocommerce-cart table.shop_table.cart thead th.product-thumbnail,.woocommerce-cart table.shop_table.cart thead th.product-name{grid-column:1 / span 2}
.woocommerce-cart table.shop_table.cart thead th.product-thumbnail{display:none!important}
.woocommerce-cart table.shop_table.cart thead th.product-name{font-size:0!important}.woocommerce-cart table.shop_table.cart thead th.product-name:before{content:'Item';font-size:15px}
.woocommerce-cart table.shop_table.cart tbody tr.cart_item{display:grid!important;grid-template-columns:120px minmax(0,1fr) 120px 130px 130px;gap:12px;align-items:start;border-bottom:1px solid #dbe4ee;padding:28px 0!important;margin:0!important}
.woocommerce-cart table.shop_table.cart td{display:block!important;border:0!important;padding:0!important;background:transparent!important}
.woocommerce-cart table.shop_table.cart td.product-thumbnail{grid-column:1;grid-row:1 / span 2;width:auto!important}
.woocommerce-cart table.shop_table.cart td.product-name{grid-column:2;grid-row:1 / span 2}
.woocommerce-cart table.shop_table.cart td.product-price{grid-column:3;grid-row:1;font-size:18px;font-weight:800;color:#64748b;text-align:right!important}
.woocommerce-cart table.shop_table.cart td.product-quantity{grid-column:4;grid-row:1;text-align:center!important}
.woocommerce-cart table.shop_table.cart td.product-subtotal{grid-column:5;grid-row:1;text-align:right!important;font-size:18px;font-weight:900;color:#64748b}
.woocommerce-cart table.shop_table.cart td.product-remove{display:none!important}
.woocommerce-cart table.shop_table.cart td.product-thumbnail .cqc-cart-thumb{width:92px!important;height:78px!important;border-radius:6px;background:#f8fafc;margin:0!important}
.woocommerce-cart table.shop_table.cart td.product-thumbnail .cqc-cart-thumb svg{width:82px;height:64px}
.woocommerce-cart .cqc-line-title{font-size:16px!important;font-weight:500!important;margin:0 0 12px!important;color:#0f172a!important}
.woocommerce-cart .variation{display:grid!important;grid-template-columns:max-content minmax(0,1fr);gap:8px 12px;font-size:14px!important;color:#64748b!important;margin:0 0 20px!important}
.woocommerce-cart .variation dt{font-weight:800!important;margin:0!important;color:#64748b!important}
.woocommerce-cart .variation dd{margin:0!important;color:#64748b!important}
.woocommerce-cart .variation p{margin:0!important}
.woocommerce-cart .cqc-cart-actions{justify-content:flex-end;margin-top:24px!important}
.woocommerce-cart .cqc-cart-action{border-radius:6px;padding:12px 18px;background:#fff;border:1px solid #cbd5e1;font-size:14px}
.woocommerce-cart .cart-collaterals{max-width:420px;margin-left:auto!important;margin-top:22px!important}
@media(max-width:900px){.woocommerce-cart table.shop_table.cart thead{display:none!important}.woocommerce-cart table.shop_table.cart tbody tr.cart_item{grid-template-columns:86px 1fr;gap:12px}.woocommerce-cart table.shop_table.cart td.product-thumbnail{grid-column:1}.woocommerce-cart table.shop_table.cart td.product-name{grid-column:2}.woocommerce-cart table.shop_table.cart td.product-price,.woocommerce-cart table.shop_table.cart td.product-quantity,.woocommerce-cart table.shop_table.cart td.product-subtotal{grid-column:2;text-align:left!important}.woocommerce-cart .cart-collaterals{max-width:none}}

/* v0.2.8 preview and cart refinements */
.cqc-preview svg{max-width:720px!important}
.cqc-preview .dim-text{font-size:7.7px!important;font-weight:500!important;letter-spacing:-.01em;paint-order:stroke;stroke:#f8fafc;stroke-width:3px;stroke-linejoin:round}
.cqc-preview .corner-dot{fill:#0ea5e9;stroke:#fff;stroke-width:1.2}
.cqc-preview .corner-text{font-size:7px;font-weight:800;fill:#0f172a;paint-order:stroke;stroke:#fff;stroke-width:2px}
.cqc-preview .shape-label{text-transform:none!important}
.cqc-radius-panel .cqc-corner-all{display:block!important;margin-bottom:16px!important}
.cqc-radius-panel .cqc-corner-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important}
.cqc-radius-panel .cqc-corner-grid .cqc-label{display:block!important}

/* Make cart item meta read like CutMy: bold label + normal value on separate rows. */
.woocommerce-cart .variation,
.woocommerce-checkout #order_review .variation{
  display:grid!important;
  grid-template-columns:max-content minmax(0,1fr)!important;
  gap:7px 12px!important;
  margin:10px 0 18px!important;
  color:#526173!important;
  font-size:14px!important;
  line-height:1.35!important;
}
.woocommerce-cart .variation dt,
.woocommerce-checkout #order_review .variation dt{
  display:block!important;
  float:none!important;
  clear:none!important;
  margin:0!important;
  padding:0!important;
  font-weight:800!important;
  color:#526173!important;
}
.woocommerce-cart .variation dd,
.woocommerce-checkout #order_review .variation dd{
  display:block!important;
  float:none!important;
  margin:0!important;
  padding:0!important;
  color:#526173!important;
  font-weight:400!important;
}
.woocommerce-cart .variation dd p,
.woocommerce-checkout #order_review .variation dd p{margin:0!important;padding:0!important}
.woocommerce-cart table.shop_table.cart td.product-name{min-width:0!important}
.woocommerce-cart .product-name .cqc-cart-name-wrap{display:block!important}
.woocommerce-cart .product-name .cqc-cart-name-wrap>.cqc-cart-thumb{display:none!important}
.woocommerce-cart .cqc-line-title{display:block!important;margin-bottom:12px!important}
.woocommerce-cart .cart_item{position:relative}
.woocommerce-cart .product-thumbnail .cqc-cart-thumb{box-shadow:0 2px 4px rgba(15,23,42,.06)}


/* v0.2.9 cleaner item metadata in cart/checkout */
.cqc-meta-list{display:grid!important;grid-template-columns:max-content minmax(0,1fr)!important;gap:7px 12px!important;margin:10px 0 18px!important;color:#526173!important;font-size:14px!important;line-height:1.35!important}
.cqc-meta-row{display:contents!important}
.cqc-meta-row strong{font-weight:800!important;color:#526173!important}
.cqc-meta-row span{font-weight:400!important;color:#526173!important;word-break:break-word!important}
.woocommerce-cart .variation:has(.cqc-meta-list),.woocommerce-checkout .variation:has(.cqc-meta-list){display:block!important}
.woocommerce-cart .variation:has(.cqc-meta-list) dt,.woocommerce-cart .variation:has(.cqc-meta-list) dd,.woocommerce-checkout .variation:has(.cqc-meta-list) dt,.woocommerce-checkout .variation:has(.cqc-meta-list) dd{display:block!important;margin:0!important;padding:0!important}
.woocommerce-cart .variation:has(.cqc-meta-list) dt,.woocommerce-checkout .variation:has(.cqc-meta-list) dt{display:none!important}
.woocommerce-cart .variation:has(.cqc-meta-list) dd,.woocommerce-checkout .variation:has(.cqc-meta-list) dd{grid-column:1 / -1!important}
.cqc-admin-dxf-download .button{font-weight:700!important}


/* v0.3.0 fixes: clean cart metadata and upload/shape thumbnails */
.woocommerce-cart .variation,
.woocommerce-checkout .variation{display:grid!important;grid-template-columns:120px minmax(0,1fr)!important;gap:6px 12px!important;align-items:start!important;white-space:normal!important}
.woocommerce-cart .variation dt,
.woocommerce-checkout .variation dt{grid-column:1!important;display:block!important;float:none!important;clear:none!important;margin:0!important;padding:0!important;font-weight:800!important;color:#526173!important;line-height:1.35!important}
.woocommerce-cart .variation dd,
.woocommerce-checkout .variation dd{grid-column:2!important;display:block!important;float:none!important;clear:none!important;margin:0!important;padding:0!important;color:#526173!important;line-height:1.35!important;word-break:break-word!important}
.woocommerce-cart .variation dd p,
.woocommerce-checkout .variation dd p{margin:0!important;display:inline!important}
.woocommerce-cart .product-name .variation{max-width:520px!important}
.woocommerce-cart .product-name .cqc-cart-name-wrap{display:flex!important;gap:16px!important;align-items:flex-start!important}
.woocommerce-cart .product-name .cqc-cart-name-wrap>.cqc-cart-thumb{display:none!important}
.woocommerce-cart .product-thumbnail .cqc-cart-thumb{display:flex!important;align-items:center!important;justify-content:center!important;width:92px!important;height:78px!important;background:#f8fafc!important;border:1px solid #dbe4ee!important;border-radius:8px!important}
.woocommerce-cart .product-thumbnail .cqc-cart-thumb svg{width:80px!important;height:60px!important}
.woocommerce-cart .product-thumbnail .cqc-file-badge{font-size:20px!important;font-weight:900!important;letter-spacing:.06em!important;background:#0f172a;color:#fff;border-radius:8px;padding:12px 10px;line-height:1}
.cqc-admin-preview-dxf{padding:12px 16px;margin:12px 0;background:#f8fafc;border:1px solid #dbe4ee;border-radius:8px}
.cqc-admin-preview-dxf p{margin:.5em 0 0}

/* v0.3.1: hard cart/checkout readability fixes */
.woocommerce-cart .variation dt:empty,
.woocommerce-checkout .variation dt:empty{display:none!important}
.woocommerce-cart .variation dd,
.woocommerce-checkout .variation dd{margin-left:0!important}
.woocommerce-cart .variation .cqc-meta-list,
.woocommerce-checkout .variation .cqc-meta-list,
.wc-block-components-product-metadata .cqc-meta-list{
  display:grid!important;
  grid-template-columns:135px minmax(0,1fr)!important;
  gap:7px 14px!important;
  max-width:620px!important;
  margin:12px 0 18px!important;
  font-size:14px!important;
  line-height:1.38!important;
  color:#526173!important;
}
.woocommerce-cart .variation .cqc-meta-row,
.woocommerce-checkout .variation .cqc-meta-row,
.wc-block-components-product-metadata .cqc-meta-row{display:contents!important}
.woocommerce-cart .variation .cqc-meta-row strong,
.woocommerce-checkout .variation .cqc-meta-row strong,
.wc-block-components-product-metadata .cqc-meta-row strong{font-weight:800!important;color:#334155!important;white-space:nowrap!important}
.woocommerce-cart .variation .cqc-meta-row span,
.woocommerce-checkout .variation .cqc-meta-row span,
.wc-block-components-product-metadata .cqc-meta-row span{font-weight:400!important;color:#526173!important;word-break:break-word!important}
.woocommerce-cart .variation:has(.cqc-meta-list),
.woocommerce-checkout .variation:has(.cqc-meta-list){display:block!important;grid-template-columns:none!important}
.woocommerce-cart .variation:has(.cqc-meta-list)>dt,
.woocommerce-checkout .variation:has(.cqc-meta-list)>dt{display:none!important}
.woocommerce-cart .variation:has(.cqc-meta-list)>dd,
.woocommerce-checkout .variation:has(.cqc-meta-list)>dd{display:block!important;margin:0!important;padding:0!important}

/* Larger, cleaner checkout summary. */
.woocommerce-checkout .woocommerce{max-width:1320px!important}
.woocommerce-checkout form.checkout{grid-template-columns:minmax(520px,1fr) minmax(460px,520px)!important;gap:42px!important}
.woocommerce-checkout #order_review_heading{grid-column:2!important;width:auto!important}
.woocommerce-checkout #order_review{grid-column:2!important;width:auto!important;min-width:460px!important;box-sizing:border-box!important}
.woocommerce-checkout #order_review table.shop_table{table-layout:auto!important;width:100%!important}
.woocommerce-checkout #order_review table.shop_table td.product-name{width:78%!important;min-width:0!important;padding-right:16px!important}
.woocommerce-checkout #order_review table.shop_table td.product-total{width:22%!important;white-space:nowrap!important;vertical-align:top!important}
.woocommerce-checkout #order_review .cqc-cart-name-wrap{display:flex!important;gap:14px!important;align-items:flex-start!important;min-width:0!important}
.woocommerce-checkout #order_review .cqc-cart-name-text{min-width:0!important;display:block!important}
.woocommerce-checkout #order_review .cqc-line-title{display:block!important;margin-bottom:10px!important;line-height:1.25!important}
.woocommerce-checkout #order_review .cqc-cart-thumb{flex:0 0 76px!important;width:76px!important;height:64px!important}
.woocommerce-checkout #order_review .cqc-file-badge{font-size:18px!important;font-weight:900!important}
@media(max-width:1050px){.woocommerce-checkout form.checkout{display:block!important}.woocommerce-checkout #order_review{min-width:0!important}}

/* Make classic cart line details behave as two columns, not a slash-separated sentence. */
.woocommerce-cart table.shop_table.cart td.product-name .cqc-meta-list{max-width:680px!important}
.woocommerce-cart table.shop_table.cart td.product-name{line-height:1.35!important}
.woocommerce-cart .cqc-cart-name-wrap{gap:14px!important}
.woocommerce-cart .product-thumbnail .cqc-shape-thumb svg,
.woocommerce-checkout .cqc-shape-thumb svg{display:block!important}


/* v0.3.2: modal hover + readable metadata tables */
.cqc-added-modal__secondary,
.cqc-added-modal__secondary:hover,
.cqc-added-modal__secondary:focus{background:#fff!important;color:#0f172a!important;border-color:#2563eb!important;text-decoration:none!important;opacity:1!important;visibility:visible!important}
.woocommerce-cart .variation,
.woocommerce-checkout .variation{display:block!important;line-height:1.35!important}
.woocommerce-cart .variation dt,
.woocommerce-checkout .variation dt{display:block!important;float:left!important;clear:left!important;width:130px!important;margin:0 12px 6px 0!important;font-weight:800!important;color:#0f172a!important}
.woocommerce-cart .variation dd,
.woocommerce-checkout .variation dd{display:block!important;margin:0 0 6px 150px!important;padding:0!important;color:#334155!important;min-height:18px!important;word-break:normal!important;overflow-wrap:anywhere!important}
.woocommerce-cart .variation dd p,
.woocommerce-checkout .variation dd p{margin:0!important}
.woocommerce-cart .variation dt::after,
.woocommerce-checkout .variation dt::after{content:':' !important}
.woocommerce-cart .variation .cqc-meta-list,
.woocommerce-checkout .variation .cqc-meta-list{display:grid!important;grid-template-columns:130px minmax(0,1fr)!important;gap:6px 16px!important;margin-top:8px!important;max-width:640px!important}
.woocommerce-cart .variation .cqc-meta-row,
.woocommerce-checkout .variation .cqc-meta-row{display:contents!important}
.woocommerce-cart .variation .cqc-meta-row strong,
.woocommerce-checkout .variation .cqc-meta-row strong{font-weight:800!important;color:#0f172a!important}
.woocommerce-cart .variation .cqc-meta-row span,
.woocommerce-checkout .variation .cqc-meta-row span{color:#334155!important;word-break:normal!important;overflow-wrap:anywhere!important}
.woocommerce-checkout #order_review{max-width:560px!important;min-width:520px!important}
.woocommerce-checkout #order_review table.shop_table td.product-name{width:auto!important;min-width:360px!important}
.woocommerce-checkout #order_review table.shop_table td.product-total{width:110px!important}
.cqc-admin-preview-dxf{margin:14px 0;padding:12px;border:1px solid #dbe4ee;background:#f8fafc;border-radius:8px}.cqc-admin-preview-dxf p{margin:8px 0 0}.cqc-admin-preview-dxf .button{margin:0 8px 8px 0}

/* v0.3.2-final: structural cart/checkout rendering from Woo hooks */
.cqc-cart-line{display:block;max-width:720px;color:#334155;line-height:1.35;word-break:normal;overflow-wrap:normal}
.cqc-cart-line__head{display:flex;align-items:flex-start;gap:16px;margin:0 0 10px;min-width:0}
.cqc-cart-line__title{min-width:0;display:block}.cqc-line-title{display:block;color:#0f172a!important;font-weight:700!important;line-height:1.25!important;margin:0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important}
.cqc-meta-list{display:grid!important;grid-template-columns:132px minmax(0,1fr)!important;gap:7px 16px!important;margin:10px 0 0!important;max-width:680px!important;font-size:14px!important;line-height:1.35!important;color:#334155!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important}
.cqc-meta-row{display:contents!important}.cqc-meta-row strong{font-weight:800!important;color:#0f172a!important;white-space:nowrap!important}.cqc-meta-row span{font-weight:400!important;color:#334155!important;word-break:normal!important;overflow-wrap:break-word!important;min-width:0!important}
.cqc-cart-thumb{display:inline-flex!important;flex:0 0 92px!important;width:92px!important;height:78px!important;margin:0!important;border:1px solid #dbe4ee!important;background:#f8fafc!important;border-radius:8px!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}.cqc-cart-thumb svg{display:block!important;width:82px!important;height:62px!important}.cqc-cart-thumb svg *{vector-effect:non-scaling-stroke}.cqc-file-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:58px!important;height:40px!important;border-radius:8px!important;background:#0f172a!important;color:#fff!important;font-weight:900!important;font-size:18px!important;letter-spacing:.05em!important;padding:0 8px!important;line-height:1!important}
.woocommerce-cart table.shop_table.cart tbody tr.cart_item{display:grid!important;grid-template-columns:120px minmax(0,1fr) 110px 120px 120px!important;gap:16px!important;align-items:start!important}.woocommerce-cart table.shop_table.cart td.product-thumbnail{grid-column:1!important}.woocommerce-cart table.shop_table.cart td.product-name{grid-column:2!important;min-width:0!important}.woocommerce-cart table.shop_table.cart td.product-price{grid-column:3!important;text-align:right!important;white-space:nowrap!important}.woocommerce-cart table.shop_table.cart td.product-quantity{grid-column:4!important;text-align:center!important}.woocommerce-cart table.shop_table.cart td.product-subtotal{grid-column:5!important;text-align:right!important;white-space:nowrap!important}.woocommerce-cart table.shop_table.cart td.product-name .cqc-cart-line__head>.cqc-cart-thumb{display:none!important}.woocommerce-cart .cqc-cart-actions{display:flex!important;gap:10px!important;justify-content:flex-start!important;margin-top:16px!important}.woocommerce-cart .cqc-cart-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid #cbd5e1!important;border-radius:6px!important;padding:10px 16px!important;background:#fff!important;color:#0f172a!important;text-decoration:none!important;font-size:14px!important;font-weight:700!important}.woocommerce-cart .cqc-cart-action:hover{background:#f8fafc!important;border-color:#94a3b8!important}.woocommerce-cart .variation{display:none!important}
.woocommerce-checkout .woocommerce{max-width:1320px!important;margin-left:auto!important;margin-right:auto!important}.woocommerce-checkout form.checkout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(520px,620px)!important;gap:44px!important;align-items:start!important}.woocommerce-checkout #customer_details{grid-column:1!important;min-width:0!important}.woocommerce-checkout #order_review_heading{grid-column:2!important;grid-row:auto!important;width:auto!important;margin:0!important;padding:24px 30px 0!important;background:#f5f7fa!important}.woocommerce-checkout #order_review{grid-column:2!important;grid-row:auto!important;width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;background:#f5f7fa!important;padding:22px 30px 30px!important;overflow:visible!important}.woocommerce-checkout #order_review table.shop_table{table-layout:auto!important;width:100%!important;border-collapse:collapse!important}.woocommerce-checkout #order_review table.shop_table td.product-name{width:auto!important;min-width:0!important;max-width:none!important;padding-right:18px!important;vertical-align:top!important;word-break:normal!important;overflow-wrap:normal!important}.woocommerce-checkout #order_review table.shop_table td.product-total{width:120px!important;white-space:nowrap!important;text-align:right!important;vertical-align:top!important}.woocommerce-checkout #order_review .cqc-cart-line{max-width:none!important}.woocommerce-checkout #order_review .cqc-cart-line__head{display:flex!important;gap:14px!important;align-items:flex-start!important;margin-bottom:10px!important}.woocommerce-checkout #order_review .cqc-cart-thumb{flex-basis:76px!important;width:76px!important;height:64px!important}.woocommerce-checkout #order_review .cqc-cart-thumb svg{width:68px!important;height:52px!important}.woocommerce-checkout #order_review .cqc-meta-list{grid-template-columns:118px minmax(0,1fr)!important;gap:6px 12px!important;font-size:13.5px!important;margin-top:8px!important}.woocommerce-checkout #order_review .cqc-cart-actions{display:none!important}.woocommerce-checkout #order_review .variation{display:none!important}.woocommerce-checkout #order_review *{word-break:normal!important}.woocommerce-checkout #order_review .cqc-meta-row span{overflow-wrap:break-word!important}
@media(max-width:1050px){.woocommerce-checkout form.checkout{display:block!important}.woocommerce-checkout #order_review_heading{margin-top:28px!important}.woocommerce-checkout #order_review{padding:22px!important}.woocommerce-cart table.shop_table.cart tbody tr.cart_item{grid-template-columns:92px minmax(0,1fr)!important}.woocommerce-cart table.shop_table.cart td.product-thumbnail{grid-column:1!important}.woocommerce-cart table.shop_table.cart td.product-name{grid-column:2!important}.woocommerce-cart table.shop_table.cart td.product-price,.woocommerce-cart table.shop_table.cart td.product-quantity,.woocommerce-cart table.shop_table.cart td.product-subtotal{grid-column:2!important;text-align:left!important}.cqc-meta-list{grid-template-columns:118px minmax(0,1fr)!important}.cqc-cart-thumb{flex-basis:76px!important;width:76px!important;height:64px!important}}


/* v0.3.4: checkout-first flow + clearer checkout actions */
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-quantity{display:none!important}
.woocommerce-checkout #order_review .cqc-cart-actions{display:flex!important;gap:8px!important;justify-content:flex-start!important;margin-top:14px!important;flex-wrap:wrap!important}
.woocommerce-checkout #order_review .cqc-cart-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid #cbd5e1!important;border-radius:6px!important;padding:8px 12px!important;background:#fff!important;color:#0f172a!important;text-decoration:none!important;font-size:13px!important;font-weight:700!important}
.woocommerce-checkout #order_review .cqc-cart-action:hover{background:#f8fafc!important;border-color:#94a3b8!important}
.woocommerce-checkout #order_review .cqc-cart-line__head>.cqc-cart-thumb{display:inline-flex!important}
.woocommerce-checkout #order_review .cqc-meta-list{grid-template-columns:132px minmax(0,1fr)!important;max-width:none!important}
.woocommerce-checkout #order_review table.shop_table td.product-name{padding-bottom:18px!important}
.woocommerce-checkout #order_review table.shop_table tr.cart_item{border-bottom:1px solid #d9dee6!important}


/* v0.3.5: compact colour picker and fixed checkout grid/metadata overlap */
.cqc-v2 .cqc-colour-grid{
  grid-template-columns:repeat(auto-fit,minmax(96px,1fr))!important;
  gap:10px 10px!important;
}
.cqc-v2 .cqc-colour-swatch{
  min-height:74px!important;
  gap:4px!important;
  padding:6px 4px!important;
  line-height:1.05!important;
}
.cqc-v2 .cqc-colour-swatch .cqc-swatch__dot{
  width:46px!important;
  height:46px!important;
  border-width:4px!important;
}
.cqc-v2 .cqc-colour-swatch span:last-child{
  font-size:14px!important;
  line-height:1.05!important;
}

.woocommerce-checkout .woocommerce{
  max-width:1540px!important;
  width:calc(100% - 48px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.woocommerce-checkout form.checkout{
  display:grid!important;
  grid-template-columns:minmax(520px,1fr) minmax(560px,640px)!important;
  column-gap:56px!important;
  align-items:start!important;
}
.woocommerce-checkout #customer_details{
  grid-column:1!important;
  grid-row:1 / span 3!important;
  width:100%!important;
  max-width:none!important;
}
.woocommerce-checkout #order_review_heading{
  grid-column:2!important;
  grid-row:1!important;
  align-self:start!important;
  margin:0!important;
  width:100%!important;
  box-sizing:border-box!important;
}
.woocommerce-checkout #order_review{
  grid-column:2!important;
  grid-row:2!important;
  align-self:start!important;
  margin:0!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.woocommerce-checkout #order_review .cqc-meta-list{
  display:grid!important;
  grid-template-columns:minmax(170px,max-content) minmax(0,1fr)!important;
  gap:7px 26px!important;
  font-size:14px!important;
  line-height:1.35!important;
}
.woocommerce-checkout #order_review .cqc-meta-row strong{
  white-space:nowrap!important;
}
.woocommerce-checkout #order_review .cqc-meta-row span{
  min-width:0!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
.woocommerce-checkout #order_review .cqc-cart-line{
  max-width:none!important;
  width:100%!important;
}
.woocommerce-checkout #order_review table.shop_table td.product-name{
  min-width:0!important;
  width:auto!important;
  padding-right:22px!important;
}
.woocommerce-checkout #order_review table.shop_table td.product-total{
  width:96px!important;
  min-width:96px!important;
  white-space:nowrap!important;
}
@media(max-width:760px){
  .woocommerce-checkout .woocommerce{width:100%!important}
  .woocommerce-checkout form.checkout{display:block!important}
  .woocommerce-checkout #order_review_heading{margin-top:28px!important}
}


/* v0.3.6: CSS-only thumbnails survive Woo checkout sanitising; billing/shipping checkout layout. */
.cqc-shape-thumb>span{
  display:block!important;
  width:56px!important;
  height:38px!important;
  background:#eaf4fb!important;
  border:3px solid #0f172a!important;
  box-sizing:border-box!important;
}
.woocommerce-cart .product-thumbnail .cqc-shape-thumb>span,
.woocommerce-checkout #order_review .cqc-shape-thumb>span{
  width:58px!important;
  height:40px!important;
}
.cqc-shape-thumb--rectangle>span{border-radius:0!important;clip-path:none!important}
.cqc-shape-thumb--circle>span{width:42px!important;height:42px!important;border-radius:999px!important}
.cqc-shape-thumb--oval>span{width:58px!important;height:34px!important;border-radius:999px!important}
.cqc-shape-thumb--ring>span{width:44px!important;height:44px!important;border-radius:999px!important;box-shadow:inset 0 0 0 10px #f8fafc!important}
.cqc-shape-thumb--semicircle>span{width:58px!important;height:32px!important;border-radius:58px 58px 0 0!important;border-bottom-width:3px!important;transform:translateY(4px)!important}
.cqc-shape-thumb--quarter_circle>span{width:44px!important;height:44px!important;border-radius:44px 0 0 0!important;clip-path:polygon(0 0,100% 100%,0 100%)!important}
.cqc-shape-thumb--triangle>span{clip-path:polygon(50% 0,100% 100%,0 100%)!important}
.cqc-shape-thumb--right_triangle>span{clip-path:polygon(0 100%,100% 0,100% 100%)!important}
.cqc-shape-thumb--left_triangle>span{clip-path:polygon(0 0,100% 100%,0 100%)!important}
.cqc-shape-thumb--trapezoid>span{clip-path:polygon(25% 0,75% 0,100% 100%,0 100%)!important}
.cqc-shape-thumb--irregular_trapezium>span{clip-path:polygon(20% 0,75% 12%,100% 100%,0 100%)!important}
.cqc-shape-thumb--right_trapezium>span{clip-path:polygon(0 0,70% 0,100% 100%,0 100%)!important}
.cqc-shape-thumb--l_shape>span{clip-path:polygon(0 0,45% 0,45% 65%,100% 65%,100% 100%,0 100%)!important}
.cqc-shape-thumb--inverse_t>span{clip-path:polygon(35% 0,65% 0,65% 60%,100% 60%,100% 100%,0 100%,0 60%,35% 60%)!important}
.cqc-shape-thumb--pentagon>span{clip-path:polygon(50% 0,100% 38%,82% 100%,18% 100%,0 38%)!important}
.cqc-shape-thumb--hexagon>span{clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)!important}
.cqc-shape-thumb--octagon>span,.cqc-shape-thumb--custom_polygon>span{clip-path:polygon(30% 0,70% 0,100% 30%,100% 70%,70% 100%,30% 100%,0 70%,0 30%)!important}

.woocommerce-checkout .woocommerce{max-width:1500px!important;width:calc(100% - 36px)!important}
.woocommerce-checkout form.checkout{
  display:grid!important;
  grid-template-columns:minmax(420px,1fr) minmax(480px,620px)!important;
  column-gap:42px!important;
  align-items:start!important;
}
.woocommerce-checkout #customer_details{grid-column:1!important;grid-row:1 / span 3!important;min-width:0!important;width:100%!important}
.woocommerce-checkout #order_review_heading{grid-column:2!important;grid-row:1!important;margin:0!important;width:100%!important;box-sizing:border-box!important}
.woocommerce-checkout #order_review{grid-column:2!important;grid-row:2!important;margin:0!important;width:100%!important;box-sizing:border-box!important;min-width:0!important;max-width:none!important}
.woocommerce-checkout #order_review table.shop_table td.product-name{width:auto!important;min-width:0!important;max-width:none!important}
.woocommerce-checkout #order_review table.shop_table td.product-total{width:96px!important;min-width:96px!important;white-space:nowrap!important}
.woocommerce-checkout #order_review .cqc-meta-list{grid-template-columns:minmax(150px,max-content) minmax(0,1fr)!important;gap:7px 24px!important}
.cqc-billing-note{margin:12px 0 18px!important;color:#526173!important;font-size:14px!important;line-height:1.45!important;background:#f8fafc!important;border:1px solid #dbe4ee!important;border-radius:8px!important;padding:12px 14px!important}
.woocommerce-checkout .woocommerce-shipping-fields h3 label{font-weight:800!important}
@media(max-width:980px){
  .woocommerce-checkout .woocommerce{width:100%!important}
  .woocommerce-checkout form.checkout{display:block!important}
  .woocommerce-checkout #order_review_heading{margin-top:28px!important}
}


/* v0.3.7: post-add checkout link, non-clipped shape badges, PO field. */
[data-cqc-secure-checkout][hidden]{display:none!important}
.cqc-po-field{margin:0 0 18px!important;padding:14px 16px!important;background:#f8fafc!important;border:1px solid #dbe4ee!important;border-radius:8px!important}
.cqc-po-field .form-row{margin:0!important}
.cqc-po-field label{font-weight:800!important;color:#0f172a!important}
.cqc-po-field input{min-height:46px!important}
.woocommerce-checkout #order_review .cqc-cart-thumb,
.woocommerce-cart .product-thumbnail .cqc-cart-thumb{overflow:visible!important;padding:8px!important;box-sizing:border-box!important;background:#f8fafc!important}
.cqc-shape-thumb>span,
.woocommerce-checkout #order_review .cqc-shape-thumb>span,
.woocommerce-cart .product-thumbnail .cqc-shape-thumb>span{
  position:relative!important;
  display:block!important;
  width:50px!important;
  height:34px!important;
  background:#0f172a!important;
  border:0!important;
  border-left:0!important;
  border-right:0!important;
  border-top:0!important;
  border-bottom:0!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
.cqc-shape-thumb>span::after,
.woocommerce-checkout #order_review .cqc-shape-thumb>span::after,
.woocommerce-cart .product-thumbnail .cqc-shape-thumb>span::after{
  content:""!important;
  position:absolute!important;
  inset:3px!important;
  background:#eaf4fb!important;
  clip-path:inherit!important;
  border-radius:inherit!important;
}
.cqc-shape-thumb--rectangle>span{border-radius:0!important;clip-path:none!important}
.cqc-shape-thumb--circle>span{width:38px!important;height:38px!important;border-radius:999px!important;clip-path:none!important}
.cqc-shape-thumb--oval>span{width:50px!important;height:32px!important;border-radius:999px!important;clip-path:none!important}
.cqc-shape-thumb--ring>span{width:40px!important;height:40px!important;border-radius:999px!important;clip-path:none!important}
.cqc-shape-thumb--ring>span::after{inset:10px!important;background:#f8fafc!important;border-radius:999px!important;clip-path:none!important}
.cqc-shape-thumb--semicircle>span{width:50px!important;height:30px!important;border-radius:50px 50px 0 0!important;clip-path:none!important;transform:none!important}
.cqc-shape-thumb--quarter_circle>span{width:38px!important;height:38px!important;border-radius:38px 0 0 0!important;clip-path:polygon(0 0,100% 100%,0 100%)!important}
.cqc-shape-thumb--triangle>span{clip-path:polygon(50% 0,100% 100%,0 100%)!important}
.cqc-shape-thumb--right_triangle>span{clip-path:polygon(0 100%,100% 0,100% 100%)!important}
.cqc-shape-thumb--left_triangle>span{clip-path:polygon(0 0,100% 100%,0 100%)!important}
.cqc-shape-thumb--trapezoid>span{clip-path:polygon(25% 0,75% 0,100% 100%,0 100%)!important}
.cqc-shape-thumb--irregular_trapezium>span{clip-path:polygon(20% 0,75% 12%,100% 100%,0 100%)!important}
.cqc-shape-thumb--right_trapezium>span{clip-path:polygon(0 0,70% 0,100% 100%,0 100%)!important}
.cqc-shape-thumb--l_shape>span{clip-path:polygon(0 0,45% 0,45% 65%,100% 65%,100% 100%,0 100%)!important}
.cqc-shape-thumb--inverse_t>span{clip-path:polygon(35% 0,65% 0,65% 60%,100% 60%,100% 100%,0 100%,0 60%,35% 60%)!important}
.cqc-shape-thumb--pentagon>span{clip-path:polygon(50% 0,100% 38%,82% 100%,18% 100%,0 38%)!important}
.cqc-shape-thumb--hexagon>span{clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)!important}
.cqc-shape-thumb--octagon>span,.cqc-shape-thumb--custom_polygon>span{clip-path:polygon(30% 0,70% 0,100% 30%,100% 70%,70% 100%,30% 100%,0 70%,0 30%)!important}

/* v0.3.8: robust L-shape thumbnail, no empty cart dead-end, cleaner checkout fields. */
.cqc-shape-thumb--l_shape>span,
.woocommerce-checkout #order_review .cqc-shape-thumb--l_shape>span,
.woocommerce-cart .product-thumbnail .cqc-shape-thumb--l_shape>span{
  position:relative!important;
  width:52px!important;
  height:40px!important;
  background:transparent!important;
  clip-path:none!important;
  border:0!important;
  overflow:visible!important;
}
.cqc-shape-thumb--l_shape>span::before,
.woocommerce-checkout #order_review .cqc-shape-thumb--l_shape>span::before,
.woocommerce-cart .product-thumbnail .cqc-shape-thumb--l_shape>span::before{
  content:""!important;
  position:absolute!important;
  left:3px!important;
  top:3px!important;
  width:18px!important;
  height:34px!important;
  background:#0f172a!important;
  border-radius:0!important;
}
.cqc-shape-thumb--l_shape>span::after,
.woocommerce-checkout #order_review .cqc-shape-thumb--l_shape>span::after,
.woocommerce-cart .product-thumbnail .cqc-shape-thumb--l_shape>span::after{
  content:""!important;
  position:absolute!important;
  left:3px!important;
  bottom:3px!important;
  top:auto!important;
  right:auto!important;
  inset:auto!important;
  width:46px!important;
  height:16px!important;
  background:#0f172a!important;
  clip-path:none!important;
  border-radius:0!important;
}
.cqc-po-field label .optional{display:none!important}
.woocommerce-checkout #billing_state_field,
.woocommerce-checkout #shipping_state_field{display:none!important}


/* v0.3.9: cleaner PO label, proper L-shape outline, two-column thank-you addresses. */
.cqc-po-field{
  margin:0 0 18px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
}
.cqc-po-field label{
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:700!important;
  color:#0f172a!important;
}
.cqc-po-field .optional{display:none!important}
.cqc-po-field input.input-text{min-height:52px!important}

/* v0.3.10: clean L-shape thumbnail using a proper outline SVG instead of layered clip-path hacks. */
.cqc-shape-thumb--l_shape>span,
.woocommerce-checkout #order_review .cqc-shape-thumb--l_shape>span,
.woocommerce-cart .product-thumbnail .cqc-shape-thumb--l_shape>span,
.woocommerce-order .cqc-shape-thumb--l_shape>span{
  position:relative!important;
  display:block!important;
  width:54px!important;
  height:42px!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  clip-path:none!important;
  overflow:visible!important;
  box-shadow:none!important;
}
.cqc-shape-thumb--l_shape>span::before,
.woocommerce-checkout #order_review .cqc-shape-thumb--l_shape>span::before,
.woocommerce-cart .product-thumbnail .cqc-shape-thumb--l_shape>span::before,
.woocommerce-order .cqc-shape-thumb--l_shape>span::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  width:auto!important;
  height:auto!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:100% 100%!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 42'%3E%3Cpath d='M4 4 H22 V24 H50 V38 H4 Z' fill='none' stroke='%230f172a' stroke-width='4' stroke-linejoin='miter'/%3E%3C/svg%3E")!important;
  border-radius:0!important;
  clip-path:none!important;
}
.cqc-shape-thumb--l_shape>span::after,
.woocommerce-checkout #order_review .cqc-shape-thumb--l_shape>span::after,
.woocommerce-cart .product-thumbnail .cqc-shape-thumb--l_shape>span::after,
.woocommerce-order .cqc-shape-thumb--l_shape>span::after{
  display:none!important;
  content:none!important;
}

.woocommerce-order-received .woocommerce-customer-details{display:none!important}
.cqc-thankyou-addresses{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:24px!important;
  margin:28px 0!important;
}
.cqc-thankyou-address{
  border:1px solid #d9dee6!important;
  background:#fff!important;
}
.cqc-thankyou-address h2{
  margin:0!important;
  padding:18px 22px!important;
  font-size:22px!important;
  font-weight:600!important;
  border-bottom:1px solid #d9dee6!important;
}
.cqc-thankyou-address address{
  margin:0!important;
  padding:22px!important;
  line-height:1.6!important;
  font-style:normal!important;
}
@media(max-width:800px){.cqc-thankyou-addresses{grid-template-columns:1fr!important}}


/* v0.3.11: L-shape thumbnail is now inline SVG, so bypass all old span/clip-path styling. */
.cqc-cart-thumb.cqc-shape-thumb--inline-svg{
  background:#f8fafc!important;
  border:1px solid #dbe4ee!important;
  border-radius:8px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.cqc-cart-thumb.cqc-shape-thumb--inline-svg svg{
  display:block!important;
  width:72px!important;
  height:54px!important;
  max-width:100%!important;
  max-height:100%!important;
}
.woocommerce-checkout #order_review .cqc-cart-thumb.cqc-shape-thumb--inline-svg svg,
.woocommerce-cart .product-thumbnail .cqc-cart-thumb.cqc-shape-thumb--inline-svg svg,
.woocommerce-order .cqc-cart-thumb.cqc-shape-thumb--inline-svg svg{
  width:72px!important;
  height:54px!important;
}


/* v0.3.12: final L-shape thumbnail. No SVG, no child span, no clip-path. */
.cqc-cart-thumb.cqc-lshape-thumb,
.woocommerce-checkout #order_review .cqc-cart-thumb.cqc-lshape-thumb,
.woocommerce-cart .product-thumbnail .cqc-cart-thumb.cqc-lshape-thumb,
.woocommerce-order .cqc-cart-thumb.cqc-lshape-thumb{
  position:relative!important;
  display:inline-flex!important;
  width:76px!important;
  height:64px!important;
  flex:0 0 76px!important;
  align-items:center!important;
  justify-content:center!important;
  background:#f8fafc!important;
  border:1px solid #dbe4ee!important;
  border-radius:8px!important;
  overflow:hidden!important;
  padding:0!important;
  box-sizing:border-box!important;
}
.cqc-cart-thumb.cqc-lshape-thumb .cqc-lshape-v,
.cqc-cart-thumb.cqc-lshape-thumb .cqc-lshape-h{
  position:absolute!important;
  display:block!important;
  background:transparent!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
  box-sizing:border-box!important;
  clip-path:none!important;
  border-radius:0!important;
}
.cqc-cart-thumb.cqc-lshape-thumb .cqc-lshape-v{
  left:18px!important;
  top:14px!important;
  width:18px!important;
  height:36px!important;
  border-left:4px solid #0f172a!important;
  border-top:4px solid #0f172a!important;
  border-bottom:4px solid #0f172a!important;
}
.cqc-cart-thumb.cqc-lshape-thumb .cqc-lshape-h{
  left:18px!important;
  top:46px!important;
  width:42px!important;
  height:4px!important;
  background:#0f172a!important;
}
.woocommerce-checkout #order_review .cqc-cart-thumb.cqc-lshape-thumb{width:76px!important;height:64px!important;flex-basis:76px!important}
.woocommerce-cart .product-thumbnail .cqc-cart-thumb.cqc-lshape-thumb{width:92px!important;height:78px!important;flex-basis:92px!important}
.woocommerce-cart .product-thumbnail .cqc-cart-thumb.cqc-lshape-thumb .cqc-lshape-v{left:24px!important;top:18px!important;width:22px!important;height:44px!important;border-left-width:4px!important;border-top-width:4px!important;border-bottom-width:4px!important}
.woocommerce-cart .product-thumbnail .cqc-cart-thumb.cqc-lshape-thumb .cqc-lshape-h{left:24px!important;top:58px!important;width:52px!important;height:4px!important}


/* v0.3.14: tighter mobile Type/Shape layout and readable preview labels. */
.cqc-upload-category-row{margin-top:12px!important;display:block!important}
.cqc-upload-category-row .cqc-shape-category{width:100%!important}
@media(max-width:850px){
  .cqc-v2 .cqc-type-grid,
  .cqc-v2 .cqc-shape-category-grid,
  .cqc-v2 .cqc-shape-variants{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .cqc-v2 .cqc-type-card{
    min-height:48px!important;
    padding:10px 8px!important;
    font-size:14px!important;
    line-height:1.15!important;
  }
  .cqc-v2 .cqc-shape-category,
  .cqc-v2 .cqc-shape-card{
    min-height:78px!important;
    padding:10px 8px!important;
    gap:5px!important;
    font-size:13.5px!important;
    line-height:1.15!important;
  }
  .cqc-v2 .cqc-shape-icon svg{
    width:42px!important;
    height:30px!important;
  }
  .cqc-upload-category-row{
    margin-top:10px!important;
  }
  .cqc-upload-category-row .cqc-shape-category--upload{
    min-height:72px!important;
  }
  .cqc-preview{
    min-height:300px!important;
    padding:12px!important;
    overflow:visible!important;
  }
  .cqc-preview svg{
    max-width:100%!important;
    overflow:visible!important;
  }
  .cqc-preview .dim{
    stroke:#0f172a!important;
    stroke-width:2.4!important;
  }
  .cqc-preview .dim-text{
    font-size:12.5px!important;
    font-weight:900!important;
    fill:#0f172a!important;
    paint-order:stroke!important;
    stroke:#ffffff!important;
    stroke-width:4px!important;
    stroke-linejoin:round!important;
    letter-spacing:0!important;
  }
  .cqc-preview .corner-dot{
    r:5px!important;
    fill:#0ea5e9!important;
    stroke:#ffffff!important;
    stroke-width:2px!important;
  }
  .cqc-preview .corner-text{
    font-size:12px!important;
    font-weight:900!important;
    fill:#0f172a!important;
    paint-order:stroke!important;
    stroke:#ffffff!important;
    stroke-width:4px!important;
    stroke-linejoin:round!important;
  }
  .cqc-preview .shape-label{
    font-size:14px!important;
    font-weight:900!important;
  }
}
@media(max-width:420px){
  .cqc-v2 .cqc-type-grid,
  .cqc-v2 .cqc-shape-category-grid,
  .cqc-v2 .cqc-shape-variants{gap:8px!important}
  .cqc-v2 .cqc-type-card{font-size:13px!important}
  .cqc-v2 .cqc-shape-category,
  .cqc-v2 .cqc-shape-card{font-size:12.5px!important;min-height:74px!important}
  .cqc-preview .dim-text{font-size:13px!important}
  .cqc-preview .corner-text{font-size:12.5px!important}
}


/* v0.3.15: slimmer dimension arrows on preview, especially mobile. */
.cqc-preview .dim{
  stroke-width:1.15!important;
  stroke-linecap:round!important;
}
@media(max-width:850px){
  .cqc-preview .dim{
    stroke-width:1.35!important;
  }
  .cqc-preview .dim-text{
    font-size:12px!important;
  }
  .cqc-preview .corner-text{
    font-size:11.5px!important;
  }
}


/* v0.3.16: denser mobile Type/Shape grids and visually attached sub-shape options. */
.cqc-v2 .cqc-shape-category.is-active{
  position:relative!important;
  background:#eaf7ff!important;
  border-color:#0ea5e9!important;
}
.cqc-v2 .cqc-shape-category.is-active::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  bottom:-15px!important;
  transform:translateX(-50%)!important;
  width:0!important;
  height:0!important;
  border-left:12px solid transparent!important;
  border-right:12px solid transparent!important;
  border-bottom:14px solid #eaf7ff!important;
  z-index:3!important;
}
.cqc-v2 .cqc-shape-variants{
  position:relative!important;
  margin-top:12px!important;
  border:2px solid #0ea5e9!important;
  background:#eaf7ff!important;
  box-shadow:0 8px 22px rgba(14,165,233,.10)!important;
}
.cqc-shape-variants-head{
  grid-column:1 / -1!important;
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:12px!important;
  padding:2px 4px 8px!important;
  border-bottom:1px solid rgba(14,165,233,.25)!important;
  color:#0f172a!important;
}
.cqc-shape-variants-head strong{font-size:14px!important;font-weight:900!important}
.cqc-shape-variants-head span{font-size:12px!important;color:#475569!important;font-weight:600!important}
.cqc-v2 .cqc-shape-variants .cqc-shape-card{
  background:#fff!important;
}
@media(max-width:850px){
  .cqc-v2 .cqc-type-grid,
  .cqc-v2 .cqc-shape-category-grid,
  .cqc-v2 .cqc-shape-variants{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .cqc-v2 .cqc-type-card{
    min-height:44px!important;
    padding:8px 5px!important;
    font-size:12.2px!important;
    line-height:1.08!important;
    border-radius:9px!important;
  }
  .cqc-v2 .cqc-shape-category,
  .cqc-v2 .cqc-shape-card{
    min-height:70px!important;
    padding:8px 4px!important;
    gap:4px!important;
    font-size:11.8px!important;
    line-height:1.05!important;
    border-radius:9px!important;
  }
  .cqc-v2 .cqc-shape-icon svg{
    width:36px!important;
    height:26px!important;
  }
  .cqc-v2 .cqc-shape-category.is-active::after{
    bottom:-13px!important;
    border-left-width:9px!important;
    border-right-width:9px!important;
    border-bottom-width:12px!important;
  }
  .cqc-v2 .cqc-shape-variants{
    margin-top:10px!important;
    padding:8px!important;
    border-radius:12px!important;
  }
  .cqc-shape-variants-head{
    display:block!important;
    text-align:left!important;
    padding:0 2px 7px!important;
  }
  .cqc-shape-variants-head strong{display:block!important;font-size:12.5px!important;line-height:1.1!important}
  .cqc-shape-variants-head span{display:block!important;font-size:10.8px!important;margin-top:2px!important;line-height:1.1!important}
  .cqc-upload-category-row .cqc-shape-category--upload{
    min-height:64px!important;
  }
}
@media(max-width:420px){
  .cqc-v2 .cqc-type-grid,
  .cqc-v2 .cqc-shape-category-grid,
  .cqc-v2 .cqc-shape-variants{gap:6px!important}
  .cqc-v2 .cqc-type-card{font-size:11.4px!important;padding-left:3px!important;padding-right:3px!important}
  .cqc-v2 .cqc-shape-category,
  .cqc-v2 .cqc-shape-card{font-size:10.8px!important;min-height:66px!important;padding-left:3px!important;padding-right:3px!important}
  .cqc-v2 .cqc-shape-icon svg{width:32px!important;height:24px!important}
}


/* v0.3.19: graphic help tooltips for easier configurator use. */
.cqc-help{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:20px!important;height:20px!important;margin-left:6px!important;border-radius:999px!important;background:#e0f2fe!important;border:1px solid #38bdf8!important;color:#075985!important;font-size:13px!important;font-weight:900!important;line-height:1!important;cursor:help!important;position:relative!important;vertical-align:middle!important}
.cqc-help::after,.cqc-help::before{display:none!important}
@media(max-width:850px){.cqc-help{width:22px!important;height:22px!important;font-size:14px!important}}


/* v0.3.28: make preview drawing use much more of the preview panel width and improve dimension readability. */
.cqc-preview{
  overflow:visible!important;
}
.cqc-preview svg{
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  display:block;
}
.cqc-preview .dim{
  stroke:#0f172a!important;
  stroke-width:1.45!important;
}
.cqc-preview .dim-text{
  font-size:11.8px!important;
  font-weight:800!important;
  fill:#0f172a!important;
  stroke:#ffffff!important;
  stroke-width:3.6px!important;
}
.cqc-preview .shape-label{
  font-size:13px!important;
  font-weight:900!important;
}
@media (max-width: 850px){
  .cqc-preview{
    min-height:340px!important;
    padding:10px!important;
  }
  .cqc-preview .dim{
    stroke-width:1.55!important;
  }
  .cqc-preview .dim-text{
    font-size:12.4px!important;
    stroke-width:4px!important;
  }
  .cqc-preview .shape-label{
    font-size:13.5px!important;
  }
}


/* v0.3.31: unified tooltip popovers + cleaner header + safer preview fitting */
.cqc-help-popover{
  position:fixed!important;
  z-index:100000!important;
  padding:12px 14px!important;
  border-radius:12px!important;
  background:#0f172a!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.38!important;
  box-shadow:0 18px 36px rgba(15,23,42,.24)!important;
  width:max-content!important;
  max-width:min(320px, calc(100vw - 24px))!important;
}
@media(max-width:850px){
  .cqc-help::after,.cqc-help::before{display:none!important}
  .cqc-section,.cqc-step,.cqc-card,.cqc-configurator-card,.cqc-v2 [class*="card"],.cqc-v2 [class*="section"]{overflow:visible!important}
}
.cqc-preview{
  padding:6px!important;
}
@media (max-width: 850px){
  .cqc-preview{
    min-height:350px!important;
    padding:6px!important;
  }
  .cqc-preview svg{
    transform:scale(1.03);
    transform-origin:center top;
  }
}


/* v0.3.30: keep preview dimensions inside the frame and remove shape-name overlap. */
.cqc-preview{
  min-height:330px!important;
  padding:12px!important;
  overflow:hidden!important;
}
.cqc-preview svg{
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  transform:none!important;
  overflow:visible!important;
}
.cqc-preview .shape-label{
  display:none!important;
}
.cqc-preview .dim{
  stroke:#0f172a!important;
  stroke-width:1.25!important;
}
.cqc-preview .dim-text{
  font-size:10.8px!important;
  font-weight:800!important;
  fill:#0f172a!important;
  stroke:#ffffff!important;
  stroke-width:3.4px!important;
  paint-order:stroke!important;
}
@media(max-width:850px){
  .cqc-preview{
    min-height:330px!important;
    padding:10px!important;
  }
  .cqc-preview .dim-text{
    font-size:11.4px!important;
    stroke-width:3.8px!important;
  }
}

/* v0.3.34: triangle dimension helper note */
.cqc-dimension-note{grid-column:1/-1;font-size:13px;line-height:1.35;color:#475569;background:#f8fafc;border:1px solid #dbe4ee;border-radius:10px;padding:10px 12px;margin-top:4px}
