.eccq{--y:#F9C904;--r:#D40803;--o:#F35303;--g:#63A405;--b:#0055B8;--ink:#1d1f2a;--mid:#3E4155;max-width:900px;margin:0 auto;font-family:Arial,Helvetica,sans-serif;color:var(--ink);font-size:16px;line-height:1.45}
.eccq *{box-sizing:border-box}
.eccq-head{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:8px 0}
.eccq-logo{width:200px;height:auto}
.eccq-title{margin:0;font-size:1.6em}
.eccq-sub{margin:.2em 0 0;color:var(--mid)}
.eccq-accent{height:6px;border-radius:3px;margin:8px 0 16px;background:linear-gradient(90deg,var(--r) 0 20%,var(--o) 20% 40%,var(--y) 40% 60%,var(--g) 60% 80%,var(--b) 80% 100%)}
.eccq-card{background:#fff;border:1px solid #e3e5ea;border-top:5px solid var(--y);border-radius:10px;padding:14px 16px;margin:0 0 14px}
.eccq-card legend{font-weight:bold;font-size:1.1em;padding:0 6px}
.eccq-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px 14px;margin-bottom:8px}
.eccq label{display:block;font-size:.9em;color:var(--mid);margin-bottom:6px}
.eccq input,.eccq select,.eccq textarea{display:block;width:100%;margin-top:3px;padding:9px;border:1px solid #c9ccd4;border-radius:6px;font-size:16px;background:#fff;color:var(--ink)}
.eccq input[type=checkbox]{display:inline-block;width:auto;margin:0 6px 0 0}
.eccq-check{display:flex!important;align-items:flex-start;gap:4px}
.eccq-line{border:1px solid #eceef2;border-radius:8px;padding:10px 12px;margin-bottom:10px;position:relative;background:#fcfcfd}
.eccq-line h4{margin:0 0 8px;font-size:1em}
.eccq-btn{background:var(--y);color:#111;border:0;border-radius:6px;padding:11px 18px;font-weight:bold;font-size:1em;cursor:pointer}
.eccq-btn:hover{filter:brightness(.95)}.eccq-btn-sec{background:#eceef2}
.eccq-btn[disabled]{opacity:.6;cursor:wait}
.eccq-result{border-top-color:var(--b);background:#fffbea}
.eccq-result table{width:100%;border-collapse:collapse;font-size:.95em}
.eccq-result td{padding:6px 4px;border-bottom:1px solid #f0e6b8}
.eccq-result td.n{text-align:right;white-space:nowrap}
.eccq-total{font-size:1.5em;font-weight:bold}
.eccq-ask{display:inline-block;background:#fff1c9;border:1px solid var(--o);color:#7A4B00;border-radius:12px;padding:2px 10px;font-size:.85em;font-weight:bold}
.eccq-small{font-size:.85em;color:var(--mid)}
.eccq-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.eccq-msg{margin-top:10px}.eccq-msg.err{color:var(--r)}.eccq-msg.ok{color:#2b5c00;font-weight:bold}
.eccq-foot{font-size:.85em;color:var(--mid);text-align:center}
.eccq-foot a{color:var(--b)}
@media (max-width:560px){.eccq-logo{width:150px}.eccq-title{font-size:1.3em}.eccq-card{padding:12px}}
.eccq [hidden]{display:none!important}
.eccq-quoting{margin:0 0 10px;font-size:.95em;font-weight:bold;color:var(--mid)}
.eccq-wide{grid-column:1/-1}.eccq label.eccq-wide input{width:100%}
.eccq-step1{text-align:center}.eccq-step1-title{margin:4px 0 6px;font-size:1.4em}
.eccq-types{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;margin:14px 0 6px}.eccq a.eccq-type{display:inline-block;min-width:260px;padding:20px 24px;font-size:1.15em;text-decoration:none;color:#111}
.eccq-admin-reset{max-width:900px;margin:10px auto;font-size:.8em;color:#888;text-align:right}.eccq-admin-reset a{color:#D40803}
/* 1.0.12: buttons hardened against theme (Elementor/Hello) button styles */
#eccq .eccq-line-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px;min-height:32px}
#eccq .eccq-line-head h4{margin:0;font-size:1em;line-height:1.2}
#eccq button.eccq-remove,#eccq button.eccq-remove:hover,#eccq button.eccq-remove:focus{position:static;display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;height:32px;min-height:0;min-width:0;width:auto;margin:0;padding:0 12px;line-height:1;font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:600;text-transform:none;letter-spacing:normal;text-decoration:none;box-shadow:none;text-shadow:none;border-radius:6px;background:transparent;background-image:none;border:1px solid #c9ccd4;color:#5B6275;cursor:pointer;transition:color .15s,border-color .15s,background-color .15s;flex:0 0 auto;white-space:nowrap}
#eccq button.eccq-remove .eccq-x{font-size:12px;line-height:1;display:inline-block}
#eccq button.eccq-remove:hover{color:#D40803;border-color:#D40803;background:#fff5f5}
#eccq button.eccq-remove:focus{outline:none}
#eccq button.eccq-remove:focus-visible{outline:2px solid #0055B8;outline-offset:2px;color:#D40803;border-color:#D40803}
#eccq button.eccq-remove[hidden]{display:none!important}
#eccq button.eccq-btn,#eccq button.eccq-btn:hover,#eccq button.eccq-btn:focus{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;height:auto;width:auto;margin:0;padding:11px 20px;line-height:1.2;font-family:Arial,Helvetica,sans-serif;font-size:16px;font-weight:bold;text-transform:none;letter-spacing:normal;text-decoration:none;box-shadow:none;text-shadow:none;border-radius:6px;background-image:none;border:1px solid transparent;cursor:pointer}
#eccq button.eccq-btn{background:#F9C904;color:#111}
#eccq button.eccq-btn:hover{background:#e8bb00;color:#111}
#eccq button.eccq-btn-sec{background:#eceef2;color:#1d1f2a;border-color:#d5d8df}
#eccq button.eccq-btn-sec:hover{background:#e1e4ea;color:#1d1f2a}
#eccq button.eccq-btn:focus-visible{outline:2px solid #0055B8;outline-offset:2px}
#eccq button.eccq-btn[disabled]{opacity:.6;cursor:wait}
.eccq-choose a.eccq-type,.eccq-choose a.eccq-type:hover{box-shadow:none;text-transform:none;letter-spacing:normal;border-radius:6px;line-height:1.2;background:#F9C904;color:#111;border:0}
.eccq-choose a.eccq-type:hover{background:#e8bb00}
p.eccq-admin-reset a,p.eccq-admin-reset a:hover{background:none;padding:0;border:0;box-shadow:none;text-transform:none;letter-spacing:normal;font-family:Arial,Helvetica,sans-serif;color:#D40803;text-decoration:underline}
/* 1.0.13: item card grid */
#eccq .eccq-line .eccq-row{display:grid;gap:10px 14px;margin-bottom:8px}
#eccq .eccq-line .eccq-r1{grid-template-columns:minmax(0,1fr) minmax(0,1.7fr) 88px}
#eccq .eccq-line .eccq-r2{grid-template-columns:repeat(2,minmax(0,1fr))}
#eccq .eccq-line .eccq-size{grid-template-columns:repeat(4,minmax(0,1fr))}
#eccq .eccq-line .eccq-row label{margin-bottom:0;min-width:0}
#eccq .eccq-line select{text-overflow:ellipsis}
@media (max-width:640px){#eccq .eccq-line .eccq-r1,#eccq .eccq-line .eccq-r2{grid-template-columns:minmax(0,1fr)}#eccq .eccq-line .eccq-size{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* 1.0.14: hints + RAL colour picker (ID-scoped so the theme can't restyle it) */
#eccq .eccq-hint{display:block;font-size:12.5px;line-height:1.35;color:#5B6275;font-weight:400;margin-top:4px}
#eccq .eccq-hint:empty{display:none}
#eccq .eccq-colrow{display:block;margin:2px 0 8px}
#eccq .eccq-colrow[hidden],#eccq .eccq-colother[hidden]{display:none}
#eccq .eccq-flabel{display:block;font-size:inherit;font-weight:inherit;margin-bottom:4px}
#eccq button.eccq-colbtn{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:8px 12px;background:#fff;border:1px solid #c9ccd4;border-radius:6px;color:#1d1f2a;font:inherit;font-size:16px;line-height:1.3;cursor:pointer;text-align:left}
#eccq button.eccq-colbtn:hover{border-color:#5B6275}
#eccq button.eccq-colbtn:focus-visible{outline:3px solid #0055B8;outline-offset:2px}
#eccq .eccq-sw{flex:0 0 26px;width:26px;height:26px;border-radius:4px;border:1px solid rgba(0,0,0,.25)}
#eccq .eccq-sw-none{background:repeating-linear-gradient(45deg,#eef0f3 0 5px,#fff 5px 10px)!important}
#eccq .eccq-sw-other{background:conic-gradient(#D40803,#F9C904,#63A405,#0055B8,#D40803)!important}
#eccq .eccq-coltxt{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#eccq .eccq-chev{flex:0 0 auto;color:#5B6275}
#eccq .eccq-colother{display:block;margin-top:8px}
html.eccq-ral-open{overflow:hidden}
#eccq-ral[hidden]{display:none!important}
#eccq-ral{position:fixed;inset:0;z-index:2147483000;font-family:inherit;font-size:16px;line-height:1.35;color:#1d1f2a;text-align:left}
#eccq-ral *{box-sizing:border-box}
#eccq-ral .eccq-ral-back{position:absolute;inset:0;background:rgba(17,19,26,.55)}
#eccq-ral .eccq-ral-box{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(760px,calc(100vw - 32px));max-height:min(86vh,820px);display:flex;flex-direction:column;background:#fff;border-radius:10px;box-shadow:0 12px 40px rgba(0,0,0,.3);overflow:hidden}
#eccq-ral .eccq-ral-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 6px;border-top:6px solid #F9C904}
#eccq-ral h3{margin:0;padding:0;font-size:19px;font-weight:700;color:#1d1f2a;text-transform:none;letter-spacing:0}
#eccq-ral h4{margin:14px 0 8px;padding:0;font-size:13px;font-weight:700;color:#5B6275;text-transform:uppercase;letter-spacing:.04em}
#eccq-ral button{all:unset;box-sizing:border-box;cursor:pointer;font:inherit;color:#1d1f2a}
#eccq-ral button:focus-visible,#eccq-ral input:focus-visible{outline:3px solid #0055B8;outline-offset:2px}
#eccq-ral .eccq-ral-x{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:6px;font-size:18px}
#eccq-ral .eccq-ral-x:hover{background:#f1f2f5}
#eccq-ral .eccq-ral-sl{display:block;padding:0 16px;font-size:14px;font-weight:600}
#eccq-ral .eccq-ral-sl span{display:block;margin-bottom:4px}
#eccq-ral input.eccq-ral-q{all:unset;box-sizing:border-box;display:block;width:100%;height:44px;padding:0 12px;border:1px solid #c9ccd4;border-radius:6px;background:#fff;font-size:16px;color:#1d1f2a}
#eccq-ral .eccq-ral-quick{display:flex;flex-wrap:wrap;gap:8px;padding:10px 16px 4px}
#eccq-ral .eccq-ral-quick button{padding:8px 12px;border:1px solid #c9ccd4;border-radius:999px;font-size:14px;background:#fff}
#eccq-ral .eccq-ral-quick button:hover{border-color:#5B6275;background:#f7f8fa}
#eccq-ral .eccq-ral-list{flex:1 1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:0 16px 12px}
#eccq-ral section[hidden],#eccq-ral [data-code][hidden],#eccq-ral p[hidden]{display:none!important}
#eccq-ral .eccq-ral-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px}
#eccq-ral [data-code]{display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto auto;column-gap:8px;align-items:center;padding:6px;border:1px solid #e3e5ea;border-radius:6px;background:#fff;min-height:48px}
#eccq-ral [data-code]:hover{border-color:#5B6275}
#eccq-ral [data-code][aria-pressed=true]{border:2px solid #0055B8;padding:5px}
#eccq-ral .eccq-ral-chip{grid-row:1 / span 2;width:36px;height:36px;border-radius:4px;border:1px solid rgba(0,0,0,.2)}
#eccq-ral .eccq-ral-c{font-size:13px;font-weight:700}
#eccq-ral .eccq-ral-n{font-size:12.5px;color:#5B6275;line-height:1.2}
#eccq-ral .eccq-ral-none{margin:16px 0;color:#5B6275}
#eccq-ral .eccq-ral-note{margin:0;padding:10px 16px;border-top:1px solid #e3e5ea;background:#FFF8DC;font-size:13px;color:#4a4f5c}
@media (max-width:640px){
 #eccq-ral .eccq-ral-box{left:0;top:0;transform:none;width:100%;height:100%;max-height:none;border-radius:0}
 #eccq-ral .eccq-ral-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){#eccq fieldset.eccq-card{padding-left:8px;padding-right:8px}#eccq .eccq-line{padding-left:8px;padding-right:8px}#eccq .eccq-line select{padding-left:8px}}
/* 1.0.15: per-line 1 / 2 colours */
#eccq .eccq-colcount{margin:0 0 10px}
#eccq .eccq-seg{display:inline-flex;border:1px solid #c9ccd4;border-radius:6px;overflow:hidden;background:#fff}
#eccq .eccq-seg label{all:unset;position:relative;display:block;cursor:pointer;margin:0}
#eccq .eccq-seg label+label{border-left:1px solid #c9ccd4}
#eccq .eccq-seg input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
#eccq .eccq-seg span{display:block;min-height:44px;line-height:44px;padding:0 18px;font-size:16px;color:#1d1f2a;white-space:nowrap}
#eccq .eccq-seg input:checked+span{background:#1d1f2a;color:#fff;font-weight:600}
#eccq .eccq-seg input:focus-visible+span{outline:3px solid #0055B8;outline-offset:-3px}
#eccq .eccq-colslot{display:block;margin:0 0 10px}
#eccq .eccq-colslot[hidden]{display:none}

.eccq-qty{display:flex;flex-direction:column;align-items:flex-start;gap:2px;font-size:.85em}
.eccq-qty-l{font-weight:600}
.eccq-qty input{width:5.5em}

.eccq-sizenote{display:block;background:#FFF1C9;border-left:4px solid #F35303;color:#7A4B00;padding:8px 10px;margin:8px 0 0;font-size:13px;line-height:1.45;font-weight:600}
#eccq select option:disabled{color:#888}
