/* Hareer Conditional Fields 0.4 — scoped, RTL-first. Never style native WooCommerce variations. */
#hcf-product-fields{--hcf-accent:var(--e-global-color-primary,#2563eb);--hcf-text:#1c2939;--hcf-muted:#64748b;--hcf-border:#e2e8f0;--hcf-soft:#f7f9fc;--hcf-white:#fff;direction:rtl;box-sizing:border-box;width:100%;max-width:100%;margin:22px 0 24px;color:var(--hcf-text);font:inherit;text-align:right;line-height:1.7}
#hcf-product-fields *,#hcf-product-fields *::before,#hcf-product-fields *::after{box-sizing:border-box}
#hcf-product-fields [hidden],#hcf-product-fields.hcf-no-applicable-fields{display:none!important}
#hcf-product-fields button,#hcf-product-fields input,#hcf-product-fields select,#hcf-product-fields textarea{font:inherit}
#hcf-product-fields .hcf-icon{display:block;flex:none;width:20px;height:20px;stroke:currentColor}
#hcf-product-fields .hcf-config-header{display:flex;align-items:flex-start;gap:13px;padding:20px;background:linear-gradient(125deg,#f8fafc,#fff);border:1px solid var(--hcf-border);border-radius:10px;margin-bottom:16px}
#hcf-product-fields .hcf-config-header-icon{width:44px;height:44px;display:grid;place-items:center;color:var(--hcf-accent);background:#eef3ff;border:1px solid #dce7ff;border-radius:9px;flex:none}
#hcf-product-fields .hcf-config-header-icon .hcf-icon{width:23px;height:23px}
#hcf-product-fields .hcf-config-heading{min-width:0;flex:1}
#hcf-product-fields .hcf-kicker{font-size:11px;letter-spacing:.1px;font-weight:750;color:var(--hcf-accent);line-height:1.4}
#hcf-product-fields .hcf-config-heading h3{font-size:17px;font-weight:750;letter-spacing:-.25px;color:var(--hcf-text);line-height:1.6;margin:2px 0 4px;padding:0}
#hcf-product-fields .hcf-config-heading p{color:var(--hcf-muted);font-size:12px;line-height:1.85;margin:0}
#hcf-product-fields .hcf-progress{padding:0 2px 20px}
#hcf-product-fields .hcf-progress-copy{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--hcf-muted);margin:0 0 9px}
#hcf-product-fields .hcf-progress-copy strong{color:var(--hcf-text);font-weight:650;font-size:12px}
#hcf-product-fields .hcf-progress-track{height:5px;background:#e8edf3;border-radius:999px;overflow:hidden}
#hcf-product-fields .hcf-progress-track span{height:100%;display:block;background:var(--hcf-accent);border-radius:999px;transition:width .22s ease;max-width:100%;width:0}
#hcf-product-fields .hcf-field-list{display:grid;gap:12px}
#hcf-product-fields .hcf-field{display:block;padding:17px 18px 19px;border:1px solid var(--hcf-border);background:var(--hcf-white);border-radius:9px;min-width:0;box-shadow:0 1px 3px rgba(15,23,42,.025)}
#hcf-product-fields .hcf-field.hcf-enter{animation:hcf-fade-in .18s ease-out}
#hcf-product-fields .hcf-field-header{display:flex;align-items:center;gap:10px;margin-bottom:13px}
#hcf-product-fields .hcf-field-icon{width:38px;height:38px;display:grid;place-items:center;flex:none;border-radius:7px;background:#f2f5fa;color:#405e86;border:1px solid #e8edf5}
#hcf-product-fields .hcf-field-heading{min-width:0;flex:1}
#hcf-product-fields .hcf-label{display:block;margin:0;color:var(--hcf-text);font-size:14px;font-weight:750;line-height:1.65;cursor:default}
#hcf-product-fields .hcf-description{font-size:12px;color:var(--hcf-muted);margin:2px 0 0;line-height:1.7}
#hcf-product-fields .hcf-required-tag{margin-inline-start:auto;align-self:flex-start;background:#f1f5f9;border:1px solid #e2e8f0;color:#64748b;padding:2px 7px;font-size:10px;font-weight:650;white-space:nowrap;border-radius:4px}
#hcf-product-fields .hcf-required-tag.is-required{background:#ecf4ff;color:#2157a1;border-color:#d5e5ff}
#hcf-product-fields .hcf-native-select,#hcf-product-fields .hcf-text-input,#hcf-product-fields .hcf-textarea{display:block;width:100%;max-width:100%;min-height:46px;padding:10px 14px;outline:none;border:1px solid #cfd8e3;border-radius:7px;background:#fff;color:var(--hcf-text);box-shadow:none;font-size:13px;line-height:1.7;text-align:right;transition:border-color .14s,box-shadow .14s}
#hcf-product-fields .hcf-native-select:focus,#hcf-product-fields .hcf-text-input:focus,#hcf-product-fields .hcf-textarea:focus{border-color:var(--hcf-accent);box-shadow:0 0 0 3px rgba(37,99,235,.11)}
#hcf-product-fields .hcf-textarea{min-height:100px;resize:vertical}
#hcf-product-fields .hcf-select-shell{position:relative}
#hcf-product-fields .hcf-enhanced .hcf-native-select{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;opacity:0!important;clip-path:inset(50%);overflow:hidden;pointer-events:none}
#hcf-product-fields .hcf-enhanced-choices{display:none}
#hcf-product-fields .hcf-enhanced .hcf-enhanced-choices{display:grid;gap:9px}
#hcf-product-fields .hcf-choices-toggle{grid-template-columns:repeat(2,minmax(0,1fr))}
#hcf-product-fields .hcf-choices-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
#hcf-product-fields .hcf-choices-chips{grid-template-columns:repeat(auto-fit,minmax(74px,1fr));gap:8px}
#hcf-product-fields .hcf-option-btn{appearance:none;-webkit-appearance:none;position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;width:100%;height:auto;min-height:59px;padding:11px 13px;cursor:pointer;white-space:normal;word-break:break-word;text-align:right;line-height:1.5;background:#fff!important;color:var(--hcf-text)!important;border:1px solid #d7dee7!important;border-radius:7px!important;box-shadow:none!important;transition:background .14s,border-color .14s,box-shadow .14s,transform .14s}
#hcf-product-fields .hcf-option-btn:hover{border-color:#9dbde9!important;background:#f9fbff!important}
#hcf-product-fields .hcf-option-btn:focus-visible{outline:2px solid var(--hcf-accent);outline-offset:2px}
#hcf-product-fields .hcf-option-btn.is-selected{border:1.5px solid var(--hcf-accent)!important;background:#f1f6ff!important;box-shadow:0 0 0 2px rgba(37,99,235,.05)!important}
#hcf-product-fields .hcf-option-title{font-size:13px;font-weight:620;max-width:100%;padding-inline-end:16px}
#hcf-product-fields .hcf-option-extra{display:inline-flex;font-size:11px;font-weight:700;color:#177044;background:#eaf7ee;border:1px solid #cdeed8;border-radius:4px;padding:1px 5px;line-height:1.5;unicode-bidi:plaintext}
#hcf-product-fields .hcf-option-check{position:absolute;left:10px;top:10px;display:grid;place-items:center;width:18px;height:18px;border:1px solid #cbd5e1;border-radius:50%;font-size:12px;color:transparent;transition:all .14s}
#hcf-product-fields .hcf-option-btn.is-selected .hcf-option-check{background:var(--hcf-accent);border-color:var(--hcf-accent);color:#fff}
#hcf-product-fields .hcf-choices-chips .hcf-option-btn{min-height:49px;align-items:center;padding:9px 11px;text-align:center}
#hcf-product-fields .hcf-choices-chips .hcf-option-title{padding:0;font-weight:700}
#hcf-product-fields .hcf-choices-chips .hcf-option-check{display:none}
#hcf-product-fields .hcf-choices-chips .hcf-option-extra{font-size:10px}
#hcf-product-fields .hcf-native-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#hcf-product-fields .hcf-choice{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:12px;border-radius:7px;border:1px solid #d7dee7;background:#fff;color:var(--hcf-text);cursor:pointer;min-height:52px;font-size:13px;transition:background .14s,border-color .14s}
#hcf-product-fields .hcf-choice:has(input:checked){border-color:var(--hcf-accent);background:#f1f6ff}
#hcf-product-fields .hcf-choice input{appearance:auto;-webkit-appearance:auto;accent-color:var(--hcf-accent);margin:0 0 0 2px;inline-size:17px;block-size:17px;flex:none}
#hcf-product-fields .hcf-choice-label{flex:1;min-width:0;font-weight:600}
#hcf-product-fields .hcf-choice-fee{font-weight:700;font-size:10px;color:#177044;background:#eaf7ee;padding:1px 5px;border-radius:4px}
#hcf-product-fields .hcf-field.hcf-heading{border:0;box-shadow:none;background:none;padding:11px 0 0}
#hcf-product-fields .hcf-heading h4{font-size:15px;margin:0}
#hcf-product-fields .hcf-field.hcf-invalid{border-color:#e68d8d;background:#fffafa}
#hcf-product-fields .hcf-field.hcf-invalid .hcf-field-icon{color:#b42318;background:#ffeded}
#hcf-product-fields .hcf-field-error{font-size:12px;font-weight:600;color:#b42318;padding-top:9px}
#hcf-product-fields .hcf-totals{display:block;padding:20px 20px 17px;margin-top:18px;border:1px solid #dbe5ef;border-radius:9px;background:#f9fbfe;color:var(--hcf-text)}
#hcf-product-fields .hcf-summary-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
#hcf-product-fields .hcf-summary-head h4{margin:3px 0 0;color:var(--hcf-text);font-size:16px;font-weight:750;line-height:1.5}
#hcf-product-fields .hcf-summary-count{font-size:11px;border:1px solid #dae5f1;background:#fff;color:#64748b;padding:3px 9px;border-radius:5px;white-space:nowrap}
#hcf-product-fields .hcf-summary-items{display:grid;gap:0;border-bottom:1px solid #e2e8f0;margin-bottom:13px;padding-bottom:9px}
#hcf-product-fields .hcf-summary-item{display:grid;grid-template-columns:minmax(65px,.8fr) minmax(90px,1.4fr) auto auto;align-items:center;gap:8px;font-size:12px;padding:9px 0;border-bottom:1px dashed #e7eaf0}
#hcf-product-fields .hcf-summary-item:last-child{border-bottom:0}
#hcf-product-fields .hcf-summary-name{color:#64748b}
#hcf-product-fields .hcf-summary-detail{font-weight:650;min-width:0;word-wrap:break-word}
#hcf-product-fields .hcf-summary-fee{font-size:11px;font-weight:650;color:#218456;white-space:nowrap;unicode-bidi:plaintext}
#hcf-product-fields .hcf-summary-edit{background:none;border:0;box-shadow:none;padding:3px;min-height:0;color:var(--hcf-accent);font-size:11px;cursor:pointer;text-decoration:underline}
#hcf-product-fields .hcf-summary-empty{color:var(--hcf-muted);font-size:12px;margin:6px 0 12px}
#hcf-product-fields .hcf-price-row{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:10px 0;font-size:12px;color:#58677a}
#hcf-product-fields .hcf-price-row strong{font-weight:650;font-size:13px;color:#344054;text-align:left;unicode-bidi:plaintext}
#hcf-product-fields .hcf-final-row{border-top:1px solid #dbe5ef;margin-top:13px;padding-top:13px;color:#18293b;font-weight:750;font-size:14px}
#hcf-product-fields .hcf-final-row strong{font-size:19px;font-weight:800;color:#173559}
#hcf-product-fields .hcf-summary-note{font-size:11px;color:#8390a3;margin:12px 0 0;line-height:1.7}
#hcf-product-fields .hcf-mobile-bar{display:none}
@keyframes hcf-fade-in{from{opacity:.3;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:760px){#hcf-product-fields .hcf-choices-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
 #hcf-product-fields{margin:16px 0 0}
 #hcf-product-fields .hcf-config-header{padding:14px 13px;gap:10px}
 #hcf-product-fields .hcf-config-header-icon{width:38px;height:38px}
 #hcf-product-fields .hcf-config-heading h3{font-size:15px}
 #hcf-product-fields .hcf-field{padding:14px 13px 15px}
 #hcf-product-fields .hcf-field-header{gap:8px}
 #hcf-product-fields .hcf-field-icon{width:33px;height:33px}
 #hcf-product-fields .hcf-label{font-size:13px}
 #hcf-product-fields .hcf-option-btn{min-height:59px;padding:10px 11px}
 #hcf-product-fields .hcf-choices-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 #hcf-product-fields .hcf-choices-chips{grid-template-columns:repeat(auto-fit,minmax(67px,1fr))}
 #hcf-product-fields .hcf-option-title{font-size:12px}
 #hcf-product-fields .hcf-totals{padding:15px 13px 16px}
 #hcf-product-fields .hcf-summary-item{grid-template-columns:minmax(70px,.75fr) minmax(85px,1.35fr) auto;gap:6px}
 #hcf-product-fields .hcf-summary-fee{grid-column:2;grid-row:2}
 #hcf-product-fields .hcf-summary-edit{grid-column:3;grid-row:1/3}
 #hcf-product-fields .hcf-mobile-bar:not([hidden]){display:flex;position:sticky;bottom:0;z-index:20;align-items:center;justify-content:space-between;gap:12px;background:#fff;box-shadow:0 -5px 22px rgba(15,23,42,.1);border:1px solid #dde7f1;border-radius:8px 8px 0 0;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));margin:13px 0 0}
 #hcf-product-fields .hcf-mobile-bar>div{display:grid;min-width:0;gap:1px}
 #hcf-product-fields .hcf-mobile-bar small{font-size:10px;color:var(--hcf-muted)}
 #hcf-product-fields .hcf-mobile-bar strong{font-size:13px;font-weight:800;unicode-bidi:plaintext}
 #hcf-product-fields .hcf-mobile-bar button{flex:none;display:inline-flex;align-items:center;gap:7px;justify-content:center;padding:8px 12px;background:var(--hcf-accent);color:#fff;border:none;border-radius:6px;font-size:12px;font-weight:650;min-height:39px;cursor:pointer}
 #hcf-product-fields .hcf-mobile-bar button .hcf-icon{width:15px;height:15px}
}
@media(max-width:350px){#hcf-product-fields .hcf-choices-cards{grid-template-columns:1fr}#hcf-product-fields .hcf-native-choices{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#hcf-product-fields *,#hcf-product-fields *::before,#hcf-product-fields *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* v0.4.1 — single-panel, dynamically conditioned order wizard */
#hcf-product-fields.hcf-wizard-enabled{
 --hcf-wizard-ink:#18324a;
 margin:20px 0 24px;
 padding:0;
}
#hcf-product-fields .hcf-wizard-head{display:flex;flex-direction:column;gap:10px;margin:0 0 15px}
#hcf-product-fields .hcf-wizard-status{display:flex;justify-content:space-between;gap:12px;align-items:center;color:var(--hcf-muted);font-size:12px}
#hcf-product-fields #hcf-wizard-position{font-weight:800;color:var(--hcf-wizard-ink);font-variant-numeric:tabular-nums}
#hcf-product-fields .hcf-wizard-track{height:5px;width:100%;border-radius:99px;background:#e8edf3;overflow:hidden}
#hcf-product-fields .hcf-wizard-track span{display:block;width:0;height:100%;border-radius:99px;background:var(--hcf-accent);transition:width .22s ease}
#hcf-product-fields .hcf-wizard-steps{display:flex;gap:8px;align-items:stretch;overflow-x:auto;overscroll-behavior-x:contain;padding:2px 1px 12px;margin:0 0 10px;scrollbar-width:thin;scroll-snap-type:x proximity}
#hcf-product-fields .hcf-wizard-step{flex:1 0 auto;min-width:112px;max-width:240px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;padding:10px 12px!important;min-height:48px;border:1px solid #dbe3ee!important;border-radius:8px!important;background:#fff!important;color:#6c778a!important;box-shadow:none!important;font-size:12px!important;line-height:1.4!important;text-align:right!important;font-weight:600!important;cursor:pointer;scroll-snap-align:start;white-space:normal}
#hcf-product-fields .hcf-wizard-step:disabled{opacity:.65;cursor:not-allowed}
#hcf-product-fields .hcf-wizard-step.is-current{background:#f2f6ff!important;border-color:var(--hcf-accent)!important;color:var(--hcf-wizard-ink)!important;opacity:1;box-shadow:0 0 0 1px rgba(37,99,235,.045)!important}
#hcf-product-fields .hcf-wizard-step.is-done{color:#276749!important;border-color:#cce8d8!important;background:#f8fcf9!important}
#hcf-product-fields .hcf-wizard-dot{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border:1px solid #d5deeb;border-radius:6px;background:#f8fafc;font-size:11px;font-weight:800;line-height:1}
#hcf-product-fields .hcf-wizard-step.is-current .hcf-wizard-dot{background:var(--hcf-accent);border-color:var(--hcf-accent);color:#fff}
#hcf-product-fields .hcf-wizard-step.is-done .hcf-wizard-dot{background:#def8e8;border-color:#c2e8cf;color:#206b46}
#hcf-product-fields .hcf-wizard-step-label{overflow:hidden;text-overflow:ellipsis}
#hcf-product-fields.hcf-wizard-enabled .hcf-field-list{display:block;min-height:130px}
#hcf-product-fields.hcf-wizard-enabled .hcf-field:not(.hcf-wizard-current){display:none!important}
#hcf-product-fields.hcf-wizard-enabled .hcf-field.hcf-wizard-current{display:block;animation:hcf-fade-in .18s ease-out;border:1px solid #dae4f1;border-radius:9px;box-shadow:0 8px 25px rgba(27,48,76,.035);padding:21px 21px 23px;background:#fff}
#hcf-product-fields.hcf-wizard-enabled .hcf-field.hcf-wizard-current .hcf-field-header{margin-bottom:18px}
#hcf-product-fields.hcf-wizard-enabled .hcf-field.hcf-wizard-current .hcf-label{font-size:16px}
#hcf-product-fields.hcf-at-review .hcf-field-list{display:none!important}
#hcf-product-fields.hcf-wizard-enabled .hcf-totals{margin:0;animation:hcf-fade-in .18s ease-out;border-radius:9px;padding:20px 21px}
#hcf-product-fields .hcf-wizard-actions{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-top:14px;border:1px solid #e2e8f0;background:#f8fafc;padding:12px;border-radius:9px}
#hcf-product-fields .hcf-wizard-back,#hcf-product-fields .hcf-wizard-next{appearance:none;box-shadow:none!important;border-radius:7px!important;min-height:43px;padding:9px 19px!important;cursor:pointer;font-size:13px!important;font-weight:750!important;line-height:1.6!important;white-space:nowrap}
#hcf-product-fields .hcf-wizard-back{color:#475569!important;border:1px solid #cbd5e1!important;background:#fff!important}
#hcf-product-fields .hcf-wizard-back:disabled{opacity:.35;cursor:not-allowed}
#hcf-product-fields .hcf-wizard-next{color:#fff!important;background:var(--hcf-accent)!important;border:1px solid var(--hcf-accent)!important;display:flex;gap:10px;align-items:center;justify-content:center}
#hcf-product-fields .hcf-wizard-next:hover{filter:brightness(.95)}
#hcf-product-fields .hcf-wizard-next:focus-visible,#hcf-product-fields .hcf-wizard-back:focus-visible,#hcf-product-fields .hcf-wizard-step:focus-visible{outline:2px solid var(--hcf-accent);outline-offset:3px}
#hcf-product-fields .hcf-wizard-helper{flex:1;color:#6b788c;font-size:11px;line-height:1.8;text-align:center}
#hcf-product-fields .hcf-wizard-head,#hcf-product-fields .hcf-wizard-steps{scroll-margin-top:90px}
@media(max-width:640px){
 #hcf-product-fields .hcf-wizard-steps{gap:7px;padding-bottom:10px}
 #hcf-product-fields .hcf-wizard-step{min-width:102px;max-width:155px;padding:8px 9px!important;min-height:44px;font-size:11px!important}
 #hcf-product-fields .hcf-wizard-dot{width:21px;height:21px;flex-basis:21px}
 #hcf-product-fields.hcf-wizard-enabled .hcf-field.hcf-wizard-current{padding:16px 13px 19px}
 #hcf-product-fields .hcf-wizard-actions{padding:9px;gap:7px;flex-wrap:wrap}
 #hcf-product-fields .hcf-wizard-back,#hcf-product-fields .hcf-wizard-next{min-height:43px;padding:8px 13px!important;flex:1 1 auto}
 #hcf-product-fields .hcf-wizard-helper{order:3;flex:1 1 100%;text-align:center}
}
@media(prefers-reduced-motion:reduce){#hcf-product-fields .hcf-wizard-track span{transition:none}}

/* Keep the native WooCommerce add-to-cart control functional and visible only on review. */
form.cart.hcf-wizard-flow:not(.hcf-wizard-complete) .single_add_to_cart_button{display:none!important}


/* v0.4.2: native WooCommerce variable attributes are now wizard steps.
   The original selects remain enabled and in the form for WooCommerce's own JS. */
#hcf-product-fields .hcf-variation-stage-list{display:none}
#hcf-product-fields.hcf-wizard-enabled .hcf-variation-stage-list{display:block}
#hcf-product-fields .hcf-variation-stage{display:none}
#hcf-product-fields.hcf-wizard-enabled .hcf-variation-stage.hcf-wizard-current{
 display:block;padding:21px 21px 23px;border:1px solid #dae4f1;border-radius:9px;
 box-shadow:0 8px 25px rgba(27,48,76,.035);background:#fff;animation:hcf-fade-in .18s ease-out;
}
#hcf-product-fields .hcf-variation-stage .hcf-label{margin:0;font-size:16px}
#hcf-product-fields .hcf-variation-stage .hcf-field-header{margin-bottom:18px}
#hcf-product-fields .hcf-variation-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#hcf-product-fields .hcf-variation-note{grid-column:1/-1;color:var(--hcf-muted);font-size:12px;margin:0;padding:12px}
#hcf-product-fields .hcf-variation-stage.hcf-invalid{background:#fffafa;border-color:#e68d8d}
#hcf-product-fields .hcf-variation-stage.hcf-invalid .hcf-field-error{display:block}
/* Hide only the original attribute table while the JS mirror is functioning.
   Never disable the native controls, variation data, or single_variation_wrap. */
form.cart.hcf-wizard-variations table.variations{position:absolute!important;left:auto!important;right:0!important;top:0!important;width:1px!important;height:1px!important;margin:0!important;overflow:hidden!important;clip-path:inset(50%)!important;opacity:0!important;pointer-events:none!important}
@media(max-width:640px){
 #hcf-product-fields.hcf-wizard-enabled .hcf-variation-stage.hcf-wizard-current{padding:16px 13px 19px}
 #hcf-product-fields .hcf-variation-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:350px){#hcf-product-fields .hcf-variation-choices{grid-template-columns:1fr}}


/* v0.4.3 — container-safe, theme-isolated wizard layout.  Scoped to this plugin. */
/* Elementor and several Woo themes put cart in a non-wrapping flex/grid row;
   the wizard needs its own row, but native variation and cart controls stay intact. */
form.cart.hcf-wizard-flow,
.woocommerce div.product form.cart.hcf-wizard-flow,
.woocommerce-page div.product form.cart.hcf-wizard-flow {
    display:block!important;
    inline-size:100%!important;
    width:100%!important;
    max-inline-size:100%!important;
    max-width:100%!important;
    min-inline-size:0!important;
    min-width:0!important;
    box-sizing:border-box!important;
}
form.cart.hcf-wizard-flow > :not(table.variations),
form.cart.hcf-wizard-flow .single_variation_wrap,
form.cart.hcf-wizard-flow .woocommerce-variation,
form.cart.hcf-wizard-flow .woocommerce-variation-add-to-cart {
    max-inline-size:100%;
    min-inline-size:0;
    box-sizing:border-box;
}
/* Containment sizes to the *product column*, not the viewport. */
#hcf-product-fields {
    inline-size:100%;
    max-inline-size:100%;
    min-inline-size:0;
    min-width:0;
    box-sizing:border-box;
    container-name:hcf-wizard;
    container-type:inline-size;
}
#hcf-product-fields .hcf-wizard-head,
#hcf-product-fields .hcf-wizard-status,
#hcf-product-fields .hcf-wizard-steps,
#hcf-product-fields .hcf-field-list,
#hcf-product-fields .hcf-variation-stage-list,
#hcf-product-fields .hcf-field,
#hcf-product-fields .hcf-variation-stage,
#hcf-product-fields .hcf-totals,
#hcf-product-fields .hcf-wizard-actions,
#hcf-product-fields .hcf-variation-choices,
#hcf-product-fields .hcf-enhanced-choices,
#hcf-product-fields .hcf-native-choices,
#hcf-product-fields .hcf-summary-items,
#hcf-product-fields .hcf-summary-item,
#hcf-product-fields .hcf-summary-pricing,
#hcf-product-fields .hcf-select-shell {
    min-inline-size:0;
    max-inline-size:100%;
    box-sizing:border-box;
}
/* The steps rail is the ONLY horizontally scrollable region; the page must not scroll. */
#hcf-product-fields .hcf-wizard-steps {
    display:flex;
    inline-size:100%;
    min-width:0;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-inline:contain;
}
#hcf-product-fields .hcf-wizard-step {
    flex:0 0 auto;
    box-sizing:border-box!important;
}
#hcf-product-fields .hcf-wizard-step-label,
#hcf-product-fields .hcf-option-title,
#hcf-product-fields .hcf-label,
#hcf-product-fields .hcf-summary-detail,
#hcf-product-fields .hcf-summary-name,
#hcf-product-fields .hcf-wizard-helper,
#hcf-product-fields .hcf-field-heading {
    min-inline-size:0;
    overflow-wrap:anywhere;
}
#hcf-product-fields .hcf-option-btn {
    min-inline-size:0!important;
    max-inline-size:100%!important;
    box-sizing:border-box!important;
}
#hcf-product-fields .hcf-wizard-actions {flex-wrap:wrap;}
#hcf-product-fields .hcf-wizard-helper {min-width:0;}
#hcf-product-fields .hcf-summary-item {grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr) auto auto;}
#hcf-product-fields .hcf-price-row {min-width:0;flex-wrap:wrap;}
#hcf-product-fields .hcf-price-row strong {min-width:0;overflow-wrap:anywhere;}

/* Container queries handle narrow product info columns even on wide desktops. */
@container hcf-wizard (max-width:520px) {
    #hcf-product-fields .hcf-wizard-step {min-width:104px;max-width:175px;padding:8px 10px!important;}
    #hcf-product-fields .hcf-wizard-actions {gap:8px;padding:10px;}
    #hcf-product-fields .hcf-wizard-helper {order:3;flex:1 1 100%;text-align:center;}
    #hcf-product-fields .hcf-summary-item {
        grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);
        align-items:start;
        gap:3px 10px;
    }
    #hcf-product-fields .hcf-summary-name {grid-column:1;grid-row:1;}
    #hcf-product-fields .hcf-summary-detail {grid-column:2;grid-row:1;}
    #hcf-product-fields .hcf-summary-fee {grid-column:2;grid-row:2;white-space:normal;}
    #hcf-product-fields .hcf-summary-edit {grid-column:1;grid-row:2;justify-self:start;}
}
@container hcf-wizard (max-width:370px) {
    #hcf-product-fields .hcf-variation-choices,
    #hcf-product-fields .hcf-choices-cards,
    #hcf-product-fields .hcf-choices-toggle,
    #hcf-product-fields .hcf-native-choices {grid-template-columns:minmax(0,1fr);}
    #hcf-product-fields .hcf-choices-chips {grid-template-columns:repeat(2,minmax(0,1fr));}
    #hcf-product-fields .hcf-field-header {gap:7px;}
    #hcf-product-fields .hcf-required-tag {white-space:normal;text-align:center;}
    #hcf-product-fields .hcf-wizard-back,
    #hcf-product-fields .hcf-wizard-next {flex:1 1 0;min-width:0;white-space:normal;}
    #hcf-product-fields .hcf-summary-head {flex-wrap:wrap;}
}


/* v0.4.4 — true full-width wizard inside its actual product container.
   Stretch the native Woo form rather than using 100vw or a negative-margin hack.
   The original variation form, checkout controls and all field data remain intact. */
form.cart.hcf-wizard-flow,
.woocommerce div.product form.cart.hcf-wizard-flow,
.woocommerce-page div.product form.cart.hcf-wizard-flow {
    inline-size:100%!important;
    width:100%!important;
    max-inline-size:none!important;
    max-width:none!important;
    min-inline-size:0!important;
    min-width:0!important;
    flex:1 1 100%!important;
    align-self:stretch!important;
    justify-self:stretch!important;
    float:none!important;
    box-sizing:border-box!important;
}
/* Some Elementor WooCommerce widgets introduce their own narrower form wrapper.
   These selectors only activate for a product containing the HCF wizard. */
.elementor-widget-woocommerce-product-add-to-cart:has(#hcf-product-fields.hcf-wizard-enabled) .elementor-widget-container,
.elementor-widget-woocommerce-product-add-to-cart:has(#hcf-product-fields.hcf-wizard-enabled) .elementor-add-to-cart {
    inline-size:100%;
    width:100%;
    max-inline-size:100%;
    min-inline-size:0;
    box-sizing:border-box;
}
#hcf-product-fields.hcf-wizard-enabled {
    display:block!important;
    inline-size:100%!important;
    width:100%!important;
    max-inline-size:none!important;
    max-width:none!important;
    min-inline-size:0!important;
    min-width:0!important;
    flex:1 1 100%!important;
    align-self:stretch!important;
    justify-self:stretch!important;
    float:none!important;
    clear:both;
    margin-inline:0!important;
    box-sizing:border-box!important;
}
/* Every visible panel spans the wizard box, including steps, options and summary. */
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-head,
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-track,
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-steps,
#hcf-product-fields.hcf-wizard-enabled .hcf-field-list,
#hcf-product-fields.hcf-wizard-enabled .hcf-variation-stage-list,
#hcf-product-fields.hcf-wizard-enabled .hcf-variation-stage.hcf-wizard-current,
#hcf-product-fields.hcf-wizard-enabled .hcf-field.hcf-wizard-current,
#hcf-product-fields.hcf-wizard-enabled .hcf-totals,
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-actions,
#hcf-product-fields.hcf-wizard-enabled .hcf-variation-choices,
#hcf-product-fields.hcf-wizard-enabled .hcf-enhanced-choices,
#hcf-product-fields.hcf-wizard-enabled .hcf-native-choices,
#hcf-product-fields.hcf-wizard-enabled .hcf-summary-pricing {
    inline-size:100%;
    width:100%;
    max-inline-size:100%;
    max-width:100%;
    min-inline-size:0;
    min-width:0;
    box-sizing:border-box;
}
/* Short step sequences grow to the available width; long ones scroll inside the rail. */
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-step {
    flex:1 0 112px;
    max-inline-size:none!important;
    max-width:none!important;
    min-inline-size:112px;
    box-sizing:border-box!important;
}
@container hcf-wizard (max-width:520px) {
    #hcf-product-fields.hcf-wizard-enabled .hcf-wizard-step {flex-basis:104px;min-inline-size:104px;max-inline-size:none!important;}
}
@container hcf-wizard (max-width:370px) {
    #hcf-product-fields.hcf-wizard-enabled .hcf-wizard-step {flex-basis:98px;min-inline-size:98px;}
}


/* v0.4.5: Fix the ACTUAL variable-product markup. WooCommerce places
   woocommerce_before_add_to_cart_button inside the nested variations_button
   row, not as a direct child of form.cart (as in simple products). The row
   is often flex/inline-flex with nowrap or a shrink-to-fit width in themes.
   JS attaches these classes only while the HCF wizard is applicable. */
form.variations_form.cart.hcf-wizard-flow .single_variation_wrap.hcf-wizard-variable-wrap,
form.cart.hcf-wizard-flow .single_variation_wrap.hcf-wizard-variable-wrap {
  display:block!important;
  width:100%!important;
  inline-size:100%!important;
  max-width:100%!important;
  max-inline-size:100%!important;
  min-width:0!important;
  min-inline-size:0!important;
  box-sizing:border-box!important;
}
form.cart.hcf-wizard-flow .woocommerce-variation-add-to-cart.hcf-wizard-variable-cart-row {
  display:flex!important;
  flex-flow:row wrap!important;
  align-items:center;
  justify-content:flex-start;
  width:100%!important;
  inline-size:100%!important;
  max-width:100%!important;
  max-inline-size:100%!important;
  min-width:0!important;
  min-inline-size:0!important;
  box-sizing:border-box!important;
}
form.cart.hcf-wizard-flow .woocommerce-variation-add-to-cart.hcf-wizard-variable-cart-row > .hcf-wizard-variable-row-item,
form.cart.hcf-wizard-flow .woocommerce-variation-add-to-cart.hcf-wizard-variable-cart-row > #hcf-product-fields.hcf-wizard-enabled {
  display:block!important;
  position:relative;
  flex:0 0 100%!important;
  order:-1;
  width:100%!important;
  inline-size:100%!important;
  min-width:0!important;
  max-width:100%!important;
  max-inline-size:100%!important;
  margin-inline:0!important;
  box-sizing:border-box!important;
}
/* Other Woo add-to-cart items keep their native interactive behavior. */
form.cart.hcf-wizard-flow .hcf-wizard-variable-cart-row > .quantity,
form.cart.hcf-wizard-flow .hcf-wizard-variable-cart-row > .single_add_to_cart_button {
  flex:0 0 auto;
  max-width:100%;
  box-sizing:border-box;
}
/* Narrow column fallback: avoid oversized native control widths. */
@supports (width:min(100%, 1px)) {
  form.cart.hcf-wizard-flow .hcf-wizard-variable-cart-row > .single_add_to_cart_button {
    min-width:0;
  }
}

/* Wrapper inserted by theme/add-on: stretch the entire flex item, not just
   the nested field block. This is scoped to that detected wrapper only. */
form.cart.hcf-wizard-flow .hcf-wizard-variable-row-item:not(#hcf-product-fields) {
  min-inline-size:0!important;
  max-inline-size:100%!important;
  width:100%!important;
  box-sizing:border-box!important;
}

/* v0.4.6 — Woodmart Elementor Add-to-Cart / design-justify compatibility.
   Confirmed in hareer.ir DevTools: Woodmart gives the variable cart form
   -30px horizontal margins and -20px bottom margin. A 100% width wizard
   combined with those negative margins cannot line up with its widget box.
   Override the margin on the actual native WooCommerce form ONLY when the
   HCF wizard is running; keep the original variation select/form lifecycle. */
:is(.wd-single-add-cart, .elementor-widget-wd_single_product_add_to_cart) form.cart.hcf-wizard-flow,
.wd-single-add-cart.wd-design-justify form.variations_form.cart.hcf-wizard-flow {
    margin-inline-start:0!important;
    margin-inline-end:0!important;
    margin-left:0!important;
    margin-right:0!important;
    margin-bottom:0!important;
    width:100%!important;
    inline-size:100%!important;
    max-width:100%!important;
    max-inline-size:100%!important;
    min-width:0!important;
    min-inline-size:0!important;
    box-sizing:border-box!important;
    float:none!important;
}
/* The Woodmart Elementor widget is a different widget than Elementor's
   native Woo add-to-cart widget, so also normalize the owning wrappers. */
.elementor-widget-wd_single_product_add_to_cart:has(form.cart.hcf-wizard-flow),
.elementor-widget-wd_single_product_add_to_cart:has(form.cart.hcf-wizard-flow) > .elementor-widget-container,
.wd-single-add-cart:has(form.cart.hcf-wizard-flow) {
    min-inline-size:0!important;
    min-width:0!important;
    max-inline-size:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
}
.elementor-widget-wd_single_product_add_to_cart:has(form.cart.hcf-wizard-flow) > .elementor-widget-container,
.wd-single-add-cart:has(form.cart.hcf-wizard-flow) > .woocommerce,
.wd-single-add-cart:has(form.cart.hcf-wizard-flow) > .woocommerce > div {
    width:100%!important;
    inline-size:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
}


/* v0.4.7 — zero EXTERNAL spacing / flush fit for Woodmart variable forms.
   Keep internal field-card padding for readability. Scope every reset to the
   wizard so ordinary WooCommerce forms and Elementor widgets are untouched. */
.woocommerce div.product form.cart.hcf-wizard-flow,
.woocommerce-page div.product form.cart.hcf-wizard-flow,
:is(.wd-single-add-cart,.elementor-widget-wd_single_product_add_to_cart) form.cart.hcf-wizard-flow,
.wd-single-add-cart.wd-design-justify form.variations_form.cart.hcf-wizard-flow {
    margin:0!important;
    margin-block:0!important;
    margin-inline:0!important;
    padding-inline:0!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
}
#hcf-product-fields.hcf-wizard-enabled,
form.cart.hcf-wizard-flow #hcf-product-fields.hcf-wizard-enabled {
    margin:0!important;
    margin-block:0!important;
    margin-inline:0!important;
    padding:0!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
}
/* Woo variation wrappers sometimes inherit theme spacing. These wrappers
   should not indent the wizard, but must retain their native event handlers. */
form.cart.hcf-wizard-flow .single_variation_wrap.hcf-wizard-variable-wrap,
form.cart.hcf-wizard-flow .woocommerce-variation-add-to-cart.hcf-wizard-variable-cart-row,
form.cart.hcf-wizard-flow .hcf-wizard-variable-row-item {
    margin-inline:0!important;
    padding-inline:0!important;
    min-width:0!important;
    box-sizing:border-box!important;
}
/* The wizard header and navigation can keep their internal design gaps;
   the root itself touches the full usable width of its parent. */

/* v0.4.8 — Woodmart design-justify adds 30px margins to every direct
   child of the variations form. Those margins indent the wizard even
   when the form itself has zero margin. Override ONLY wizard forms. */
.wd-single-add-cart.wd-design-justify form.variations_form.hcf-wizard-flow > * {
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* v0.4.9 — refined product configurator. All selectors scoped to HCF wizard.
   No layout/margin override on Woodmart's owning form or variation inputs. */
#hcf-product-fields.hcf-wizard-enabled {
  --hcf-accent:#783c91;--hcf-ink:#261b2f;--hcf-muted:#7d7183;
  --hcf-card-line:#e8dfea;--hcf-soft-purple:#faf6fc;
  --hcf-wizard-ink:var(--hcf-ink);color:var(--hcf-ink);
}
#hcf-product-fields .hcf-vector-icon {width:20px;height:20px;display:block;flex:none;}
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-head{
 background:linear-gradient(115deg,#fbf8fd 0%,#fff 72%);
 border:1px solid var(--hcf-card-line);border-radius:12px;
 padding:15px 17px 13px;margin-bottom:13px;gap:12px;
}
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-status{font-size:12px;color:#877b8b;gap:8px;}
#hcf-product-fields.hcf-wizard-enabled #hcf-wizard-position{font-size:12px;color:#673080;background:#f2e7f6;border-radius:6px;padding:3px 9px;}
#hcf-product-fields.hcf-wizard-enabled #hcf-wizard-progress-label{font-weight:740;color:#4a3754;}
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-track{height:6px;background:#ede4ef;}
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-track span{background:linear-gradient(90deg,#a66bb8,#783c91);transition:width .25s ease;}
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-steps{gap:8px;margin-bottom:14px;padding:1px 1px 11px;}
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-step{min-height:51px;border:1px solid #e7e0ea!important;border-radius:9px!important;background:#fff!important;color:#82768a!important;transition:background .18s,border-color .18s,color .18s;}
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-step:not(:disabled):hover{border-color:#bda2ca!important;}
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-step.is-current{background:#faf4fd!important;color:#5d2878!important;border-color:#bc8cce!important;box-shadow:0 0 0 1px rgba(120,60,145,.075)!important;}
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-step.is-done{background:#f8fcfa!important;border-color:#cbe4d7!important;color:#276d50!important;}
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-dot{border-radius:7px;width:26px;height:26px;flex-basis:26px;background:#f9f7fa;border-color:#e9e1eb;color:#9a819f;}
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-step.is-current .hcf-wizard-dot{background:#783c91;border-color:#783c91;color:white;}
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-step.is-done .hcf-wizard-dot{background:#e8f7ed;border-color:#cbe8d7;color:#268255;}
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-dot .hcf-vector-icon{width:14px;height:14px;}
#hcf-product-fields.hcf-wizard-enabled .hcf-field.hcf-wizard-current,
#hcf-product-fields.hcf-wizard-enabled .hcf-variation-stage.hcf-wizard-current{
 border:1px solid var(--hcf-card-line);border-radius:12px;padding:22px;
 background:linear-gradient(180deg,#fff 0%,#fefcff 100%);
 box-shadow:0 4px 20px rgba(60,31,72,.045);min-width:0;
}
#hcf-product-fields.hcf-wizard-enabled .hcf-field.hcf-wizard-current .hcf-field-header,
#hcf-product-fields.hcf-wizard-enabled .hcf-variation-stage.hcf-wizard-current .hcf-field-header{gap:12px;align-items:center;margin-bottom:19px;}
#hcf-product-fields.hcf-wizard-enabled .hcf-field-icon{width:45px;height:45px;border-radius:11px;color:#783c91;background:#f6ecf9;border:1px solid #eddaef;box-shadow:inset 0 1px rgba(255,255,255,.7);}
#hcf-product-fields.hcf-wizard-enabled .hcf-field-icon .hcf-icon,
#hcf-product-fields.hcf-wizard-enabled .hcf-field-icon .hcf-vector-icon{width:23px;height:23px;}
#hcf-product-fields.hcf-wizard-enabled .hcf-label{color:#302337;font-size:15px;font-weight:760;line-height:1.6;}
#hcf-product-fields.hcf-wizard-enabled .hcf-description{color:#887e8e;font-size:11.5px;}
#hcf-product-fields.hcf-wizard-enabled .hcf-required-tag{border-radius:6px;border-color:#e9e2ec;background:#f7f5f8;color:#8c7d92;}
#hcf-product-fields.hcf-wizard-enabled .hcf-required-tag.is-required{color:#773b91;background:#f7eefa;border-color:#ecdbf1;}
#hcf-product-fields.hcf-wizard-enabled .hcf-variation-choices,
#hcf-product-fields.hcf-wizard-enabled .hcf-choices-cards,
#hcf-product-fields.hcf-wizard-enabled .hcf-choices-toggle{gap:10px;min-width:0;}
#hcf-product-fields.hcf-wizard-enabled .hcf-option-btn{
 min-height:82px;gap:5px;border-radius:10px!important;padding:14px 15px!important;
 border:1px solid #e5dce8!important;background:#fff!important;color:#30243b!important;
 box-shadow:0 1px 2px rgba(32,22,41,.025)!important;
 transition:border-color .18s,background .18s,box-shadow .18s,transform .18s;min-width:0;
}
#hcf-product-fields.hcf-wizard-enabled .hcf-option-btn:hover{border-color:#bc93cf!important;background:#fdfafd!important;transform:translateY(-1px);box-shadow:0 4px 14px rgba(77,40,88,.07)!important;}
#hcf-product-fields.hcf-wizard-enabled .hcf-option-btn.is-selected{background:#fbf5fe!important;border:1.5px solid #86429e!important;box-shadow:0 0 0 3px rgba(125,56,151,.085)!important;}
#hcf-product-fields.hcf-wizard-enabled .hcf-option-btn:focus-visible{outline:2px solid #783c91;outline-offset:3px;}
#hcf-product-fields.hcf-wizard-enabled .hcf-option-art{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;flex:none;border:1px solid #efe7f1;color:#9563a8;background:#f9f5fb;margin-bottom:2px;}
#hcf-product-fields.hcf-wizard-enabled .hcf-option-art .hcf-vector-icon{width:18px;height:18px;}
#hcf-product-fields.hcf-wizard-enabled .hcf-option-btn.is-selected .hcf-option-art{background:#eee0f4;border-color:#e5caed;color:#71308d;}
#hcf-product-fields.hcf-wizard-enabled .hcf-option-title{font-weight:720;font-size:13px;line-height:1.6;padding-inline-end:15px;max-width:100%;overflow-wrap:anywhere;}
#hcf-product-fields.hcf-wizard-enabled .hcf-option-extra{border:1px solid #d8ede1;color:#197c55;background:#eff9f2;font-size:11px;border-radius:6px;padding:2px 7px;}
#hcf-product-fields.hcf-wizard-enabled .hcf-option-check{width:22px;height:22px;left:11px;top:11px;border-color:#e1d3e4;background:#fff;}
#hcf-product-fields.hcf-wizard-enabled .hcf-option-btn.is-selected .hcf-option-check{background:#783c91;color:#fff;border-color:#783c91;}
#hcf-product-fields.hcf-wizard-enabled .hcf-choices-chips .hcf-option-btn{min-height:53px;padding:10px 12px!important;align-items:center;gap:2px;}
#hcf-product-fields.hcf-wizard-enabled .hcf-choices-chips .hcf-option-art{display:none;}
#hcf-product-fields.hcf-wizard-enabled .hcf-choices-chips .hcf-option-title{padding:0;}
#hcf-product-fields.hcf-wizard-enabled .hcf-native-select,
#hcf-product-fields.hcf-wizard-enabled .hcf-text-input,
#hcf-product-fields.hcf-wizard-enabled .hcf-textarea{border-radius:9px;border-color:#e2d9e7;min-height:52px;}
#hcf-product-fields.hcf-wizard-enabled .hcf-native-select:focus,
#hcf-product-fields.hcf-wizard-enabled .hcf-text-input:focus,
#hcf-product-fields.hcf-wizard-enabled .hcf-textarea:focus{border-color:#86429e;box-shadow:0 0 0 3px rgba(125,56,151,.10);}
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-actions{border-radius:11px;background:#faf8fb;border:1px solid #eae2ed;padding:12px 13px;margin-top:13px;}
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-next{background:#783c91!important;border-color:#783c91!important;border-radius:8px!important;min-height:45px;}
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-back{border-radius:8px!important;border-color:#e0d6e4!important;color:#66546f!important;}
#hcf-product-fields.hcf-wizard-enabled .hcf-wizard-helper{font-size:11px;color:#85758b;}
#hcf-product-fields.hcf-wizard-enabled .hcf-totals{border:1px solid var(--hcf-card-line);border-radius:12px;background:linear-gradient(180deg,#fff,#fdfafd);padding:22px;}
#hcf-product-fields.hcf-wizard-enabled .hcf-summary-count{background:#f7eef9;color:#783c91;border-color:#ead9ef;}
#hcf-product-fields.hcf-wizard-enabled .hcf-summary-item{border-bottom-color:#eee7f0;}
#hcf-product-fields.hcf-wizard-enabled .hcf-final-row{border-top-color:#e9dcea;color:#382440;}
#hcf-product-fields.hcf-wizard-enabled .hcf-final-row strong{color:#71348e;}
@container hcf-wizard (max-width:420px){
 #hcf-product-fields.hcf-wizard-enabled .hcf-field.hcf-wizard-current,
 #hcf-product-fields.hcf-wizard-enabled .hcf-variation-stage.hcf-wizard-current{padding:15px;}
 #hcf-product-fields.hcf-wizard-enabled .hcf-option-btn{padding:11px!important;min-height:76px;}
 #hcf-product-fields.hcf-wizard-enabled .hcf-variation-choices,
 #hcf-product-fields.hcf-wizard-enabled .hcf-choices-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 #hcf-product-fields.hcf-wizard-enabled .hcf-field-icon{width:39px;height:39px;}
 #hcf-product-fields.hcf-wizard-enabled .hcf-wizard-head{padding:12px;}
 #hcf-product-fields.hcf-wizard-enabled .hcf-option-art{width:27px;height:27px;}
}
@container hcf-wizard (max-width:310px){
 #hcf-product-fields.hcf-wizard-enabled .hcf-variation-choices,
 #hcf-product-fields.hcf-wizard-enabled .hcf-choices-cards{grid-template-columns:1fr;}
}
@media(prefers-reduced-motion:reduce){
 #hcf-product-fields.hcf-wizard-enabled .hcf-option-btn{transition:none!important;}
 #hcf-product-fields.hcf-wizard-enabled .hcf-option-btn:hover{transform:none!important;}
}

/* v0.5.0: all variable WooCommerce products use the same wizard, even when
   no custom/add-on fields are applicable to the current product. */
#hcf-product-fields.hcf-variation-only #hcf-addon-row{display:none!important}
/* This block appears only when JS successfully binds to Woo native selects.
   Keep it from showing an empty wizard for a variation without supported selects. */
#hcf-product-fields[data-hcf-variation-only="1"]:not(.hcf-wizard-enabled){display:none!important}
